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