Campaign API V3

Overview

The Campaign API V3 allows users to manage campaigns and retrieve a complete list of associated insertion orders. Broadly speaking, a campaign is the part of the MRM sale structure that encompasses all billable sales under a single product messaging. In technical terms, a campaign is a grouping of insertion orders that organizes sales for a particular advertiser.

Use the Campaign API to accomplish the following tasks:

  • List campaigns
  • Create a campaign
  • Update a campaign
  • Show campaign information
  • Delete a campaign
  • List insertion orders of a campaign

Uniform Resource Identifiers (URI)

Campaigns

EnvironmentURI
Productionhttps://api.freewheel.tv/services/v3/campaign.xml
Staginghttps://api.stg.freewheel.tv/services/v3/campaign.xml

Insertion Orders

EnvironmentURI
Productionhttps://api.freewheel.tv/services/v3/campaign/{campaign_id}/insertion_orders.xml
Staginghttps://api.stg.freewheel.tv/services/v3/campaign/{campaign_id}/insertion_orders.xml

Attributes

The following attributes are used when creating a campaign with the POST method. For an interactive example, see Create a Campaign.

NameTypeDescription
namestringName of the campaign
descriptionstringDescription of the campaign
advertiser_idintegerAdvertiser ID of the campaign
agency_idintegerAgency ID of the campaign
external_idstringExternal ID of the campaign
assignmentsarrayUser assignment of the campaign
deliveryarrayDelivery info of the campaign

Assignments Child Attribute

NameTypeDescription
assigned_userobjectAssigned user of the campaign

Assigned User Child Attribute

NameTypeDescription
user_idintegerAssigned user ID

Delivery Child Attribute

NameTypeDescription
valuenumberFrequency cap value
typestringFrequency cap type. Valid values include:

- IMPRESSION
- PACKAGE
periodstringFrequency cap period. Specify the number of minutes with an integer or use one of the following valid values:

- TEN_MIN
- HOUR
- DAY
- WEEK
- 30DAYS
- STREAM
- ASSET
- SITE_SECTION
- CAMPAIGN
advanced_fc_identity_levelstringFrequency cap identity level