Insertion Order API V3

Introduction

Insertion Orders (IOs) act as organizational groups of Placements. The Actions and Settings applicable to IOs are managerial tasks and configurations that apply to all placements within an IO.

You can use the Insertion Order API V3 to:

View (List) insertion ordersGet specific widget information
Create insertion ordersList placements for an insertion order
Update insertion ordersList variants of an insertion order
Create a proposed insertion orderTransfer budget to an insertion order
Update a proposed insertion orderBook an insertion order
Show information about an insertion orderUnbook an insertion order
Delete an insertion orderChange proposal status of an insertion order

Related Documentation

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

Resources

URI(s)

The Insertion Order API v3 identifies two Uniform Resource Identifiers (URIs), a List and an Instance as identified in the following table:

Type of URIURI
Productionhttps://api.freewheel.tv/v3/insertion_orders/[FW_ID].xml?[parameter1]=[query1]&...
Staginghttps://api.stg.freewheel.tv/v3/insertion_orders/[FW_ID].xml?[parameter1]=[query1]&...

Insertion Order API Attributes

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

Create/Update Attributes

ParameterDescriptionData Type(s)Creatable?Updateable?MandatoryComments
insertion_order_idThe identification number of the Insertion Order.IntegerYesYesNoYou can search, update, and delete by by the insertion_order_id.
nameInsertion Order nameStringYesYesYes
descriptionStringYesYesNo
client_poClient purchase orderStringYesYesNo
external_idThe external ID of the insertion orderStringYesYesNo
primary_sales_personPrimary sales person nameStringYesYesNoOn create only
primary_traffickerPrimary trafficker nameStringYesNoNoOn create only
currencyThe 3 letter currency codesStringYesNoNoValid when a network supports multiple currencies.
budgetThe budget of the Insertion OrderSetYesYesNo
deliveryThe delivery info of the insertion orderSetYesYesNo
stageThe stage of the insertion order
  • BOOKED
  • NOT_BOOKED
  • PROPOSAL
NoNoNo

Assignments Attributes - Child Attributes of Create/Update Attributes

NameType(s)DetailsMandatory
assigned_userSetArray of assigned user(s)Yes

Assigned User Attributes - Child Attributes of Assignments Attributes

NameType(s)*MandatoryDetails
user_idIntegerYesValid user ID
user_full_nameStringNoUser full name. Only return in GET action. PUT/POST ignore it if passed.

Budget Attributes - Child Attributes of Create/Update Attributes

NameType(s)DetailsMandatoryNotes
budget_modelValid values:

<ul
  • CURRENCY_TARGET
  • IMPRESSION_TARGET
  • EVERGREEN
  • The budget model of the insertion orderYesEVERGREEN' is GET only
    currencyFloatThe currency goal of the insertion orderYesValid and required only when budget_model == 'CURRENCY_TARGET'.
    impressionIntegerThe impression goal of the insertion orderYesValid and required only when budget_model == 'IMPRESSION_TARGET'.
    over_delivery_valueFloatThe over delivery amount percentageNoValid only when budget_model == 'CURRENCY_TARGET' or 'IMPRESSION_TARGET'. If it is not set, the network default value is used.

    Delivery Attribute - Child Attributes of Create/Update Attributes

    The attribute below is not included in basic GET requests.

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

    Frequency Cap Attributes - Child of Delivery Attribute

    The attribute below can be included in basic GET requests.

    Function/NodeDescriptionData Type(s)Creatable?Updateable?
    valueThe cap valueIntegerYesYes
    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
    Enum or Integer: Specified in minutesYesYes

    Body Attributes

    NameType(s)Details
    idFW_IDID of the insertion order
    campaign_idFW_IDID of the campaign that this insertion order belongs to
    nameStringInsertion Order name
    descriptionStringBoth
    client_poStringClient purchase order
    brand_idFW_IDThe Brand ID of the advertiser
    currencyStringThe 3 letter currency codes
    scheduleSetA set of IO start time, end time, and timezone
    stage'BOOKED', 'NOT_BOOKED', 'PROPOSAL'The stage of the insertion order
    external_idStringThe external ID of the insertion order
    primary_sales_personStringPrimary Sales Person name
    primary_traffickerStringPrimary Trafficker name
    budgetSetThe budget of the insertion order

    Schedule Attributes - Child Attributes of Body Attributes

    NameType(s)**DetailsMandatoryNotes
    start_timeTimeThe start time of the placement|YesUses ISO-8061 time format
    end_timeTimeThe end time of the placementNoUses ISO-8061 time format. If a Placement is ongoing, end_time is optional.
    time_zoneStringThe time zone of the placement|Yes