Campaign API V3

Introduction

A campaign is the order of the MRM sale structure that houses all billable sales within a single product messaging. Technically speaking, campaign is a grouping of Insertion Orders that broadly organizes sales for a particular advertiser. See MRM Campaign Organization.

You can use this API to accomplish the following campaign tasks:

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

Related Documentation

Refer to the following documentation for more information about FreeWheel products and APIs:

Resources

URI(s)

The Campaign API v3 identifies these Uniform Resource Identifiers (URIs):

EnvironmentURI
Instancehttps://api.freewheel.tv/services/v3/campaign/[FW_ID].xml?[parameter1]=[query1]&...
Listhttps://api.freewheel.tv/services/v3/campaign.xml?[parameter1]=[query1]&...
List Insertion Ordershttps://api.freewheel.tv/services/v3/campaign/[FW_ID]/insertion_orders.xml?[parameter1]=[query1]&...

Campaign API Attributes

Attributes represent and describe data associated with an object, in this case the Campaign object. Attributes are organized in sets. Each attribute set determines the fields available during data entry, and the values that appear to the client. Use Campaign API attributes in conjunction with Campaign API methods to accomplish your ad tech objectives.

Basic Attributes

Basic attributes describe fundamental properties of a campaign.

Function/NodeDescriptionValue(s)*Creatable?*Updateable?Included in basic GET?Comments
idThe FW ID of the campaignFW_IDNoNoYes
nameThe name of the campaignStringRequiredYesYes
advertiser_idThe FW ID of the advertiser to which the campaign belongsFW_IDRequiredYesYes
agency_idThe FW ID of the agency to which the campaign belongsFW_IDNoYesYesThis field is automatically cleared when updating advertiser_id.
descriptionThe Description of the campaignStringYesYesYes
external_idThe external ID of the campaignStringYesYesYes
metadatasThe metadata of the campaignMetadatas AttributesYesYesNo
assignmentsThe user assignment of the campaignAssignments AttributesYesYesNo
deliveryThe delivery info of the campaignDelivery AttributesYesYesNo
statusThe status of the campaign'ACTIVE', 'IN_ACTIVE', 'FINISHED'.NoNoYesThese values must be provided in ALL CAPITAL letters.
start_dateThe start date of the campaignDate-Time (YYYY-MM-DD HH:MM:SS UTC)NoNoYes
end_dateThe end date of the campaignDate-Time (YYYY-MM-DD HH:MM:SS UTC)NoNoYes
created_atThe create time of the campaignDate-Time (YYYY-MM-DD HH:MM:SS UTC)NoNoYes
updated_atThe last updated time of the campaignDate-Time (YYYY-MM-DD HH:MM:SS UTC)NoNoYes
network_idThe network ID of the campaignFW_IDNoNoYes

Assignments Attribute

Function/NodeDescriptionData Type(s)Creatable?Updateable?Included in basic GET?
assigned_userArray of assigned user(s)Assigned User AttributesYesYesYes

Assigned User Attributes - Child of Assignments Attribute

Function/NodeDescriptionData Type(s)Creatable?Updateable?Included in basic GET?
user_idValue user IDIntegerYesYesYes
user_full_nameUser full nameStringNoNoYes

Delivery Attribute

Function/NodeDescriptionData Type(s)*Creatable?Updateable?Included in basic GET?Comments
frequency_capSet of frequency caps, for each frequency capFrequency Cap AttributesYesYesNoOnly 3 frequency caps are supported at most.

Frequency Cap Attributes - Child of Delivery Attribute

The following attributes are all included in basic GET requests.

Function/NodeDescriptionData Type(s)*Creatable?Updateable?
valueThe cap valueYesYesYes
typeThe cap type valid values:
  • IMPRESSION
  • PACKAGE
EnumYesYes
periodThe cap period valid enum values:
  • TEN_MIN
  • HOUR
  • DAY
  • WEEK
  • 30DAYS
  • STREAM
  • ASSET
  • SITE_SECTION
  • CAMPAIGN
Integer: Specified in minutesYesYes