Debian Codegraph @

docs/dyn/dfareporting_v3_4.placements.html

raw
1 <html><body>
2 <style>
3
4 body, 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
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, 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.placements.html">placements</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="#generatetags">generatetags(profileId, campaignId=None, placementIds=None, tagFormats=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Generates tags for a placement.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(profileId, id, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets one placement by ID.</p>
86 <p class="toc_element">
87 <code><a href="#insert">insert(profileId, body=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Inserts a new placement.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(profileId, advertiserIds=None, archived=None, campaignIds=None, compatibilities=None, contentCategoryIds=None, directorySiteIds=None, groupIds=None, ids=None, maxEndDate=None, maxResults=None, maxStartDate=None, minEndDate=None, minStartDate=None, pageToken=None, paymentSource=None, placementStrategyIds=None, pricingTypes=None, searchString=None, siteIds=None, sizeIds=None, sortField=None, sortOrder=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Retrieves a list of placements, possibly filtered. This method supports paging.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(profileId, id, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates an existing placement. This method supports patch semantics.</p>
98 <p class="toc_element">
99 <code><a href="#update">update(profileId, body=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates an existing placement.</p>
101 <h3>Method Details</h3>
102 <div class="method">
103 <code class="details" id="close">close()</code>
104 <pre>Close httplib2 connections.</pre>
105 </div>
106
107 <div class="method">
108 <code class="details" id="generatetags">generatetags(profileId, campaignId=None, placementIds=None, tagFormats=None, x__xgafv=None)</code>
109 <pre>Generates tags for a placement.
110
111 Args:
112 profileId: string, User profile ID associated with this request. (required)
113 campaignId: string, Generate placements belonging to this campaign. This is a required field.
114 placementIds: string, Generate tags for these placements. (repeated)
115 tagFormats: string, Tag formats to generate for these placements. *Note:* PLACEMENT_TAG_STANDARD can only be generated for 1x1 placements. (repeated)
116 Allowed values
117 PLACEMENT_TAG_STANDARD -
118 PLACEMENT_TAG_IFRAME_JAVASCRIPT -
119 PLACEMENT_TAG_IFRAME_ILAYER -
120 PLACEMENT_TAG_INTERNAL_REDIRECT -
121 PLACEMENT_TAG_JAVASCRIPT -
122 PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT -
123 PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT -
124 PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT -
125 PLACEMENT_TAG_CLICK_COMMANDS -
126 PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH -
127 PLACEMENT_TAG_TRACKING -
128 PLACEMENT_TAG_TRACKING_IFRAME -
129 PLACEMENT_TAG_TRACKING_JAVASCRIPT -
130 PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3 -
131 PLACEMENT_TAG_IFRAME_JAVASCRIPT_LEGACY -
132 PLACEMENT_TAG_JAVASCRIPT_LEGACY -
133 PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT_LEGACY -
134 PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT_LEGACY -
135 PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4 -
136 PLACEMENT_TAG_TRACKING_THIRD_PARTY_MEASUREMENT -
137 x__xgafv: string, V1 error format.
138 Allowed values
139 1 - v1 error format
140 2 - v2 error format
141
142 Returns:
143 An object of the form:
144
145 { # Placement GenerateTags Response
146 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placementsGenerateTagsResponse&quot;.
147 &quot;placementTags&quot;: [ # Set of generated tags for the specified placements.
148 { # Placement Tag
149 &quot;placementId&quot;: &quot;A String&quot;, # Placement ID
150 &quot;tagDatas&quot;: [ # Tags generated for this placement.
151 { # Placement Tag Data
152 &quot;adId&quot;: &quot;A String&quot;, # Ad associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.
153 &quot;clickTag&quot;: &quot;A String&quot;, # Tag string to record a click.
154 &quot;creativeId&quot;: &quot;A String&quot;, # Creative associated with this placement tag. Applicable only when format is PLACEMENT_TAG_TRACKING.
155 &quot;format&quot;: &quot;A String&quot;, # TagData tag format of this tag.
156 &quot;impressionTag&quot;: &quot;A String&quot;, # Tag string for serving an ad.
157 },
158 ],
159 },
160 ],
161 }</pre>
162 </div>
163
164 <div class="method">
165 <code class="details" id="get">get(profileId, id, x__xgafv=None)</code>
166 <pre>Gets one placement by ID.
167
168 Args:
169 profileId: string, User profile ID associated with this request. (required)
170 id: string, Placement ID. (required)
171 x__xgafv: string, V1 error format.
172 Allowed values
173 1 - v1 error format
174 2 - v2 error format
175
176 Returns:
177 An object of the form:
178
179 { # Contains properties of a placement.
180 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
181 &quot;adBlockingOptOut&quot;: True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
182 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
183 { # Represents the dimensions of ads, placements, creatives, or creative assets.
184 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
185 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
186 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
187 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
188 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
189 },
190 ],
191 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
192 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
193 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
194 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
195 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
196 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
197 &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.
198 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
199 },
200 &quot;archived&quot;: True or False, # Whether this placement is archived.
201 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
202 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
203 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
204 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
205 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
206 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
207 &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.
208 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
209 },
210 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
211 &quot;compatibility&quot;: &quot;A String&quot;, # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
212 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
213 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
214 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
215 },
216 &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
217 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
218 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
219 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
220 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
221 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
222 &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.
223 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
224 },
225 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
226 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
227 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
228 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
229 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
230 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
231 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
232 &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.
233 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
234 },
235 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
236 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
237 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
238 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
239 },
240 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
241 &quot;clickDuration&quot;: 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
242 &quot;postImpressionActivitiesDuration&quot;: 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
243 },
244 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 256 characters long.
245 &quot;paymentApproved&quot;: True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
246 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
247 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
248 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
249 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
250 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
251 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
252 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
253 &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.
254 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
255 },
256 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
257 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
258 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
259 &quot;endDate&quot;: &quot;A String&quot;,
260 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
261 &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
262 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
263 { # Pricing Period
264 &quot;endDate&quot;: &quot;A String&quot;,
265 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
266 &quot;rateOrCostNanos&quot;: &quot;A String&quot;, # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
267 &quot;startDate&quot;: &quot;A String&quot;,
268 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
269 },
270 ],
271 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
272 &quot;startDate&quot;: &quot;A String&quot;,
273 &quot;testingStartDate&quot;: &quot;A String&quot;,
274 },
275 &quot;primary&quot;: True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock&#x27;s primaryPlacementId field to the ID of this placement.
276 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
277 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
278 },
279 &quot;siteId&quot;: &quot;A String&quot;, # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
280 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
281 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
282 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
283 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
284 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
285 &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.
286 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
287 },
288 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
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 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
296 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
297 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
298 &quot;tagFormats&quot;: [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - &quot;PLACEMENT_TAG_STANDARD&quot; - &quot;PLACEMENT_TAG_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_IFRAME_ILAYER&quot; - &quot;PLACEMENT_TAG_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_CLICK_COMMANDS&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4&quot; - &quot;PLACEMENT_TAG_TRACKING&quot; - &quot;PLACEMENT_TAG_TRACKING_IFRAME&quot; - &quot;PLACEMENT_TAG_TRACKING_JAVASCRIPT&quot;
299 &quot;A String&quot;,
300 ],
301 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
302 &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.
303 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
304 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
305 &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.
306 },
307 &quot;videoActiveViewOptOut&quot;: True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
308 &quot;videoSettings&quot;: { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
309 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
310 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
311 &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
312 { # Represents the dimensions of ads, placements, creatives, or creative assets.
313 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
314 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
315 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
316 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
317 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
318 },
319 ],
320 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
321 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
322 },
323 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
324 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
325 &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
326 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
327 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
328 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
329 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
330 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
331 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
332 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
333 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
334 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
335 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
336 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
337 },
338 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
339 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
340 },
341 &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
342 &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
343 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
344 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
345 &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.
346 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
347 },
348 &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
349 &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.
350 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
351 },
352 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
353 },
354 &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
355 &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
356 42,
357 ],
358 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
359 },
360 },
361 &quot;vpaidAdapterChoice&quot;: &quot;A String&quot;, # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
362 }</pre>
363 </div>
364
365 <div class="method">
366 <code class="details" id="insert">insert(profileId, body=None, x__xgafv=None)</code>
367 <pre>Inserts a new placement.
368
369 Args:
370 profileId: string, User profile ID associated with this request. (required)
371 body: object, The request body.
372 The object takes the form of:
373
374 { # Contains properties of a placement.
375 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
376 &quot;adBlockingOptOut&quot;: True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
377 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
378 { # Represents the dimensions of ads, placements, creatives, or creative assets.
379 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
380 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
381 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
382 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
383 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
384 },
385 ],
386 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
387 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
388 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
389 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
390 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
391 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
392 &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.
393 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
394 },
395 &quot;archived&quot;: True or False, # Whether this placement is archived.
396 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
397 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
398 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
399 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
400 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
401 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
402 &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.
403 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
404 },
405 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
406 &quot;compatibility&quot;: &quot;A String&quot;, # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
407 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
408 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
409 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
410 },
411 &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
412 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
413 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
414 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
415 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
416 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
417 &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.
418 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
419 },
420 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
421 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
422 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
423 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
424 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
425 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
426 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
427 &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.
428 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
429 },
430 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
431 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
432 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
433 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
434 },
435 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
436 &quot;clickDuration&quot;: 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
437 &quot;postImpressionActivitiesDuration&quot;: 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
438 },
439 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 256 characters long.
440 &quot;paymentApproved&quot;: True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
441 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
442 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
443 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
444 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
445 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
446 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
447 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
448 &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.
449 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
450 },
451 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
452 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
453 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
454 &quot;endDate&quot;: &quot;A String&quot;,
455 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
456 &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
457 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
458 { # Pricing Period
459 &quot;endDate&quot;: &quot;A String&quot;,
460 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
461 &quot;rateOrCostNanos&quot;: &quot;A String&quot;, # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
462 &quot;startDate&quot;: &quot;A String&quot;,
463 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
464 },
465 ],
466 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
467 &quot;startDate&quot;: &quot;A String&quot;,
468 &quot;testingStartDate&quot;: &quot;A String&quot;,
469 },
470 &quot;primary&quot;: True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock&#x27;s primaryPlacementId field to the ID of this placement.
471 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
472 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
473 },
474 &quot;siteId&quot;: &quot;A String&quot;, # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
475 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
476 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
477 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
478 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
479 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
480 &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.
481 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
482 },
483 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
484 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
485 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
486 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
487 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
488 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
489 },
490 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
491 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
492 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
493 &quot;tagFormats&quot;: [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - &quot;PLACEMENT_TAG_STANDARD&quot; - &quot;PLACEMENT_TAG_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_IFRAME_ILAYER&quot; - &quot;PLACEMENT_TAG_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_CLICK_COMMANDS&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4&quot; - &quot;PLACEMENT_TAG_TRACKING&quot; - &quot;PLACEMENT_TAG_TRACKING_IFRAME&quot; - &quot;PLACEMENT_TAG_TRACKING_JAVASCRIPT&quot;
494 &quot;A String&quot;,
495 ],
496 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
497 &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.
498 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
499 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
500 &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.
501 },
502 &quot;videoActiveViewOptOut&quot;: True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
503 &quot;videoSettings&quot;: { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
504 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
505 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
506 &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
507 { # Represents the dimensions of ads, placements, creatives, or creative assets.
508 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
509 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
510 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
511 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
512 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
513 },
514 ],
515 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
516 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
517 },
518 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
519 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
520 &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
521 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
522 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
523 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
524 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
525 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
526 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
527 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
528 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
529 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
530 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
531 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
532 },
533 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
534 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
535 },
536 &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
537 &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
538 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
539 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
540 &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.
541 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
542 },
543 &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
544 &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.
545 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
546 },
547 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
548 },
549 &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
550 &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
551 42,
552 ],
553 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
554 },
555 },
556 &quot;vpaidAdapterChoice&quot;: &quot;A String&quot;, # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
557 }
558
559 x__xgafv: string, V1 error format.
560 Allowed values
561 1 - v1 error format
562 2 - v2 error format
563
564 Returns:
565 An object of the form:
566
567 { # Contains properties of a placement.
568 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
569 &quot;adBlockingOptOut&quot;: True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
570 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
571 { # Represents the dimensions of ads, placements, creatives, or creative assets.
572 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
573 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
574 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
575 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
576 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
577 },
578 ],
579 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
580 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
581 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
582 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
583 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
584 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
585 &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.
586 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
587 },
588 &quot;archived&quot;: True or False, # Whether this placement is archived.
589 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
590 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
591 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
592 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
593 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
594 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
595 &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.
596 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
597 },
598 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
599 &quot;compatibility&quot;: &quot;A String&quot;, # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
600 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
601 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
602 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
603 },
604 &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
605 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
606 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
607 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
608 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
609 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
610 &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.
611 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
612 },
613 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
614 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
615 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
616 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
617 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
618 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
619 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
620 &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.
621 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
622 },
623 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
624 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
625 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
626 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
627 },
628 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
629 &quot;clickDuration&quot;: 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
630 &quot;postImpressionActivitiesDuration&quot;: 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
631 },
632 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 256 characters long.
633 &quot;paymentApproved&quot;: True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
634 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
635 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
636 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
637 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
638 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
639 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
640 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
641 &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.
642 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
643 },
644 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
645 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
646 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
647 &quot;endDate&quot;: &quot;A String&quot;,
648 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
649 &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
650 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
651 { # Pricing Period
652 &quot;endDate&quot;: &quot;A String&quot;,
653 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
654 &quot;rateOrCostNanos&quot;: &quot;A String&quot;, # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
655 &quot;startDate&quot;: &quot;A String&quot;,
656 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
657 },
658 ],
659 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
660 &quot;startDate&quot;: &quot;A String&quot;,
661 &quot;testingStartDate&quot;: &quot;A String&quot;,
662 },
663 &quot;primary&quot;: True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock&#x27;s primaryPlacementId field to the ID of this placement.
664 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
665 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
666 },
667 &quot;siteId&quot;: &quot;A String&quot;, # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
668 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
669 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
670 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
671 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
672 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
673 &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.
674 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
675 },
676 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
677 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
678 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
679 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
680 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
681 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
682 },
683 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
684 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
685 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
686 &quot;tagFormats&quot;: [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - &quot;PLACEMENT_TAG_STANDARD&quot; - &quot;PLACEMENT_TAG_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_IFRAME_ILAYER&quot; - &quot;PLACEMENT_TAG_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_CLICK_COMMANDS&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4&quot; - &quot;PLACEMENT_TAG_TRACKING&quot; - &quot;PLACEMENT_TAG_TRACKING_IFRAME&quot; - &quot;PLACEMENT_TAG_TRACKING_JAVASCRIPT&quot;
687 &quot;A String&quot;,
688 ],
689 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
690 &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.
691 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
692 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
693 &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.
694 },
695 &quot;videoActiveViewOptOut&quot;: True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
696 &quot;videoSettings&quot;: { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
697 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
698 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
699 &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
700 { # Represents the dimensions of ads, placements, creatives, or creative assets.
701 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
702 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
703 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
704 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
705 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
706 },
707 ],
708 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
709 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
710 },
711 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
712 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
713 &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
714 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
715 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
716 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
717 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
718 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
719 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
720 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
721 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
722 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
723 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
724 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
725 },
726 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
727 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
728 },
729 &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
730 &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
731 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
732 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
733 &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.
734 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
735 },
736 &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
737 &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.
738 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
739 },
740 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
741 },
742 &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
743 &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
744 42,
745 ],
746 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
747 },
748 },
749 &quot;vpaidAdapterChoice&quot;: &quot;A String&quot;, # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
750 }</pre>
751 </div>
752
753 <div class="method">
754 <code class="details" id="list">list(profileId, advertiserIds=None, archived=None, campaignIds=None, compatibilities=None, contentCategoryIds=None, directorySiteIds=None, groupIds=None, ids=None, maxEndDate=None, maxResults=None, maxStartDate=None, minEndDate=None, minStartDate=None, pageToken=None, paymentSource=None, placementStrategyIds=None, pricingTypes=None, searchString=None, siteIds=None, sizeIds=None, sortField=None, sortOrder=None, x__xgafv=None)</code>
755 <pre>Retrieves a list of placements, possibly filtered. This method supports paging.
756
757 Args:
758 profileId: string, User profile ID associated with this request. (required)
759 advertiserIds: string, Select only placements that belong to these advertisers. (repeated)
760 archived: boolean, Select only archived placements. Don&#x27;t set this field to select both archived and non-archived placements.
761 campaignIds: string, Select only placements that belong to these campaigns. (repeated)
762 compatibilities: string, Select only placements that are associated with these compatibilities. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering either on desktop or on mobile devices for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are for rendering in mobile apps. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. (repeated)
763 Allowed values
764 DISPLAY -
765 DISPLAY_INTERSTITIAL -
766 APP -
767 APP_INTERSTITIAL -
768 IN_STREAM_VIDEO -
769 IN_STREAM_AUDIO -
770 contentCategoryIds: string, Select only placements that are associated with these content categories. (repeated)
771 directorySiteIds: string, Select only placements that are associated with these directory sites. (repeated)
772 groupIds: string, Select only placements that belong to these placement groups. (repeated)
773 ids: string, Select only placements with these IDs. (repeated)
774 maxEndDate: string, Select only placements or placement groups whose end date is on or before the specified maxEndDate. The date should be formatted as &quot;yyyy-MM-dd&quot;.
775 maxResults: integer, Maximum number of results to return.
776 maxStartDate: string, Select only placements or placement groups whose start date is on or before the specified maxStartDate. The date should be formatted as &quot;yyyy-MM-dd&quot;.
777 minEndDate: string, Select only placements or placement groups whose end date is on or after the specified minEndDate. The date should be formatted as &quot;yyyy-MM-dd&quot;.
778 minStartDate: string, Select only placements or placement groups whose start date is on or after the specified minStartDate. The date should be formatted as &quot;yyyy-MM-dd&quot;.
779 pageToken: string, Value of the nextPageToken from the previous result page.
780 paymentSource: string, Select only placements with this payment source.
781 Allowed values
782 PLACEMENT_AGENCY_PAID -
783 PLACEMENT_PUBLISHER_PAID -
784 placementStrategyIds: string, Select only placements that are associated with these placement strategies. (repeated)
785 pricingTypes: string, Select only placements with these pricing types. (repeated)
786 Allowed values
787 PRICING_TYPE_CPM -
788 PRICING_TYPE_CPC -
789 PRICING_TYPE_CPA -
790 PRICING_TYPE_FLAT_RATE_IMPRESSIONS -
791 PRICING_TYPE_FLAT_RATE_CLICKS -
792 PRICING_TYPE_CPM_ACTIVEVIEW -
793 searchString: string, Allows searching for placements by name or ID. Wildcards (*) are allowed. For example, &quot;placement*2015&quot; will return placements with names like &quot;placement June 2015&quot;, &quot;placement May 2015&quot;, or simply &quot;placements 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;placement&quot; will match placements with name &quot;my placement&quot;, &quot;placement 2015&quot;, or simply &quot;placement&quot; .
794 siteIds: string, Select only placements that are associated with these sites. (repeated)
795 sizeIds: string, Select only placements that are associated with these sizes. (repeated)
796 sortField: string, Field by which to sort the list.
797 Allowed values
798 ID -
799 NAME -
800 sortOrder: string, Order of sorted results.
801 Allowed values
802 ASCENDING -
803 DESCENDING -
804 x__xgafv: string, V1 error format.
805 Allowed values
806 1 - v1 error format
807 2 - v2 error format
808
809 Returns:
810 An object of the form:
811
812 { # Placement List Response
813 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placementsListResponse&quot;.
814 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to be used for the next list operation.
815 &quot;placements&quot;: [ # Placement collection.
816 { # Contains properties of a placement.
817 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
818 &quot;adBlockingOptOut&quot;: True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
819 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
820 { # Represents the dimensions of ads, placements, creatives, or creative assets.
821 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
822 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
823 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
824 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
825 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
826 },
827 ],
828 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
829 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
830 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
831 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
832 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
833 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
834 &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.
835 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
836 },
837 &quot;archived&quot;: True or False, # Whether this placement is archived.
838 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
839 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
840 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
841 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
842 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
843 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
844 &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.
845 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
846 },
847 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
848 &quot;compatibility&quot;: &quot;A String&quot;, # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
849 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
850 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
851 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
852 },
853 &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
854 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
855 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
856 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
857 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
858 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
859 &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.
860 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
861 },
862 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
863 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
864 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
865 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
866 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
867 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
868 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
869 &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.
870 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
871 },
872 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
873 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
874 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
875 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
876 },
877 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
878 &quot;clickDuration&quot;: 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
879 &quot;postImpressionActivitiesDuration&quot;: 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
880 },
881 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 256 characters long.
882 &quot;paymentApproved&quot;: True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
883 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
884 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
885 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
886 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
887 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
888 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
889 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
890 &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.
891 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
892 },
893 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
894 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
895 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
896 &quot;endDate&quot;: &quot;A String&quot;,
897 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
898 &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
899 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
900 { # Pricing Period
901 &quot;endDate&quot;: &quot;A String&quot;,
902 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
903 &quot;rateOrCostNanos&quot;: &quot;A String&quot;, # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
904 &quot;startDate&quot;: &quot;A String&quot;,
905 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
906 },
907 ],
908 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
909 &quot;startDate&quot;: &quot;A String&quot;,
910 &quot;testingStartDate&quot;: &quot;A String&quot;,
911 },
912 &quot;primary&quot;: True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock&#x27;s primaryPlacementId field to the ID of this placement.
913 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
914 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
915 },
916 &quot;siteId&quot;: &quot;A String&quot;, # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
917 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
918 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
919 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
920 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
921 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
922 &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.
923 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
924 },
925 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
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;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
933 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
934 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
935 &quot;tagFormats&quot;: [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - &quot;PLACEMENT_TAG_STANDARD&quot; - &quot;PLACEMENT_TAG_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_IFRAME_ILAYER&quot; - &quot;PLACEMENT_TAG_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_CLICK_COMMANDS&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4&quot; - &quot;PLACEMENT_TAG_TRACKING&quot; - &quot;PLACEMENT_TAG_TRACKING_IFRAME&quot; - &quot;PLACEMENT_TAG_TRACKING_JAVASCRIPT&quot;
936 &quot;A String&quot;,
937 ],
938 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
939 &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.
940 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
941 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
942 &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.
943 },
944 &quot;videoActiveViewOptOut&quot;: True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
945 &quot;videoSettings&quot;: { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
946 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
947 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
948 &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
949 { # Represents the dimensions of ads, placements, creatives, or creative assets.
950 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
951 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
952 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
953 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
954 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
955 },
956 ],
957 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
958 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
959 },
960 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
961 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
962 &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
963 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
964 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
965 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
966 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
967 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
968 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
969 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
970 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
971 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
972 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
973 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
974 },
975 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
976 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
977 },
978 &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
979 &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
980 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
981 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
982 &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.
983 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
984 },
985 &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
986 &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.
987 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
988 },
989 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
990 },
991 &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
992 &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
993 42,
994 ],
995 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
996 },
997 },
998 &quot;vpaidAdapterChoice&quot;: &quot;A String&quot;, # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
999 },
1000 ],
1001 }</pre>
1002 </div>
1003
1004 <div class="method">
1005 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1006 <pre>Retrieves the next page of results.
1007
1008 Args:
1009 previous_request: The request for the previous page. (required)
1010 previous_response: The response from the request for the previous page. (required)
1011
1012 Returns:
1013 A request object that you can call &#x27;execute()&#x27; on to request the next
1014 page. Returns None if there are no more items in the collection.
1015 </pre>
1016 </div>
1017
1018 <div class="method">
1019 <code class="details" id="patch">patch(profileId, id, body=None, x__xgafv=None)</code>
1020 <pre>Updates an existing placement. This method supports patch semantics.
1021
1022 Args:
1023 profileId: string, User profile ID associated with this request. (required)
1024 id: string, Placement ID. (required)
1025 body: object, The request body.
1026 The object takes the form of:
1027
1028 { # Contains properties of a placement.
1029 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
1030 &quot;adBlockingOptOut&quot;: True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
1031 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
1032 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1033 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1034 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1035 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1036 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1037 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1038 },
1039 ],
1040 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
1041 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
1042 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1043 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1044 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1045 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1046 &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.
1047 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1048 },
1049 &quot;archived&quot;: True or False, # Whether this placement is archived.
1050 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
1051 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
1052 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1053 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1054 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1055 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1056 &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.
1057 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1058 },
1059 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
1060 &quot;compatibility&quot;: &quot;A String&quot;, # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
1061 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
1062 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
1063 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1064 },
1065 &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
1066 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
1067 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1068 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1069 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1070 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1071 &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.
1072 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1073 },
1074 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
1075 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
1076 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
1077 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1078 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1079 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1080 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1081 &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.
1082 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1083 },
1084 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
1085 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
1086 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
1087 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1088 },
1089 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
1090 &quot;clickDuration&quot;: 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
1091 &quot;postImpressionActivitiesDuration&quot;: 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
1092 },
1093 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 256 characters long.
1094 &quot;paymentApproved&quot;: True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
1095 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
1096 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
1097 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
1098 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1099 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1100 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1101 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1102 &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.
1103 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1104 },
1105 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
1106 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
1107 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
1108 &quot;endDate&quot;: &quot;A String&quot;,
1109 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
1110 &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
1111 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
1112 { # Pricing Period
1113 &quot;endDate&quot;: &quot;A String&quot;,
1114 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
1115 &quot;rateOrCostNanos&quot;: &quot;A String&quot;, # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
1116 &quot;startDate&quot;: &quot;A String&quot;,
1117 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
1118 },
1119 ],
1120 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
1121 &quot;startDate&quot;: &quot;A String&quot;,
1122 &quot;testingStartDate&quot;: &quot;A String&quot;,
1123 },
1124 &quot;primary&quot;: True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock&#x27;s primaryPlacementId field to the ID of this placement.
1125 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
1126 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1127 },
1128 &quot;siteId&quot;: &quot;A String&quot;, # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
1129 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
1130 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1131 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1132 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1133 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1134 &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.
1135 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1136 },
1137 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
1138 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1139 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1140 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1141 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1142 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1143 },
1144 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
1145 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
1146 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
1147 &quot;tagFormats&quot;: [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - &quot;PLACEMENT_TAG_STANDARD&quot; - &quot;PLACEMENT_TAG_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_IFRAME_ILAYER&quot; - &quot;PLACEMENT_TAG_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_CLICK_COMMANDS&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4&quot; - &quot;PLACEMENT_TAG_TRACKING&quot; - &quot;PLACEMENT_TAG_TRACKING_IFRAME&quot; - &quot;PLACEMENT_TAG_TRACKING_JAVASCRIPT&quot;
1148 &quot;A String&quot;,
1149 ],
1150 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
1151 &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.
1152 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
1153 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
1154 &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.
1155 },
1156 &quot;videoActiveViewOptOut&quot;: True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
1157 &quot;videoSettings&quot;: { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
1158 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
1159 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
1160 &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
1161 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1162 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1163 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1164 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1165 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1166 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1167 },
1168 ],
1169 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
1170 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
1171 },
1172 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
1173 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
1174 &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
1175 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
1176 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
1177 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
1178 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
1179 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
1180 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
1181 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1182 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1183 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1184 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1185 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1186 },
1187 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
1188 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
1189 },
1190 &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
1191 &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
1192 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
1193 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
1194 &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.
1195 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1196 },
1197 &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
1198 &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.
1199 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1200 },
1201 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
1202 },
1203 &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
1204 &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
1205 42,
1206 ],
1207 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
1208 },
1209 },
1210 &quot;vpaidAdapterChoice&quot;: &quot;A String&quot;, # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
1211 }
1212
1213 x__xgafv: string, V1 error format.
1214 Allowed values
1215 1 - v1 error format
1216 2 - v2 error format
1217
1218 Returns:
1219 An object of the form:
1220
1221 { # Contains properties of a placement.
1222 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
1223 &quot;adBlockingOptOut&quot;: True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
1224 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
1225 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1226 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1227 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1228 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1229 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1230 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1231 },
1232 ],
1233 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
1234 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
1235 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1236 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1237 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1238 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1239 &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.
1240 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1241 },
1242 &quot;archived&quot;: True or False, # Whether this placement is archived.
1243 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
1244 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
1245 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1246 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1247 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1248 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1249 &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.
1250 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1251 },
1252 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
1253 &quot;compatibility&quot;: &quot;A String&quot;, # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
1254 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
1255 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
1256 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1257 },
1258 &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
1259 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
1260 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1261 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1262 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1263 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1264 &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.
1265 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1266 },
1267 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
1268 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
1269 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
1270 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1271 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1272 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1273 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1274 &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.
1275 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1276 },
1277 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
1278 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
1279 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
1280 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1281 },
1282 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
1283 &quot;clickDuration&quot;: 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
1284 &quot;postImpressionActivitiesDuration&quot;: 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
1285 },
1286 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 256 characters long.
1287 &quot;paymentApproved&quot;: True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
1288 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
1289 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
1290 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
1291 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1292 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1293 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1294 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1295 &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.
1296 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1297 },
1298 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
1299 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
1300 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
1301 &quot;endDate&quot;: &quot;A String&quot;,
1302 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
1303 &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
1304 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
1305 { # Pricing Period
1306 &quot;endDate&quot;: &quot;A String&quot;,
1307 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
1308 &quot;rateOrCostNanos&quot;: &quot;A String&quot;, # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
1309 &quot;startDate&quot;: &quot;A String&quot;,
1310 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
1311 },
1312 ],
1313 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
1314 &quot;startDate&quot;: &quot;A String&quot;,
1315 &quot;testingStartDate&quot;: &quot;A String&quot;,
1316 },
1317 &quot;primary&quot;: True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock&#x27;s primaryPlacementId field to the ID of this placement.
1318 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
1319 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1320 },
1321 &quot;siteId&quot;: &quot;A String&quot;, # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
1322 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
1323 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1324 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1325 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1326 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1327 &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.
1328 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1329 },
1330 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
1331 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1332 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1333 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1334 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1335 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1336 },
1337 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
1338 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
1339 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
1340 &quot;tagFormats&quot;: [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - &quot;PLACEMENT_TAG_STANDARD&quot; - &quot;PLACEMENT_TAG_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_IFRAME_ILAYER&quot; - &quot;PLACEMENT_TAG_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_CLICK_COMMANDS&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4&quot; - &quot;PLACEMENT_TAG_TRACKING&quot; - &quot;PLACEMENT_TAG_TRACKING_IFRAME&quot; - &quot;PLACEMENT_TAG_TRACKING_JAVASCRIPT&quot;
1341 &quot;A String&quot;,
1342 ],
1343 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
1344 &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.
1345 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
1346 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
1347 &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.
1348 },
1349 &quot;videoActiveViewOptOut&quot;: True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
1350 &quot;videoSettings&quot;: { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
1351 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
1352 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
1353 &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
1354 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1355 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1356 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1357 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1358 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1359 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1360 },
1361 ],
1362 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
1363 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
1364 },
1365 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
1366 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
1367 &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
1368 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
1369 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
1370 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
1371 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
1372 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
1373 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
1374 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1375 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1376 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1377 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1378 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1379 },
1380 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
1381 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
1382 },
1383 &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
1384 &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
1385 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
1386 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
1387 &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.
1388 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1389 },
1390 &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
1391 &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.
1392 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1393 },
1394 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
1395 },
1396 &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
1397 &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
1398 42,
1399 ],
1400 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
1401 },
1402 },
1403 &quot;vpaidAdapterChoice&quot;: &quot;A String&quot;, # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
1404 }</pre>
1405 </div>
1406
1407 <div class="method">
1408 <code class="details" id="update">update(profileId, body=None, x__xgafv=None)</code>
1409 <pre>Updates an existing placement.
1410
1411 Args:
1412 profileId: string, User profile ID associated with this request. (required)
1413 body: object, The request body.
1414 The object takes the form of:
1415
1416 { # Contains properties of a placement.
1417 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
1418 &quot;adBlockingOptOut&quot;: True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
1419 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
1420 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1421 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1422 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1423 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1424 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1425 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1426 },
1427 ],
1428 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
1429 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
1430 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1431 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1432 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1433 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1434 &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.
1435 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1436 },
1437 &quot;archived&quot;: True or False, # Whether this placement is archived.
1438 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
1439 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
1440 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1441 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1442 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1443 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1444 &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.
1445 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1446 },
1447 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
1448 &quot;compatibility&quot;: &quot;A String&quot;, # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
1449 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
1450 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
1451 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1452 },
1453 &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
1454 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
1455 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1456 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1457 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1458 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1459 &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.
1460 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1461 },
1462 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
1463 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
1464 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
1465 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1466 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1467 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1468 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1469 &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.
1470 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1471 },
1472 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
1473 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
1474 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
1475 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1476 },
1477 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
1478 &quot;clickDuration&quot;: 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
1479 &quot;postImpressionActivitiesDuration&quot;: 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
1480 },
1481 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 256 characters long.
1482 &quot;paymentApproved&quot;: True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
1483 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
1484 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
1485 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
1486 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1487 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1488 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1489 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1490 &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.
1491 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1492 },
1493 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
1494 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
1495 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
1496 &quot;endDate&quot;: &quot;A String&quot;,
1497 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
1498 &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
1499 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
1500 { # Pricing Period
1501 &quot;endDate&quot;: &quot;A String&quot;,
1502 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
1503 &quot;rateOrCostNanos&quot;: &quot;A String&quot;, # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
1504 &quot;startDate&quot;: &quot;A String&quot;,
1505 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
1506 },
1507 ],
1508 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
1509 &quot;startDate&quot;: &quot;A String&quot;,
1510 &quot;testingStartDate&quot;: &quot;A String&quot;,
1511 },
1512 &quot;primary&quot;: True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock&#x27;s primaryPlacementId field to the ID of this placement.
1513 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
1514 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1515 },
1516 &quot;siteId&quot;: &quot;A String&quot;, # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
1517 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
1518 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1519 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1520 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1521 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1522 &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.
1523 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1524 },
1525 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
1526 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1527 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1528 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1529 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1530 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1531 },
1532 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
1533 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
1534 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
1535 &quot;tagFormats&quot;: [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - &quot;PLACEMENT_TAG_STANDARD&quot; - &quot;PLACEMENT_TAG_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_IFRAME_ILAYER&quot; - &quot;PLACEMENT_TAG_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_CLICK_COMMANDS&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4&quot; - &quot;PLACEMENT_TAG_TRACKING&quot; - &quot;PLACEMENT_TAG_TRACKING_IFRAME&quot; - &quot;PLACEMENT_TAG_TRACKING_JAVASCRIPT&quot;
1536 &quot;A String&quot;,
1537 ],
1538 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
1539 &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.
1540 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
1541 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
1542 &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.
1543 },
1544 &quot;videoActiveViewOptOut&quot;: True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
1545 &quot;videoSettings&quot;: { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
1546 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
1547 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
1548 &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
1549 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1550 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1551 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1552 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1553 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1554 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1555 },
1556 ],
1557 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
1558 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
1559 },
1560 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
1561 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
1562 &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
1563 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
1564 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
1565 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
1566 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
1567 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
1568 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
1569 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1570 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1571 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1572 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1573 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1574 },
1575 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
1576 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
1577 },
1578 &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
1579 &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
1580 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
1581 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
1582 &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.
1583 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1584 },
1585 &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
1586 &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.
1587 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1588 },
1589 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
1590 },
1591 &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
1592 &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
1593 42,
1594 ],
1595 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
1596 },
1597 },
1598 &quot;vpaidAdapterChoice&quot;: &quot;A String&quot;, # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
1599 }
1600
1601 x__xgafv: string, V1 error format.
1602 Allowed values
1603 1 - v1 error format
1604 2 - v2 error format
1605
1606 Returns:
1607 An object of the form:
1608
1609 { # Contains properties of a placement.
1610 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
1611 &quot;adBlockingOptOut&quot;: True or False, # Whether this placement opts out of ad blocking. When true, ad blocking is disabled for this placement. When false, the campaign and site settings take effect.
1612 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
1613 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1614 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1615 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1616 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1617 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1618 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1619 },
1620 ],
1621 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
1622 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
1623 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1624 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1625 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1626 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1627 &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.
1628 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1629 },
1630 &quot;archived&quot;: True or False, # Whether this placement is archived.
1631 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
1632 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
1633 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1634 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1635 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1636 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1637 &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.
1638 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1639 },
1640 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
1641 &quot;compatibility&quot;: &quot;A String&quot;, # Placement compatibility. DISPLAY and DISPLAY_INTERSTITIAL refer to rendering on desktop, on mobile devices or in mobile apps for regular or interstitial ads respectively. APP and APP_INTERSTITIAL are no longer allowed for new placement insertions. Instead, use DISPLAY or DISPLAY_INTERSTITIAL. IN_STREAM_VIDEO refers to rendering in in-stream video ads developed with the VAST standard. This field is required on insertion.
1642 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
1643 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
1644 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1645 },
1646 &quot;directorySiteId&quot;: &quot;A String&quot;, # Directory site ID of this placement. On insert, you must set either this field or the siteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
1647 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
1648 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1649 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1650 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1651 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1652 &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.
1653 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1654 },
1655 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
1656 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
1657 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
1658 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1659 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1660 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1661 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1662 &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.
1663 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1664 },
1665 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
1666 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
1667 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
1668 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1669 },
1670 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
1671 &quot;clickDuration&quot;: 42, # Lookback window, in days, from the last time a given user clicked on one of your ads. If you enter 0, clicks will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
1672 &quot;postImpressionActivitiesDuration&quot;: 42, # Lookback window, in days, from the last time a given user viewed one of your ads. If you enter 0, impressions will not be considered as triggering events for floodlight tracking. If you leave this field blank, the default value for your account will be used. Acceptable values are 0 to 90, inclusive.
1673 },
1674 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 256 characters long.
1675 &quot;paymentApproved&quot;: True or False, # Whether payment was approved for this placement. This is a read-only field relevant only to publisher-paid placements.
1676 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
1677 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
1678 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
1679 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1680 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1681 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1682 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1683 &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.
1684 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1685 },
1686 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
1687 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
1688 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
1689 &quot;endDate&quot;: &quot;A String&quot;,
1690 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
1691 &quot;floodlightActivityId&quot;: &quot;A String&quot;, # Floodlight activity ID associated with this placement. This field should be set when placement pricing type is set to PRICING_TYPE_CPA.
1692 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
1693 { # Pricing Period
1694 &quot;endDate&quot;: &quot;A String&quot;,
1695 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
1696 &quot;rateOrCostNanos&quot;: &quot;A String&quot;, # Rate or cost of this pricing period in nanos (i.e., multipled by 1000000000). Acceptable values are 0 to 1000000000000000000, inclusive.
1697 &quot;startDate&quot;: &quot;A String&quot;,
1698 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
1699 },
1700 ],
1701 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
1702 &quot;startDate&quot;: &quot;A String&quot;,
1703 &quot;testingStartDate&quot;: &quot;A String&quot;,
1704 },
1705 &quot;primary&quot;: True or False, # Whether this placement is the primary placement of a roadblock (placement group). You cannot change this field from true to false. Setting this field to true will automatically set the primary field on the original primary placement of the roadblock to false, and it will automatically set the roadblock&#x27;s primaryPlacementId field to the ID of this placement.
1706 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
1707 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1708 },
1709 &quot;siteId&quot;: &quot;A String&quot;, # Site ID associated with this placement. On insert, you must set either this field or the directorySiteId field to specify the site associated with this placement. This is a required field that is read-only after insertion.
1710 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
1711 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1712 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1713 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1714 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1715 &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.
1716 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1717 },
1718 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # Size associated with this placement. When inserting or updating a placement, only the size ID field is used. This field is required on insertion.
1719 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1720 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1721 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1722 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1723 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1724 },
1725 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
1726 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
1727 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
1728 &quot;tagFormats&quot;: [ # Tag formats to generate for this placement. This field is required on insertion. Acceptable values are: - &quot;PLACEMENT_TAG_STANDARD&quot; - &quot;PLACEMENT_TAG_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_IFRAME_ILAYER&quot; - &quot;PLACEMENT_TAG_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_IFRAME_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_INTERNAL_REDIRECT&quot; - &quot;PLACEMENT_TAG_INTERSTITIAL_JAVASCRIPT&quot; - &quot;PLACEMENT_TAG_CLICK_COMMANDS&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_3&quot; - &quot;PLACEMENT_TAG_INSTREAM_VIDEO_PREFETCH_VAST_4&quot; - &quot;PLACEMENT_TAG_TRACKING&quot; - &quot;PLACEMENT_TAG_TRACKING_IFRAME&quot; - &quot;PLACEMENT_TAG_TRACKING_JAVASCRIPT&quot;
1729 &quot;A String&quot;,
1730 ],
1731 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
1732 &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.
1733 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
1734 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
1735 &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.
1736 },
1737 &quot;videoActiveViewOptOut&quot;: True or False, # Whether Verification and ActiveView are disabled for in-stream video creatives for this placement. The same setting videoActiveViewOptOut exists on the site level -- the opt out occurs if either of these settings are true. These settings are distinct from DirectorySites.settings.activeViewOptOut or Sites.siteSettings.activeViewOptOut which only apply to display ads. However, Accounts.activeViewOptOut opts out both video traffic, as well as display ads, from Verification and ActiveView.
1738 &quot;videoSettings&quot;: { # Video Settings # A collection of settings which affect video creatives served through this placement. Applicable to placements with IN_STREAM_VIDEO compatibility.
1739 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
1740 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
1741 &quot;enabledSizes&quot;: [ # Allowlist of companion sizes to be served to this placement. Set this list to null or empty to serve all companion sizes.
1742 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1743 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1744 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1745 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1746 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1747 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1748 },
1749 ],
1750 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
1751 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
1752 },
1753 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
1754 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
1755 &quot;obaSettings&quot;: { # Online Behavioral Advertiser icon. # Settings for the OBA icon of video creatives served to this placement. If this object is provided, the creative-level OBA settings will be overridden.
1756 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
1757 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
1758 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
1759 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
1760 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
1761 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
1762 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1763 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1764 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1765 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1766 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1767 },
1768 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
1769 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
1770 },
1771 &quot;orientation&quot;: &quot;A String&quot;, # Orientation of a video placement. If this value is set, placement will return assets matching the specified orientation.
1772 &quot;skippableSettings&quot;: { # Skippable Settings # Settings for the skippability of video creatives served to this placement. If this object is provided, the creative-level skippable settings will be overridden.
1773 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
1774 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
1775 &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.
1776 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1777 },
1778 &quot;skipOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before the skip button should appear. Applicable when skippable is true.
1779 &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.
1780 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1781 },
1782 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
1783 },
1784 &quot;transcodeSettings&quot;: { # Transcode Settings # Settings for the transcodes of video creatives served to this placement. If this object is provided, the creative-level transcode settings will be overridden.
1785 &quot;enabledVideoFormats&quot;: [ # Allowlist of video formats to be served to this placement. Set this list to null or empty to serve all video formats.
1786 42,
1787 ],
1788 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
1789 },
1790 },
1791 &quot;vpaidAdapterChoice&quot;: &quot;A String&quot;, # VPAID adapter setting for this placement. Controls which VPAID format the measurement adapter will use for in-stream video creatives assigned to this placement. *Note:* Flash is no longer supported. This field now defaults to HTML5 when the following values are provided: FLASH, BOTH.
1792 }</pre>
1793 </div>
1794
1795 </body></html>