Instantly share code, notes, and snippets.

View gist:85a790f652ec4e103e85
Save a strategy with a few Peer39 targeting segments
targeting_segments (for IAS and Peer39 segments) save
POST /api/v2.0/strategies/1119723/targeting_segments
form-body
segments.1.id:146
segments.1.restriction:INCLUDE
segments.1.operator:OR
segments.2.id:152
View Bulkedit UI Research
Current Bulkedit Structure
main
-> init
-> strategies
-> strategiesGrid
-> tabs
-> creatives
-> iconGrid
-> location
View Workflow of uploading zip codes in location targeting
1) User navigates to location targeting
2) User clicks on the browse button in zip code targeting
3) User selects a file and clicks open
UI makes API call
POST /api/v2.0/strategies/947508/target_postcodes
Payload
------WebKitFormBoundaryVleV4FL5cW8u0LDn
View campaign-viewer.css
#campaignViewer{
width: 100%;
height: 100%;
margin-top: 20px;
}
th{
text-align: center;
}