- Resource: Site
- SiteSettings
- SiteContact
- SiteVideoSettings
- SiteCompanionSetting
- SiteTranscodeSetting
- SiteSkippableSetting
- SiteOrientation
- Methods
Resource: Site
Contains properties of a site .
JSON representation |
---|
{ "id" : string , "keyName" : string , "name" : string , "accountId" : string , "subaccountId" : string , "approved" : boolean , "siteSettings" : { object ( |
id
string ( int64
format)
ID of this site. This is a read-only, auto-generated field.
keyName
string
Key name of this site. This is a read-only, auto-generated field.
name
string
Name of this site.This is a required field. Must be less than 128 characters long. If this site is under a subaccount, the name must be unique among sites of the same subaccount. Otherwise, this site is a top-level site, and the name must be unique among top-level sites of the same account.
accountId
string ( int64
format)
Account ID of this site. This is a read-only field that can be left blank.
subaccountId
string ( int64
format)
Subaccount ID of this site. This is a read-only field that can be left blank.
approved
boolean
Whether this site is approved.
siteSettings
object (
SiteSettings
)
Site-wide settings.
siteContacts[]
object (
SiteContact
)
Site contacts.
directorySiteId
string ( int64
format)
Directory site associated with this site. This is a required field that is read-only after insertion.
idDimensionValue
object (
DimensionValue
)
Dimension value for the ID of this site. This is a read-only, auto-generated field.
directorySiteIdDimensionValue
object (
DimensionValue
)
Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
kind
string
Identifies what kind of resource this is. Value: the fixed string
"dfareporting#site"
.
videoSettings
object (
SiteVideoSettings
)
Default video settings for new placements created under this site. This value will be used to populate the
placements.videoSettings
field, when no value is specified for the new placement.
adServingPlatformId
string ( int64
format)
Optional. Ad serving platform ID to identify the ad serving platform used by the site. Measurement partners can use this field to add ad-server specific macros. If set, this value acts as the default during placement creation. Possible values are:
-
1
, Adelphic -
2
, Adform -
3
, Adobe -
4
, Amobee -
5
, Basis (Centro) -
6
, Beeswax -
7
, Amazon -
8
, DV360 (DBM) -
9
, Innovid -
10
, MediaMath -
11
, Roku OneView DSP -
12
, TabMo Hawk -
13
, The Trade Desk -
14
, Xandr Invest DSP -
15
, Yahoo DSP -
16
, Zeta Global -
17
, Scaleout -
18
, Bidtellect -
19
, Unicorn -
20
, Teads -
21
, Quantcast -
22
, Cognitiv
SiteSettings
Site Settings
JSON representation |
---|
{ "disableNewCookie" : boolean , "tagSetting" : { object ( |
Fields | |
---|---|
disableNewCookie
|
Whether new cookies are disabled for this site. |
tagSetting
|
Configuration settings for dynamic and image floodlight tags. |
activeViewOptOut
|
Whether active view creatives are disabled for this site. |
adBlockingOptOut
|
Whether this site opts out of ad blocking. When true, ad blocking is disabled for all placements under the site, regardless of the individual placement settings. When false, the campaign and placement settings take effect. |
videoActiveViewOptOutTemplate
|
Whether Verification and ActiveView for in-stream video creatives are disabled by default for new placements created under this site. This value will be used to populate the field, when no value is specified for the new placement. |
vpaidAdapterChoiceTemplate
|
Default VPAID adapter setting for new placements created under this site. This value will be used to populate the field, when no value is specified for the new placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to the placement. The publisher's specifications will typically determine this setting. For VPAID creatives, the adapter format will match the VPAID format (HTML5 VPAID creatives use the HTML5 adapter). when the following values are provided: , . |
SiteContact
Site Contact
JSON representation |
---|
{
"id"
:
string
,
"contactType"
:
enum (
|
Fields | |
---|---|
id
|
ID of this site contact. This is a read-only, auto-generated field. |
contactType
|
Site contact type. |
email
|
Email address of this site contact. This is a required field. |
firstName
|
First name of this site contact. |
lastName
|
Last name of this site contact. |
title
|
Title or designation of this site contact. |
address
|
Address of this site contact. |
phone
|
Primary phone number of this site contact. |
SiteVideoSettings
Video Settings
JSON representation |
---|
{ "companionSettings" : { object ( |
companionSettings
object (
SiteCompanionSetting
)
Settings for the companion creatives of video creatives served to this site.
transcodeSettings
object (
SiteTranscodeSetting
)
Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site.
skippableSettings
object (
SiteSkippableSetting
)
Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site.
orientation
enum (
SiteOrientation
)
Orientation of a site template used for video. This will act as default for new placements created under this site.
kind
string
Identifies what kind of resource this is. Value: the fixed string
"dfareporting#siteVideoSettings"
.
obaSettings
object (
ObaIcon
)
Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site.
obaEnabled
boolean
Whether OBA icons are enabled for this placement.
publisherSpecificationId
string ( int64
format)
Publisher specification ID used to identify site-associated publisher requirements and automatically populate transcode settings. If publisher specification ID is specified, it will take precedence over transcode settings. Possible values are:
-
1
, Hulu -
2
, NBC -
3
, CBS -
4
, CBS Desktop -
5
, Discovery -
6
, VEVO HD -
7
, VEVO Vertical -
8
, Fox -
9
, CW Network -
10
, Disney -
11
, IGN -
12
, NFL.com -
13
, Turner Broadcasting -
14
, Tubi on Fox -
15
, Hearst Corporation -
16
, Twitch Desktop -
17
, ABC -
18
, Univision -
19
, MLB.com -
20
, MLB.com Mobile -
21
, MLB.com OTT -
22
, Polsat -
23
, TVN -
24
, Mediaset -
25
, Antena 3 -
26
, Mediamond -
27
, Sky Italia -
28
, Tubi on CBS -
29
, Spotify -
30
, Paramount -
31
, Max
SiteCompanionSetting
Companion Settings
JSON representation |
---|
{
"companionsDisabled"
:
boolean
,
"enabledSizes"
:
[
{
object (
|
Fields | |
---|---|
companionsDisabled
|
Whether companions are disabled for this site template. |
enabledSizes[]
|
Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes. |
imageOnly
|
Whether to serve only static images as companions. |
kind
|
Identifies what kind of resource this is. Value: the fixed string . |
SiteTranscodeSetting
Transcode Settings
JSON representation |
---|
{ "enabledVideoFormats" : [ integer ] , "kind" : string } |
Fields | |
---|---|
enabledVideoFormats[]
|
Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats. |
kind
|
Identifies what kind of resource this is. Value: the fixed string . |
SiteSkippableSetting
Skippable Settings
JSON representation |
---|
{ "skippable" : boolean , "skipOffset" : { object ( |
Fields | |
---|---|
skippable
|
Whether the user can skip creatives served to this site. This will act as default for new placements created under this site. |
skipOffset
|
Amount of time to play videos served to this site before the skip button should appear. Applicable when is true. |
progressOffset
|
Amount of time to play videos served to this site template before counting a view. Applicable when is true. |
kind
|
Identifies what kind of resource this is. Value: the fixed string . |
SiteOrientation
Enums | |
---|---|
ANY
|
|
LANDSCAPE
|
|
PORTRAIT
|
Methods |
|
---|---|
|
Gets one site by ID. |
|
Inserts a new site. |
|
Retrieves a list of sites, possibly filtered. |
|
Updates an existing site. |
|
Updates an existing site. |