- Resource: Placement
- PaymentSource
- PlacementTagFormat
- PlacementStatus
- VideoSettings
- CompanionSetting
- TranscodeSetting
- SkippableSetting
- PlacementOrientation
- MeasurementPartnerWrappingData
- TagWrappingMode
- PlacementConversionDomainOverride
- PlacementSingleConversionDomain
- Methods
Resource: Placement
Contains properties of a placement.
JSON representation |
---|
{ "id": string, "accountId": string, "subaccountId": string, "advertiserId": string, "campaignId": string, "name": string, "siteId": string, "keyName": string, "directorySiteId": string, "paymentSource": enum ( |
Fields | |
---|---|
id |
ID of this placement. This is a read-only, auto-generated field. |
account |
Account ID of this placement. This field can be left blank. |
subaccount |
Subaccount ID of this placement. This field can be left blank. |
advertiser |
Advertiser ID of this placement. This field can be left blank. |
campaign |
Campaign ID of this placement. This field is a required field on insertion. |
name |
Name of this placement.This is a required field and must be less than or equal to 512 characters long. |
site |
Site ID associated with this placement. On insert, you must set either this field or the
field to specify the site associated with this placement. This is a required field that is read-only after insertion. |
key |
Key name of this placement. This is a read-only, auto-generated field. |
directory |
Directory site ID of this placement. On insert, you must set either this field or the
field to specify the site associated with this placement. This is a required field that is read-only after insertion. |
payment |
Payment source for this placement. This is a required field that is read-only after insertion. |
compatibility |
Placement compatibility.
and
refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively.
and
are no longer allowed for new placement insertions. Instead, use
or
.
refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion. |
size |
Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
payment |
Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements. |
pricing |
Pricing schedule of this placement. This field is required on insertion, specifically subfields
,
and
. |
placement |
ID of this placement's group, if applicable. |
primary |
Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the
field on the original primary placement of the roadblock to false, and it will automatically set the roadblock's
field to the ID of this placement. |
tag |
Tag settings for this placement. |
tag |
Tag formats to generate for this placement. This field is required on insertion. Acceptable values are:
|
content |
ID of the content category assigned to this placement. |
placement |
ID of the placement strategy assigned to this placement. |
lookback |
Lookback window settings for this placement. |
comment |
Comments for this placement. |
status |
Third-party placement status. |
publisher |
Information about the last publisher update. This is a read-only field. |
last |
Information about the most recent modification of this placement. This is a read-only field. |
ssl |
Whether creatives assigned to this placement must be SSL-compliant. |
id |
Dimension value for the ID of this placement. This is a read-only, auto-generated field. |
advertiser |
Dimension value for the ID of the advertiser. This is a read-only, auto-generated field. |
campaign |
Dimension value for the ID of the campaign. This is a read-only, auto-generated field. |
site |
Dimension value for the ID of the site. This is a read-only, auto-generated field. |
directory |
Dimension value for the ID of the directory site. This is a read-only, auto-generated field. |
placement |
Dimension value for the ID of the placement group. This is a read-only, auto-generated field. |
external |
External ID for this placement. |
create |
Information about the creation of this placement. This is a read-only field. |
video |
A collection of settings which affect video creatives served through this placement. Applicable to placements with
compatibility. |
video |
Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting
exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from
or
which only apply to display ads. However,
opts out both video traffic, as well as display ads, from Verification and ActiveView. |
vpaid |
VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement.
when the following values are provided:
,
. |
ad |
Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect. |
additional |
Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used. |
wrapping |
Whether this placement opts out of tag wrapping. |
partner |
Measurement partner provided settings for a wrapped placement. |
active |
Whether this placement is active, inactive, archived or permanently archived. |
conversion |
Optional. Conversion domain overrides for a placement. |
ad |
Optional. Ad serving platform ID to identify the ad serving platform used by the placement. Measurement partners can use this field to add ad-server specific macros. Possible values are:
|
site |
Optional. Whether the ads in the placement are served by another platform and CM is only used for tracking or they are served by CM. A false value indicates the ad is served by CM. |
PaymentSource
Payment source for Placement If you change this enum make sure you keep the FE enum XFA.Placement.PaymentSourcesEnum in java/com/google/ads/xfa/site/app/models/placement.js in sync.
Enums | |
---|---|
PLACEMENT_AGENCY_PAID |
|
PLACEMENT_PUBLISHER_PAID |
PlacementTagFormat
Enums | |
---|---|
PLACEMENT_TAG_STANDARD |
|
PLACEMENT_TAG_IFRAME_JAVASCRIPT |
|
PLACEMENT_TAG_IFRAME_ILAYER |
|
PLACEMENT_TAG_INTERNAL_REDIRECT |
|
PLACEMENT_TAG_JAVASCRIPT |
|
PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT |
|
PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT |
|
PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT |
|
PLACEMENT_TAG_CLICK_COMMANDS |
|
PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH |
|
PLACEMENT_TAG_TRACKING |
|
PLACEMENT_TAG_TRACKING_IFRAME |
|
PLACEMENT_TAG_TRACKING_JAVASCRIPT |
|
PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3 |
|
PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY |
|
PLACEMENT_TAG_JAVASCRIPT_LEGACY |
|
PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY |
|
PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY |
|
PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4 |
|
PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT |
PlacementStatus
Placement status for placements.
Enums | |
---|---|
PENDING_REVIEW |
Placement is not yet reviewed by publisher. |
PAYMENT_ACCEPTED |
Placement Ad Serving fee is accepted by publisher |
PAYMENT_REJECTED |
Placement Ad Serving fee is rejected by publisher |
ACKNOWLEDGE_REJECTION |
Advertisers has accepted rejection of placement ad serving fee. This will suppress future notification on DDMM UI |
ACKNOWLEDGE_ACCEPTANCE |
Advertisers has accepted acceptance of placement ad serving fee. This will suppress future notification on DDMM UI |
DRAFT |
Advertisers is still working on placement not yet ready for Publisher review; default status for pub-paid placements |
VideoSettings
Video Settings
JSON representation |
---|
{ "companionSettings": { object ( |
Fields | |
---|---|
companion |
Settings for the companion creatives of video creatives served to this placement. |
transcode |
Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden. |
skippable |
Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden. |
orientation |
Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
oba |
Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden. |
oba |
Whether OBA icons are enabled for this placement. |
duration |
Duration of a video placement in seconds. |
publisher |
Publisher specification ID of a video placement. Possible values are:
|
CompanionSetting
Companion Settings
JSON representation |
---|
{
"companionsDisabled": boolean,
"enabledSizes": [
{
object ( |
Fields | |
---|---|
companions |
Whether companions are disabled for this placement. |
enabled |
Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes. |
image |
Whether to serve only static images as companions. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
TranscodeSetting
Transcode Settings
JSON representation |
---|
{ "enabledVideoFormats": [ integer ], "kind": string } |
Fields | |
---|---|
enabled |
Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
SkippableSetting
Skippable Settings
JSON representation |
---|
{ "skippable": boolean, "skipOffset": { object ( |
Fields | |
---|---|
skippable |
Whether the user can skip creatives served to this placement. |
skip |
Amount of time to play videos served to this placement before the skip button should appear. Applicable when
is true. |
progress |
Amount of time to play videos served to this placement before counting a view. Applicable when
is true. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
PlacementOrientation
Enums | |
---|---|
ANY |
|
LANDSCAPE |
|
PORTRAIT |
MeasurementPartnerWrappingData
Placement tag wrapping
JSON representation |
---|
{ "measurementPartner": enum ( |
Fields | |
---|---|
measurement |
Measurement partner used for wrapping the placement. |
link |
Placement wrapping status. |
wrapped |
Tag provided by the measurement partner during wrapping. |
tag |
Measurement mode for the wrapped placement. |
TagWrappingMode
Enums | |
---|---|
NONE |
|
BLOCKING |
|
MONITORING |
|
MONITORING_READ_ONLY |
|
VIDEO_PIXEL_MONITORING |
|
TRACKING |
|
VPAID_MONITORING |
|
VPAID_BLOCKING |
|
NON_VPAID_MONITORING |
|
VPAID_ONLY_MONITORING |
|
VPAID_ONLY_BLOCKING |
|
VPAID_ONLY_FILTERING |
|
VPAID_FILTERING |
|
NON_VPAID_FILTERING |
PlacementConversionDomainOverride
JSON representation |
---|
{
"conversionDomains": [
{
object ( |
Fields | |
---|---|
conversion |
|
PlacementSingleConversionDomain
JSON representation |
---|
{ "conversionDomainId": string, "conversionDomainValue": string } |
Fields | |
---|---|
conversion |
|
conversion |
|
Methods |
|
---|---|
|
Generates tags for a placement. |
|
Gets one placement by ID. |
|
Inserts a new placement. |
|
Retrieves a list of placements, possibly filtered. |
|
Updates an existing placement. |
|
Updates an existing placement. |