Create a campaign in a network
POST/v1/networks/:networkId/campaigns
Creates a campaign owned by the network and returns it with a Location header. Only name is required; advertiser_id, when supplied, must reference an existing advertiser (otherwise 400). budget and cpm are in US dollars. platform (adbridge/adswizz/megaphone, defaults to adbridge), an adswizz link, and targeting/tracking may be set. The new campaign starts in the platform-owned pending status; status cannot be set here. Requires the administrator network role.
Request
Responses
- 201
- 400
- 401
- 403
- 404
Campaign created
Response Headers
Location
URL of the created campaign
Missing name, malformed ad variant, unknown advertiser, or invalid platform
Missing or invalid API key
The API key is not authorized for this resource
The requested resource was not found