Creating a Campaign
REST API
POST /api/v0/campaigns
Headers
|
Body (example)
|
Required parameters: name, demand_partner_id
Note: if you want to set a rate, you must also set "has_rate": true
Response
Status code 200
|
Get a Campaign
REST API
GET /api/v0/campaigns/<id>
Headers
|
Response
Status code 200
|
Add Demand Tags to your Campaign
REST API
PUT /api/v0/campaigns/<id>
Headers
|
Body (example)
|
Note: The demand tags must have the same demand_partner_id as the campaign.
Response
Status code 200
|
Edit a Campaign
REST API
PUT /api/v0/campaigns/<id>
Headers
|
Body (example)
} |
Note:
If the rate for your campaign was previously null, to add a rate you must also set "has_rate": true
All the demand tags associated to your campaign will inherit this rate.
Response
Status code 200
|