blob: 4a1fff1decf9cfbdfcbb41c4c06010aa5c93a3ba [file] [log] [blame]
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001<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="adexchangebuyer2_v2beta1.html">Ad Exchange Buyer API II</a> . <a href="adexchangebuyer2_v2beta1.accounts.html">accounts</a> . <a href="adexchangebuyer2_v2beta1.accounts.creatives.html">creatives</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="adexchangebuyer2_v2beta1.accounts.creatives.dealAssociations.html">dealAssociations()</a></code>
79</p>
80<p class="firstline">Returns the dealAssociations Resource.</p>
81
82<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070083 <code><a href="#create">create(accountId, body=None, duplicateIdMode=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040084<p class="firstline">Creates a creative.</p>
85<p class="toc_element">
86 <code><a href="#get">get(accountId, creativeId, x__xgafv=None)</a></code></p>
87<p class="firstline">Gets a creative.</p>
88<p class="toc_element">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070089 <code><a href="#list">list(accountId, pageToken=None, query=None, pageSize=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040090<p class="firstline">Lists creatives.</p>
91<p class="toc_element">
92 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
93<p class="firstline">Retrieves the next page of results.</p>
94<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095 <code><a href="#stopWatching">stopWatching(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040096<p class="firstline">Stops watching a creative. Will stop push notifications being sent to the</p>
97<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070098 <code><a href="#update">update(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040099<p class="firstline">Updates a creative.</p>
100<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700101 <code><a href="#watch">watch(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400102<p class="firstline">Watches a creative. Will result in push notifications being sent to the</p>
103<h3>Method Details</h3>
104<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 <code class="details" id="create">create(accountId, body=None, duplicateIdMode=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400106 <pre>Creates a creative.
107
108Args:
109 accountId: string, The account that this creative belongs to.
110Can be used to filter the response of the
111creatives.list
112method. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700113 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400114 The object takes the form of:
115
116{ # A creative and its classification data.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700117 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
118 &quot;A String&quot;,
119 ],
120 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
121 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
122 { # Output only. Shows any corrections that were applied to this creative.
123 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
124 &quot;details&quot;: [ # Additional details about what was corrected.
125 &quot;A String&quot;,
126 ],
127 &quot;contexts&quot;: [ # The contexts for the correction.
128 { # The serving context for this restriction.
129 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
130 &quot;securities&quot;: [ # The security types in this context.
131 &quot;A String&quot;,
132 ],
133 },
134 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
135 &quot;appTypes&quot;: [ # The app types this restriction applies to.
136 &quot;A String&quot;,
137 ],
138 },
139 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
140 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
141 &quot;A String&quot;,
142 ],
143 },
144 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
145 &quot;platforms&quot;: [ # The platforms this restriction applies to.
146 &quot;A String&quot;,
147 ],
148 },
149 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
150 # location.
151 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
152 # Please refer to the
153 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
154 # file for different geo criteria IDs.
155 42,
156 ],
157 },
158 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
159 },
160 ],
161 },
162 ],
163 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
164 &quot;A String&quot;,
165 ],
166 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
167 # See the ad-sensitive-categories.txt file in the technical documentation for
168 # a list of IDs. You should use these IDs along with the
169 # excluded-sensitive-category field in the bid request to filter your bids.
170 42,
171 ],
172 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
173 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
174 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
175 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
176 &quot;A String&quot;,
177 ],
178 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
179 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
180 # for possible values.
181 42,
182 ],
183 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
184 # See the ad-product-categories.txt file in the technical documentation
185 # for a list of IDs.
186 42,
187 ],
188 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
189 &quot;A String&quot;,
190 ],
191 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
192 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
193 # serving_restrictions will also exist. Note
194 # that this may be nuanced with other contextual restrictions, in which case,
195 # it may be preferable to read from serving_restrictions directly.
196 # Can be used to filter the response of the
197 # creatives.list
198 # method.
199 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
200 &quot;A String&quot;,
201 ],
202 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
203 # arbitrary. The codes are 2 or 5 characters and are documented at
204 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
205 &quot;A String&quot;,
206 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700207 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
208 # Can be used to filter the response of the
209 # creatives.list
210 # method.
211 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400212 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700213 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
214 # Can be used to filter the response of the
215 # creatives.list
216 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700217 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
218 # A context here relates to where something ultimately serves (for example,
219 # a physical location, a platform, an HTTPS vs HTTP request, or the type
220 # of auction).
221 { # Output only. A representation of the status of an ad in a
222 # specific context. A context here relates to where something ultimately serves
223 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
224 # or the type of auction).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700225 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
226 # explicitly disapproved or is pending review).
Bu Sun Kim65020912020-05-20 12:08:20 -0700227 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
228 # Only present if status=DISAPPROVED.
229 # Can be used to filter the response of the
230 # creatives.list
231 # method.
232 # Deprecated; please use
233 # disapproval
234 # field instead.
235 { # Output only. The reason and details for a disapproval.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700236 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -0700237 &quot;details&quot;: [ # Additional details about the reason for disapproval.
238 &quot;A String&quot;,
239 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700240 },
241 ],
242 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
243 # Only present if status=DISAPPROVED.
244 # Can be used to filter the response of the
245 # creatives.list
246 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700247 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -0700248 &quot;details&quot;: [ # Additional details about the reason for disapproval.
249 &quot;A String&quot;,
250 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700251 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700252 &quot;contexts&quot;: [ # The contexts for the restriction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700253 { # The serving context for this restriction.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700254 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
255 &quot;securities&quot;: [ # The security types in this context.
Bu Sun Kim65020912020-05-20 12:08:20 -0700256 &quot;A String&quot;,
257 ],
258 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700259 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
260 &quot;appTypes&quot;: [ # The app types this restriction applies to.
261 &quot;A String&quot;,
262 ],
263 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700264 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
265 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
Bu Sun Kim65020912020-05-20 12:08:20 -0700266 &quot;A String&quot;,
267 ],
268 },
269 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
270 &quot;platforms&quot;: [ # The platforms this restriction applies to.
271 &quot;A String&quot;,
272 ],
273 },
274 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
275 # location.
276 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
277 # Please refer to the
278 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
279 # file for different geo criteria IDs.
280 42,
281 ],
282 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700283 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kim65020912020-05-20 12:08:20 -0700284 },
285 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700286 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700287 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700288 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Bu Sun Kim65020912020-05-20 12:08:20 -0700289 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700290 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
291 # mapping of provider ID to provided name, a privacy policy URL, and a list
292 # of domains which can be attributed to the provider.
293 #
294 # If the creative contains provider IDs that are outside of those listed in
295 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
296 # field on the (Google bid
297 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
298 # and the
299 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
300 # field on the (OpenRTB
301 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
302 # and a bid is submitted with that creative for an impression that will
303 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700304 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700305 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700306 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
307 #
308 # If true for a given creative, any bid submitted with that creative for an
309 # impression that will serve to an EEA user will be filtered before the
310 # auction.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700311 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700312 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400313 # Can be used to filter the response of the
314 # creatives.list
315 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700316 &quot;version&quot;: 42, # Output only. The version of this creative.
317 &quot;video&quot;: { # Video content for a creative. # A video creative.
318 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
319 # This document should conform to the VAST 2.0 or 3.0 standard.
320 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
321 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700322 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
323 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400324 # serving_restrictions will also exist. Note
325 # that this may be nuanced with other contextual restrictions, in which case,
326 # it may be preferable to read from serving_restrictions directly.
327 # Can be used to filter the response of the
328 # creatives.list
329 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700330 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
331 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
332 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
333 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
334 },
335 &quot;native&quot;: { # Native content for a creative. # A native creative.
336 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
337 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
338 # so long as the aspect ratio is preserved.
339 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
340 &quot;width&quot;: 42, # Image width in pixels.
341 &quot;height&quot;: 42, # Image height in pixels.
342 },
343 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
344 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
345 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
346 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
347 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
348 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
349 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
350 # so long as the aspect ratio is preserved.
351 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
352 &quot;width&quot;: 42, # Image width in pixels.
353 &quot;height&quot;: 42, # Image height in pixels.
354 },
355 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
356 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
357 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
358 # so long as the aspect ratio is preserved.
359 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
360 &quot;width&quot;: 42, # Image width in pixels.
361 &quot;height&quot;: 42, # Image height in pixels.
362 },
363 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
364 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700365 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
366 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700367 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400368}
369
370 duplicateIdMode: string, Indicates if multiple creatives can share an ID or not. Default is
371NO_DUPLICATES (one ID per creative).
372 x__xgafv: string, V1 error format.
373 Allowed values
374 1 - v1 error format
375 2 - v2 error format
376
377Returns:
378 An object of the form:
379
380 { # A creative and its classification data.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700381 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
382 &quot;A String&quot;,
383 ],
384 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
385 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
386 { # Output only. Shows any corrections that were applied to this creative.
387 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
388 &quot;details&quot;: [ # Additional details about what was corrected.
389 &quot;A String&quot;,
390 ],
391 &quot;contexts&quot;: [ # The contexts for the correction.
392 { # The serving context for this restriction.
393 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
394 &quot;securities&quot;: [ # The security types in this context.
395 &quot;A String&quot;,
396 ],
397 },
398 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
399 &quot;appTypes&quot;: [ # The app types this restriction applies to.
400 &quot;A String&quot;,
401 ],
402 },
403 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
404 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
405 &quot;A String&quot;,
406 ],
407 },
408 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
409 &quot;platforms&quot;: [ # The platforms this restriction applies to.
410 &quot;A String&quot;,
411 ],
412 },
413 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
414 # location.
415 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
416 # Please refer to the
417 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
418 # file for different geo criteria IDs.
419 42,
420 ],
421 },
422 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
423 },
424 ],
425 },
426 ],
427 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
428 &quot;A String&quot;,
429 ],
430 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
431 # See the ad-sensitive-categories.txt file in the technical documentation for
432 # a list of IDs. You should use these IDs along with the
433 # excluded-sensitive-category field in the bid request to filter your bids.
434 42,
435 ],
436 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
437 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
438 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
439 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
440 &quot;A String&quot;,
441 ],
442 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
443 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
444 # for possible values.
445 42,
446 ],
447 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
448 # See the ad-product-categories.txt file in the technical documentation
449 # for a list of IDs.
450 42,
451 ],
452 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
453 &quot;A String&quot;,
454 ],
455 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
456 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
457 # serving_restrictions will also exist. Note
458 # that this may be nuanced with other contextual restrictions, in which case,
459 # it may be preferable to read from serving_restrictions directly.
460 # Can be used to filter the response of the
461 # creatives.list
462 # method.
463 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
464 &quot;A String&quot;,
465 ],
466 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
467 # arbitrary. The codes are 2 or 5 characters and are documented at
468 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
469 &quot;A String&quot;,
470 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700471 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
472 # Can be used to filter the response of the
473 # creatives.list
474 # method.
475 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400476 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700477 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
478 # Can be used to filter the response of the
479 # creatives.list
480 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700481 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
482 # A context here relates to where something ultimately serves (for example,
483 # a physical location, a platform, an HTTPS vs HTTP request, or the type
484 # of auction).
485 { # Output only. A representation of the status of an ad in a
486 # specific context. A context here relates to where something ultimately serves
487 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
488 # or the type of auction).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700489 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
490 # explicitly disapproved or is pending review).
Bu Sun Kim65020912020-05-20 12:08:20 -0700491 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
492 # Only present if status=DISAPPROVED.
493 # Can be used to filter the response of the
494 # creatives.list
495 # method.
496 # Deprecated; please use
497 # disapproval
498 # field instead.
499 { # Output only. The reason and details for a disapproval.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700500 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -0700501 &quot;details&quot;: [ # Additional details about the reason for disapproval.
502 &quot;A String&quot;,
503 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700504 },
505 ],
506 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
507 # Only present if status=DISAPPROVED.
508 # Can be used to filter the response of the
509 # creatives.list
510 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700511 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -0700512 &quot;details&quot;: [ # Additional details about the reason for disapproval.
513 &quot;A String&quot;,
514 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700515 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700516 &quot;contexts&quot;: [ # The contexts for the restriction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700517 { # The serving context for this restriction.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700518 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
519 &quot;securities&quot;: [ # The security types in this context.
Bu Sun Kim65020912020-05-20 12:08:20 -0700520 &quot;A String&quot;,
521 ],
522 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700523 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
524 &quot;appTypes&quot;: [ # The app types this restriction applies to.
525 &quot;A String&quot;,
526 ],
527 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700528 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
529 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
Bu Sun Kim65020912020-05-20 12:08:20 -0700530 &quot;A String&quot;,
531 ],
532 },
533 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
534 &quot;platforms&quot;: [ # The platforms this restriction applies to.
535 &quot;A String&quot;,
536 ],
537 },
538 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
539 # location.
540 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
541 # Please refer to the
542 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
543 # file for different geo criteria IDs.
544 42,
545 ],
546 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700547 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kim65020912020-05-20 12:08:20 -0700548 },
549 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700550 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700551 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700552 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Bu Sun Kim65020912020-05-20 12:08:20 -0700553 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700554 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
555 # mapping of provider ID to provided name, a privacy policy URL, and a list
556 # of domains which can be attributed to the provider.
557 #
558 # If the creative contains provider IDs that are outside of those listed in
559 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
560 # field on the (Google bid
561 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
562 # and the
563 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
564 # field on the (OpenRTB
565 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
566 # and a bid is submitted with that creative for an impression that will
567 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700568 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700569 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700570 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
571 #
572 # If true for a given creative, any bid submitted with that creative for an
573 # impression that will serve to an EEA user will be filtered before the
574 # auction.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700575 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700576 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400577 # Can be used to filter the response of the
578 # creatives.list
579 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700580 &quot;version&quot;: 42, # Output only. The version of this creative.
581 &quot;video&quot;: { # Video content for a creative. # A video creative.
582 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
583 # This document should conform to the VAST 2.0 or 3.0 standard.
584 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
585 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700586 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
587 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400588 # serving_restrictions will also exist. Note
589 # that this may be nuanced with other contextual restrictions, in which case,
590 # it may be preferable to read from serving_restrictions directly.
591 # Can be used to filter the response of the
592 # creatives.list
593 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700594 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
595 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
596 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
597 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
598 },
599 &quot;native&quot;: { # Native content for a creative. # A native creative.
600 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
601 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
602 # so long as the aspect ratio is preserved.
603 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
604 &quot;width&quot;: 42, # Image width in pixels.
605 &quot;height&quot;: 42, # Image height in pixels.
606 },
607 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
608 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
609 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
610 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
611 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
612 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
613 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
614 # so long as the aspect ratio is preserved.
615 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
616 &quot;width&quot;: 42, # Image width in pixels.
617 &quot;height&quot;: 42, # Image height in pixels.
618 },
619 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
620 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
621 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
622 # so long as the aspect ratio is preserved.
623 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
624 &quot;width&quot;: 42, # Image width in pixels.
625 &quot;height&quot;: 42, # Image height in pixels.
626 },
627 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
628 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700629 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
630 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700631 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400632 }</pre>
633</div>
634
635<div class="method">
636 <code class="details" id="get">get(accountId, creativeId, x__xgafv=None)</code>
637 <pre>Gets a creative.
638
639Args:
640 accountId: string, The account the creative belongs to. (required)
641 creativeId: string, The ID of the creative to retrieve. (required)
642 x__xgafv: string, V1 error format.
643 Allowed values
644 1 - v1 error format
645 2 - v2 error format
646
647Returns:
648 An object of the form:
649
650 { # A creative and its classification data.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700651 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
652 &quot;A String&quot;,
653 ],
654 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
655 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
656 { # Output only. Shows any corrections that were applied to this creative.
657 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
658 &quot;details&quot;: [ # Additional details about what was corrected.
659 &quot;A String&quot;,
660 ],
661 &quot;contexts&quot;: [ # The contexts for the correction.
662 { # The serving context for this restriction.
663 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
664 &quot;securities&quot;: [ # The security types in this context.
665 &quot;A String&quot;,
666 ],
667 },
668 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
669 &quot;appTypes&quot;: [ # The app types this restriction applies to.
670 &quot;A String&quot;,
671 ],
672 },
673 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
674 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
675 &quot;A String&quot;,
676 ],
677 },
678 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
679 &quot;platforms&quot;: [ # The platforms this restriction applies to.
680 &quot;A String&quot;,
681 ],
682 },
683 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
684 # location.
685 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
686 # Please refer to the
687 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
688 # file for different geo criteria IDs.
689 42,
690 ],
691 },
692 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
693 },
694 ],
695 },
696 ],
697 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
698 &quot;A String&quot;,
699 ],
700 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
701 # See the ad-sensitive-categories.txt file in the technical documentation for
702 # a list of IDs. You should use these IDs along with the
703 # excluded-sensitive-category field in the bid request to filter your bids.
704 42,
705 ],
706 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
707 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
708 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
709 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
710 &quot;A String&quot;,
711 ],
712 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
713 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
714 # for possible values.
715 42,
716 ],
717 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
718 # See the ad-product-categories.txt file in the technical documentation
719 # for a list of IDs.
720 42,
721 ],
722 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
723 &quot;A String&quot;,
724 ],
725 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
726 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
727 # serving_restrictions will also exist. Note
728 # that this may be nuanced with other contextual restrictions, in which case,
729 # it may be preferable to read from serving_restrictions directly.
730 # Can be used to filter the response of the
731 # creatives.list
732 # method.
733 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
734 &quot;A String&quot;,
735 ],
736 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
737 # arbitrary. The codes are 2 or 5 characters and are documented at
738 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
739 &quot;A String&quot;,
740 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700741 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
742 # Can be used to filter the response of the
743 # creatives.list
744 # method.
745 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400746 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700747 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
748 # Can be used to filter the response of the
749 # creatives.list
750 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700751 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
752 # A context here relates to where something ultimately serves (for example,
753 # a physical location, a platform, an HTTPS vs HTTP request, or the type
754 # of auction).
755 { # Output only. A representation of the status of an ad in a
756 # specific context. A context here relates to where something ultimately serves
757 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
758 # or the type of auction).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700759 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
760 # explicitly disapproved or is pending review).
Bu Sun Kim65020912020-05-20 12:08:20 -0700761 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
762 # Only present if status=DISAPPROVED.
763 # Can be used to filter the response of the
764 # creatives.list
765 # method.
766 # Deprecated; please use
767 # disapproval
768 # field instead.
769 { # Output only. The reason and details for a disapproval.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700770 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -0700771 &quot;details&quot;: [ # Additional details about the reason for disapproval.
772 &quot;A String&quot;,
773 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700774 },
775 ],
776 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
777 # Only present if status=DISAPPROVED.
778 # Can be used to filter the response of the
779 # creatives.list
780 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700781 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -0700782 &quot;details&quot;: [ # Additional details about the reason for disapproval.
783 &quot;A String&quot;,
784 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700785 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700786 &quot;contexts&quot;: [ # The contexts for the restriction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700787 { # The serving context for this restriction.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700788 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
789 &quot;securities&quot;: [ # The security types in this context.
Bu Sun Kim65020912020-05-20 12:08:20 -0700790 &quot;A String&quot;,
791 ],
792 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700793 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
794 &quot;appTypes&quot;: [ # The app types this restriction applies to.
795 &quot;A String&quot;,
796 ],
797 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700798 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
799 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
Bu Sun Kim65020912020-05-20 12:08:20 -0700800 &quot;A String&quot;,
801 ],
802 },
803 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
804 &quot;platforms&quot;: [ # The platforms this restriction applies to.
805 &quot;A String&quot;,
806 ],
807 },
808 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
809 # location.
810 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
811 # Please refer to the
812 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
813 # file for different geo criteria IDs.
814 42,
815 ],
816 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700817 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kim65020912020-05-20 12:08:20 -0700818 },
819 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700820 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700821 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700822 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Bu Sun Kim65020912020-05-20 12:08:20 -0700823 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700824 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
825 # mapping of provider ID to provided name, a privacy policy URL, and a list
826 # of domains which can be attributed to the provider.
827 #
828 # If the creative contains provider IDs that are outside of those listed in
829 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
830 # field on the (Google bid
831 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
832 # and the
833 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
834 # field on the (OpenRTB
835 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
836 # and a bid is submitted with that creative for an impression that will
837 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700838 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700839 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700840 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
841 #
842 # If true for a given creative, any bid submitted with that creative for an
843 # impression that will serve to an EEA user will be filtered before the
844 # auction.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700845 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700846 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400847 # Can be used to filter the response of the
848 # creatives.list
849 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700850 &quot;version&quot;: 42, # Output only. The version of this creative.
851 &quot;video&quot;: { # Video content for a creative. # A video creative.
852 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
853 # This document should conform to the VAST 2.0 or 3.0 standard.
854 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
855 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700856 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
857 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400858 # serving_restrictions will also exist. Note
859 # that this may be nuanced with other contextual restrictions, in which case,
860 # it may be preferable to read from serving_restrictions directly.
861 # Can be used to filter the response of the
862 # creatives.list
863 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700864 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
865 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
866 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
867 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
868 },
869 &quot;native&quot;: { # Native content for a creative. # A native creative.
870 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
871 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
872 # so long as the aspect ratio is preserved.
873 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
874 &quot;width&quot;: 42, # Image width in pixels.
875 &quot;height&quot;: 42, # Image height in pixels.
876 },
877 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
878 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
879 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
880 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
881 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
882 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
883 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
884 # so long as the aspect ratio is preserved.
885 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
886 &quot;width&quot;: 42, # Image width in pixels.
887 &quot;height&quot;: 42, # Image height in pixels.
888 },
889 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
890 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
891 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
892 # so long as the aspect ratio is preserved.
893 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
894 &quot;width&quot;: 42, # Image width in pixels.
895 &quot;height&quot;: 42, # Image height in pixels.
896 },
897 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
898 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700899 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
900 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700901 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400902 }</pre>
903</div>
904
905<div class="method">
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700906 <code class="details" id="list">list(accountId, pageToken=None, query=None, pageSize=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400907 <pre>Lists creatives.
908
909Args:
910 accountId: string, The account to list the creatives from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700911Specify &quot;-&quot; to list all creatives the current user has access to. (required)
912 pageToken: string, A token identifying a page of results the server should return.
913Typically, this is the value of
914ListCreativesResponse.next_page_token
915returned from the previous call to &#x27;ListCreatives&#x27; method.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400916 query: string, An optional query string to filter creatives. If no filter is specified,
917all active creatives will be returned.
Dan O'Mearadd494642020-05-01 07:42:23 -0700918&lt;p&gt;Supported queries are:
919&lt;ul&gt;
920&lt;li&gt;accountId=&lt;i&gt;account_id_string&lt;/i&gt;
921&lt;li&gt;creativeId=&lt;i&gt;creative_id_string&lt;/i&gt;
922&lt;li&gt;dealsStatus: {approved, conditionally_approved, disapproved,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400923 not_checked}
Dan O'Mearadd494642020-05-01 07:42:23 -0700924&lt;li&gt;openAuctionStatus: {approved, conditionally_approved, disapproved,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400925 not_checked}
Dan O'Mearadd494642020-05-01 07:42:23 -0700926&lt;li&gt;attribute: {a numeric attribute from the list of attributes}
927&lt;li&gt;disapprovalReason: {a reason from
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700928DisapprovalReason}
Dan O'Mearadd494642020-05-01 07:42:23 -0700929&lt;/ul&gt;
Bu Sun Kim65020912020-05-20 12:08:20 -0700930Example: &#x27;accountId=12345 AND (dealsStatus:disapproved AND
931disapprovalReason:unacceptable_content) OR attribute:47&#x27;
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700932 pageSize: integer, Requested page size. The server may return fewer creatives than requested
933(due to timeout constraint) even if more are available via another call.
934If unspecified, server will pick an appropriate default.
935Acceptable values are 1 to 1000, inclusive.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400936 x__xgafv: string, V1 error format.
937 Allowed values
938 1 - v1 error format
939 2 - v2 error format
940
941Returns:
942 An object of the form:
943
944 { # A response for listing creatives.
Bu Sun Kim65020912020-05-20 12:08:20 -0700945 &quot;creatives&quot;: [ # The list of creatives.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400946 { # A creative and its classification data.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700947 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
948 &quot;A String&quot;,
949 ],
950 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
951 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
952 { # Output only. Shows any corrections that were applied to this creative.
953 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
954 &quot;details&quot;: [ # Additional details about what was corrected.
955 &quot;A String&quot;,
956 ],
957 &quot;contexts&quot;: [ # The contexts for the correction.
958 { # The serving context for this restriction.
959 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
960 &quot;securities&quot;: [ # The security types in this context.
961 &quot;A String&quot;,
962 ],
963 },
964 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
965 &quot;appTypes&quot;: [ # The app types this restriction applies to.
966 &quot;A String&quot;,
967 ],
968 },
969 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
970 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
971 &quot;A String&quot;,
972 ],
973 },
974 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
975 &quot;platforms&quot;: [ # The platforms this restriction applies to.
976 &quot;A String&quot;,
977 ],
978 },
979 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
980 # location.
981 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
982 # Please refer to the
983 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
984 # file for different geo criteria IDs.
985 42,
986 ],
987 },
988 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
989 },
990 ],
991 },
992 ],
993 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
994 &quot;A String&quot;,
995 ],
996 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
997 # See the ad-sensitive-categories.txt file in the technical documentation for
998 # a list of IDs. You should use these IDs along with the
999 # excluded-sensitive-category field in the bid request to filter your bids.
1000 42,
1001 ],
1002 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
1003 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
1004 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
1005 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
1006 &quot;A String&quot;,
1007 ],
1008 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
1009 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
1010 # for possible values.
1011 42,
1012 ],
1013 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
1014 # See the ad-product-categories.txt file in the technical documentation
1015 # for a list of IDs.
1016 42,
1017 ],
1018 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
1019 &quot;A String&quot;,
1020 ],
1021 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
1022 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
1023 # serving_restrictions will also exist. Note
1024 # that this may be nuanced with other contextual restrictions, in which case,
1025 # it may be preferable to read from serving_restrictions directly.
1026 # Can be used to filter the response of the
1027 # creatives.list
1028 # method.
1029 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
1030 &quot;A String&quot;,
1031 ],
1032 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
1033 # arbitrary. The codes are 2 or 5 characters and are documented at
1034 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
1035 &quot;A String&quot;,
1036 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001037 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
1038 # Can be used to filter the response of the
1039 # creatives.list
1040 # method.
1041 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001042 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001043 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
1044 # Can be used to filter the response of the
1045 # creatives.list
1046 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001047 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
1048 # A context here relates to where something ultimately serves (for example,
1049 # a physical location, a platform, an HTTPS vs HTTP request, or the type
1050 # of auction).
1051 { # Output only. A representation of the status of an ad in a
1052 # specific context. A context here relates to where something ultimately serves
1053 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
1054 # or the type of auction).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001055 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
1056 # explicitly disapproved or is pending review).
Bu Sun Kim65020912020-05-20 12:08:20 -07001057 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
1058 # Only present if status=DISAPPROVED.
1059 # Can be used to filter the response of the
1060 # creatives.list
1061 # method.
1062 # Deprecated; please use
1063 # disapproval
1064 # field instead.
1065 { # Output only. The reason and details for a disapproval.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001066 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -07001067 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1068 &quot;A String&quot;,
1069 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001070 },
1071 ],
1072 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
1073 # Only present if status=DISAPPROVED.
1074 # Can be used to filter the response of the
1075 # creatives.list
1076 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001077 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -07001078 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1079 &quot;A String&quot;,
1080 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001081 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001082 &quot;contexts&quot;: [ # The contexts for the restriction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001083 { # The serving context for this restriction.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001084 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1085 &quot;securities&quot;: [ # The security types in this context.
Bu Sun Kim65020912020-05-20 12:08:20 -07001086 &quot;A String&quot;,
1087 ],
1088 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001089 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1090 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1091 &quot;A String&quot;,
1092 ],
1093 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001094 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1095 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
Bu Sun Kim65020912020-05-20 12:08:20 -07001096 &quot;A String&quot;,
1097 ],
1098 },
1099 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1100 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1101 &quot;A String&quot;,
1102 ],
1103 },
1104 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1105 # location.
1106 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1107 # Please refer to the
1108 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1109 # file for different geo criteria IDs.
1110 42,
1111 ],
1112 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001113 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kim65020912020-05-20 12:08:20 -07001114 },
1115 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001116 },
Dan O'Mearadd494642020-05-01 07:42:23 -07001117 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001118 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Bu Sun Kim65020912020-05-20 12:08:20 -07001119 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001120 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
1121 # mapping of provider ID to provided name, a privacy policy URL, and a list
1122 # of domains which can be attributed to the provider.
1123 #
1124 # If the creative contains provider IDs that are outside of those listed in
1125 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
1126 # field on the (Google bid
1127 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
1128 # and the
1129 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
1130 # field on the (OpenRTB
1131 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
1132 # and a bid is submitted with that creative for an impression that will
1133 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001134 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001135 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001136 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
1137 #
1138 # If true for a given creative, any bid submitted with that creative for an
1139 # impression that will serve to an EEA user will be filtered before the
1140 # auction.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001141 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001142 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001143 # Can be used to filter the response of the
1144 # creatives.list
1145 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001146 &quot;version&quot;: 42, # Output only. The version of this creative.
1147 &quot;video&quot;: { # Video content for a creative. # A video creative.
1148 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
1149 # This document should conform to the VAST 2.0 or 3.0 standard.
1150 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1151 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001152 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
1153 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001154 # serving_restrictions will also exist. Note
1155 # that this may be nuanced with other contextual restrictions, in which case,
1156 # it may be preferable to read from serving_restrictions directly.
1157 # Can be used to filter the response of the
1158 # creatives.list
1159 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001160 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1161 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1162 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1163 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1164 },
1165 &quot;native&quot;: { # Native content for a creative. # A native creative.
1166 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1167 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
1168 # so long as the aspect ratio is preserved.
1169 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1170 &quot;width&quot;: 42, # Image width in pixels.
1171 &quot;height&quot;: 42, # Image height in pixels.
1172 },
1173 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1174 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1175 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1176 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1177 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1178 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1179 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
1180 # so long as the aspect ratio is preserved.
1181 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1182 &quot;width&quot;: 42, # Image width in pixels.
1183 &quot;height&quot;: 42, # Image height in pixels.
1184 },
1185 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1186 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1187 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
1188 # so long as the aspect ratio is preserved.
1189 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1190 &quot;width&quot;: 42, # Image width in pixels.
1191 &quot;height&quot;: 42, # Image height in pixels.
1192 },
1193 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1194 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001195 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
1196 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001197 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001198 },
1199 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001200 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results.
1201 # Pass this value in the
1202 # ListCreativesRequest.page_token
1203 # field in the subsequent call to `ListCreatives` method to retrieve the next
1204 # page of results.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001205 }</pre>
1206</div>
1207
1208<div class="method">
1209 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1210 <pre>Retrieves the next page of results.
1211
1212Args:
1213 previous_request: The request for the previous page. (required)
1214 previous_response: The response from the request for the previous page. (required)
1215
1216Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001217 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001218 page. Returns None if there are no more items in the collection.
1219 </pre>
1220</div>
1221
1222<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001223 <code class="details" id="stopWatching">stopWatching(accountId, creativeId, body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001224 <pre>Stops watching a creative. Will stop push notifications being sent to the
1225topics when the creative changes status.
1226
1227Args:
1228 accountId: string, The account of the creative to stop notifications for. (required)
1229 creativeId: string, The creative ID of the creative to stop notifications for.
Bu Sun Kim65020912020-05-20 12:08:20 -07001230Specify &quot;-&quot; to specify stopping account level notifications. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001231 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001232 The object takes the form of:
1233
1234{ # A request for stopping notifications for changes to creative Status.
1235 }
1236
1237 x__xgafv: string, V1 error format.
1238 Allowed values
1239 1 - v1 error format
1240 2 - v2 error format
1241
1242Returns:
1243 An object of the form:
1244
1245 { # A generic empty message that you can re-use to avoid defining duplicated
1246 # empty messages in your APIs. A typical example is to use it as the request
1247 # or the response type of an API method. For instance:
1248 #
1249 # service Foo {
1250 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1251 # }
1252 #
1253 # The JSON representation for `Empty` is empty JSON object `{}`.
1254 }</pre>
1255</div>
1256
1257<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001258 <code class="details" id="update">update(accountId, creativeId, body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001259 <pre>Updates a creative.
1260
1261Args:
1262 accountId: string, The account that this creative belongs to.
1263Can be used to filter the response of the
1264creatives.list
1265method. (required)
1266 creativeId: string, The buyer-defined creative ID of this creative.
1267Can be used to filter the response of the
1268creatives.list
1269method. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001270 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001271 The object takes the form of:
1272
1273{ # A creative and its classification data.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001274 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1275 &quot;A String&quot;,
1276 ],
1277 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
1278 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
1279 { # Output only. Shows any corrections that were applied to this creative.
1280 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
1281 &quot;details&quot;: [ # Additional details about what was corrected.
1282 &quot;A String&quot;,
1283 ],
1284 &quot;contexts&quot;: [ # The contexts for the correction.
1285 { # The serving context for this restriction.
1286 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1287 &quot;securities&quot;: [ # The security types in this context.
1288 &quot;A String&quot;,
1289 ],
1290 },
1291 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1292 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1293 &quot;A String&quot;,
1294 ],
1295 },
1296 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1297 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1298 &quot;A String&quot;,
1299 ],
1300 },
1301 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1302 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1303 &quot;A String&quot;,
1304 ],
1305 },
1306 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1307 # location.
1308 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1309 # Please refer to the
1310 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1311 # file for different geo criteria IDs.
1312 42,
1313 ],
1314 },
1315 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1316 },
1317 ],
1318 },
1319 ],
1320 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
1321 &quot;A String&quot;,
1322 ],
1323 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
1324 # See the ad-sensitive-categories.txt file in the technical documentation for
1325 # a list of IDs. You should use these IDs along with the
1326 # excluded-sensitive-category field in the bid request to filter your bids.
1327 42,
1328 ],
1329 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
1330 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
1331 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
1332 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
1333 &quot;A String&quot;,
1334 ],
1335 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
1336 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
1337 # for possible values.
1338 42,
1339 ],
1340 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
1341 # See the ad-product-categories.txt file in the technical documentation
1342 # for a list of IDs.
1343 42,
1344 ],
1345 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
1346 &quot;A String&quot;,
1347 ],
1348 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
1349 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
1350 # serving_restrictions will also exist. Note
1351 # that this may be nuanced with other contextual restrictions, in which case,
1352 # it may be preferable to read from serving_restrictions directly.
1353 # Can be used to filter the response of the
1354 # creatives.list
1355 # method.
1356 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
1357 &quot;A String&quot;,
1358 ],
1359 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
1360 # arbitrary. The codes are 2 or 5 characters and are documented at
1361 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
1362 &quot;A String&quot;,
1363 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001364 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
1365 # Can be used to filter the response of the
1366 # creatives.list
1367 # method.
1368 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001369 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001370 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
1371 # Can be used to filter the response of the
1372 # creatives.list
1373 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001374 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
1375 # A context here relates to where something ultimately serves (for example,
1376 # a physical location, a platform, an HTTPS vs HTTP request, or the type
1377 # of auction).
1378 { # Output only. A representation of the status of an ad in a
1379 # specific context. A context here relates to where something ultimately serves
1380 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
1381 # or the type of auction).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001382 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
1383 # explicitly disapproved or is pending review).
Bu Sun Kim65020912020-05-20 12:08:20 -07001384 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
1385 # Only present if status=DISAPPROVED.
1386 # Can be used to filter the response of the
1387 # creatives.list
1388 # method.
1389 # Deprecated; please use
1390 # disapproval
1391 # field instead.
1392 { # Output only. The reason and details for a disapproval.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001393 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -07001394 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1395 &quot;A String&quot;,
1396 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001397 },
1398 ],
1399 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
1400 # Only present if status=DISAPPROVED.
1401 # Can be used to filter the response of the
1402 # creatives.list
1403 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001404 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -07001405 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1406 &quot;A String&quot;,
1407 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001408 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001409 &quot;contexts&quot;: [ # The contexts for the restriction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001410 { # The serving context for this restriction.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001411 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1412 &quot;securities&quot;: [ # The security types in this context.
Bu Sun Kim65020912020-05-20 12:08:20 -07001413 &quot;A String&quot;,
1414 ],
1415 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001416 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1417 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1418 &quot;A String&quot;,
1419 ],
1420 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001421 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1422 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
Bu Sun Kim65020912020-05-20 12:08:20 -07001423 &quot;A String&quot;,
1424 ],
1425 },
1426 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1427 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1428 &quot;A String&quot;,
1429 ],
1430 },
1431 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1432 # location.
1433 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1434 # Please refer to the
1435 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1436 # file for different geo criteria IDs.
1437 42,
1438 ],
1439 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001440 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kim65020912020-05-20 12:08:20 -07001441 },
1442 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001443 },
Dan O'Mearadd494642020-05-01 07:42:23 -07001444 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001445 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Bu Sun Kim65020912020-05-20 12:08:20 -07001446 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001447 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
1448 # mapping of provider ID to provided name, a privacy policy URL, and a list
1449 # of domains which can be attributed to the provider.
1450 #
1451 # If the creative contains provider IDs that are outside of those listed in
1452 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
1453 # field on the (Google bid
1454 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
1455 # and the
1456 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
1457 # field on the (OpenRTB
1458 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
1459 # and a bid is submitted with that creative for an impression that will
1460 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001461 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001462 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001463 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
1464 #
1465 # If true for a given creative, any bid submitted with that creative for an
1466 # impression that will serve to an EEA user will be filtered before the
1467 # auction.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001468 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001469 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001470 # Can be used to filter the response of the
1471 # creatives.list
1472 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001473 &quot;version&quot;: 42, # Output only. The version of this creative.
1474 &quot;video&quot;: { # Video content for a creative. # A video creative.
1475 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
1476 # This document should conform to the VAST 2.0 or 3.0 standard.
1477 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1478 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001479 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
1480 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001481 # serving_restrictions will also exist. Note
1482 # that this may be nuanced with other contextual restrictions, in which case,
1483 # it may be preferable to read from serving_restrictions directly.
1484 # Can be used to filter the response of the
1485 # creatives.list
1486 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001487 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1488 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1489 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1490 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1491 },
1492 &quot;native&quot;: { # Native content for a creative. # A native creative.
1493 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1494 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
1495 # so long as the aspect ratio is preserved.
1496 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1497 &quot;width&quot;: 42, # Image width in pixels.
1498 &quot;height&quot;: 42, # Image height in pixels.
1499 },
1500 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1501 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1502 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1503 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1504 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1505 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1506 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
1507 # so long as the aspect ratio is preserved.
1508 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1509 &quot;width&quot;: 42, # Image width in pixels.
1510 &quot;height&quot;: 42, # Image height in pixels.
1511 },
1512 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1513 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1514 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
1515 # so long as the aspect ratio is preserved.
1516 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1517 &quot;width&quot;: 42, # Image width in pixels.
1518 &quot;height&quot;: 42, # Image height in pixels.
1519 },
1520 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1521 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001522 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
1523 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001524 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001525}
1526
1527 x__xgafv: string, V1 error format.
1528 Allowed values
1529 1 - v1 error format
1530 2 - v2 error format
1531
1532Returns:
1533 An object of the form:
1534
1535 { # A creative and its classification data.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001536 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1537 &quot;A String&quot;,
1538 ],
1539 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
1540 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
1541 { # Output only. Shows any corrections that were applied to this creative.
1542 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
1543 &quot;details&quot;: [ # Additional details about what was corrected.
1544 &quot;A String&quot;,
1545 ],
1546 &quot;contexts&quot;: [ # The contexts for the correction.
1547 { # The serving context for this restriction.
1548 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1549 &quot;securities&quot;: [ # The security types in this context.
1550 &quot;A String&quot;,
1551 ],
1552 },
1553 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1554 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1555 &quot;A String&quot;,
1556 ],
1557 },
1558 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1559 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1560 &quot;A String&quot;,
1561 ],
1562 },
1563 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1564 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1565 &quot;A String&quot;,
1566 ],
1567 },
1568 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1569 # location.
1570 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1571 # Please refer to the
1572 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1573 # file for different geo criteria IDs.
1574 42,
1575 ],
1576 },
1577 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1578 },
1579 ],
1580 },
1581 ],
1582 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
1583 &quot;A String&quot;,
1584 ],
1585 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
1586 # See the ad-sensitive-categories.txt file in the technical documentation for
1587 # a list of IDs. You should use these IDs along with the
1588 # excluded-sensitive-category field in the bid request to filter your bids.
1589 42,
1590 ],
1591 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
1592 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
1593 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
1594 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
1595 &quot;A String&quot;,
1596 ],
1597 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
1598 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
1599 # for possible values.
1600 42,
1601 ],
1602 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
1603 # See the ad-product-categories.txt file in the technical documentation
1604 # for a list of IDs.
1605 42,
1606 ],
1607 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
1608 &quot;A String&quot;,
1609 ],
1610 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
1611 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
1612 # serving_restrictions will also exist. Note
1613 # that this may be nuanced with other contextual restrictions, in which case,
1614 # it may be preferable to read from serving_restrictions directly.
1615 # Can be used to filter the response of the
1616 # creatives.list
1617 # method.
1618 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
1619 &quot;A String&quot;,
1620 ],
1621 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
1622 # arbitrary. The codes are 2 or 5 characters and are documented at
1623 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
1624 &quot;A String&quot;,
1625 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001626 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
1627 # Can be used to filter the response of the
1628 # creatives.list
1629 # method.
1630 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001631 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001632 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
1633 # Can be used to filter the response of the
1634 # creatives.list
1635 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001636 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
1637 # A context here relates to where something ultimately serves (for example,
1638 # a physical location, a platform, an HTTPS vs HTTP request, or the type
1639 # of auction).
1640 { # Output only. A representation of the status of an ad in a
1641 # specific context. A context here relates to where something ultimately serves
1642 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
1643 # or the type of auction).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001644 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
1645 # explicitly disapproved or is pending review).
Bu Sun Kim65020912020-05-20 12:08:20 -07001646 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
1647 # Only present if status=DISAPPROVED.
1648 # Can be used to filter the response of the
1649 # creatives.list
1650 # method.
1651 # Deprecated; please use
1652 # disapproval
1653 # field instead.
1654 { # Output only. The reason and details for a disapproval.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001655 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -07001656 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1657 &quot;A String&quot;,
1658 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001659 },
1660 ],
1661 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
1662 # Only present if status=DISAPPROVED.
1663 # Can be used to filter the response of the
1664 # creatives.list
1665 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001666 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Bu Sun Kim65020912020-05-20 12:08:20 -07001667 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1668 &quot;A String&quot;,
1669 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001670 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001671 &quot;contexts&quot;: [ # The contexts for the restriction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001672 { # The serving context for this restriction.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001673 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1674 &quot;securities&quot;: [ # The security types in this context.
Bu Sun Kim65020912020-05-20 12:08:20 -07001675 &quot;A String&quot;,
1676 ],
1677 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001678 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1679 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1680 &quot;A String&quot;,
1681 ],
1682 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001683 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1684 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
Bu Sun Kim65020912020-05-20 12:08:20 -07001685 &quot;A String&quot;,
1686 ],
1687 },
1688 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1689 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1690 &quot;A String&quot;,
1691 ],
1692 },
1693 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1694 # location.
1695 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1696 # Please refer to the
1697 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1698 # file for different geo criteria IDs.
1699 42,
1700 ],
1701 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001702 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kim65020912020-05-20 12:08:20 -07001703 },
1704 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001705 },
Dan O'Mearadd494642020-05-01 07:42:23 -07001706 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001707 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Bu Sun Kim65020912020-05-20 12:08:20 -07001708 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001709 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
1710 # mapping of provider ID to provided name, a privacy policy URL, and a list
1711 # of domains which can be attributed to the provider.
1712 #
1713 # If the creative contains provider IDs that are outside of those listed in
1714 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
1715 # field on the (Google bid
1716 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
1717 # and the
1718 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
1719 # field on the (OpenRTB
1720 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
1721 # and a bid is submitted with that creative for an impression that will
1722 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001723 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001724 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001725 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
1726 #
1727 # If true for a given creative, any bid submitted with that creative for an
1728 # impression that will serve to an EEA user will be filtered before the
1729 # auction.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001730 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001731 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001732 # Can be used to filter the response of the
1733 # creatives.list
1734 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001735 &quot;version&quot;: 42, # Output only. The version of this creative.
1736 &quot;video&quot;: { # Video content for a creative. # A video creative.
1737 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
1738 # This document should conform to the VAST 2.0 or 3.0 standard.
1739 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1740 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001741 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
1742 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001743 # serving_restrictions will also exist. Note
1744 # that this may be nuanced with other contextual restrictions, in which case,
1745 # it may be preferable to read from serving_restrictions directly.
1746 # Can be used to filter the response of the
1747 # creatives.list
1748 # method.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001749 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1750 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1751 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1752 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1753 },
1754 &quot;native&quot;: { # Native content for a creative. # A native creative.
1755 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1756 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
1757 # so long as the aspect ratio is preserved.
1758 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1759 &quot;width&quot;: 42, # Image width in pixels.
1760 &quot;height&quot;: 42, # Image height in pixels.
1761 },
1762 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1763 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1764 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1765 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1766 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1767 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1768 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
1769 # so long as the aspect ratio is preserved.
1770 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1771 &quot;width&quot;: 42, # Image width in pixels.
1772 &quot;height&quot;: 42, # Image height in pixels.
1773 },
1774 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1775 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1776 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
1777 # so long as the aspect ratio is preserved.
1778 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1779 &quot;width&quot;: 42, # Image width in pixels.
1780 &quot;height&quot;: 42, # Image height in pixels.
1781 },
1782 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1783 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001784 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
1785 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001786 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001787 }</pre>
1788</div>
1789
1790<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001791 <code class="details" id="watch">watch(accountId, creativeId, body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001792 <pre>Watches a creative. Will result in push notifications being sent to the
1793topic when the creative changes status.
1794
1795Args:
1796 accountId: string, The account of the creative to watch. (required)
1797 creativeId: string, The creative ID to watch for status changes.
Bu Sun Kim65020912020-05-20 12:08:20 -07001798Specify &quot;-&quot; to watch all creatives under the above account.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001799If both creative-level and account-level notifications are
1800sent, only a single notification will be sent to the
1801creative-level notification topic. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001802 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001803 The object takes the form of:
1804
1805{ # A request for watching changes to creative Status.
Bu Sun Kim65020912020-05-20 12:08:20 -07001806 &quot;topic&quot;: &quot;A String&quot;, # The Pub/Sub topic to publish notifications to.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001807 # This topic must already exist and must give permission to
1808 # ad-exchange-buyside-reports@google.com to write to the topic.
1809 # This should be the full resource name in
Bu Sun Kim65020912020-05-20 12:08:20 -07001810 # &quot;projects/{project_id}/topics/{topic_id}&quot; format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001811 }
1812
1813 x__xgafv: string, V1 error format.
1814 Allowed values
1815 1 - v1 error format
1816 2 - v2 error format
1817
1818Returns:
1819 An object of the form:
1820
1821 { # A generic empty message that you can re-use to avoid defining duplicated
1822 # empty messages in your APIs. A typical example is to use it as the request
1823 # or the response type of an API method. For instance:
1824 #
1825 # service Foo {
1826 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1827 # }
1828 #
1829 # The JSON representation for `Empty` is empty JSON object `{}`.
1830 }</pre>
1831</div>
1832
1833</body></html>