Debian Codegraph @

docs/dyn/dfareporting_v3_5.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_5.html">Campaign Manager 360 API</a> . <a href="dfareporting_v3_5.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()</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 512 characters long.
245 &quot;partnerWrappingData&quot;: { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
246 &quot;linkStatus&quot;: &quot;A String&quot;, # Placement wrapping status.
247 &quot;measurementPartner&quot;: &quot;A String&quot;, # Measurement partner used for wrapping the placement.
248 &quot;tagWrappingMode&quot;: &quot;A String&quot;, # Measurement mode for the wrapped placement.
249 &quot;wrappedTag&quot;: &quot;A String&quot;, # Tag provided by the measurement partner during wrapping.
250 },
251 &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.
252 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
253 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
254 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
255 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
256 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
257 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
258 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
259 &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.
260 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
261 },
262 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
263 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
264 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
265 &quot;endDate&quot;: &quot;A String&quot;,
266 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
267 &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.
268 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
269 { # Pricing Period
270 &quot;endDate&quot;: &quot;A String&quot;,
271 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
272 &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.
273 &quot;startDate&quot;: &quot;A String&quot;,
274 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
275 },
276 ],
277 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
278 &quot;startDate&quot;: &quot;A String&quot;,
279 &quot;testingStartDate&quot;: &quot;A String&quot;,
280 },
281 &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.
282 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
283 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
284 },
285 &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.
286 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
287 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
288 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
289 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
290 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
291 &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.
292 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
293 },
294 &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.
295 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
296 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
297 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
298 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
299 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
300 },
301 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
302 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
303 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
304 &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;
305 &quot;A String&quot;,
306 ],
307 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
308 &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.
309 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
310 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
311 &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.
312 },
313 &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.
314 &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.
315 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
316 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
317 &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.
318 { # Represents the dimensions of ads, placements, creatives, or creative assets.
319 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
320 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
321 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
322 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
323 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
324 },
325 ],
326 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
327 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
328 },
329 &quot;durationSeconds&quot;: 42, # Duration of a video placement in seconds.
330 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
331 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
332 &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.
333 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
334 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
335 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
336 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
337 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
338 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
339 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
340 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
341 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
342 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
343 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
344 },
345 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
346 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
347 },
348 &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.
349 &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.
350 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
351 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
352 &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.
353 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
354 },
355 &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.
356 &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.
357 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
358 },
359 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
360 },
361 &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.
362 &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.
363 42,
364 ],
365 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
366 },
367 },
368 &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.
369 &quot;wrappingOptOut&quot;: True or False, # Whether this placement opts out of tag wrapping.
370 }</pre>
371 </div>
372
373 <div class="method">
374 <code class="details" id="insert">insert(profileId, body=None, x__xgafv=None)</code>
375 <pre>Inserts a new placement.
376
377 Args:
378 profileId: string, User profile ID associated with this request. (required)
379 body: object, The request body.
380 The object takes the form of:
381
382 { # Contains properties of a placement.
383 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
384 &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.
385 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
386 { # Represents the dimensions of ads, placements, creatives, or creative assets.
387 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
388 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
389 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
390 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
391 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
392 },
393 ],
394 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
395 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
396 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
397 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
398 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
399 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
400 &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.
401 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
402 },
403 &quot;archived&quot;: True or False, # Whether this placement is archived.
404 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
405 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
406 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
407 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
408 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
409 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
410 &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.
411 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
412 },
413 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
414 &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.
415 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
416 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
417 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
418 },
419 &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.
420 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
421 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
422 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
423 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
424 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
425 &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.
426 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
427 },
428 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
429 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
430 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
431 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
432 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
433 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
434 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
435 &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.
436 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
437 },
438 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
439 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
440 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
441 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
442 },
443 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
444 &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.
445 &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.
446 },
447 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
448 &quot;partnerWrappingData&quot;: { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
449 &quot;linkStatus&quot;: &quot;A String&quot;, # Placement wrapping status.
450 &quot;measurementPartner&quot;: &quot;A String&quot;, # Measurement partner used for wrapping the placement.
451 &quot;tagWrappingMode&quot;: &quot;A String&quot;, # Measurement mode for the wrapped placement.
452 &quot;wrappedTag&quot;: &quot;A String&quot;, # Tag provided by the measurement partner during wrapping.
453 },
454 &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.
455 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
456 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
457 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
458 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
459 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
460 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
461 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
462 &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.
463 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
464 },
465 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
466 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
467 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
468 &quot;endDate&quot;: &quot;A String&quot;,
469 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
470 &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.
471 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
472 { # Pricing Period
473 &quot;endDate&quot;: &quot;A String&quot;,
474 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
475 &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.
476 &quot;startDate&quot;: &quot;A String&quot;,
477 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
478 },
479 ],
480 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
481 &quot;startDate&quot;: &quot;A String&quot;,
482 &quot;testingStartDate&quot;: &quot;A String&quot;,
483 },
484 &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.
485 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
486 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
487 },
488 &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.
489 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
490 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
491 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
492 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
493 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
494 &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.
495 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
496 },
497 &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.
498 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
499 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
500 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
501 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
502 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
503 },
504 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
505 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
506 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
507 &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;
508 &quot;A String&quot;,
509 ],
510 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
511 &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.
512 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
513 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
514 &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.
515 },
516 &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.
517 &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.
518 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
519 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
520 &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.
521 { # Represents the dimensions of ads, placements, creatives, or creative assets.
522 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
523 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
524 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
525 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
526 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
527 },
528 ],
529 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
530 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
531 },
532 &quot;durationSeconds&quot;: 42, # Duration of a video placement in seconds.
533 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
534 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
535 &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.
536 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
537 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
538 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
539 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
540 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
541 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
542 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
543 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
544 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
545 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
546 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
547 },
548 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
549 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
550 },
551 &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.
552 &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.
553 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
554 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
555 &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.
556 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
557 },
558 &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.
559 &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.
560 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
561 },
562 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
563 },
564 &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.
565 &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.
566 42,
567 ],
568 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
569 },
570 },
571 &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.
572 &quot;wrappingOptOut&quot;: True or False, # Whether this placement opts out of tag wrapping.
573 }
574
575 x__xgafv: string, V1 error format.
576 Allowed values
577 1 - v1 error format
578 2 - v2 error format
579
580 Returns:
581 An object of the form:
582
583 { # Contains properties of a placement.
584 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
585 &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.
586 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
587 { # Represents the dimensions of ads, placements, creatives, or creative assets.
588 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
589 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
590 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
591 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
592 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
593 },
594 ],
595 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
596 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
597 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
598 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
599 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
600 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
601 &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.
602 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
603 },
604 &quot;archived&quot;: True or False, # Whether this placement is archived.
605 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
606 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
607 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
608 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
609 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
610 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
611 &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.
612 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
613 },
614 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
615 &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.
616 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
617 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
618 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
619 },
620 &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.
621 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
622 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
623 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
624 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
625 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
626 &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.
627 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
628 },
629 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
630 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
631 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
632 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
633 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
634 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
635 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
636 &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.
637 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
638 },
639 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
640 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
641 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
642 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
643 },
644 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
645 &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.
646 &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.
647 },
648 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
649 &quot;partnerWrappingData&quot;: { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
650 &quot;linkStatus&quot;: &quot;A String&quot;, # Placement wrapping status.
651 &quot;measurementPartner&quot;: &quot;A String&quot;, # Measurement partner used for wrapping the placement.
652 &quot;tagWrappingMode&quot;: &quot;A String&quot;, # Measurement mode for the wrapped placement.
653 &quot;wrappedTag&quot;: &quot;A String&quot;, # Tag provided by the measurement partner during wrapping.
654 },
655 &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.
656 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
657 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
658 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
659 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
660 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
661 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
662 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
663 &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.
664 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
665 },
666 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
667 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
668 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
669 &quot;endDate&quot;: &quot;A String&quot;,
670 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
671 &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.
672 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
673 { # Pricing Period
674 &quot;endDate&quot;: &quot;A String&quot;,
675 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
676 &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.
677 &quot;startDate&quot;: &quot;A String&quot;,
678 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
679 },
680 ],
681 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
682 &quot;startDate&quot;: &quot;A String&quot;,
683 &quot;testingStartDate&quot;: &quot;A String&quot;,
684 },
685 &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.
686 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
687 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
688 },
689 &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.
690 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
691 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
692 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
693 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
694 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
695 &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.
696 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
697 },
698 &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.
699 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
700 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
701 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
702 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
703 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
704 },
705 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
706 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
707 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
708 &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;
709 &quot;A String&quot;,
710 ],
711 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
712 &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.
713 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
714 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
715 &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.
716 },
717 &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.
718 &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.
719 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
720 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
721 &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.
722 { # Represents the dimensions of ads, placements, creatives, or creative assets.
723 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
724 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
725 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
726 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
727 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
728 },
729 ],
730 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
731 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
732 },
733 &quot;durationSeconds&quot;: 42, # Duration of a video placement in seconds.
734 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
735 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
736 &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.
737 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
738 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
739 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
740 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
741 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
742 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
743 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
744 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
745 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
746 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
747 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
748 },
749 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
750 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
751 },
752 &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.
753 &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.
754 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
755 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
756 &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.
757 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
758 },
759 &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.
760 &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.
761 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
762 },
763 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
764 },
765 &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.
766 &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.
767 42,
768 ],
769 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
770 },
771 },
772 &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.
773 &quot;wrappingOptOut&quot;: True or False, # Whether this placement opts out of tag wrapping.
774 }</pre>
775 </div>
776
777 <div class="method">
778 <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>
779 <pre>Retrieves a list of placements, possibly filtered. This method supports paging.
780
781 Args:
782 profileId: string, User profile ID associated with this request. (required)
783 advertiserIds: string, Select only placements that belong to these advertisers. (repeated)
784 archived: boolean, Select only archived placements. Don&#x27;t set this field to select both archived and non-archived placements.
785 campaignIds: string, Select only placements that belong to these campaigns. (repeated)
786 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)
787 Allowed values
788 DISPLAY -
789 DISPLAY_INTERSTITIAL -
790 APP -
791 APP_INTERSTITIAL -
792 IN_STREAM_VIDEO -
793 IN_STREAM_AUDIO -
794 contentCategoryIds: string, Select only placements that are associated with these content categories. (repeated)
795 directorySiteIds: string, Select only placements that are associated with these directory sites. (repeated)
796 groupIds: string, Select only placements that belong to these placement groups. (repeated)
797 ids: string, Select only placements with these IDs. (repeated)
798 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;.
799 maxResults: integer, Maximum number of results to return.
800 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;.
801 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;.
802 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;.
803 pageToken: string, Value of the nextPageToken from the previous result page.
804 paymentSource: string, Select only placements with this payment source.
805 Allowed values
806 PLACEMENT_AGENCY_PAID -
807 PLACEMENT_PUBLISHER_PAID -
808 placementStrategyIds: string, Select only placements that are associated with these placement strategies. (repeated)
809 pricingTypes: string, Select only placements with these pricing types. (repeated)
810 Allowed values
811 PRICING_TYPE_CPM -
812 PRICING_TYPE_CPC -
813 PRICING_TYPE_CPA -
814 PRICING_TYPE_FLAT_RATE_IMPRESSIONS -
815 PRICING_TYPE_FLAT_RATE_CLICKS -
816 PRICING_TYPE_CPM_ACTIVEVIEW -
817 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; .
818 siteIds: string, Select only placements that are associated with these sites. (repeated)
819 sizeIds: string, Select only placements that are associated with these sizes. (repeated)
820 sortField: string, Field by which to sort the list.
821 Allowed values
822 ID -
823 NAME -
824 sortOrder: string, Order of sorted results.
825 Allowed values
826 ASCENDING -
827 DESCENDING -
828 x__xgafv: string, V1 error format.
829 Allowed values
830 1 - v1 error format
831 2 - v2 error format
832
833 Returns:
834 An object of the form:
835
836 { # Placement List Response
837 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placementsListResponse&quot;.
838 &quot;nextPageToken&quot;: &quot;A String&quot;, # Pagination token to be used for the next list operation.
839 &quot;placements&quot;: [ # Placement collection.
840 { # Contains properties of a placement.
841 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
842 &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.
843 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
844 { # Represents the dimensions of ads, placements, creatives, or creative assets.
845 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
846 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
847 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
848 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
849 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
850 },
851 ],
852 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
853 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
854 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
855 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
856 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
857 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
858 &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.
859 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
860 },
861 &quot;archived&quot;: True or False, # Whether this placement is archived.
862 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
863 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
864 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
865 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
866 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
867 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
868 &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.
869 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
870 },
871 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
872 &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.
873 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
874 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation 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;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.
878 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
879 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
880 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
881 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
882 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
883 &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.
884 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
885 },
886 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
887 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
888 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
889 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
890 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
891 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
892 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
893 &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.
894 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
895 },
896 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
897 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
898 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
899 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
900 },
901 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
902 &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.
903 &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.
904 },
905 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
906 &quot;partnerWrappingData&quot;: { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
907 &quot;linkStatus&quot;: &quot;A String&quot;, # Placement wrapping status.
908 &quot;measurementPartner&quot;: &quot;A String&quot;, # Measurement partner used for wrapping the placement.
909 &quot;tagWrappingMode&quot;: &quot;A String&quot;, # Measurement mode for the wrapped placement.
910 &quot;wrappedTag&quot;: &quot;A String&quot;, # Tag provided by the measurement partner during wrapping.
911 },
912 &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.
913 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
914 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
915 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
916 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
917 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
918 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
919 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
920 &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.
921 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
922 },
923 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
924 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
925 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
926 &quot;endDate&quot;: &quot;A String&quot;,
927 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
928 &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.
929 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
930 { # Pricing Period
931 &quot;endDate&quot;: &quot;A String&quot;,
932 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
933 &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.
934 &quot;startDate&quot;: &quot;A String&quot;,
935 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
936 },
937 ],
938 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
939 &quot;startDate&quot;: &quot;A String&quot;,
940 &quot;testingStartDate&quot;: &quot;A String&quot;,
941 },
942 &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.
943 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
944 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
945 },
946 &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.
947 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
948 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
949 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
950 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
951 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
952 &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.
953 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
954 },
955 &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.
956 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
957 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
958 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
959 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
960 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
961 },
962 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
963 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
964 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
965 &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;
966 &quot;A String&quot;,
967 ],
968 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
969 &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.
970 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
971 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
972 &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.
973 },
974 &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.
975 &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.
976 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
977 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
978 &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.
979 { # Represents the dimensions of ads, placements, creatives, or creative assets.
980 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
981 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
982 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
983 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
984 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
985 },
986 ],
987 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
988 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
989 },
990 &quot;durationSeconds&quot;: 42, # Duration of a video placement in seconds.
991 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
992 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
993 &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.
994 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
995 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
996 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
997 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
998 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
999 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
1000 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1001 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1002 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1003 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1004 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1005 },
1006 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
1007 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
1008 },
1009 &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.
1010 &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.
1011 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
1012 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
1013 &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.
1014 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1015 },
1016 &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.
1017 &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.
1018 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1019 },
1020 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
1021 },
1022 &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.
1023 &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.
1024 42,
1025 ],
1026 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
1027 },
1028 },
1029 &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.
1030 &quot;wrappingOptOut&quot;: True or False, # Whether this placement opts out of tag wrapping.
1031 },
1032 ],
1033 }</pre>
1034 </div>
1035
1036 <div class="method">
1037 <code class="details" id="list_next">list_next()</code>
1038 <pre>Retrieves the next page of results.
1039
1040 Args:
1041 previous_request: The request for the previous page. (required)
1042 previous_response: The response from the request for the previous page. (required)
1043
1044 Returns:
1045 A request object that you can call &#x27;execute()&#x27; on to request the next
1046 page. Returns None if there are no more items in the collection.
1047 </pre>
1048 </div>
1049
1050 <div class="method">
1051 <code class="details" id="patch">patch(profileId, id, body=None, x__xgafv=None)</code>
1052 <pre>Updates an existing placement. This method supports patch semantics.
1053
1054 Args:
1055 profileId: string, User profile ID associated with this request. (required)
1056 id: string, Placement ID. (required)
1057 body: object, The request body.
1058 The object takes the form of:
1059
1060 { # Contains properties of a placement.
1061 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
1062 &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.
1063 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
1064 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1065 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1066 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1067 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1068 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1069 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1070 },
1071 ],
1072 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
1073 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
1074 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1075 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1076 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1077 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1078 &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.
1079 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1080 },
1081 &quot;archived&quot;: True or False, # Whether this placement is archived.
1082 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
1083 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
1084 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1085 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1086 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1087 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1088 &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.
1089 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1090 },
1091 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
1092 &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.
1093 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
1094 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
1095 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1096 },
1097 &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.
1098 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
1099 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1100 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1101 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1102 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1103 &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.
1104 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1105 },
1106 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
1107 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
1108 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
1109 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1110 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1111 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1112 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1113 &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.
1114 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1115 },
1116 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
1117 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
1118 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
1119 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1120 },
1121 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
1122 &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.
1123 &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.
1124 },
1125 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
1126 &quot;partnerWrappingData&quot;: { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
1127 &quot;linkStatus&quot;: &quot;A String&quot;, # Placement wrapping status.
1128 &quot;measurementPartner&quot;: &quot;A String&quot;, # Measurement partner used for wrapping the placement.
1129 &quot;tagWrappingMode&quot;: &quot;A String&quot;, # Measurement mode for the wrapped placement.
1130 &quot;wrappedTag&quot;: &quot;A String&quot;, # Tag provided by the measurement partner during wrapping.
1131 },
1132 &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.
1133 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
1134 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
1135 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
1136 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1137 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1138 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1139 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1140 &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.
1141 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1142 },
1143 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
1144 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
1145 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
1146 &quot;endDate&quot;: &quot;A String&quot;,
1147 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
1148 &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.
1149 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
1150 { # Pricing Period
1151 &quot;endDate&quot;: &quot;A String&quot;,
1152 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
1153 &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.
1154 &quot;startDate&quot;: &quot;A String&quot;,
1155 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
1156 },
1157 ],
1158 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
1159 &quot;startDate&quot;: &quot;A String&quot;,
1160 &quot;testingStartDate&quot;: &quot;A String&quot;,
1161 },
1162 &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.
1163 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
1164 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1165 },
1166 &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.
1167 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
1168 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1169 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1170 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1171 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1172 &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.
1173 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1174 },
1175 &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.
1176 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1177 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1178 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1179 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1180 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1181 },
1182 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
1183 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
1184 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
1185 &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;
1186 &quot;A String&quot;,
1187 ],
1188 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
1189 &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.
1190 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
1191 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
1192 &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.
1193 },
1194 &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.
1195 &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.
1196 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
1197 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
1198 &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.
1199 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1200 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1201 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1202 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1203 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1204 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1205 },
1206 ],
1207 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
1208 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
1209 },
1210 &quot;durationSeconds&quot;: 42, # Duration of a video placement in seconds.
1211 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
1212 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
1213 &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.
1214 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
1215 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
1216 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
1217 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
1218 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
1219 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
1220 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1221 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1222 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1223 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1224 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1225 },
1226 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
1227 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
1228 },
1229 &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.
1230 &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.
1231 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
1232 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
1233 &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.
1234 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1235 },
1236 &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.
1237 &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.
1238 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1239 },
1240 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
1241 },
1242 &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.
1243 &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.
1244 42,
1245 ],
1246 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
1247 },
1248 },
1249 &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.
1250 &quot;wrappingOptOut&quot;: True or False, # Whether this placement opts out of tag wrapping.
1251 }
1252
1253 x__xgafv: string, V1 error format.
1254 Allowed values
1255 1 - v1 error format
1256 2 - v2 error format
1257
1258 Returns:
1259 An object of the form:
1260
1261 { # Contains properties of a placement.
1262 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
1263 &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.
1264 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
1265 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1266 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1267 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1268 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1269 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1270 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1271 },
1272 ],
1273 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
1274 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
1275 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1276 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1277 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1278 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1279 &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.
1280 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1281 },
1282 &quot;archived&quot;: True or False, # Whether this placement is archived.
1283 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
1284 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
1285 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1286 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1287 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1288 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1289 &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.
1290 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1291 },
1292 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
1293 &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.
1294 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
1295 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
1296 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1297 },
1298 &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.
1299 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
1300 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1301 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1302 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1303 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1304 &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.
1305 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1306 },
1307 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
1308 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
1309 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
1310 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1311 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1312 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1313 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1314 &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.
1315 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1316 },
1317 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
1318 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
1319 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
1320 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1321 },
1322 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
1323 &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.
1324 &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.
1325 },
1326 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
1327 &quot;partnerWrappingData&quot;: { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
1328 &quot;linkStatus&quot;: &quot;A String&quot;, # Placement wrapping status.
1329 &quot;measurementPartner&quot;: &quot;A String&quot;, # Measurement partner used for wrapping the placement.
1330 &quot;tagWrappingMode&quot;: &quot;A String&quot;, # Measurement mode for the wrapped placement.
1331 &quot;wrappedTag&quot;: &quot;A String&quot;, # Tag provided by the measurement partner during wrapping.
1332 },
1333 &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.
1334 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
1335 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
1336 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
1337 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1338 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1339 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1340 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1341 &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.
1342 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1343 },
1344 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
1345 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
1346 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
1347 &quot;endDate&quot;: &quot;A String&quot;,
1348 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
1349 &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.
1350 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
1351 { # Pricing Period
1352 &quot;endDate&quot;: &quot;A String&quot;,
1353 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
1354 &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.
1355 &quot;startDate&quot;: &quot;A String&quot;,
1356 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
1357 },
1358 ],
1359 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
1360 &quot;startDate&quot;: &quot;A String&quot;,
1361 &quot;testingStartDate&quot;: &quot;A String&quot;,
1362 },
1363 &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.
1364 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
1365 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1366 },
1367 &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.
1368 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
1369 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1370 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1371 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1372 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1373 &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.
1374 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1375 },
1376 &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.
1377 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1378 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1379 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1380 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1381 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1382 },
1383 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
1384 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
1385 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
1386 &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;
1387 &quot;A String&quot;,
1388 ],
1389 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
1390 &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.
1391 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
1392 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
1393 &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.
1394 },
1395 &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.
1396 &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.
1397 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
1398 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
1399 &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.
1400 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1401 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1402 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1403 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1404 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1405 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1406 },
1407 ],
1408 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
1409 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
1410 },
1411 &quot;durationSeconds&quot;: 42, # Duration of a video placement in seconds.
1412 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
1413 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
1414 &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.
1415 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
1416 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
1417 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
1418 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
1419 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
1420 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
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 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
1428 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
1429 },
1430 &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.
1431 &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.
1432 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
1433 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
1434 &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.
1435 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1436 },
1437 &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.
1438 &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.
1439 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1440 },
1441 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
1442 },
1443 &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.
1444 &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.
1445 42,
1446 ],
1447 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
1448 },
1449 },
1450 &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.
1451 &quot;wrappingOptOut&quot;: True or False, # Whether this placement opts out of tag wrapping.
1452 }</pre>
1453 </div>
1454
1455 <div class="method">
1456 <code class="details" id="update">update(profileId, body=None, x__xgafv=None)</code>
1457 <pre>Updates an existing placement.
1458
1459 Args:
1460 profileId: string, User profile ID associated with this request. (required)
1461 body: object, The request body.
1462 The object takes the form of:
1463
1464 { # Contains properties of a placement.
1465 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
1466 &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.
1467 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
1468 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1469 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1470 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1471 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1472 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1473 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1474 },
1475 ],
1476 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
1477 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. This is a read-only, auto-generated field.
1478 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1479 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1480 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1481 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1482 &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.
1483 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1484 },
1485 &quot;archived&quot;: True or False, # Whether this placement is archived.
1486 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
1487 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
1488 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1489 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1490 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1491 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1492 &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.
1493 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1494 },
1495 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
1496 &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.
1497 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
1498 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
1499 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1500 },
1501 &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.
1502 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
1503 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1504 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1505 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1506 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1507 &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.
1508 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1509 },
1510 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
1511 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
1512 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
1513 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1514 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1515 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1516 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1517 &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.
1518 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1519 },
1520 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. This is a read-only, auto-generated field.
1521 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#placement&quot;.
1522 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
1523 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1524 },
1525 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
1526 &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.
1527 &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.
1528 },
1529 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
1530 &quot;partnerWrappingData&quot;: { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
1531 &quot;linkStatus&quot;: &quot;A String&quot;, # Placement wrapping status.
1532 &quot;measurementPartner&quot;: &quot;A String&quot;, # Measurement partner used for wrapping the placement.
1533 &quot;tagWrappingMode&quot;: &quot;A String&quot;, # Measurement mode for the wrapped placement.
1534 &quot;wrappedTag&quot;: &quot;A String&quot;, # Tag provided by the measurement partner during wrapping.
1535 },
1536 &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.
1537 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
1538 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
1539 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
1540 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1541 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1542 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1543 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1544 &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.
1545 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1546 },
1547 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
1548 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
1549 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
1550 &quot;endDate&quot;: &quot;A String&quot;,
1551 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
1552 &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.
1553 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
1554 { # Pricing Period
1555 &quot;endDate&quot;: &quot;A String&quot;,
1556 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
1557 &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.
1558 &quot;startDate&quot;: &quot;A String&quot;,
1559 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
1560 },
1561 ],
1562 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
1563 &quot;startDate&quot;: &quot;A String&quot;,
1564 &quot;testingStartDate&quot;: &quot;A String&quot;,
1565 },
1566 &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.
1567 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
1568 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1569 },
1570 &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.
1571 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
1572 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1573 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1574 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1575 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1576 &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.
1577 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1578 },
1579 &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.
1580 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1581 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1582 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1583 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1584 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1585 },
1586 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
1587 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
1588 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
1589 &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;
1590 &quot;A String&quot;,
1591 ],
1592 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
1593 &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.
1594 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
1595 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
1596 &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.
1597 },
1598 &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.
1599 &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.
1600 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
1601 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
1602 &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.
1603 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1604 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1605 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1606 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1607 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1608 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1609 },
1610 ],
1611 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
1612 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
1613 },
1614 &quot;durationSeconds&quot;: 42, # Duration of a video placement in seconds.
1615 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
1616 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
1617 &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.
1618 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
1619 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
1620 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
1621 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
1622 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
1623 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
1624 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1625 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1626 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1627 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1628 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1629 },
1630 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
1631 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
1632 },
1633 &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.
1634 &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.
1635 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
1636 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
1637 &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.
1638 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1639 },
1640 &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.
1641 &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.
1642 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1643 },
1644 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
1645 },
1646 &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.
1647 &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.
1648 42,
1649 ],
1650 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
1651 },
1652 },
1653 &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.
1654 &quot;wrappingOptOut&quot;: True or False, # Whether this placement opts out of tag wrapping.
1655 }
1656
1657 x__xgafv: string, V1 error format.
1658 Allowed values
1659 1 - v1 error format
1660 2 - v2 error format
1661
1662 Returns:
1663 An object of the form:
1664
1665 { # Contains properties of a placement.
1666 &quot;accountId&quot;: &quot;A String&quot;, # Account ID of this placement. This field can be left blank.
1667 &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.
1668 &quot;additionalSizes&quot;: [ # Additional sizes associated with this placement. When inserting or updating a placement, only the size ID field is used.
1669 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1670 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1671 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1672 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1673 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1674 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1675 },
1676 ],
1677 &quot;advertiserId&quot;: &quot;A String&quot;, # Advertiser ID of this placement. This field can be left blank.
1678 &quot;advertiserIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the advertiser. 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;archived&quot;: True or False, # Whether this placement is archived.
1687 &quot;campaignId&quot;: &quot;A String&quot;, # Campaign ID of this placement. This field is a required field on insertion.
1688 &quot;campaignIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the campaign. This is a read-only, auto-generated field.
1689 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1690 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1691 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1692 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1693 &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.
1694 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1695 },
1696 &quot;comment&quot;: &quot;A String&quot;, # Comments for this placement.
1697 &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.
1698 &quot;contentCategoryId&quot;: &quot;A String&quot;, # ID of the content category assigned to this placement.
1699 &quot;createInfo&quot;: { # Modification timestamp. # Information about the creation of this placement. This is a read-only field.
1700 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1701 },
1702 &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.
1703 &quot;directorySiteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the directory site. This is a read-only, auto-generated field.
1704 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1705 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1706 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1707 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1708 &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.
1709 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1710 },
1711 &quot;externalId&quot;: &quot;A String&quot;, # External ID for this placement.
1712 &quot;id&quot;: &quot;A String&quot;, # ID of this placement. This is a read-only, auto-generated field.
1713 &quot;idDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of this placement. This is a read-only, auto-generated field.
1714 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1715 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1716 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1717 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1718 &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.
1719 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1720 },
1721 &quot;keyName&quot;: &quot;A String&quot;, # Key name of this placement. 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#placement&quot;.
1723 &quot;lastModifiedInfo&quot;: { # Modification timestamp. # Information about the most recent modification of this placement. This is a read-only field.
1724 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1725 },
1726 &quot;lookbackConfiguration&quot;: { # Lookback configuration settings. # Lookback window settings for this placement.
1727 &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.
1728 &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.
1729 },
1730 &quot;name&quot;: &quot;A String&quot;, # Name of this placement.This is a required field and must be less than or equal to 512 characters long.
1731 &quot;partnerWrappingData&quot;: { # Placement tag wrapping # Measurement partner provided settings for a wrapped placement.
1732 &quot;linkStatus&quot;: &quot;A String&quot;, # Placement wrapping status.
1733 &quot;measurementPartner&quot;: &quot;A String&quot;, # Measurement partner used for wrapping the placement.
1734 &quot;tagWrappingMode&quot;: &quot;A String&quot;, # Measurement mode for the wrapped placement.
1735 &quot;wrappedTag&quot;: &quot;A String&quot;, # Tag provided by the measurement partner during wrapping.
1736 },
1737 &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.
1738 &quot;paymentSource&quot;: &quot;A String&quot;, # Payment source for this placement. This is a required field that is read-only after insertion.
1739 &quot;placementGroupId&quot;: &quot;A String&quot;, # ID of this placement&#x27;s group, if applicable.
1740 &quot;placementGroupIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the placement group. This is a read-only, auto-generated field.
1741 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1742 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1743 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1744 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1745 &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.
1746 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1747 },
1748 &quot;placementStrategyId&quot;: &quot;A String&quot;, # ID of the placement strategy assigned to this placement.
1749 &quot;pricingSchedule&quot;: { # Pricing Schedule # Pricing schedule of this placement. This field is required on insertion, specifically subfields startDate, endDate and pricingType.
1750 &quot;capCostOption&quot;: &quot;A String&quot;, # Placement cap cost option.
1751 &quot;endDate&quot;: &quot;A String&quot;,
1752 &quot;flighted&quot;: True or False, # Whether this placement is flighted. If true, pricing periods will be computed automatically.
1753 &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.
1754 &quot;pricingPeriods&quot;: [ # Pricing periods for this placement.
1755 { # Pricing Period
1756 &quot;endDate&quot;: &quot;A String&quot;,
1757 &quot;pricingComment&quot;: &quot;A String&quot;, # Comments for this pricing period.
1758 &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.
1759 &quot;startDate&quot;: &quot;A String&quot;,
1760 &quot;units&quot;: &quot;A String&quot;, # Units of this pricing period. Acceptable values are 0 to 10000000000, inclusive.
1761 },
1762 ],
1763 &quot;pricingType&quot;: &quot;A String&quot;, # Placement pricing type. This field is required on insertion.
1764 &quot;startDate&quot;: &quot;A String&quot;,
1765 &quot;testingStartDate&quot;: &quot;A String&quot;,
1766 },
1767 &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.
1768 &quot;publisherUpdateInfo&quot;: { # Modification timestamp. # Information about the last publisher update. This is a read-only field.
1769 &quot;time&quot;: &quot;A String&quot;, # Timestamp of the last change in milliseconds since epoch.
1770 },
1771 &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.
1772 &quot;siteIdDimensionValue&quot;: { # Represents a DimensionValue resource. # Dimension value for the ID of the site. This is a read-only, auto-generated field.
1773 &quot;dimensionName&quot;: &quot;A String&quot;, # The name of the dimension.
1774 &quot;etag&quot;: &quot;A String&quot;, # The eTag of this response for caching purposes.
1775 &quot;id&quot;: &quot;A String&quot;, # The ID associated with the value if available.
1776 &quot;kind&quot;: &quot;A String&quot;, # The kind of resource this is, in this case dfareporting#dimensionValue.
1777 &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.
1778 &quot;value&quot;: &quot;A String&quot;, # The value of the dimension.
1779 },
1780 &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.
1781 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1782 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1783 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1784 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1785 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1786 },
1787 &quot;sslRequired&quot;: True or False, # Whether creatives assigned to this placement must be SSL-compliant.
1788 &quot;status&quot;: &quot;A String&quot;, # Third-party placement status.
1789 &quot;subaccountId&quot;: &quot;A String&quot;, # Subaccount ID of this placement. This field can be left blank.
1790 &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;
1791 &quot;A String&quot;,
1792 ],
1793 &quot;tagSetting&quot;: { # Tag Settings # Tag settings for this placement.
1794 &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.
1795 &quot;includeClickThroughUrls&quot;: True or False, # Whether static landing page URLs should be included in the tags. This setting applies only to placements.
1796 &quot;includeClickTracking&quot;: True or False, # Whether click-tracking string should be included in the tags.
1797 &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.
1798 },
1799 &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.
1800 &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.
1801 &quot;companionSettings&quot;: { # Companion Settings # Settings for the companion creatives of video creatives served to this placement.
1802 &quot;companionsDisabled&quot;: True or False, # Whether companions are disabled for this placement.
1803 &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.
1804 { # Represents the dimensions of ads, placements, creatives, or creative assets.
1805 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1806 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1807 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1808 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1809 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1810 },
1811 ],
1812 &quot;imageOnly&quot;: True or False, # Whether to serve only static images as companions.
1813 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#companionSetting&quot;.
1814 },
1815 &quot;durationSeconds&quot;: 42, # Duration of a video placement in seconds.
1816 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#videoSettings&quot;.
1817 &quot;obaEnabled&quot;: True or False, # Whether OBA icons are enabled for this placement.
1818 &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.
1819 &quot;iconClickThroughUrl&quot;: &quot;A String&quot;, # URL to redirect to when an OBA icon is clicked.
1820 &quot;iconClickTrackingUrl&quot;: &quot;A String&quot;, # URL to track click when an OBA icon is clicked.
1821 &quot;iconViewTrackingUrl&quot;: &quot;A String&quot;, # URL to track view when an OBA icon is clicked.
1822 &quot;program&quot;: &quot;A String&quot;, # Identifies the industry initiative that the icon supports. For example, AdChoices.
1823 &quot;resourceUrl&quot;: &quot;A String&quot;, # OBA icon resource URL. Campaign Manager only supports image and JavaScript icons. Learn more
1824 &quot;size&quot;: { # Represents the dimensions of ads, placements, creatives, or creative assets. # OBA icon size.
1825 &quot;height&quot;: 42, # Height of this size. Acceptable values are 0 to 32767, inclusive.
1826 &quot;iab&quot;: True or False, # IAB standard size. This is a read-only, auto-generated field.
1827 &quot;id&quot;: &quot;A String&quot;, # ID of this size. This is a read-only, auto-generated field.
1828 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#size&quot;.
1829 &quot;width&quot;: 42, # Width of this size. Acceptable values are 0 to 32767, inclusive.
1830 },
1831 &quot;xPosition&quot;: &quot;A String&quot;, # OBA icon x coordinate position. Accepted values are left or right.
1832 &quot;yPosition&quot;: &quot;A String&quot;, # OBA icon y coordinate position. Accepted values are top or bottom.
1833 },
1834 &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.
1835 &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.
1836 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#skippableSetting&quot;.
1837 &quot;progressOffset&quot;: { # Video Offset # Amount of time to play videos served to this placement before counting a view. Applicable when skippable is true.
1838 &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.
1839 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1840 },
1841 &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.
1842 &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.
1843 &quot;offsetSeconds&quot;: 42, # Duration, in seconds. Do not set when offsetPercentage is set. Acceptable values are 0 to 86399, inclusive.
1844 },
1845 &quot;skippable&quot;: True or False, # Whether the user can skip creatives served to this placement.
1846 },
1847 &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.
1848 &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.
1849 42,
1850 ],
1851 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;dfareporting#transcodeSetting&quot;.
1852 },
1853 },
1854 &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.
1855 &quot;wrappingOptOut&quot;: True or False, # Whether this placement opts out of tag wrapping.
1856 }</pre>
1857 </div>
1858
1859 </body></html>