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