Placement API V3

Introduction

A placement is a Sale, or a collection of Ad Units that shares sales specifications like flight dates and content targeting.

The placement is where most business rules, sales terms, and actions are configured for a particular sale. You can execute specific tasks on placements as well. MRM optimizes and analyzes the buying slots for ad placement.

You can use this API to:

  • View placements
  • Create placements
  • List placements
  • Edit placements

📘

NOTE

This API only supports XML.

Related Documentation

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

Resources

URI(s)

The Placement API v3 identifies two Uniform Resource Identifiers (URIs):

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

Targeting Marketplace Platform Content

Placement API V3 supports Run of Marketplace Network (ROMN). By targeting ROMN, you can target all content acquired through the Marketplace Platform.

Placement API Attributes

Attributes represent and describe data associated with an object, in this case, the Placement object. Attributes are organized in sets, which determine the fields available during data entry, and the values you can see.

📘

Use Placement API Attributes in conjunction with Placement API methods to accomplish your ad tech objectives.

Basic Attributes

Basic attributes describe fundamental properties of a placement. These attributes identify the name, ID, insertion order, and other details of the placement.

The following parameters are returned in basic GET requests.

Function/NodeDescriptionData Type(s)Mandatory?Creatable?Updateable?Comment
idThe ID of the placementFW_IDNoNoNoNot allowed during placement creation.
insertion_order_idThe ID of the parent insertion order to which this placement belongsFW_IDYesYesNoRequired on placement creation only
nameThe name of the placementStringNoYesYesIf creating a placement without name node, it sets the name as "Untitled Placement" by default. If your network uses Auto-name generation, the API does not auto-generate a name.
statusPlacement's status.

Valid values:

  • IN_ACTIVE
  • ACTIVE
  • CANCELLED
  • COMPLETED
  • TESTING
EnumNoNoNoThese values must be provided in ALL CAPITAL letters.
descriptionThe description of the placementStringNoYesYes
instructionThe instructions for the placementStringNoYesYes
placement_typeThe type of placement.

Valid values:

  • NORMAL
  • MAKE_GOOD
  • PROMO
EnumNoYesYesIf you send a request without the node or the node is empty, it is set as NORMAL by default.
external_idThe external ID of the placementStringNoYesYes
scheduleSetNoYesYes
priceSetNoYesYes
budgetSetNoYesYes
deliverySetNoYesYes
overrideSetNoYesYes
content_targetingSetNoYesYes
marketplace_supply_sourceSpecifies the specific supply source for the Marketplace PlatformSetNoYesYesOnly available to Marketplace clients
yield_optimizationSpecifies the placement level yield optimization configurationsSetNoYesYesOnly available to clients with Marketplace and Yield Optimization capabilities enabled
exclusivitySetNoYesYes
custom_targetingList of video, site, and content targetingSetNoYesYes
contextual_targetingList of contextual targetingSetNoYesYes
daypart_targetingSetNoYesYes
geography_targetingSetNoYesYes
ad_productSetNoYesYes
audience_targetingNormal Set, Advanced SetNoYesYes
metadataSetNoYesYes
restrict_delivery_to_campaign_tagsSetNoYesYes
soft_reserveSetNoYesYes
industrySet
platform_targetingSetNoYesYes
alertSetNoNoNo
remaining_items SetNoYesYes
isp_targetingThe ISP items targeted on the placement.SetNoYesYesSee API Resources for ISP IDs.

The following parameters are returned in basic GET requests.

Function/NodeDescriptionData Type(s)*MandatoryCreatable?Updateable?Comments
content_bucket_idID of the content bucketFW_IDNoYesYesOnly for networks with Sales Proposal enabled
premiumsSetFW_ID arrayNoYesYesOnly for networks with Sales Proposal enabled; Array of premium IDs
variant_idVariant IDFW_IDNoNoNoOnly for networks with Sales Proposal enabled
variant_statusValid values:

  • PRIMARY
  • ACTIVE
  • LOST
enumNoNoNoOnly for networks with Sales Proposal enabled
costSetNoNoNoOnly for networks with Sales Proposal enabled
p2plus_priceFloatNoNoNoOnly for networks with Sales Proposal enabled + (Enable CPX_UI or rating based selling)
p2plus_impressionIntegerNoNoNoOnly for networks with Sales Proposal enabled + (Enable CPX_UI or rating based selling)
rate_card_priceFloatNoNoNoOnly for networks with Sales Proposal enabled
billable_event_goalIntegerNoNoNoOnly for networks with Sales Proposal enabled
placement_template_labelSetFW_ID arrayNoNoNoOnly for networks with Sales Proposal enabled; Array of placement template label ids

Create Basic Attributes

The following sample code block shows you how to create basic attributes for a placement.

<placement>
  <insertion_order_id>1000</insertion_order_id>
  <name>my placement</name>
  <description>some description</description>
  <instruction>my instruction</instruction>
  <placement_type>MAKE_GOOD</placement_type>
  <enable_canoe>false</enable_canoe>
   <external_id>test external id</external_id>
</placement>

Clear Basic Attributes

The following sample code block shows you how to clear basic attributes for a placement.

📘

Note

Nodes name, buy_type_id, placement_type and enable_canoe cannot be cleared.

<placement>
  <description></description>
  <instruction></instruction>
  <property_id></property_id>
  <adjust_from_balance></adjust_from_balance>
  <external_id></external_id>
</placement>

GET Basic Attributes

The following example code block shows you how to get basic attributes for a placement.

<placement>
  <id>100000</id>
  <insertion_order_id>1000</insertion_order_id>
  <name>my placement</name>
  <description>some description</description>
  <placement_type>NORMAL</placement_type>
  <instruction>my instruction</instruction>
  <buy_type_id>10001</buy_type_id>
  <property_id>10000</property_id>
</placement>

Schedule Attributes - Child Attributes of Basic Attributes

Schedule attributes provide scheduling details.

📘

Note

The schedule data should be grouped under the schedule node. See a list of valid time zones.

The date/time format should follow the ISO 8061 format in local timezone for create requests, update requests and get responses; for example: 2013-09-04T10:59.

📘

Note

ISO 8061 in UTC is not supported. Note:.

The system counts time only in minutes: do not input time in seconds. The start_time automatically starts at the first second of the specified minute. The end_time counts until the last second of the specified minute. Time format of start_time and end_time in the Get response follows ISO 8061 format in the local timezone

NameTypeMandatoryDetailsNotes
start_timetimeYesThe start time of the placement
end_timetimeYesThe end time of the placementIf budget=evergreen with ongoing=true, end_time is optional and Ongoing by default.
time_zonestringYesThe time zone of the placement

📘

Note

The schedule of a placement cannot be cleared via API V3.

Price Attributes - Child Attributes of Basic Attributes

All price data should be grouped under the 'price' node.

NameTypeDetailsMandatoryNotes
price_modelEnumValid values:

  • ACTUAL_ECPM
  • FLAT_FEE_SPONSORSHIP
Yes
flat_fee_amountFloatYesValid when price_model=FLAT_FEE_SPONSORSHIP

📘

Notes

  • The Price and Budget Model widget is set as blank when the price is being cleared.

  • When the budget is evergreen, FreeWheel returns an empty price node in the response.

Budget Attributes - Child Attributes of Basic Attributes

All budget data should be grouped under the 'budget' node.

NameTypeDetailsMandatoryNotes
budget_modelEnumValid values:

  • CURRENCY_TARGET
  • IMPRESSION_TARGET
  • ALL_IMPRESSION
  • SOV
  • SOP
  • SOI
  • EVERGREEN
  • DEMOGRAPHIC_IMPRESSION_TARGET
  • DEMOGRAPHIC_CURRENCY_TARGET
  • CUSTOM_EVENT_TARGET
  • CUSTOM_CURRENCY_TARGET

YesDemographic Impression Target, Demographic Currency Target and Share of Impression (SOI) are optional features that must be turned on by your Program Manager. If you don't have these features turned on and submit these values for the Budget_model, we will return an error.
billable_eventIntegerThe ID of abstract_eventNoValid when budget_model = CUSTOM_EVENT_TARGET or CUSTOM_CURRENCY_TARGET
currencyFloatYesValid when budget_model = CURRENCY-TARGET
enable_ott_measurementBooleanValid values:
  • true
  • false
NoValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET/DEMOGRAPHIC_CURRENCY_TARGET, data_source = Nielsen. This field can be set as trueonly when network functionNIELSEN_OTT` is enabled. To enable the network function or change the default value, contact FreeWheel.
impressionIntegerYesValid when budget_model = IMPRESSION_TARGET
over_delivery_valueFloatTo use the network default, the node should be empty in the XMLNoValid when budget_model is CURRENCY_TARGET, IMPRESSION_TARGET, DEMOGRAPHIC_IMPRESSION_TARGET or DEMOGRAPHIC_CURRENCY_TARGET. The over delivery value is set as 'network default value' by default.
sov_percentageFloatYesValid when budget_model = SOV|
sop_percentageFloatYesValid when budget_model = SOP|
soi_percentageFloatYesValid when budget_model = SOI
impression_capIntegerNoValid when budget_model = ALL_IMPRESSION; Set as 'No Volume Cap' by default.
estimated_impression_goalIntegerYesValid when budget is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'
ongoingBooleanNoValid when budget_model = EVERGREEN; Set as 'False' by default.
on_target_impressionsIntegerYesValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET
gross_impression_capIntegerYesValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET
on_target_currencyFloatYesValid when budget_model = DEMOGRAPHIC_CURRENCY_TARGET
gross_currency_capFloatYesValid when budget_model = DEMOGRAPHIC_CURRENCY_TARGET
demographicIntegerThe ID of target demographicYesValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET/DEMOGRAPHIC_CURRENCY_TARGET. Nielsen demographic IDs 27, 30 or 31 cannot be targeted individually but can be targeted together with all other demographics for P2+ Target. See the ID list of valid demographics for Nielsen and iSpot..
data_sourceEnumValid values:
  • Nielsen
  • ISPOT
  • ISPOT_CUSTOM


YesValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET/DEMOGRAPHIC_CURRENCY_TARGET

📘

Note

When the budget model is CURRENCY_TARGET, IMPRESSION_TARGET, DEMOGRAPHIC_IMPRESSION_TARGET or DEMOGRAPHIC_CURRENCY_TARGET, and over_delivery_value is the network default value, the over_delivery_value returns blank.

Delivery Attributes - Child Attributes of Basic Attributes

The delivery data should be grouped under the 'delivery' node.

NameTypeDetailsMandatoryNotes
priorityEnumThe priority of the placement.

Valid values:

  • GUARANTEED
  • PREEMPTIBLE
Yes
pacingEnumThe pacing of the placement.

Valid values:

  • SMOOTH_AS
  • FAST_AS
  • FORECAST_INFORMED_DELIVERY_OPTIMIZATION
  • SMOOTH_OVER_LIFE_BUT_FAST_AS_WITHIN_A_DAY
  • CUSTOM_PACING
  • PRE_DEFINED

YesDaily Capped Pacing and Smooth Over Life But Fast As Within A Day are optional features that must be turned on by your Program Manager. If you don't have these features turned on and submit these values for Pacing, we will return an error.
maximum_fido_pacing_rateEnumValid values:

  • NETWORK_DEFAULT
  • 1..10

YesValid when pacing = FORECAST_INFORMED_DELIVERY_OPTIMIZATION
pacing_pointSetA set of pacing points, for each pacing point you must have a date and a percentage as described belowYesValid when pacing = CUSTOM_PACING; The date format should be follow ISO 8061 format in local timezone for create requests, update requests and get responses. An example: 2013-09-04T10:59. Note that ISO 8061 in UTC is not supported.
frequency_capSetA set of frequency caps - for each
frequency cap you must have a
value, type, and period
as described below
NoOnly three frequency caps are supported by default. However, up to ten frequency caps can be supported if you have the Advanced Identity Level Frequency Capping feature activated. Contact your Program Manager.

See also Advanced Identity Level for Frequency Capping.
frequency_capping_strict_modeBooleanValid values:

  • true
  • false
NoValid only when the network function FREQUENCY_CAP_STRICT_MODE is enabled and at least one frequency_cap node is included.

  • If the request is sent without this node or with an empty node, frequency capping strict mode is set to be the default value (controlled by the FreeWheel network function.)
  • If the request pulls a placement from a network in which this function is disabled, this node is not returned.

To enable the network function or change the default value, contact your FreeWheel account team.
ignore_brand_frequency_capBooleanIgnore Brand Frequency CapNoValid when network function ADVERTISER_BRAND_FREQUENCY_CAP is turned on for this network.
Nodemographic_on_target_calculationEnumDemographic On-Target Calculation

Valid values: `

  • DIRECT
  • COMPOSITIONAL
  • COMPOSITIONAL_INCLUDE_UNKNOWN_BANDS
NoValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET or DEMOGRAPHIC_CURRENCY_TARGET. If a POST request is sent without the node, it is set to the default value for your network. To set the default value for this node, contact FreeWheel. When enable_dar_new_calculation = true, do not set COMPOSITIONAL_INCLUDE_UNKNOWN_BANDS as the value.
demographic_impression_steeringBooleanEnable demographic impression steeringNoOnly valid when budget = DEMOGRAPHIC_IMPRESSION_TARGET or DEMOGRAPHIC_CURRENCY_TARGET; If you want to change the default value of the node, please contact your Program Manager.
level_to_optimize_for_profitEnumLevel To Optimize For Profit

Valid values:

  • NONE
  • LOWEST
  • MODERATE
  • HIGHEST
NoLevel To Optimize For Profit is an optional feature that must be turned on by your Program Manager. If you don't have this feature turned on and submit this node, we will return an error. If a request is sent without the node or the node is empty, it will be set as "NONE" by default.
excess_inventoryEnumValid values:

  • NETWORK_DEFAULT
  • 0%
  • 5%
  • 20%
  • 50%
  • 70%
  • UNLIMITED

NoIf a request is sent without the node or the node is empty, it will be set as "NETWORK_DEFAULT" by default.
excess_inventory_preconditionEnumValid values:

  • UNLIMITED
  • 0,10,20...90</li>
NoExcess Inventory Precondition is an optional feature that must be turned on by your Program Manager. If you don't have this feature turned on and submit this node, we will return an error. If a request is sent without the node or the node is empty, it will be set as "UNLIMITED" by default if excess inventory is "0%", and set as "0" by default if excess inventory is set as greater than 0.
override_repeat_modeEnumValid values:

  • NONE
  • REPEAT_EACH_BREAK
  • DO_NOT_REPEAT

No|If a request is sent without the node or the node is empty, it will be set as "NONE" by default.
dynamic_ad_insertionEnumValid values:

  • DYNAMIC_ENABLED
  • SCHEDULED_ONLY

NoRequires the network function: "ENABLE_HYLDA" or "OPERATOR_LINEAR_ADDRESSABLE"; If a request is sent without the node or the node is empty, it will be set as "DYNAMIC_ENABLED" by default.

Pacing_point Attributes - Child Attributes of Delivery Attributes

NameTypeMandatory?
dateDateYes
percentageDecimalYes

Advanced Identity Level Frequency Capping

Advanced Identity level frequency capping (the advanced_fc_identity_level node) ensures that the same household does not get inundated with the ads from the same placement. When a frequency cap is set with an advanced identity level, the ad server restricts the maximum number of times the ad units in a placement can be served to a viewer during a specific amount of time or content.

Frequency_cap Attributes - Child Attributes of Delivery Attributes

📘

Note

The advanced_fc_identity_level attribute represents an optional feature that must be turned on by your Program Manager. If the feature has not been activated in your network but the node is submitted, the node is ignored and is set by default to Identifier from Request (the normal identity level).

NameTypeMandatory?Details
valueintegerYesThe cap value
typeEnumYesThe cap type.

Valid values:
  • IMPRESSION
  • PACKAGE
periodEnum or IntegerYesThe cap period.

Valid values:

  • TEN_MIN
  • HOUR
  • DAY
  • WEEK
  • 30DAYS
  • STREAM
  • ASSET
  • SITE_SECTION
  • CAMPAIGN

Or:
integer with a unit of minutes
advanced_fc_identity_levelEnumNoValid value:

  • HOUSEHOLD
    • If the request is sent without any value or with an empty node, the request is set as Identifier from Request by default (the normal identity level)
    • If the request pulls a placement with Identifier from Request configured, or from a network in which this function is disabled, this node is NOT returned

Override Attributes - Child Attributes of Basic Attributes

The override data should be grouped under the override node. When a placement's budget_model is SOP/SOI, override cannot be set.

NameTypeDetailsMandatoryNotes
modeEnumValid values:

  • ABOVE_PAYING_ADS
  • AMONGST_PAYING_ADS
  • BELOW_PAYING_ADS
YesValid when budget_model = CURRENCY_TARGET, IMPRESSION_TARGET, DEMOGRAPHIC_IMPRESSION_TARGET or DEMOGRAPHIC_CURRENCY_TARGET; No other budget models can set the override mode.
valueIntegerThe range of value for ' Amongst Paying Ads ' is 0 -- 100; The range of value for 'Above Paying Ads' is 11 -- 20; The range of values for 'Below Paying Ads ' is -10 -- -1YesValid when mode is set
amongst_byEnumValid values:

  • ABSOLUTE_RANK
  • CPM
YesValid when mode = AMONGST_PAYING_ADS; ABSOLUTE_RANK is an optional feature that must be turned on by your Program Manager. If you don't have this feature turned on and this value is submitted, we will return an error.
precedence_levelEnumThe precedence level of Placement

Valid values:
BELOW_NORMAL ABOVE_NORMAL NORMAL
HIGH
HIGHEST
YesValid when budget_model = ALL_IMPRESSION or SOV; No other budget models can set override precedence level; Precedence level is an optional feature that must be turned on by your Program Manager; If you don't have this feature turned on and submit this value, we will return an error.

Content Targeting Attributes - Child Attributes of Basic Attributes

The content targeting data is grouped under the 'content_targeting' node.

NameTypeDetailsMandatoryNotes
network_itemsSetSet of Network Items, Inclusion and ExclusionYesThe node network_ items replaces the usage of include and exclude. For new integrations, use network_ items node to encompass items in your network,

The API only supports MRM content. The default logical relationship between network_items, 'inventory_packages, and standard_attributes, ron is OR.
set_nameStringSet name of the content targeted
includeSetContains all network
items and their MRM IDs.

Possible media object:
  • video
  • series
  • video_group
  • site_section
  • site
  • site_group


HyLDA-enabled network's may also include:

  • airing
  • channel
  • channel_group
Yes*The API only supports MRM content. If there is content chosen for another ad server, it is not included in the content associated with the placement. The relationship between media items is OR.

Use <network_items> to pass network items rather than include and exclude, which may be deprecated in the future.

The tv_network value should be the MRM ID of the TV Network.

This node is ignored if it is sent together
with network_items, standard_attributes, inventory_packages, or `ron.
excludeSetSame format as include aboveNoThe API only supports MRM content. If there is content chosen for another ad server, it is not included in the content associated with the placement.

Use <network_items> to pass network items rather than include and exclude, which may be deprecated in the future.

This node is ignored if it is sent together
with network_items, standard_attributes, inventory_packages, or `ron.
content_package_idFW_IDThe FreeWheel ID of the
content package
Yes*This node is ignored if it is sent together
with network_items, standard_attributes, inventory_packages, or `ron.
inventory_packagesSetSet of inventory packagesYes*The API only supports MRM content. The default logical relationship between ‘network_items’ ‘standard_attributes’, ‘inventory_packages’, ‘ron’ is OR.

‘standard_attributes’, ‘inventory_packages’ and ‘ron’ are for Marketplace clients. Please contact FreeWheel if you would like to enable Marketplace functionality.
standard_attributesSetSet of Standard Attributes, Inclusion and ExclusionYes*The API only supports MRM content. The default logical relationship between network_items, inventory_packages, and standard_attributes, ron is OR.

standard_attributes and ron are valid for Marketplace clients only. Contact FreeWheel if you would like to enable Marketplace functionality.
Additionally, retrieving standard attribute details in GET requests requires the network function FW_API_MKPL_NEW_TARGETING_STRUCTURE_FLAG. To enable the network function, contact your FreeWheel account team.
network_itemsSetSet of
Network
Items
Inclusion and
Exclusion
Yes*The API only supports MRM content. The default logical relationship between network_items, 'inventory_packages, and standard_attributes, ron is OR.

standard_attributes` and ron are valid for Marketplace clients only. Contact FreeWheel if you would like to enable Marketplace functionality.
ronSetValid values:

  • ROVN
  • ROSN
  • ROMN
Yes*The API only supports MRM content. The default logical relationship between network_items, 'inventory_packages, and standard_attributes, ron is OR.

standard_attributes and ron are valid for Marketplace clients only. Contact FreeWheel if you would like to enable Marketplace functionality.
advanced_combination_includeSetSet of Network items, Standard Attributes and Inventory Package inclusion in multiple setsNoAfter the release of this function, both existing and new advanced combinations can support different allowed content objects in CREATE and UPDATE methods as stated below:

  • Advanced combination in legacy interface: Network Items only

  • Advanced combination in new interface: Network Items, Standard Attributes, Inventory Package (Single or Mixed Combination)
The API will throw an error if the network function MARKETPLACE_CONTENT_ADVANCED_COMBINATION is NOT enabled when a user to tries to push mixed advanced combination.If a non-empty advanced_combination_include node is passed, then the include statement for Network Item, Standard Attribute, or IP cannot be passed independently.Please reach out to FreeWheel if you would like to start using the advanced combination via the new interface and eliminate the old interface.
  • Mandatory: One of inclusion exists from ‘network_items’, ‘standard_attributes’, ‘inventory_packages’, ‘ron’

Advanced Combination Include - Child Attributes

NameTypeDetailsMandatoryNotes
setSetSet of Network items, Standard Attributes and Inventory Package inclusionNoThe API user can select the logical relationship between Network items, Standard Attributes and Inventory Package to be AND/OR within each set.

3 'set' nodes are available for advanced combination.
relationship_between_setsenumAND/ORNoThis determines the logical relationship between sets in the advanced combination.

3 'relationship_between_sets' nodes are available for advanced combination.
remaining_itemsSetSet of Network items, Standard attributes and Inventory Package that are not included in a set.NoThis consists of Network items, Standard Attributes and Inventory Packages that are considered within the advanced combination sets.

Set - Child Attributes

NameTypeDetailsMandatoryNotes
videoFW_IDMRM ID of the videoNo
video_groupFW_IDMRM ID of the video groupNo
siteFW_IDMRM ID of the siteNo
site_groupFW_IDMRM ID of the site groupNo
site_sectionFW_IDMRM ID of the site sectionNo
standard_attributeSetConsists of the Standard Attribute type and IDNo
inventory_packageFW_IDMRM ID of the inventory packageNo
relation_in_setenumAND/ORYes
tv_networkFW_IDMRM ID of the TV networkNo
tv_network_groupFW_IDMRM ID of the TV network groupNo

Standard Attributes - Child Attributes

NameTypeDetailsMandatoryNotes
typeEnumMarketplace pre-defined standard attribute types that can be targeted.YesValid values:
'PROGRAMMER'
'BRAND'
'CHANNEL'
'TV_RATING'
'GENRE'
'LANGUAGE'
'CONTENT_DURATION'
'STREAM_TYPE'
'CONTENT_DAYPART'
'SERIES'
'SUBSCRIPTION_MODEL'
'CONTENT_TERRITORY'
idFW_IDID of corresponding Standard Attributes value that can be targeted.YesPlease use Standard Attribute API to get the list of Standard Attribute ID to target.

If multiple items in the same type should be targeted, please add more node of in parallel.

At least one id should be included.

Network Items – Child Attributes

NameTypeDetailsMandatory?Notes
includeSetContains network items and their MRM IDs. Possible media object:

  • video
  • series
  • video_group
  • site_section
  • site
  • site_group

  • tv_network

  • tv_network_group
NoThe API only supports MRM content. If there is content chosen for another ad server, it is not included in the content associated with the placement. The relationship between network items is OR.

ROVN/ROSN inclusion is under the node of .
excludeSetSame format as includeNoThe API only supports MRM content. If there is content chosen for another ad server, it is not included in the content associated with the placement.

ROVN/ROSN exclusion is under the node of .

Standard Attributes – Child Attributes

Standard Attributes are only valid for Marketplace clients. Contact FreeWheel if you would
like to enable Marketplace.

All platform standard attributes data should be grouped under standard_attributes in the platform_targeting node.

NameTypeDetailsMandatoryNotes
includeSetSet of Standard
Attributes. Each
Standard Attribute
must contain a
type and at least
one ID.
NoThe relationship between
each Standard Attribute
type is AND.

The relationship between
each Standard Attribute
items under the same type
is OR.
excludeSetSame format as
Standard Attribute include above
NoThe relationship between
each Standard Attribute
type is AND.

The relationship between
each Standard Attribute
items under the same type
is OR.

The API only supports MRM content. If there is content chosen for another ad server, it is not included in the content associated with the placement.

Standard Attributes include/exclude – Standard Attribute Child Attributes

Standard Attributes are only valid for Marketplace clients. Contact FreeWheel if you would
like to enable Marketplace.

NameTypeDetailsMandatoryNotes
typeEnumMarketplace,
pre-defined,
standard-attribute
types that can
be targeted
YesValid values:

  • PROGRAMMER
  • BRAND
  • CHANNEL
  • TV_RATING
  • GENRE
  • LANGUAGE
  • CONTENT_DURATION
  • SERIES
  • STREAM_TYPE
  • CONTENT_DAYPART
Use the Standard Attribute
API to get the list of Standard
Attribute IDs to target.If multiple items in the same
type are to be targeted, add
more nodes in parallel.
idFW_IDID of a
corresponding
standard
attribute
value that can
be targeted
YesUse the Standard Attribute
API to get the list of Standard
Attribute IDs to target.

If multiple items in the same
type are to be targeted, add
more nodes in parallel.

At least one id must be included.

Inventory Packages – Child Attributes

Inventory Packages only valid for Marketplace clients. Contact FreeWheel if you would like to enable Marketplace.

Neither of these attributes is mandatory.

NameTypeDetailsNotes
includeSetSet of Inventory Packages.The relationship between each Inventory Package items is OR.
excludeSetSame format as Inventory Package include

Inventory Package include – Inventory Package Child Attributes

inventory Package only valid for Marketplace clients. Contact FreeWheel if you would like to enable Marketplace.

📘

Note

Only ACTIVE Inventory Packages are targetable.

NameTypeDetailsMandatoryNotes
inventory_packageFW_IDID of corresponding Inventory Package value that can be targetingNoUse Inventory Package API to get the list of targetable Inventory Package ID.

RON – Child Attributes

Standard Attributes are only valid for Marketplace clients. Contact FreeWheel if you would
like to enable Marketplace.

NameTypeDetailsMandatoryNotes
includesetContains:
  • ROVN
  • ROSN
  • ROMN
NoThe value of rovn/rosn/romn is
Boolean.

The relationship between
rovn/rosn/romn is OR.
excludeSetContains:
  • ROVN
  • ROSN
NoThe value of rovn/rosn is Boolean.

The relationship between
rovn/rosn is OR
ROMN exclusion is not yet been supported.

Advanced Content Targeting Attributes - Child Attributes of Basic Attributes

NameTypeDetailsMandatoryNotes
set_nameString------
includeSet---YesThis node is ignored if it is sent together
with network_items, standard_attributes, inventory_packages, or `ron.
excludeSetSame format as exclude in normal content targetingNoThis node is ignored if it is sent together
with network_items, standard_attributes, inventory_packages, or `ron
network_itemsSetSet of
Advanced
Network Items,
Inclusion and
Exclusion

Same as network_items
in
normal content
targeting
YesSame as normal content targeting
standard_attributesSetSame format
as
standard_attributes in
normal content
targeting
YesSame as normal content targeting
inventory_packagesSetSame format as inventory_packages in normal content targetingYes*Same as normal content targeting
ronSetSame format
as ron in
normal content
targeting
Yes*Same as normal content targeting
  • Mandatory: One of inclusion exists from ‘network_items’, ‘standard_attributes’, ‘inventory_packages’, ‘ron’

Content Package Targeting Attributes - Child Attributes of Basic Attributes

If using Content Packages, you cannot use the include/exclude set level of granularity

NameTypeDetailsMandatoryNotes
set_nameStringSet name of the content targetingYes
content_package_idIntegerThe FreeWheel ID of the content packageYesThis node is ignored if it is sent together
with network_items, standard_attributes, inventory_packages, or `ron

Exclusivity Attributes - Child Attributes of Basic Attributes

The exclusivity data should be grouped under the 'exclusivity' node.

NameTypeDetailsMandatoryComments
level_of_exclusivityEnumThe exclusivity level of the placement.

Valid values:

  • FULL
  • CUSTOM
Yes
scope_of_exclusivityEnumThe exclusivity scope of the placement.

Valid values:

  • ALL_AD_UNITS
  • TARGETED_AD_UNITS
  • ADJACENT_ADS
YesADJACENT_ADS is valid only when level_of_exclusivity = CUSTOM
exemptions_uexEnumThe exemption UEX of the placement.

Valid values:

  • CONTENT_SETTING_DICTATE
  • EXEMPT_FROM_UEX
  • NO_EXEMPT
YesValid when budget model = ALL_IMPRESSION, SOV, SOP or SO
custom_exclusivity_exemptionSetThe customized scope of exclusivity of the placement is described belowNoValid when level_of_exclusivity = CUSTOM; id must be -1 when type is 'ALL_INDUSTRIES' or 'MUTUAL_EXEMPTED_PLACEMENT'

Scope of Exclusivity Attributes - Child Attributes of Exclusivity Attributes

NameTypeDetails
excludesetThe Industries, Advertisers, Brands, Resellers, Campaigns, IOs, or Placements that are excluded from returning within the scope defined in scope_of_exclusivity. Each excluded item child node contains the following Excluded Item Child Node attributes described below
exemptSetThe Industries, Advertisers, Brands, Resellers, Campaigns, IOs, or Placements that are exempt from returning within the scope defined in scope_of_exclusivity. Each exempt item child node contains Exempt Item Child Node attributes as described below.

Excluded Item Child Node Attributes - Child Attributes of Scope of Exclusivity Attributes

NameTypeDetails
idIntegerItem ID
nameStringItem name
typeEnumValid values:
  • ALL_INDUSTRIES
  • MRM_INDUSTRY
  • INDUSTRY_GROUP
  • ADVERTISER
  • BRAND
  • RESELLER
  • CAMPAIGN
  • IO
  • PLACEMENT

Exempt Item Child Node Attributes - Child Attributes of Scope of Exclusivity Attributes

NameTypeDetails
idIntegerItem ID
nameStringItem name
typeEnumValid values:
  • MRM_INDUSTRY
  • INDUSTRY_GROUP
  • ADVERTISER
  • BRAND
  • RESELLER
  • CAMPAIGN
  • IO
  • PLACEMENT
  • MUTUAL_EXEMPTED_PLACEMENT

Custom Targeting Attributes - Child Attributes of Basic Attributes

The custom targeting data should be grouped under 'custom_targeting'.

NameTypeDetailsMandatory?Notes
setSetA set of custom targeting attributes for each set as described belowYesIf there are multiple sets, then the relationship within a set can only be "ANY". Across sets, the relationship is "AND".
matchEnumThe logic within sets.

Valid values:

Valid values:

  • ANY
  • ALL
NoIf there is more than one set, match can only be set to 'ANY'. If there is only one set with multiple key values, the match can be 'ANY' or 'ALL'. Required if there is only one set.

Custom Targeting Set Attributes - Child Attributes of Custom Targeting Attributes

NameTypeDetails
key_valueStringThe key value string which should contains "="

Contextual Targeting Attributes - Child Attributes of Basic Attributes

The contextual targeting data should be grouped under 'contextual_targeting'.

NameTypeDetailsMandatory?
includeobjectAn object containing all the contextual segments to target in the placement.No, but at least one value of include or exclude must be set to use contextual_targeting.
excludeobjectAn object containing all the contextual segments to avoid targeting in the placement.No, but at least one value of include or exclude must be set to use contextual_targeting.

Contextual Targeting Set Attributes - Child Attributes of Custom Targeting Attributes

NameTypeDetails
segmentstringThe segment to include or exclude in targeting. To retrieve segment values, use the Contextual Segments API. To retrieve custom segments from vendors, use the Vendor Contextual Segment API V4.

Daypart Targeting Attributes - Child Attributes of Basic Attributes

The daypart targeting data should be grouped under 'daypart_targeting'.

NameTypeDetailsMandatory
time_zoneStringThe time zone of daypart targeting

Values include existing Time Zones or RELATIVE, which indicates "Relative to Viewer's Timezone"
Yes
partSetA set of daypart targetsYes

Daypart Part Attributes - Child Attributes of Daypart Targeting Attributes

NameTypeDetails
start_timeEnum'12 MIDNIGHT', '01:00AM', '02:00AM', '03:00AM', '04:00AM', '05:00AM', '06:00AM', '07:00AM', '08:00AM', '09:00AM', '10:00AM', '11:00AM', '12 NOON', '01:00PM', '02:00PM', '03:00PM', '04:00PM', '05:00PM', '06:00PM', '07:00PM', '08:00PM', '09:00PM', '10:00PM', '11:00PM'
end_timeEnum'01:00AM', ' 02:00AM ', ' 03:00AM', ' 04:00AM', '05:00AM', '06:00AM', '07:00AM', '08:00AM', ' 09:00AM', '10:00AM', '11:00AM', '12 NOON', '01:00PM', ' 02:00PM ', ' 03:00PM', '04:00PM', '05:00PM', '06:00PM', ' 07:00PM', '08:00PM', '09:00PM', '10:00PM', '11:00PM', ''11 :59PM'
start_dayEnumDay in week.

Valid values:

  • SUNDAY
  • MONDAY
  • TUESDAY
  • WEDNESDAY
  • THURSDAY
  • FRIDAY
  • SATURDAY
end_dayEnumDay in week.

Valid values:

  • SUNDAY
  • MONDAY
  • TUESDAY
  • WEDNESDAY
  • THURSDAY
  • FRIDAY
  • SATURDAY

Geography Targeting Attributes - Child Attributes of Basic Attributes

The geography targeting data should be grouped under the <geography_targeting> node. This node features support for both including and excluding geography items.

Function/NodeDescriptionData Type(s)Creatable?Updatable?Included in GET?
includeTargeted geography itemsGeography SetYesYesYes
excludeExcluded targeted geography itemsGeography SetYesYesYes

Geography Set Attributes - Child Attributes of Geography Targeting Attributes

The attributes below are r in GET requests.

Function/NodeDescriptionData Type(s)Creatable?Updatable?Comments
countryThe IDs of the countries to be targetedSet<FW_ID>YesYesSee Geography Data for a list of va
stateThe IDs of the states to be targetedSet<FW_ID>YesYesSee Geography Data for a list of values
dmaThe IDs of the dmas to be targetedSet<FW_ID>YesYesSee Geography Data for a list of values
cityThe IDs of the cities to be targetedSet<FW_ID>YesYesSee Geography Data for a list of values
postal_codeThe IDs of the postal_codes to be targetedSet<FW_ID>YesYesSee Geography Data for a list of values
postal_code_packageThe IDs of the postal_ode_packages to be targetedSet<FW_ID>YesYesSee Geography Data for a list of values
regionThe IDs of the regions to be targetedSet<FW_ID>YesYesSee Geography Data for a list of values
zoneThe IDs of the operator zones to be targetedSet<FW_ID>YesYesSee Geography Data for a list of values.

You need to turn on the network function ENABLE_ZONE, and configure the visible operator zones for the network.

Ad Product Attributes - Child Attributes of Basic Attributes

The ad product data should be grouped under the 'ad_product' node.

NameTypeDetailsMandatoryComments
link_methodEnumThe linking method of the placement.

Valid values:

  • NOT_LINKED
  • LINK_WHERE_POSSIBLE
  • ALL_LINKED
YesIf one 'ad_unit_package_id' exists, 'link_method' is not required since the ad unit package has the link method pre-defined.

If multiple 'ad_unit_package_id's are used but no 'link_method' is provided, the 'link_method' of first ad unit package (in the XML list) will be used.
ad_unit_package_idIntegerThe ID of the ad unit package. Check the Ad Unit API to see how to get ad unit packageNoIf the Price field is locked, then the API can not update an ad_unit's price but still can update the ad_unit_id, budget_exempt, and impression_cap.

If the Budget field is locked, then the API can not update the ad_unit's budget_exempt and impression_cap but still can update the ad_unit_id and ad_unit price.
ad_unit_nodeSetThe set of ad unit node attributes as described below.No
advanced_linkingSetThe advanced_linking defines variant linking scenarios which are combinations of different linking styles between different ad unit types, as described below.NoOnly supported when link_method = LINK_WHERE_POSSIBLE or ALL_LINKED.
custom_setSetThe custom_set attributes allow you to specify exactly which ad units should be linked together, as described below.NoOnly supported when link_method = NOT_LINKED. Custom Set is an optional feature that must be turned on by your Program Manager. If you don't have this feature turned on and submit this node, an error is returned.

Ad Unit Node Attributes - Child Attributes of Ad Product Attributes

NameTypeDetails
ad_unit_idIntegerThe id of ad unit. Check the Ad Unit API to see how to get ad unit.
statusEnumThe status of ad unit node.

Valid values: 'ACTIVE', 'IN_ACTIVE'
priceDecimalThe price of ad unit node, only effect when price model is CPM
budget_exemptBooleanSet budget exempt for ad unit node, check budget exempt
impression_capIntegerSet impression cap for ad unit node, check impression cap

Linking Scenario Attributes - Child Attributes of Ad Product Attributes

NameTypeDetails
instreamEnumValid values: 'ALL_LINKED', 'LINK_WHERE_POSSIBLE', 'NOT_LINKED'
displayEnumValid values: 'ALL_LINKED', 'LINK_WHERE_POSSIBLE', 'NOT_LINKED'
overlayEnumValid values: 'ALL_LINKED', 'LINK_WHERE_POSSIBLE', 'NOT_LINKED'

Custom Set Attributes - Child Attributes of Ad Product Attributes

NameTypeDetails
ad_unit_idIntegerThe ad or ad unit
link_methodEnumValid values: 'LINK_WHERE_POSSIBLE', 'ALL_LINKED'

📘

Notes

  • The "exclude from invoice" and "accounting price" attributes (the latter available for "Make Good" placements) could be cleared from an Ad Unit when updating the Ad Product via API V3 much like they would in the UI.

  • Ad Product of a placement cannot be cleared via API V3.

  • Ad units in an ad package will be shown as individual ad units; no ad package IDs are returned in the Get response. Status is returned for MRM only networks.

Normal Audience Targeting Attributes - Child Attributes of Basic Attributes

The audience targeting data should be grouped under the 'audience_targeting' node.

NameTypeDetailsMandatoryNotes
audience_itemIntegerAudience item IDYesAudience targeting is an optional feature that must be turned on by your Program Manager. If you don't have this feature turned on and submit this node, an error is returned.
includeSetA set of audience IDs that should be matchedYes
excludeSetSame format as includeNo

Advanced Audience Targeting Attributes - Child Attributes of Basic Attributes

The audience targeting data should be grouped under the 'audience_targeting' node.

NameTypeDetailsMandatoryNotes
includeSetContains sets of audience items. Each set contains audience item MRM IDs. Within one set, a relation_in_set node exists to indicate the relationship within one set (AND, OR). Between two sets, a relation_between_sets node exists to indicate the relationship between two sets (AND, OR).YesA maximum of only 3 sets is supported.
excludeSetSame format as exclude in normal content targetingNo

Restrict Delivery to Campaign Tags Attributes - Child Attribute to Basic Attributes

NameTypeDetailsMandatory
restrict_delivery_to_campaign_tagsBooleanSetting this option will restrict delivery exclusively to tags generated specifically for this placement.No

Does not support clear on campaign tags.

Soft Reserve Attributes - Child Attributes to Basic Attributes

All soft reserve data should be grouped under the 'soft_reserve' node.

NameTypeDetailsMandatoryNotes
soft_reserveBooleanSoft reserve inventory for allowed durationNosoft_reserve = true means soft reserve a placement; soft_reserve = false means soft release a placement

Does not support clear on soft reserve

Industry Attributes - Child Attributes to Basic Attributes

All industry data should be grouped under the 'industry' node. To see the public list of valid industry IDs, click API Resources. Contact FreeWheel if you would like to get IDs for your network's custom Industry Groups.

NameTypeDetailsMandatory
mrm_industryIntegerIncluded MRM industriesNo
industry_groupIntegerIncluded industry groupsNo

Platform Targeting Attributes - Child Attributes of Basic Attributes

All platform targeting data should be grouped under the 'platform_targeting' node.

📘

Note

The standard_attributes node conflicts with the device, os, browser, and package nodes. If the request passes through any of them with the node standard_attributes, an error is returned an error.

NameTypeDetailsMandatoryNotes
deviceIntegerThe ID of the device(s) to be targetedNoSee the list of valid platform IDs.
osIntegerThe ID of the OS(s) to be targetedNoSee the list of valid platform IDs.
browserIntegerThe ID of the browser(s) to be targetedNoSee the list of valid platform IDs.
packageIntegerThe ID of the package(s) to be targetedNo
standard_attributesSetSet of Standard Attributes inclusion and exclusionNo

Standard Attributes–Child Attributes

Standard Attributes are only valid for Marketplace clients. Contact FreeWheel if you would like to enable Marketplace.

TypeDetailsMandatoryNotes
includeSetSet of Standard Attributes. Each Standard Attribute must contain a type and at least one ID.NoThe relationship between each Standard Attribute type is AND. The relationship between each Standard Attribute item under the same type is OR.
excludeSetSet of Standard Attributes. Each Standard Attribute must contain a type and at least one ID.NoThe relationship between each Standard Attribute type is AND. The relationship between each Standard Attribute items under the same type is OR.

Alert Attributes - Child Attributes of Basic Attributes

All alert data should be grouped under the 'alert' node. Alert only support for MRM-only placement, and it's get-only.

The following attributes are used by MRM only.

NameTypeDetailsMandatory
warningStringAll warning message(s)No
errorStringAll error message(s)No

Create/Update Alert Info is not supported.
Create Alert Info is not supported.

Cost Attributes - Child Attributes of Basic Attributes

The cost data should be grouped under the 'cost' node.

📘

Note

Cost is an optional feature that must be turned on by your Program Manager

Function/NodeData TypeCreatable?Updatable?Included in GET?
gross_costFloatNoNoYes
net_costFloatNoNoYes

Create/Update Cost is not supported.
Clear Cost is not supported.

Premiums Attributes - Child Attributes of Basic Attributes

The premiums data should be grouped under the 'premiums' node.

📘

Note

Premiums is an optional feature enabled only for Networks with Sales Proposal enabled.

Function/NodeData TypeDetailsCreatable?Updatable?Included in GET?
idFW_IDPremium IDYesYesYes

Placement Template Label Attributes - Child Attributes of Basic Attributes

The placement template label data should be grouped under the 'placement_template_label' node.

📘

Note

The Placement template label is an optional feature that must be turned on by your Program Manager.

Function/NodeData TypeDetailsCreatable?Updatable?Included in GET?
idFW_IDPremium IDYesYesYes

Create/Update Placement Template Label is not supported.
Clear Placement Template Label is not supported.

Ratings Based Planning (RBP) Advanced Attributes

All of the parameters below are returned in basic GET requests. To return only these parameters in a GET request, use the value rbp_advancedfor the show parameter.

NameTypeDetailsMandatoryCreatable?Updateable?Comments
enable_audience_measurementBooleanValid values:

True
False
Yes, when budget_model is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'YesYesValid when network function ENABLE_MEASUREMENT_FOR_NON_RBP_PLACEMENT is turned on and budget_model is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'
data_sourceEnumValid values:

Nielsen
Yes, when enable_audience_measurement is set to TrueYesYesValid when network function ENABLE_MEASUREMENT_FOR_NON_RBP_PLACEMENT is turned on and budget_model is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'
demographicIntegerThe ID of target demographicYes, when enable_audience_measurement is set to TrueYesYesValid when network function ENABLE_MEASUREMENT_FOR_NON_RBP_PLACEMENT is turned on and budget_model is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'. Nielsen demographic IDs 27, 30 or 31 cannot be targeted individually but can be targeted together with all other demographics for P2+ Target.
For a list of valid demographic IDs for Nielsen, reference this page: API Resources.
demographic_on_target_calculationEnumValid values:

DIRECT
COMPOSITIONAL
Yes, when enable_audience_measurement is set to TrueYesYesValid when network function ENABLE_MEASUREMENT_FOR_NON_RBP_PLACEMENT is turned on and budget_model is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'
cold_start_on_target_rateIntegerValid values:

  • -2
  • -1
  • 1 ... 999
Default value is -1
NoYesYesValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET/DEMOGRAPHIC_CURRENCY_TARGET; Value -2 means using the ratio of on_target_impressions to gross_impression_cap.
Value -1 means using RON level prediction model.
A positive value means using a custom rate. For example, 120 stands for 120%.
apply_coviewing_to_ott_rateBooleanValid values:

  • True
  • False
Default value is False
NoYesYesValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET/DEMOGRAPHIC_CURRENCY_TARGET; Only takes effect when the following conditions are met: data_source = Nielsen, enable_ott_measurement = true and demographic_on_target_calculation = COMPOSITIONAL.

Also valid when network function ENABLE_MEASUREMENT_FOR_NON_RBP_PLACEMENT is turned on and budget_model is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'. Only takes effect when the following conditions are met: data_source = Nielsen and demographic_on_target_calculation = COMPOSITIONAL.
apply_ott_rate_to_stb_vodBooleanValid values:

  • True
  • False
Default value is False
NoYesYesValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET/DEMOGRAPHIC_CURRENCY_TARGET; Only takes effect when the following conditions are met: data_source = Nielsen, enable_ott_measurement = true and demographic_on_target_calculation = COMPOSITIONAL.

Also valid when network function ENABLE_MEASUREMENT_FOR_NON_RBP_PLACEMENT is turned on and budget_model is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'. Only takes effect when the following conditions are met: data_source = Nielsen and demographic_on_target_calculation = COMPOSITIONAL.
apply_coviewing_to_stb_vod_rateBooleanValid values:

  • True
  • False
Default value is False
NoYesYesValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET/DEMOGRAPHIC_CURRENCY_TARGET; Only takes effect when the following conditions are met: data_source = Nielsen, enable_ott_measurement = true, demographic_on_target_calculation = COMPOSITIONAL and apply_ott_rate_to_stb_vod = true.

Also valid when network function ENABLE_MEASUREMENT_FOR_NON_RBP_PLACEMENT is turned on and budget_model is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'. Only takes effect when the following conditions are met: data_source = Nielsen, demographic_on_target_calculation = COMPOSITIONAL and apply_ott_rate_to_stb_vod = true
blended_rate_platformsSetA set of blended_rate_platform.

Each blended_rate_platform node has these valid values:

  • PC
  • MOB
  • OTT
NoYesYesValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET/DEMOGRAPHIC_CURRENCY_TARGET; 'OTT' can only be set when enable_ott_measurement = true. Set as 'PC' and 'MOB' by default when enable_ott_measurement = false during creation. Set as 'PC', 'MOB' and 'OTT' by default when enable_ott_measurement = true during creation. Only takes effect when data_source = Nielsen and demographic_on_target_calculation = COMPOSITIONAL.

Also valid when network function ENABLE_MEASUREMENT_FOR_NON_RBP_PLACEMENT is turned on and budget_model is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'. Set as 'PC', 'MOB' and 'OTT' by default. Only takes effect when data_source = Nielsen and demographic_on_target_calculation = COMPOSITIONAL.
enable_coviewing_for_ott_impressionsBooleanValid values:
True
False


Default value is True
NoYesYesValid when budget_model = DEMOGRAPHIC_IMPRESSION_TARGET/DEMOGRAPHIC_CURRENCY_TARGET. Only takes effect when the following conditions are met: data_source = Nielsen, enable_ott_measurement = true, demographic_on_target_calculation = COMPOSITIONAL and apply_coviewing_to_ott_rate = false.

Also valid when network function ENABLE_MEASUREMENT_FOR_NON_RBP_PLACEMENT is turned on and budget_model is 'ALL_IMPRESSION', 'SOV', 'SOP', or 'SOI'. Only takes effect when the following conditions are met: data_source = Nielsen, demographic_on_target_calculation = COMPOSITIONAL and apply_coviewing_to_ott_rate = false.

Marketplace Supply Source Attributes - Child Attributes

NameTypeDetailsMandatoryNotes
inventory_orderSetSet of marketplace inventory orders inclusion and exclusionNoThe API supports marketplace inventory orders, inventory split orders, or groups of orders being supply source packages. The default logical relationship between 'inventory_order' and 'inventory_split_order' is OR. The API returns a blank response if a set includes all inventory orders and all inventory split orders.
inventory_split_orderSetSet of marketplace inventory split orders inclusion and exclusionNo
supply_source_packageSetSet of marketplace supply source package inclusion and exclusionNo
sellerSetSet of sellers to excludeNo

Inventory Order - Child Attributes of Marketplace Supply Source Attribute

NameTypeDetailsMandatoryNotes
includeSetSet of marketplace inventory order ID. Contains one or more id.No
  • The API only supports inventory order IDs in the current network.
  • The API is not able to include and exclude the same Order IDs at the same time, except ID = -1 (all Inventory Orders).
excludeSetSame format as includeNo

Inventory Split Order - Child Attributes of Marketplace Supply Source Attribute

NameTypeDetailsMandatoryNotes
includeSetSet of marketplace inventory split order ID. Contains one or more id.No
  • The API only supports inventory order IDs in the current network.
  • The API is not able to include and exclude the same Order IDs at the same time, except ID = -1 (all Inventory Split Orders).
excludeSetSame format as includeNo

Supply Source Package - Child Attributes of Marketplace Supply Source Attribute

NameTypeDetailsMandatoryNotes
includeSetSet of marketplace supply source package IDs. Contains one or more id.No
  • The API only supports supply source package IDs in the current network.
  • The API is not able to include and exclude the same Package IDs at the same time.
excludeSetSame format as includeNo

Seller - Child Attribute of Marketplace Supply Source Attribute

NameTypeDetailsMandatory
excludeSetSet of seller IDs. Contains one or more id.No

ID - Child Attributes of Inventory Order, Inventory Split Order, SSP Inventory Order, Supply Source Package and Seller Attributes

NameTypeDetailsMandatoryNotes
idFW_IDFW ID of Inventory Order, Inventory Split Order, Supply Source Package, or SellerNo
  • Use the Purchased Inventory Order, Inventory Split Order, or Supply Source Package APIs to get the list of IDs with which to target.
  • An ID with a value of -1 targets all the inventory orders or inventory split orders across the network.
  • If you want to target multiple IDs, add more nodes in parallel. The relationship between the different IDs is OR.
  • A cancelled order ID cannot be targeted.
  • An inactive supply source package ID cannot be targeted.

Yield Optimization Attributes - Child Attributes

Yield Optimization is available only to networks enabled with Yield Optimization capability. Contact FreeWheel to enable this functionality.

NameTypeDetailsMandatoryNotes
volume_cap_configsEnumThe flag to determine if a placement delivery ignores or inherits the configured network-level volume cap yield
optimizations.
NoValid values:


  • IGNORE

  • INHERIT
  • OVERRIDE
Default value is 'INHERIT'.If an empty node gets passed, it is set as
INHERIT by default.The value IGNORE means to
ignore the volume cap yield optimization configurations.
volume_cap_optimization_idsSet of FW_IDThe Array of Yield Optimization Volume Cap RuleID set on the placement to overrideglobal volume cap configurations.NoValid when volume_cap_configs = 'OVERRIDE'.

This node will be ignored if volume_cap_configs is set to 'IGNORE' or 'INHERIT'.
inventory_prioritization_configsEnumThe flag to determine if placement delivery ignores or inherits the configured network-level inventory prioritization yield optimizations.NoValid values:

  • IGNORE
  • INHERIT
  • OVERRIDE
Default value is
INHERIT.If the empty
node gets passed
through, it is set as
INHERIT by default.If it is set as IGNORE, the inventory
prioritization yield
optimization
configurations should be disregarded.
inventory_prioritization_optimization_idsSet of FW_IDThe Array of Yield Optimization Inventory Prioritization Rule ID set on the placement to override global inventory prioritization configurations.NoValid when inventory_prioritization_configs = 'OVERRIDE'.

This node will be ignored if inventory_prioritization_configs is set to 'IGNORE' or 'INHERIT'
distribution_optimization_configsEnumThe flag to determine if placement delivery ignores or inherits the configured network-level distribution goals yield optimizations.NoValid values:

  • IGNORE
  • INHERIT
  • OVERRIDE
Default value is
INHERIT.If the empty
node gets passed
through, it is set as
INHERIT by default.If it is set as IGNORE, the distribution goals yield
optimization
configurations should be disregarded.
distribution_optimization_idsSet of FW_IDThe Array of Yield Optimization Distribution Rule ID set on the placement.NoPlacement yield optimization distribution only supports the override mode.
inventory_value_distribution_configsSetEnumThe flag to determine if placement delivery ignores or inherits the global inventory value distribution rules, or follow customized inventory value distribution yield optimizations.NoValid values:

  • IGNORE
  • INHERIT

  • OVERRIDE

Default value is
INHERIT.If this node is passed without a value, it will be set as
INHERIT by default.If it is set as IGNORE, the inventory
value distribution yield
optimization
configurations will not be used.
inventory_value_distribution_optimization_idsSet of FW_IDThe Array of yield optimization inventory value distribution ID set on the placement to override global inventory value distribution configurations.NoValid when inventory_value_distribution_configs = 'OVERRIDE'.

This node will be ignored if inventory_value_distribution_configs is set to 'IGNORE' or 'INHERIT'.

🚧

Note

If a Yield Optimization parent attribute is set to INHERIT or IGNORE, passing empty ID child attributes will result in an error. This occurs because the system interprets empty pairs as ID value 0.

Volume Cap Optimization IDs Attributes - Child Attributes

Volume Cap Optimization IDs is only available when placement yield optimization volume cap configurations is set to OVERRIDE.

NameTypeDetailsMandatory
idFW_IDThe ID of Yield Optimization Volume Cap Rule set on the placement to override global Volume Cap configurations.Yes, when volume_cap_configs is set to OVERRIDE. Do not use when set to IGNORE or INHERIT, as empty ID pairs will throw an error.

Inventory Prioritization Optimization IDs Attributes - Child Attributes

Inventory Prioritization Optimization IDs is only available when placement yield optimization inventory prioritization configurations is set to OVERRIDE.

NameTypeDetailsMandatory
idFW_IDThe ID of Yield Optimization Inventory Prioritization Rule set on the placement to override global Inventory Prioritization configurations.Yes, when inventory_prioritization_configs is set to OVERRIDE. Do not use when set to IGNORE or INHERIT, as empty ID pairs will throw an error.

Distribution Optimization IDs Attributes - Child Attributes

Distribution Optimization IDs are only available when placement yield optimization distribution configurations are set to OVERRIDE.

NameTypeDetailsMandatory
idFW_IDThe ID of Yield Optimization Distribution Rule set on the placement.Yes, when distribution_optimization_configs is set to OVERRIDE. Do not use when set to IGNORE or INHERIT, as empty ID pairs will throw an error.

Inventory Value Distribution Optimization IDs Attributes - Child Attributes

Inventory Value Distribution Optimization IDs is only available when placement inventory value
distribution configurations is set to OVERRIDE.

NameTypeDetailsMandatory
idFW_IDThe ID of Yield Optimization Inventory Value Distribution Rule set on the placement to override global Inventory Value Distribution configurations.Yes, when inventory_value_distribution_configs is set to OVERRIDE. Do not use when set to IGNORE or INHERIT, as empty ID pairs will throw an error.

ISP Targeting Attributes - Child Attributes of Basic Attributes

ISP Targeting is available in the <isp_targeting> node which contains a node with the ID of the ISP.

NameTypeDetailsMandatoryNotes
ispSet<FW_ID>The ID of the ISP as defined in API ResourcesNo<isp_targeting>
<isp>
{id}
</isp>
</isp_targeting>

SSP Attributes

SSP targeting is available for clients using Marketplace Bidder. For an interactive example of the following attributes, see Create a Placement.

📘

Note

SSP targeting is gated by a network function. To enable this feature, contact your FreeWheel representative.

SSP Targeting Attributes - Child Attributes of Basic Attributes

NameTypeDetailsMandatoryNotes
ssp_enablementBooleanEnables the SSP traffic and targeting for a placement.Nossp_enablement=true is required to enable the availability of SSP traffic and SSP-targeted fields for the placement. If this field is set to false and pushed with other SSP fields, it will return an error.
ssp_content_targetingSetAllows targeting of the SSP content standard attributes and inventory packageNo
ssp_standard_attributes_targetingSetAllows targeting on SSP available only standard attributes.No
ssp_geo_targetingSetAllows targeting of the SSP geography standard attributesNo
ssp_daypart_targetingSetAllows targeting dayparts for the SSP supply.No
ssp_platform_targetingSetAllows targeting on SSP platform standard attributes.No
ssp_custom_targetingSetAllows targeting custom key values for the SSP supply.No
ssp_audience_targetingSetAllows targeting audience items for the SSP supply.No

SSP Content Targeting - Child Attributes

NameTypeDetailsMandatoryNotes
network_itemsSetOnly supports MRM content. The default logical relationship between network_items, standard_attributes, and ron is OR.NoValid values: INCLUDE, EXCLUDE
standard_attributesSetSet of content standard attributes that can be included or excluded. The default logical relationship between network_items, standard_attributes, and ron is OR.

standard_attributes is valid for Marketplace clients only. Contact FreeWheel if you would like to enable Marketplace functionality, i.e., FW_MARKETPLACE_BUYER_PROFILE or FW_MARKETPLACE_SELLER_PROFILE, and ENABLE_MPP_INVENTORY_FOR_PROGRAMMATIC
NoValid values: INCLUDE, EXCLUDE
ronSetSet of ron items to include in content targeting. The default logical relationship between network_items, standard_attributes, and ron is OR.
ron is valid for Marketplace clients only. Contact FreeWheel if you would like to enable Marketplace functionality.
NoValid values: INCLUDE
inventory_packagesSetSet of inventory packages that contain SSP targeting that can be included or excluded.NoValid values: INCLUDE, EXCLUDE
advanced_combination_includeSetConfigure advanced combinations. For more details, see the ssp_content_targeting object in Create a Placement .NoValid values: RELATION_BETWEEN_SETS, SETS, REMAINING_ITEMS, VIDEO, VIDEO_GROUP, SERIES, SITE, SITE_SECTION, SITE_GROUP, CHANNEL, CHANNEL_GROUP, AIRING, AUDIENCE_ITEM

SSP Standard Attributes Targeting - Child Attributes

NameTypeDetailsMandatoryNotes
includeSetSet of Standard Attributes and SSP Standard Attributes. Each Standard Attribute must contain a type and at least one ID.
The relationship between each Standard Attribute type is AND. The relationship between each Standard Attribute item under the same type is OR.

For more details, see the ssp_standard_attributes_targeting object in Create a Placement .
NoValid values: TYPE, ID
excludeSetSet of Standard Attributes and SSP Standard Attributes. Each Standard Attribute must contain a type and at least one ID.
The relationship between each Standard Attribute type is AND. The relationship between each Standard Attribute item under the same type is OR.

For more details, see the ssp_standard_attributes_targeting object in Create a Placement.
NoValid values: TYPE, ID

SSP Geo Targeting - Child Attributes

NameTypeDetailsMandatoryNotes
includeSetSet of geography attributes. The included standard attribute must contain an ID. For more details, see the ssp_geo_targeting object in Create a Placement.NoThe relationship between each geography item is OR.

Valid values: COUNTRY, STATE, DMA, POSTAL_CODE, POSTAL_CODE_PACKAGE, REGION, CITY
excludeSetSet of geography attributes. The excluded standard attribute must contain an ID. For more details, see the ssp_geo_targeting object in Create a Placement .NoThe relationship between each geography item is OR.

Valid values: COUNTRY, STATE, DMA, POSTAL_CODE, POSTAL_CODE_PACKAGE, REGION, CITY

SSP Daypart Targeting - Child Attributes

NameTypeDetailsMandatoryNotes
time_zoneStringA time zone name. FreeWheel provides a list of time zones at API Resources.No
partArray of objectsA set of daypart targeting part (tick). Maximum size = 12. For more details, see the ssp_daypart_targeting object in Create a Placement .NoValid values: START_TIME, END_TIME, START_DAY, END_DAY, DAYS, REPEAT

SSP Platform Targeting - Child Attributes

NameTypeDetailsMandatory
deviceArray of stringsList of device types to target.No
osArray of stringsList of OS types to target.No
browserArray of stringsList of browser types to target.No
packageArray of stringsList of package types to target. Obtained from MRM.No
standard_attributesSetInclude or exclude standard attributes and SSP standard attributes. For more details, see the ssp_platform_targeting object in Create a Placement.No

SSP Custom Targeting - Child Attributes

NameTypeDetailsMandatoryNotes
setSetIf there are multiple sets, then the relationship within a set can only be ANY. Across sets, the relationship is AND. For more details, see the ssp_custom_targeting object in Create a Placement.NoValid values: KEY_VALUE, RELATION_IN_SET
relation_between_setsArray of stringsIf there is more than one set, this value can only be set to OR. If there is only one set with multiple key values, the match can be OR or AND.No

SSP Audience Targeting - Child Attributes

NameTypeDetailsMandatoryNotes
includeSetThe included audience items. For more details, see the ssp_audience_targeting object in Create a Placement.NoValid values: RELATION_BETWEEN_SETS, SETS, REMAINING_ITEMS, VIDEO, VIDEO_GROUP, SERIES, SITE, SITE_SECTION, SITE_GROUP, CHANNEL, CHANNEL_GROUP, AIRING, AUDIENCE_ITEM
excludeSetThe excluded audience items. For more details, see the ssp_audience_targeting object in Create a Placement.NoValid values: VIDEO, VIDEO_GROUP, SERIES, SITE, SITE_SECTION, SITE_GROUP, CHANNEL, CHANNEL_GROUP, AIRING, AUDIENCE_ITEM, RELATION_IN_SET, STANDARD_ATTRIBUTES, INVENTORY_PACKAGES, ROMN