• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="dfareporting_v3_4.html">Campaign Manager 360 API</a> . <a href="dfareporting_v3_4.sites.html">sites</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#get">get(profileId, id, x__xgafv=None)</a></code></p>
82<p class="firstline">Gets one site by ID.</p>
83<p class="toc_element">
84  <code><a href="#insert">insert(profileId, body=None, x__xgafv=None)</a></code></p>
85<p class="firstline">Inserts a new site.</p>
86<p class="toc_element">
87  <code><a href="#list">list(profileId, acceptsInStreamVideoPlacements=None, acceptsInterstitialPlacements=None, acceptsPublisherPaidPlacements=None, adWordsSite=None, approved=None, campaignIds=None, directorySiteIds=None, ids=None, maxResults=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, subaccountId=None, unmappedSite=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Retrieves a list of sites, possibly filtered. This method supports paging.</p>
89<p class="toc_element">
90  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
93  <code><a href="#patch">patch(profileId, id, body=None, x__xgafv=None)</a></code></p>
94<p class="firstline">Updates an existing site. This method supports patch semantics.</p>
95<p class="toc_element">
96  <code><a href="#update">update(profileId, body=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Updates an existing site.</p>
98<h3>Method Details</h3>
99<div class="method">
100    <code class="details" id="close">close()</code>
101  <pre>Close httplib2 connections.</pre>
102</div>
103
104<div class="method">
105    <code class="details" id="get">get(profileId, id, x__xgafv=None)</code>
106  <pre>Gets one site by ID.
107
108Args:
109  profileId: string, User profile ID associated with this request. (required)
110  id: string, Site ID. (required)
111  x__xgafv: string, V1 error format.
112    Allowed values
113      1 - v1 error format
114      2 - v2 error format
115
116Returns:
117  An object of the form:
118
119    { # Contains properties of a site.
120  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this site. This is a read-only field that can be left blank.
121  &quot;approved&quot;: True or False, # Whether this site is approved.
122  &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site associated with this site. This is a required field that is read-only after insertion.
123  &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
124    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
125    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
126    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
127    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
128    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
129    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
130  },
131  &quot;id&quot;: &quot;A String&quot;, # ID of this site. This is a read-only, auto-generated field.
132  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
133    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
134    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
135    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
136    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
137    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
138    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
139  },
140  &quot;keyName&quot;: &quot;A String&quot;, # Key name of this site. This is a read-only, auto-generated field.
141  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#site&quot;.
142  &quot;name&quot;: &quot;A String&quot;, # 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.
143  &quot;siteContacts&quot;: [ # Site contacts.
144    { # Site Contact
145      &quot;address&quot;: &quot;A String&quot;, # Address of this site contact.
146      &quot;contactType&quot;: &quot;A String&quot;, # Site contact type.
147      &quot;email&quot;: &quot;A String&quot;, # Email address of this site contact. This is a required field.
148      &quot;firstName&quot;: &quot;A String&quot;, # First name of this site contact.
149      &quot;id&quot;: &quot;A String&quot;, # ID of this site contact. This is a read-only, auto-generated field.
150      &quot;lastName&quot;: &quot;A String&quot;, # Last name of this site contact.
151      &quot;phone&quot;: &quot;A String&quot;, # Primary phone number of this site contact.
152      &quot;title&quot;: &quot;A String&quot;, # Title or designation of this site contact.
153    },
154  ],
155  &quot;siteSettings&quot;: { # Site Settings # Site-wide settings.
156    &quot;activeViewOptOut&quot;: True or False, # Whether active view creatives are disabled for this site.
157    &quot;adBlockingOptOut&quot;: True or False, # 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.
158    &quot;disableNewCookie&quot;: True or False, # Whether new cookies are disabled for this site.
159    &quot;tagSetting&quot;: { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
160      &quot;additionalKeyValues&quot;: &quot;A String&quot;, # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
161      &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
162      &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
163      &quot;keywordOption&quot;: &quot;A String&quot;, # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
164    },
165    &quot;videoActiveViewOptOutTemplate&quot;: True or False, # 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 placement.videoActiveViewOptOut field, when no value is specified for the new placement.
166    &quot;vpaidAdapterChoiceTemplate&quot;: &quot;A String&quot;, # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice 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&#x27;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). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
167  },
168  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this site. This is a read-only field that can be left blank.
169  &quot;videoSettings&quot;: { # Video Settings # 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.
170    &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this site.
171      &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this site template.
172      &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.
173        { # Represents the dimensions of ads, placements, creatives, or creative assets.
174          &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
175          &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
176          &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
177          &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
178          &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
179        },
180      ],
181      &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
182      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteCompanionSetting&quot;.
183    },
184    &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteVideoSettings&quot;.
185    &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
186    &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site.
187      &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
188      &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
189      &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
190      &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
191      &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
192      &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
193        &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
194        &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
195        &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
196        &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
197        &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
198      },
199      &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
200      &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
201    },
202    &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a site template used for video. This will act as default for new placements created under this site.
203    &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site.
204      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteSkippableSetting&quot;.
205      &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true.
206        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
207        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
208      },
209      &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true.
210        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
211        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
212      },
213      &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.
214    },
215    &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site.
216      &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.
217        42,
218      ],
219      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteTranscodeSetting&quot;.
220    },
221  },
222}</pre>
223</div>
224
225<div class="method">
226    <code class="details" id="insert">insert(profileId, body=None, x__xgafv=None)</code>
227  <pre>Inserts a new site.
228
229Args:
230  profileId: string, User profile ID associated with this request. (required)
231  body: object, The request body.
232    The object takes the form of:
233
234{ # Contains properties of a site.
235  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this site. This is a read-only field that can be left blank.
236  &quot;approved&quot;: True or False, # Whether this site is approved.
237  &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site associated with this site. This is a required field that is read-only after insertion.
238  &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
239    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
240    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
241    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
242    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
243    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
244    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
245  },
246  &quot;id&quot;: &quot;A String&quot;, # ID of this site. This is a read-only, auto-generated field.
247  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
248    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
249    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
250    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
251    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
252    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
253    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
254  },
255  &quot;keyName&quot;: &quot;A String&quot;, # Key name of this site. This is a read-only, auto-generated field.
256  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#site&quot;.
257  &quot;name&quot;: &quot;A String&quot;, # 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.
258  &quot;siteContacts&quot;: [ # Site contacts.
259    { # Site Contact
260      &quot;address&quot;: &quot;A String&quot;, # Address of this site contact.
261      &quot;contactType&quot;: &quot;A String&quot;, # Site contact type.
262      &quot;email&quot;: &quot;A String&quot;, # Email address of this site contact. This is a required field.
263      &quot;firstName&quot;: &quot;A String&quot;, # First name of this site contact.
264      &quot;id&quot;: &quot;A String&quot;, # ID of this site contact. This is a read-only, auto-generated field.
265      &quot;lastName&quot;: &quot;A String&quot;, # Last name of this site contact.
266      &quot;phone&quot;: &quot;A String&quot;, # Primary phone number of this site contact.
267      &quot;title&quot;: &quot;A String&quot;, # Title or designation of this site contact.
268    },
269  ],
270  &quot;siteSettings&quot;: { # Site Settings # Site-wide settings.
271    &quot;activeViewOptOut&quot;: True or False, # Whether active view creatives are disabled for this site.
272    &quot;adBlockingOptOut&quot;: True or False, # 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.
273    &quot;disableNewCookie&quot;: True or False, # Whether new cookies are disabled for this site.
274    &quot;tagSetting&quot;: { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
275      &quot;additionalKeyValues&quot;: &quot;A String&quot;, # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
276      &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
277      &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
278      &quot;keywordOption&quot;: &quot;A String&quot;, # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
279    },
280    &quot;videoActiveViewOptOutTemplate&quot;: True or False, # 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 placement.videoActiveViewOptOut field, when no value is specified for the new placement.
281    &quot;vpaidAdapterChoiceTemplate&quot;: &quot;A String&quot;, # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice 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&#x27;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). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
282  },
283  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this site. This is a read-only field that can be left blank.
284  &quot;videoSettings&quot;: { # Video Settings # 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.
285    &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this site.
286      &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this site template.
287      &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.
288        { # Represents the dimensions of ads, placements, creatives, or creative assets.
289          &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
290          &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
291          &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
292          &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
293          &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
294        },
295      ],
296      &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
297      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteCompanionSetting&quot;.
298    },
299    &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteVideoSettings&quot;.
300    &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
301    &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site.
302      &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
303      &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
304      &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
305      &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
306      &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
307      &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
308        &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
309        &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
310        &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
311        &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
312        &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
313      },
314      &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
315      &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
316    },
317    &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a site template used for video. This will act as default for new placements created under this site.
318    &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site.
319      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteSkippableSetting&quot;.
320      &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true.
321        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
322        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
323      },
324      &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true.
325        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
326        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
327      },
328      &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.
329    },
330    &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site.
331      &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.
332        42,
333      ],
334      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteTranscodeSetting&quot;.
335    },
336  },
337}
338
339  x__xgafv: string, V1 error format.
340    Allowed values
341      1 - v1 error format
342      2 - v2 error format
343
344Returns:
345  An object of the form:
346
347    { # Contains properties of a site.
348  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this site. This is a read-only field that can be left blank.
349  &quot;approved&quot;: True or False, # Whether this site is approved.
350  &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site associated with this site. This is a required field that is read-only after insertion.
351  &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
352    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
353    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
354    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
355    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
356    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
357    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
358  },
359  &quot;id&quot;: &quot;A String&quot;, # ID of this site. This is a read-only, auto-generated field.
360  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
361    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
362    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
363    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
364    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
365    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
366    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
367  },
368  &quot;keyName&quot;: &quot;A String&quot;, # Key name of this site. This is a read-only, auto-generated field.
369  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#site&quot;.
370  &quot;name&quot;: &quot;A String&quot;, # 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.
371  &quot;siteContacts&quot;: [ # Site contacts.
372    { # Site Contact
373      &quot;address&quot;: &quot;A String&quot;, # Address of this site contact.
374      &quot;contactType&quot;: &quot;A String&quot;, # Site contact type.
375      &quot;email&quot;: &quot;A String&quot;, # Email address of this site contact. This is a required field.
376      &quot;firstName&quot;: &quot;A String&quot;, # First name of this site contact.
377      &quot;id&quot;: &quot;A String&quot;, # ID of this site contact. This is a read-only, auto-generated field.
378      &quot;lastName&quot;: &quot;A String&quot;, # Last name of this site contact.
379      &quot;phone&quot;: &quot;A String&quot;, # Primary phone number of this site contact.
380      &quot;title&quot;: &quot;A String&quot;, # Title or designation of this site contact.
381    },
382  ],
383  &quot;siteSettings&quot;: { # Site Settings # Site-wide settings.
384    &quot;activeViewOptOut&quot;: True or False, # Whether active view creatives are disabled for this site.
385    &quot;adBlockingOptOut&quot;: True or False, # 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.
386    &quot;disableNewCookie&quot;: True or False, # Whether new cookies are disabled for this site.
387    &quot;tagSetting&quot;: { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
388      &quot;additionalKeyValues&quot;: &quot;A String&quot;, # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
389      &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
390      &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
391      &quot;keywordOption&quot;: &quot;A String&quot;, # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
392    },
393    &quot;videoActiveViewOptOutTemplate&quot;: True or False, # 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 placement.videoActiveViewOptOut field, when no value is specified for the new placement.
394    &quot;vpaidAdapterChoiceTemplate&quot;: &quot;A String&quot;, # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice 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&#x27;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). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
395  },
396  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this site. This is a read-only field that can be left blank.
397  &quot;videoSettings&quot;: { # Video Settings # 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.
398    &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this site.
399      &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this site template.
400      &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.
401        { # Represents the dimensions of ads, placements, creatives, or creative assets.
402          &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
403          &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
404          &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
405          &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
406          &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
407        },
408      ],
409      &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
410      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteCompanionSetting&quot;.
411    },
412    &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteVideoSettings&quot;.
413    &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
414    &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site.
415      &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
416      &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
417      &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
418      &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
419      &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
420      &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
421        &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
422        &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
423        &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
424        &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
425        &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
426      },
427      &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
428      &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
429    },
430    &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a site template used for video. This will act as default for new placements created under this site.
431    &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site.
432      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteSkippableSetting&quot;.
433      &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true.
434        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
435        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
436      },
437      &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true.
438        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
439        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
440      },
441      &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.
442    },
443    &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site.
444      &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.
445        42,
446      ],
447      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteTranscodeSetting&quot;.
448    },
449  },
450}</pre>
451</div>
452
453<div class="method">
454    <code class="details" id="list">list(profileId, acceptsInStreamVideoPlacements=None, acceptsInterstitialPlacements=None, acceptsPublisherPaidPlacements=None, adWordsSite=None, approved=None, campaignIds=None, directorySiteIds=None, ids=None, maxResults=None, pageToken=None, searchString=None, sortField=None, sortOrder=None, subaccountId=None, unmappedSite=None, x__xgafv=None)</code>
455  <pre>Retrieves a list of sites, possibly filtered. This method supports paging.
456
457Args:
458  profileId: string, User profile ID associated with this request. (required)
459  acceptsInStreamVideoPlacements: boolean, This search filter is no longer supported and will have no effect on the results returned.
460  acceptsInterstitialPlacements: boolean, This search filter is no longer supported and will have no effect on the results returned.
461  acceptsPublisherPaidPlacements: boolean, Select only sites that accept publisher paid placements.
462  adWordsSite: boolean, Select only AdWords sites.
463  approved: boolean, Select only approved sites.
464  campaignIds: string, Select only sites with these campaign IDs. (repeated)
465  directorySiteIds: string, Select only sites with these directory site IDs. (repeated)
466  ids: string, Select only sites with these IDs. (repeated)
467  maxResults: integer, Maximum number of results to return.
468  pageToken: string, Value of the nextPageToken from the previous result page.
469  searchString: string, Allows searching for objects by name, ID or keyName. Wildcards (*) are allowed. For example, &quot;site*2015&quot; will return objects with names like &quot;site June 2015&quot;, &quot;site April 2015&quot;, or simply &quot;site 2015&quot;. Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of &quot;site&quot; will match objects with name &quot;my site&quot;, &quot;site 2015&quot;, or simply &quot;site&quot;.
470  sortField: string, Field by which to sort the list.
471    Allowed values
472      ID -
473      NAME -
474  sortOrder: string, Order of sorted results.
475    Allowed values
476      ASCENDING -
477      DESCENDING -
478  subaccountId: string, Select only sites with this subaccount ID.
479  unmappedSite: boolean, Select only sites that have not been mapped to a directory site.
480  x__xgafv: string, V1 error format.
481    Allowed values
482      1 - v1 error format
483      2 - v2 error format
484
485Returns:
486  An object of the form:
487
488    { # Site List Response
489  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#sitesListResponse&quot;.
490  &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to be used for the next list operation.
491  &quot;sites&quot;: [ # Site collection.
492    { # Contains properties of a site.
493      &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this site. This is a read-only field that can be left blank.
494      &quot;approved&quot;: True or False, # Whether this site is approved.
495      &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site associated with this site. This is a required field that is read-only after insertion.
496      &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
497        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
498        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
499        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
500        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
501        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
502        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
503      },
504      &quot;id&quot;: &quot;A String&quot;, # ID of this site. This is a read-only, auto-generated field.
505      &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
506        &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
507        &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
508        &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
509        &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
510        &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
511        &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
512      },
513      &quot;keyName&quot;: &quot;A String&quot;, # Key name of this site. This is a read-only, auto-generated field.
514      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#site&quot;.
515      &quot;name&quot;: &quot;A String&quot;, # 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.
516      &quot;siteContacts&quot;: [ # Site contacts.
517        { # Site Contact
518          &quot;address&quot;: &quot;A String&quot;, # Address of this site contact.
519          &quot;contactType&quot;: &quot;A String&quot;, # Site contact type.
520          &quot;email&quot;: &quot;A String&quot;, # Email address of this site contact. This is a required field.
521          &quot;firstName&quot;: &quot;A String&quot;, # First name of this site contact.
522          &quot;id&quot;: &quot;A String&quot;, # ID of this site contact. This is a read-only, auto-generated field.
523          &quot;lastName&quot;: &quot;A String&quot;, # Last name of this site contact.
524          &quot;phone&quot;: &quot;A String&quot;, # Primary phone number of this site contact.
525          &quot;title&quot;: &quot;A String&quot;, # Title or designation of this site contact.
526        },
527      ],
528      &quot;siteSettings&quot;: { # Site Settings # Site-wide settings.
529        &quot;activeViewOptOut&quot;: True or False, # Whether active view creatives are disabled for this site.
530        &quot;adBlockingOptOut&quot;: True or False, # 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.
531        &quot;disableNewCookie&quot;: True or False, # Whether new cookies are disabled for this site.
532        &quot;tagSetting&quot;: { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
533          &quot;additionalKeyValues&quot;: &quot;A String&quot;, # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
534          &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
535          &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
536          &quot;keywordOption&quot;: &quot;A String&quot;, # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
537        },
538        &quot;videoActiveViewOptOutTemplate&quot;: True or False, # 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 placement.videoActiveViewOptOut field, when no value is specified for the new placement.
539        &quot;vpaidAdapterChoiceTemplate&quot;: &quot;A String&quot;, # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice 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&#x27;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). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
540      },
541      &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this site. This is a read-only field that can be left blank.
542      &quot;videoSettings&quot;: { # Video Settings # 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.
543        &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this site.
544          &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this site template.
545          &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.
546            { # Represents the dimensions of ads, placements, creatives, or creative assets.
547              &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
548              &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
549              &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
550              &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
551              &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
552            },
553          ],
554          &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
555          &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteCompanionSetting&quot;.
556        },
557        &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteVideoSettings&quot;.
558        &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
559        &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site.
560          &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
561          &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
562          &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
563          &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
564          &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
565          &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
566            &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
567            &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
568            &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
569            &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
570            &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
571          },
572          &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
573          &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
574        },
575        &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a site template used for video. This will act as default for new placements created under this site.
576        &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site.
577          &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteSkippableSetting&quot;.
578          &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true.
579            &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
580            &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
581          },
582          &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true.
583            &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
584            &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
585          },
586          &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.
587        },
588        &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site.
589          &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.
590            42,
591          ],
592          &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteTranscodeSetting&quot;.
593        },
594      },
595    },
596  ],
597}</pre>
598</div>
599
600<div class="method">
601    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
602  <pre>Retrieves the next page of results.
603
604Args:
605  previous_request: The request for the previous page. (required)
606  previous_response: The response from the request for the previous page. (required)
607
608Returns:
609  A request object that you can call &#x27;execute()&#x27; on to request the next
610  page. Returns None if there are no more items in the collection.
611    </pre>
612</div>
613
614<div class="method">
615    <code class="details" id="patch">patch(profileId, id, body=None, x__xgafv=None)</code>
616  <pre>Updates an existing site. This method supports patch semantics.
617
618Args:
619  profileId: string, User profile ID associated with this request. (required)
620  id: string, Site ID. (required)
621  body: object, The request body.
622    The object takes the form of:
623
624{ # Contains properties of a site.
625  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this site. This is a read-only field that can be left blank.
626  &quot;approved&quot;: True or False, # Whether this site is approved.
627  &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site associated with this site. This is a required field that is read-only after insertion.
628  &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
629    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
630    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
631    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
632    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
633    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
634    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
635  },
636  &quot;id&quot;: &quot;A String&quot;, # ID of this site. This is a read-only, auto-generated field.
637  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
638    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
639    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
640    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
641    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
642    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
643    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
644  },
645  &quot;keyName&quot;: &quot;A String&quot;, # Key name of this site. This is a read-only, auto-generated field.
646  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#site&quot;.
647  &quot;name&quot;: &quot;A String&quot;, # 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.
648  &quot;siteContacts&quot;: [ # Site contacts.
649    { # Site Contact
650      &quot;address&quot;: &quot;A String&quot;, # Address of this site contact.
651      &quot;contactType&quot;: &quot;A String&quot;, # Site contact type.
652      &quot;email&quot;: &quot;A String&quot;, # Email address of this site contact. This is a required field.
653      &quot;firstName&quot;: &quot;A String&quot;, # First name of this site contact.
654      &quot;id&quot;: &quot;A String&quot;, # ID of this site contact. This is a read-only, auto-generated field.
655      &quot;lastName&quot;: &quot;A String&quot;, # Last name of this site contact.
656      &quot;phone&quot;: &quot;A String&quot;, # Primary phone number of this site contact.
657      &quot;title&quot;: &quot;A String&quot;, # Title or designation of this site contact.
658    },
659  ],
660  &quot;siteSettings&quot;: { # Site Settings # Site-wide settings.
661    &quot;activeViewOptOut&quot;: True or False, # Whether active view creatives are disabled for this site.
662    &quot;adBlockingOptOut&quot;: True or False, # 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.
663    &quot;disableNewCookie&quot;: True or False, # Whether new cookies are disabled for this site.
664    &quot;tagSetting&quot;: { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
665      &quot;additionalKeyValues&quot;: &quot;A String&quot;, # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
666      &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
667      &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
668      &quot;keywordOption&quot;: &quot;A String&quot;, # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
669    },
670    &quot;videoActiveViewOptOutTemplate&quot;: True or False, # 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 placement.videoActiveViewOptOut field, when no value is specified for the new placement.
671    &quot;vpaidAdapterChoiceTemplate&quot;: &quot;A String&quot;, # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice 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&#x27;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). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
672  },
673  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this site. This is a read-only field that can be left blank.
674  &quot;videoSettings&quot;: { # Video Settings # 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.
675    &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this site.
676      &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this site template.
677      &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.
678        { # Represents the dimensions of ads, placements, creatives, or creative assets.
679          &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
680          &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
681          &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
682          &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
683          &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
684        },
685      ],
686      &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
687      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteCompanionSetting&quot;.
688    },
689    &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteVideoSettings&quot;.
690    &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
691    &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site.
692      &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
693      &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
694      &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
695      &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
696      &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
697      &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
698        &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
699        &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
700        &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
701        &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
702        &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
703      },
704      &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
705      &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
706    },
707    &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a site template used for video. This will act as default for new placements created under this site.
708    &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site.
709      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteSkippableSetting&quot;.
710      &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true.
711        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
712        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
713      },
714      &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true.
715        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
716        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
717      },
718      &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.
719    },
720    &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site.
721      &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.
722        42,
723      ],
724      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteTranscodeSetting&quot;.
725    },
726  },
727}
728
729  x__xgafv: string, V1 error format.
730    Allowed values
731      1 - v1 error format
732      2 - v2 error format
733
734Returns:
735  An object of the form:
736
737    { # Contains properties of a site.
738  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this site. This is a read-only field that can be left blank.
739  &quot;approved&quot;: True or False, # Whether this site is approved.
740  &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site associated with this site. This is a required field that is read-only after insertion.
741  &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
742    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
743    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
744    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
745    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
746    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
747    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
748  },
749  &quot;id&quot;: &quot;A String&quot;, # ID of this site. This is a read-only, auto-generated field.
750  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
751    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
752    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
753    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
754    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
755    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
756    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
757  },
758  &quot;keyName&quot;: &quot;A String&quot;, # Key name of this site. This is a read-only, auto-generated field.
759  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#site&quot;.
760  &quot;name&quot;: &quot;A String&quot;, # 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.
761  &quot;siteContacts&quot;: [ # Site contacts.
762    { # Site Contact
763      &quot;address&quot;: &quot;A String&quot;, # Address of this site contact.
764      &quot;contactType&quot;: &quot;A String&quot;, # Site contact type.
765      &quot;email&quot;: &quot;A String&quot;, # Email address of this site contact. This is a required field.
766      &quot;firstName&quot;: &quot;A String&quot;, # First name of this site contact.
767      &quot;id&quot;: &quot;A String&quot;, # ID of this site contact. This is a read-only, auto-generated field.
768      &quot;lastName&quot;: &quot;A String&quot;, # Last name of this site contact.
769      &quot;phone&quot;: &quot;A String&quot;, # Primary phone number of this site contact.
770      &quot;title&quot;: &quot;A String&quot;, # Title or designation of this site contact.
771    },
772  ],
773  &quot;siteSettings&quot;: { # Site Settings # Site-wide settings.
774    &quot;activeViewOptOut&quot;: True or False, # Whether active view creatives are disabled for this site.
775    &quot;adBlockingOptOut&quot;: True or False, # 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.
776    &quot;disableNewCookie&quot;: True or False, # Whether new cookies are disabled for this site.
777    &quot;tagSetting&quot;: { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
778      &quot;additionalKeyValues&quot;: &quot;A String&quot;, # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
779      &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
780      &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
781      &quot;keywordOption&quot;: &quot;A String&quot;, # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
782    },
783    &quot;videoActiveViewOptOutTemplate&quot;: True or False, # 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 placement.videoActiveViewOptOut field, when no value is specified for the new placement.
784    &quot;vpaidAdapterChoiceTemplate&quot;: &quot;A String&quot;, # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice 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&#x27;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). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
785  },
786  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this site. This is a read-only field that can be left blank.
787  &quot;videoSettings&quot;: { # Video Settings # 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.
788    &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this site.
789      &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this site template.
790      &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.
791        { # Represents the dimensions of ads, placements, creatives, or creative assets.
792          &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
793          &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
794          &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
795          &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
796          &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
797        },
798      ],
799      &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
800      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteCompanionSetting&quot;.
801    },
802    &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteVideoSettings&quot;.
803    &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
804    &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site.
805      &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
806      &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
807      &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
808      &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
809      &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
810      &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
811        &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
812        &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
813        &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
814        &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
815        &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
816      },
817      &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
818      &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
819    },
820    &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a site template used for video. This will act as default for new placements created under this site.
821    &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site.
822      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteSkippableSetting&quot;.
823      &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true.
824        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
825        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
826      },
827      &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true.
828        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
829        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
830      },
831      &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.
832    },
833    &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site.
834      &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.
835        42,
836      ],
837      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteTranscodeSetting&quot;.
838    },
839  },
840}</pre>
841</div>
842
843<div class="method">
844    <code class="details" id="update">update(profileId, body=None, x__xgafv=None)</code>
845  <pre>Updates an existing site.
846
847Args:
848  profileId: string, User profile ID associated with this request. (required)
849  body: object, The request body.
850    The object takes the form of:
851
852{ # Contains properties of a site.
853  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this site. This is a read-only field that can be left blank.
854  &quot;approved&quot;: True or False, # Whether this site is approved.
855  &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site associated with this site. This is a required field that is read-only after insertion.
856  &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
857    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
858    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
859    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
860    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
861    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
862    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
863  },
864  &quot;id&quot;: &quot;A String&quot;, # ID of this site. This is a read-only, auto-generated field.
865  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
866    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
867    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
868    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
869    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
870    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
871    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
872  },
873  &quot;keyName&quot;: &quot;A String&quot;, # Key name of this site. This is a read-only, auto-generated field.
874  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#site&quot;.
875  &quot;name&quot;: &quot;A String&quot;, # 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.
876  &quot;siteContacts&quot;: [ # Site contacts.
877    { # Site Contact
878      &quot;address&quot;: &quot;A String&quot;, # Address of this site contact.
879      &quot;contactType&quot;: &quot;A String&quot;, # Site contact type.
880      &quot;email&quot;: &quot;A String&quot;, # Email address of this site contact. This is a required field.
881      &quot;firstName&quot;: &quot;A String&quot;, # First name of this site contact.
882      &quot;id&quot;: &quot;A String&quot;, # ID of this site contact. This is a read-only, auto-generated field.
883      &quot;lastName&quot;: &quot;A String&quot;, # Last name of this site contact.
884      &quot;phone&quot;: &quot;A String&quot;, # Primary phone number of this site contact.
885      &quot;title&quot;: &quot;A String&quot;, # Title or designation of this site contact.
886    },
887  ],
888  &quot;siteSettings&quot;: { # Site Settings # Site-wide settings.
889    &quot;activeViewOptOut&quot;: True or False, # Whether active view creatives are disabled for this site.
890    &quot;adBlockingOptOut&quot;: True or False, # 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.
891    &quot;disableNewCookie&quot;: True or False, # Whether new cookies are disabled for this site.
892    &quot;tagSetting&quot;: { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
893      &quot;additionalKeyValues&quot;: &quot;A String&quot;, # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
894      &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
895      &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
896      &quot;keywordOption&quot;: &quot;A String&quot;, # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
897    },
898    &quot;videoActiveViewOptOutTemplate&quot;: True or False, # 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 placement.videoActiveViewOptOut field, when no value is specified for the new placement.
899    &quot;vpaidAdapterChoiceTemplate&quot;: &quot;A String&quot;, # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice 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&#x27;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). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
900  },
901  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this site. This is a read-only field that can be left blank.
902  &quot;videoSettings&quot;: { # Video Settings # 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.
903    &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this site.
904      &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this site template.
905      &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.
906        { # Represents the dimensions of ads, placements, creatives, or creative assets.
907          &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
908          &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
909          &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
910          &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
911          &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
912        },
913      ],
914      &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
915      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteCompanionSetting&quot;.
916    },
917    &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteVideoSettings&quot;.
918    &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
919    &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site.
920      &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
921      &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
922      &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
923      &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
924      &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
925      &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
926        &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
927        &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
928        &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
929        &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
930        &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
931      },
932      &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
933      &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
934    },
935    &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a site template used for video. This will act as default for new placements created under this site.
936    &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site.
937      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteSkippableSetting&quot;.
938      &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true.
939        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
940        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
941      },
942      &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true.
943        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
944        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
945      },
946      &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.
947    },
948    &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site.
949      &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.
950        42,
951      ],
952      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteTranscodeSetting&quot;.
953    },
954  },
955}
956
957  x__xgafv: string, V1 error format.
958    Allowed values
959      1 - v1 error format
960      2 - v2 error format
961
962Returns:
963  An object of the form:
964
965    { # Contains properties of a site.
966  &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this site. This is a read-only field that can be left blank.
967  &quot;approved&quot;: True or False, # Whether this site is approved.
968  &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site associated with this site. This is a required field that is read-only after insertion.
969  &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
970    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
971    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
972    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
973    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
974    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
975    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
976  },
977  &quot;id&quot;: &quot;A String&quot;, # ID of this site. This is a read-only, auto-generated field.
978  &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this site. This is a read-only, auto-generated field.
979    &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
980    &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
981    &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
982    &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
983    &quot;matchType&quot;: &quot;A String&quot;, # Determines how the &#x27;value&#x27; field is matched when filtering. If not specified, defaults to EXACT. If set to WILDCARD_EXPRESSION, &#x27;*&#x27; is allowed as a placeholder for variable length character sequences, and it can be escaped with a backslash. Note, only paid search dimensions (&#x27;dfa:paidSearch*&#x27;) allow a matchType other than EXACT.
984    &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
985  },
986  &quot;keyName&quot;: &quot;A String&quot;, # Key name of this site. This is a read-only, auto-generated field.
987  &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#site&quot;.
988  &quot;name&quot;: &quot;A String&quot;, # 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.
989  &quot;siteContacts&quot;: [ # Site contacts.
990    { # Site Contact
991      &quot;address&quot;: &quot;A String&quot;, # Address of this site contact.
992      &quot;contactType&quot;: &quot;A String&quot;, # Site contact type.
993      &quot;email&quot;: &quot;A String&quot;, # Email address of this site contact. This is a required field.
994      &quot;firstName&quot;: &quot;A String&quot;, # First name of this site contact.
995      &quot;id&quot;: &quot;A String&quot;, # ID of this site contact. This is a read-only, auto-generated field.
996      &quot;lastName&quot;: &quot;A String&quot;, # Last name of this site contact.
997      &quot;phone&quot;: &quot;A String&quot;, # Primary phone number of this site contact.
998      &quot;title&quot;: &quot;A String&quot;, # Title or designation of this site contact.
999    },
1000  ],
1001  &quot;siteSettings&quot;: { # Site Settings # Site-wide settings.
1002    &quot;activeViewOptOut&quot;: True or False, # Whether active view creatives are disabled for this site.
1003    &quot;adBlockingOptOut&quot;: True or False, # 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.
1004    &quot;disableNewCookie&quot;: True or False, # Whether new cookies are disabled for this site.
1005    &quot;tagSetting&quot;: { # Tag Settings # Configuration settings for dynamic and image floodlight tags.
1006      &quot;additionalKeyValues&quot;: &quot;A String&quot;, # Additional key-values to be included in tags. Each key-value pair must be of the form key=value, and pairs must be separated by a semicolon (;). Keys and values must not contain commas. For example, id=2;color=red is a valid value for this field.
1007      &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
1008      &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
1009      &quot;keywordOption&quot;: &quot;A String&quot;, # Option specifying how keywords are embedded in ad tags. This setting can be used to specify whether keyword placeholders are inserted in placement tags for this site. Publishers can then add keywords to those placeholders.
1010    },
1011    &quot;videoActiveViewOptOutTemplate&quot;: True or False, # 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 placement.videoActiveViewOptOut field, when no value is specified for the new placement.
1012    &quot;vpaidAdapterChoiceTemplate&quot;: &quot;A String&quot;, # Default VPAID adapter setting for new placements created under this site. This value will be used to populate the placements.vpaidAdapterChoice 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&#x27;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). *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
1013  },
1014  &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this site. This is a read-only field that can be left blank.
1015  &quot;videoSettings&quot;: { # Video Settings # 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.
1016    &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this site.
1017      &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this site template.
1018      &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served via this site template. Set this list to null or empty to serve all companion sizes.
1019        { # Represents the dimensions of ads, placements, creatives, or creative assets.
1020          &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1021          &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1022          &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1023          &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1024          &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1025        },
1026      ],
1027      &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
1028      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteCompanionSetting&quot;.
1029    },
1030    &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteVideoSettings&quot;.
1031    &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
1032    &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this site. This will act as default for new placements created under this site.
1033      &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
1034      &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
1035      &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
1036      &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
1037      &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
1038      &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
1039        &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1040        &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1041        &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1042        &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1043        &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1044      },
1045      &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
1046      &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
1047    },
1048    &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a site template used for video. This will act as default for new placements created under this site.
1049    &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this site. This will act as default for new placements created under this site.
1050      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteSkippableSetting&quot;.
1051      &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this site template before counting a view. Applicable when skippable is true.
1052        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
1053        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1054      },
1055      &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this site before the skip button should appear. Applicable when skippable is true.
1056        &quot;offsetPercentage&quot;: 42, # Duration, as a percentage of video duration. Do not set when offsetSeconds is set. Acceptable values are 0 to 100, inclusive.
1057        &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1058      },
1059      &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this site. This will act as default for new placements created under this site.
1060    },
1061    &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this site. This will act as default for new placements created under this site.
1062      &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this site template. Set this list to null or empty to serve all video formats.
1063        42,
1064      ],
1065      &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#siteTranscodeSetting&quot;.
1066    },
1067  },
1068}</pre>
1069</div>
1070
1071</body></html>