1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="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">
83  <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
86  <code><a href="#create">create(accountId, body=None, duplicateIdMode=None, x__xgafv=None)</a></code></p>
87<p class="firstline">Creates a creative.</p>
88<p class="toc_element">
89  <code><a href="#get">get(accountId, creativeId, x__xgafv=None)</a></code></p>
90<p class="firstline">Gets a creative.</p>
91<p class="toc_element">
92  <code><a href="#list">list(accountId, pageSize=None, pageToken=None, query=None, x__xgafv=None)</a></code></p>
93<p class="firstline">Lists creatives.</p>
94<p class="toc_element">
95  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
96<p class="firstline">Retrieves the next page of results.</p>
97<p class="toc_element">
98  <code><a href="#stopWatching">stopWatching(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
99<p class="firstline">Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.</p>
100<p class="toc_element">
101  <code><a href="#update">update(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
102<p class="firstline">Updates a creative.</p>
103<p class="toc_element">
104  <code><a href="#watch">watch(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
105<p class="firstline">Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.</p>
106<h3>Method Details</h3>
107<div class="method">
108    <code class="details" id="close">close()</code>
109  <pre>Close httplib2 connections.</pre>
110</div>
111
112<div class="method">
113    <code class="details" id="create">create(accountId, body=None, duplicateIdMode=None, x__xgafv=None)</code>
114  <pre>Creates a creative.
115
116Args:
117  accountId: string, The account that this creative belongs to. Can be used to filter the response of the creatives.list method. (required)
118  body: object, The request body.
119    The object takes the form of:
120
121{ # A creative and its classification data.
122  &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
123  &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
124  &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
125    &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
126      &quot;A String&quot;,
127    ],
128    &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
129  },
130  &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
131  &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
132  &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
133  &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
134    &quot;A String&quot;,
135  ],
136  &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
137    &quot;A String&quot;,
138  ],
139  &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
140    { # Output only. Shows any corrections that were applied to this creative.
141      &quot;contexts&quot;: [ # The contexts for the correction.
142        { # The serving context for this restriction.
143          &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
144          &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
145            &quot;appTypes&quot;: [ # The app types this restriction applies to.
146              &quot;A String&quot;,
147            ],
148          },
149          &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
150            &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
151              &quot;A String&quot;,
152            ],
153          },
154          &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
155            &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
156              42,
157            ],
158          },
159          &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
160            &quot;platforms&quot;: [ # The platforms this restriction applies to.
161              &quot;A String&quot;,
162            ],
163          },
164          &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
165            &quot;securities&quot;: [ # The security types in this context.
166              &quot;A String&quot;,
167            ],
168          },
169        },
170      ],
171      &quot;details&quot;: [ # Additional details about what was corrected.
172        &quot;A String&quot;,
173      ],
174      &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
175    },
176  ],
177  &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
178  &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
179  &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
180    &quot;A String&quot;,
181  ],
182  &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
183    &quot;A String&quot;,
184  ],
185  &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
186    &quot;A String&quot;,
187  ],
188  &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
189    &quot;A String&quot;,
190  ],
191  &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
192    42,
193  ],
194  &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
195    42,
196  ],
197  &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
198    &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
199    &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
200    &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
201  },
202  &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
203    &quot;A String&quot;,
204  ],
205  &quot;native&quot;: { # Native content for a creative. # A native creative.
206    &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
207    &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
208      &quot;height&quot;: 42, # Image height in pixels.
209      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
210      &quot;width&quot;: 42, # Image width in pixels.
211    },
212    &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
213    &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
214    &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
215    &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
216    &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
217    &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
218      &quot;height&quot;: 42, # Image height in pixels.
219      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
220      &quot;width&quot;: 42, # Image width in pixels.
221    },
222    &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
223      &quot;height&quot;: 42, # Image height in pixels.
224      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
225      &quot;width&quot;: 42, # Image width in pixels.
226    },
227    &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
228    &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
229    &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
230    &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
231  },
232  &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
233  &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
234    &quot;A String&quot;,
235  ],
236  &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
237    { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
238      &quot;contexts&quot;: [ # The contexts for the restriction.
239        { # The serving context for this restriction.
240          &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
241          &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
242            &quot;appTypes&quot;: [ # The app types this restriction applies to.
243              &quot;A String&quot;,
244            ],
245          },
246          &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
247            &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
248              &quot;A String&quot;,
249            ],
250          },
251          &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
252            &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
253              42,
254            ],
255          },
256          &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
257            &quot;platforms&quot;: [ # The platforms this restriction applies to.
258              &quot;A String&quot;,
259            ],
260          },
261          &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
262            &quot;securities&quot;: [ # The security types in this context.
263              &quot;A String&quot;,
264            ],
265          },
266        },
267      ],
268      &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
269        &quot;details&quot;: [ # Additional details about the reason for disapproval.
270          &quot;A String&quot;,
271        ],
272        &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
273      },
274      &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
275        { # Output only. The reason and details for a disapproval.
276          &quot;details&quot;: [ # Additional details about the reason for disapproval.
277            &quot;A String&quot;,
278          ],
279          &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
280        },
281      ],
282      &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
283    },
284  ],
285  &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
286    42,
287  ],
288  &quot;version&quot;: 42, # Output only. The version of this creative.
289  &quot;video&quot;: { # Video content for a creative. # A video creative.
290    &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
291    &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
292  },
293}
294
295  duplicateIdMode: string, Indicates if multiple creatives can share an ID or not. Default is NO_DUPLICATES (one ID per creative).
296    Allowed values
297      NO_DUPLICATES - Recommended. This means that an ID will be unique to a single creative. Multiple creatives will not share an ID.
298      FORCE_ENABLE_DUPLICATE_IDS - Not recommended. Using this option will allow multiple creatives to share the same ID. Get and Update requests will not be possible for any ID that has more than one creative associated. (List will still function.) This is only intended for backwards compatibility in cases where a single ID is already shared by multiple creatives from previous APIs.
299  x__xgafv: string, V1 error format.
300    Allowed values
301      1 - v1 error format
302      2 - v2 error format
303
304Returns:
305  An object of the form:
306
307    { # A creative and its classification data.
308  &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
309  &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
310  &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
311    &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
312      &quot;A String&quot;,
313    ],
314    &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
315  },
316  &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
317  &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
318  &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
319  &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
320    &quot;A String&quot;,
321  ],
322  &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
323    &quot;A String&quot;,
324  ],
325  &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
326    { # Output only. Shows any corrections that were applied to this creative.
327      &quot;contexts&quot;: [ # The contexts for the correction.
328        { # The serving context for this restriction.
329          &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
330          &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
331            &quot;appTypes&quot;: [ # The app types this restriction applies to.
332              &quot;A String&quot;,
333            ],
334          },
335          &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
336            &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
337              &quot;A String&quot;,
338            ],
339          },
340          &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
341            &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
342              42,
343            ],
344          },
345          &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
346            &quot;platforms&quot;: [ # The platforms this restriction applies to.
347              &quot;A String&quot;,
348            ],
349          },
350          &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
351            &quot;securities&quot;: [ # The security types in this context.
352              &quot;A String&quot;,
353            ],
354          },
355        },
356      ],
357      &quot;details&quot;: [ # Additional details about what was corrected.
358        &quot;A String&quot;,
359      ],
360      &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
361    },
362  ],
363  &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
364  &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
365  &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
366    &quot;A String&quot;,
367  ],
368  &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
369    &quot;A String&quot;,
370  ],
371  &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
372    &quot;A String&quot;,
373  ],
374  &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
375    &quot;A String&quot;,
376  ],
377  &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
378    42,
379  ],
380  &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
381    42,
382  ],
383  &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
384    &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
385    &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
386    &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
387  },
388  &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
389    &quot;A String&quot;,
390  ],
391  &quot;native&quot;: { # Native content for a creative. # A native creative.
392    &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
393    &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
394      &quot;height&quot;: 42, # Image height in pixels.
395      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
396      &quot;width&quot;: 42, # Image width in pixels.
397    },
398    &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
399    &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
400    &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
401    &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
402    &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
403    &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
404      &quot;height&quot;: 42, # Image height in pixels.
405      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
406      &quot;width&quot;: 42, # Image width in pixels.
407    },
408    &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
409      &quot;height&quot;: 42, # Image height in pixels.
410      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
411      &quot;width&quot;: 42, # Image width in pixels.
412    },
413    &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
414    &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
415    &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
416    &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
417  },
418  &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
419  &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
420    &quot;A String&quot;,
421  ],
422  &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
423    { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
424      &quot;contexts&quot;: [ # The contexts for the restriction.
425        { # The serving context for this restriction.
426          &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
427          &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
428            &quot;appTypes&quot;: [ # The app types this restriction applies to.
429              &quot;A String&quot;,
430            ],
431          },
432          &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
433            &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
434              &quot;A String&quot;,
435            ],
436          },
437          &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
438            &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
439              42,
440            ],
441          },
442          &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
443            &quot;platforms&quot;: [ # The platforms this restriction applies to.
444              &quot;A String&quot;,
445            ],
446          },
447          &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
448            &quot;securities&quot;: [ # The security types in this context.
449              &quot;A String&quot;,
450            ],
451          },
452        },
453      ],
454      &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
455        &quot;details&quot;: [ # Additional details about the reason for disapproval.
456          &quot;A String&quot;,
457        ],
458        &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
459      },
460      &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
461        { # Output only. The reason and details for a disapproval.
462          &quot;details&quot;: [ # Additional details about the reason for disapproval.
463            &quot;A String&quot;,
464          ],
465          &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
466        },
467      ],
468      &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
469    },
470  ],
471  &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
472    42,
473  ],
474  &quot;version&quot;: 42, # Output only. The version of this creative.
475  &quot;video&quot;: { # Video content for a creative. # A video creative.
476    &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
477    &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
478  },
479}</pre>
480</div>
481
482<div class="method">
483    <code class="details" id="get">get(accountId, creativeId, x__xgafv=None)</code>
484  <pre>Gets a creative.
485
486Args:
487  accountId: string, The account the creative belongs to. (required)
488  creativeId: string, The ID of the creative to retrieve. (required)
489  x__xgafv: string, V1 error format.
490    Allowed values
491      1 - v1 error format
492      2 - v2 error format
493
494Returns:
495  An object of the form:
496
497    { # A creative and its classification data.
498  &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
499  &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
500  &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
501    &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
502      &quot;A String&quot;,
503    ],
504    &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
505  },
506  &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
507  &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
508  &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
509  &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
510    &quot;A String&quot;,
511  ],
512  &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
513    &quot;A String&quot;,
514  ],
515  &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
516    { # Output only. Shows any corrections that were applied to this creative.
517      &quot;contexts&quot;: [ # The contexts for the correction.
518        { # The serving context for this restriction.
519          &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
520          &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
521            &quot;appTypes&quot;: [ # The app types this restriction applies to.
522              &quot;A String&quot;,
523            ],
524          },
525          &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
526            &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
527              &quot;A String&quot;,
528            ],
529          },
530          &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
531            &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
532              42,
533            ],
534          },
535          &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
536            &quot;platforms&quot;: [ # The platforms this restriction applies to.
537              &quot;A String&quot;,
538            ],
539          },
540          &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
541            &quot;securities&quot;: [ # The security types in this context.
542              &quot;A String&quot;,
543            ],
544          },
545        },
546      ],
547      &quot;details&quot;: [ # Additional details about what was corrected.
548        &quot;A String&quot;,
549      ],
550      &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
551    },
552  ],
553  &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
554  &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
555  &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
556    &quot;A String&quot;,
557  ],
558  &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
559    &quot;A String&quot;,
560  ],
561  &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
562    &quot;A String&quot;,
563  ],
564  &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
565    &quot;A String&quot;,
566  ],
567  &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
568    42,
569  ],
570  &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
571    42,
572  ],
573  &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
574    &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
575    &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
576    &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
577  },
578  &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
579    &quot;A String&quot;,
580  ],
581  &quot;native&quot;: { # Native content for a creative. # A native creative.
582    &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
583    &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
584      &quot;height&quot;: 42, # Image height in pixels.
585      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
586      &quot;width&quot;: 42, # Image width in pixels.
587    },
588    &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
589    &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
590    &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
591    &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
592    &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
593    &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
594      &quot;height&quot;: 42, # Image height in pixels.
595      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
596      &quot;width&quot;: 42, # Image width in pixels.
597    },
598    &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
599      &quot;height&quot;: 42, # Image height in pixels.
600      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
601      &quot;width&quot;: 42, # Image width in pixels.
602    },
603    &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
604    &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
605    &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
606    &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
607  },
608  &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
609  &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
610    &quot;A String&quot;,
611  ],
612  &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
613    { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
614      &quot;contexts&quot;: [ # The contexts for the restriction.
615        { # The serving context for this restriction.
616          &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
617          &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
618            &quot;appTypes&quot;: [ # The app types this restriction applies to.
619              &quot;A String&quot;,
620            ],
621          },
622          &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
623            &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
624              &quot;A String&quot;,
625            ],
626          },
627          &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
628            &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
629              42,
630            ],
631          },
632          &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
633            &quot;platforms&quot;: [ # The platforms this restriction applies to.
634              &quot;A String&quot;,
635            ],
636          },
637          &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
638            &quot;securities&quot;: [ # The security types in this context.
639              &quot;A String&quot;,
640            ],
641          },
642        },
643      ],
644      &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
645        &quot;details&quot;: [ # Additional details about the reason for disapproval.
646          &quot;A String&quot;,
647        ],
648        &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
649      },
650      &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
651        { # Output only. The reason and details for a disapproval.
652          &quot;details&quot;: [ # Additional details about the reason for disapproval.
653            &quot;A String&quot;,
654          ],
655          &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
656        },
657      ],
658      &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
659    },
660  ],
661  &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
662    42,
663  ],
664  &quot;version&quot;: 42, # Output only. The version of this creative.
665  &quot;video&quot;: { # Video content for a creative. # A video creative.
666    &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
667    &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
668  },
669}</pre>
670</div>
671
672<div class="method">
673    <code class="details" id="list">list(accountId, pageSize=None, pageToken=None, query=None, x__xgafv=None)</code>
674  <pre>Lists creatives.
675
676Args:
677  accountId: string, The account to list the creatives from. Specify &quot;-&quot; to list all creatives the current user has access to. (required)
678  pageSize: integer, Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.
679  pageToken: string, A token identifying a page of results the server should return. Typically, this is the value of ListCreativesResponse.next_page_token returned from the previous call to &#x27;ListCreatives&#x27; method.
680  query: string, An optional query string to filter creatives. If no filter is specified, all active creatives will be returned. Supported queries are: - accountId=*account_id_string* - creativeId=*creative_id_string* - dealsStatus: {approved, conditionally_approved, disapproved, not_checked} - openAuctionStatus: {approved, conditionally_approved, disapproved, not_checked} - attribute: {a numeric attribute from the list of attributes} - disapprovalReason: {a reason from DisapprovalReason} Example: &#x27;accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:unacceptable_content) OR attribute:47&#x27;
681  x__xgafv: string, V1 error format.
682    Allowed values
683      1 - v1 error format
684      2 - v2 error format
685
686Returns:
687  An object of the form:
688
689    { # A response for listing creatives.
690  &quot;creatives&quot;: [ # The list of creatives.
691    { # A creative and its classification data.
692      &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
693      &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
694      &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
695        &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
696          &quot;A String&quot;,
697        ],
698        &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
699      },
700      &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
701      &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
702      &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
703      &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
704        &quot;A String&quot;,
705      ],
706      &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
707        &quot;A String&quot;,
708      ],
709      &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
710        { # Output only. Shows any corrections that were applied to this creative.
711          &quot;contexts&quot;: [ # The contexts for the correction.
712            { # The serving context for this restriction.
713              &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
714              &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
715                &quot;appTypes&quot;: [ # The app types this restriction applies to.
716                  &quot;A String&quot;,
717                ],
718              },
719              &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
720                &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
721                  &quot;A String&quot;,
722                ],
723              },
724              &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
725                &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
726                  42,
727                ],
728              },
729              &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
730                &quot;platforms&quot;: [ # The platforms this restriction applies to.
731                  &quot;A String&quot;,
732                ],
733              },
734              &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
735                &quot;securities&quot;: [ # The security types in this context.
736                  &quot;A String&quot;,
737                ],
738              },
739            },
740          ],
741          &quot;details&quot;: [ # Additional details about what was corrected.
742            &quot;A String&quot;,
743          ],
744          &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
745        },
746      ],
747      &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
748      &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
749      &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
750        &quot;A String&quot;,
751      ],
752      &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
753        &quot;A String&quot;,
754      ],
755      &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
756        &quot;A String&quot;,
757      ],
758      &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
759        &quot;A String&quot;,
760      ],
761      &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
762        42,
763      ],
764      &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
765        42,
766      ],
767      &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
768        &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
769        &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
770        &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
771      },
772      &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
773        &quot;A String&quot;,
774      ],
775      &quot;native&quot;: { # Native content for a creative. # A native creative.
776        &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
777        &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
778          &quot;height&quot;: 42, # Image height in pixels.
779          &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
780          &quot;width&quot;: 42, # Image width in pixels.
781        },
782        &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
783        &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
784        &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
785        &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
786        &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
787        &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
788          &quot;height&quot;: 42, # Image height in pixels.
789          &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
790          &quot;width&quot;: 42, # Image width in pixels.
791        },
792        &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
793          &quot;height&quot;: 42, # Image height in pixels.
794          &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
795          &quot;width&quot;: 42, # Image width in pixels.
796        },
797        &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
798        &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
799        &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
800        &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
801      },
802      &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
803      &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
804        &quot;A String&quot;,
805      ],
806      &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
807        { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
808          &quot;contexts&quot;: [ # The contexts for the restriction.
809            { # The serving context for this restriction.
810              &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
811              &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
812                &quot;appTypes&quot;: [ # The app types this restriction applies to.
813                  &quot;A String&quot;,
814                ],
815              },
816              &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
817                &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
818                  &quot;A String&quot;,
819                ],
820              },
821              &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
822                &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
823                  42,
824                ],
825              },
826              &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
827                &quot;platforms&quot;: [ # The platforms this restriction applies to.
828                  &quot;A String&quot;,
829                ],
830              },
831              &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
832                &quot;securities&quot;: [ # The security types in this context.
833                  &quot;A String&quot;,
834                ],
835              },
836            },
837          ],
838          &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
839            &quot;details&quot;: [ # Additional details about the reason for disapproval.
840              &quot;A String&quot;,
841            ],
842            &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
843          },
844          &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
845            { # Output only. The reason and details for a disapproval.
846              &quot;details&quot;: [ # Additional details about the reason for disapproval.
847                &quot;A String&quot;,
848              ],
849              &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
850            },
851          ],
852          &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
853        },
854      ],
855      &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
856        42,
857      ],
858      &quot;version&quot;: 42, # Output only. The version of this creative.
859      &quot;video&quot;: { # Video content for a creative. # A video creative.
860        &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
861        &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
862      },
863    },
864  ],
865  &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results. Pass this value in the ListCreativesRequest.page_token field in the subsequent call to `ListCreatives` method to retrieve the next page of results.
866}</pre>
867</div>
868
869<div class="method">
870    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
871  <pre>Retrieves the next page of results.
872
873Args:
874  previous_request: The request for the previous page. (required)
875  previous_response: The response from the request for the previous page. (required)
876
877Returns:
878  A request object that you can call &#x27;execute()&#x27; on to request the next
879  page. Returns None if there are no more items in the collection.
880    </pre>
881</div>
882
883<div class="method">
884    <code class="details" id="stopWatching">stopWatching(accountId, creativeId, body=None, x__xgafv=None)</code>
885  <pre>Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.
886
887Args:
888  accountId: string, The account of the creative to stop notifications for. (required)
889  creativeId: string, The creative ID of the creative to stop notifications for. Specify &quot;-&quot; to specify stopping account level notifications. (required)
890  body: object, The request body.
891    The object takes the form of:
892
893{ # A request for stopping notifications for changes to creative Status.
894}
895
896  x__xgafv: string, V1 error format.
897    Allowed values
898      1 - v1 error format
899      2 - v2 error format
900
901Returns:
902  An object of the form:
903
904    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
905}</pre>
906</div>
907
908<div class="method">
909    <code class="details" id="update">update(accountId, creativeId, body=None, x__xgafv=None)</code>
910  <pre>Updates a creative.
911
912Args:
913  accountId: string, The account that this creative belongs to. Can be used to filter the response of the creatives.list method. (required)
914  creativeId: string, The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method. (required)
915  body: object, The request body.
916    The object takes the form of:
917
918{ # A creative and its classification data.
919  &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
920  &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
921  &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
922    &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
923      &quot;A String&quot;,
924    ],
925    &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
926  },
927  &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
928  &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
929  &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
930  &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
931    &quot;A String&quot;,
932  ],
933  &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
934    &quot;A String&quot;,
935  ],
936  &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
937    { # Output only. Shows any corrections that were applied to this creative.
938      &quot;contexts&quot;: [ # The contexts for the correction.
939        { # The serving context for this restriction.
940          &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
941          &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
942            &quot;appTypes&quot;: [ # The app types this restriction applies to.
943              &quot;A String&quot;,
944            ],
945          },
946          &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
947            &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
948              &quot;A String&quot;,
949            ],
950          },
951          &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
952            &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
953              42,
954            ],
955          },
956          &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
957            &quot;platforms&quot;: [ # The platforms this restriction applies to.
958              &quot;A String&quot;,
959            ],
960          },
961          &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
962            &quot;securities&quot;: [ # The security types in this context.
963              &quot;A String&quot;,
964            ],
965          },
966        },
967      ],
968      &quot;details&quot;: [ # Additional details about what was corrected.
969        &quot;A String&quot;,
970      ],
971      &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
972    },
973  ],
974  &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
975  &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
976  &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
977    &quot;A String&quot;,
978  ],
979  &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
980    &quot;A String&quot;,
981  ],
982  &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
983    &quot;A String&quot;,
984  ],
985  &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
986    &quot;A String&quot;,
987  ],
988  &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
989    42,
990  ],
991  &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
992    42,
993  ],
994  &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
995    &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
996    &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
997    &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
998  },
999  &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1000    &quot;A String&quot;,
1001  ],
1002  &quot;native&quot;: { # Native content for a creative. # A native creative.
1003    &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1004    &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
1005      &quot;height&quot;: 42, # Image height in pixels.
1006      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1007      &quot;width&quot;: 42, # Image width in pixels.
1008    },
1009    &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1010    &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1011    &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1012    &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1013    &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1014    &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
1015      &quot;height&quot;: 42, # Image height in pixels.
1016      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1017      &quot;width&quot;: 42, # Image width in pixels.
1018    },
1019    &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
1020      &quot;height&quot;: 42, # Image height in pixels.
1021      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1022      &quot;width&quot;: 42, # Image width in pixels.
1023    },
1024    &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1025    &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1026    &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1027    &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1028  },
1029  &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
1030  &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
1031    &quot;A String&quot;,
1032  ],
1033  &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
1034    { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
1035      &quot;contexts&quot;: [ # The contexts for the restriction.
1036        { # The serving context for this restriction.
1037          &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1038          &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1039            &quot;appTypes&quot;: [ # The app types this restriction applies to.
1040              &quot;A String&quot;,
1041            ],
1042          },
1043          &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1044            &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1045              &quot;A String&quot;,
1046            ],
1047          },
1048          &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
1049            &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
1050              42,
1051            ],
1052          },
1053          &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1054            &quot;platforms&quot;: [ # The platforms this restriction applies to.
1055              &quot;A String&quot;,
1056            ],
1057          },
1058          &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1059            &quot;securities&quot;: [ # The security types in this context.
1060              &quot;A String&quot;,
1061            ],
1062          },
1063        },
1064      ],
1065      &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
1066        &quot;details&quot;: [ # Additional details about the reason for disapproval.
1067          &quot;A String&quot;,
1068        ],
1069        &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1070      },
1071      &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
1072        { # Output only. The reason and details for a disapproval.
1073          &quot;details&quot;: [ # Additional details about the reason for disapproval.
1074            &quot;A String&quot;,
1075          ],
1076          &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1077        },
1078      ],
1079      &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
1080    },
1081  ],
1082  &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
1083    42,
1084  ],
1085  &quot;version&quot;: 42, # Output only. The version of this creative.
1086  &quot;video&quot;: { # Video content for a creative. # A video creative.
1087    &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1088    &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
1089  },
1090}
1091
1092  x__xgafv: string, V1 error format.
1093    Allowed values
1094      1 - v1 error format
1095      2 - v2 error format
1096
1097Returns:
1098  An object of the form:
1099
1100    { # A creative and its classification data.
1101  &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
1102  &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
1103  &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
1104    &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
1105      &quot;A String&quot;,
1106    ],
1107    &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
1108  },
1109  &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
1110  &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
1111  &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
1112  &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
1113    &quot;A String&quot;,
1114  ],
1115  &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
1116    &quot;A String&quot;,
1117  ],
1118  &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
1119    { # Output only. Shows any corrections that were applied to this creative.
1120      &quot;contexts&quot;: [ # The contexts for the correction.
1121        { # The serving context for this restriction.
1122          &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1123          &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1124            &quot;appTypes&quot;: [ # The app types this restriction applies to.
1125              &quot;A String&quot;,
1126            ],
1127          },
1128          &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1129            &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1130              &quot;A String&quot;,
1131            ],
1132          },
1133          &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
1134            &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
1135              42,
1136            ],
1137          },
1138          &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1139            &quot;platforms&quot;: [ # The platforms this restriction applies to.
1140              &quot;A String&quot;,
1141            ],
1142          },
1143          &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1144            &quot;securities&quot;: [ # The security types in this context.
1145              &quot;A String&quot;,
1146            ],
1147          },
1148        },
1149      ],
1150      &quot;details&quot;: [ # Additional details about what was corrected.
1151        &quot;A String&quot;,
1152      ],
1153      &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
1154    },
1155  ],
1156  &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
1157  &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
1158  &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
1159    &quot;A String&quot;,
1160  ],
1161  &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
1162    &quot;A String&quot;,
1163  ],
1164  &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
1165    &quot;A String&quot;,
1166  ],
1167  &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
1168    &quot;A String&quot;,
1169  ],
1170  &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
1171    42,
1172  ],
1173  &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
1174    42,
1175  ],
1176  &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1177    &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1178    &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1179    &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1180  },
1181  &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1182    &quot;A String&quot;,
1183  ],
1184  &quot;native&quot;: { # Native content for a creative. # A native creative.
1185    &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1186    &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
1187      &quot;height&quot;: 42, # Image height in pixels.
1188      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1189      &quot;width&quot;: 42, # Image width in pixels.
1190    },
1191    &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1192    &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1193    &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1194    &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1195    &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1196    &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
1197      &quot;height&quot;: 42, # Image height in pixels.
1198      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1199      &quot;width&quot;: 42, # Image width in pixels.
1200    },
1201    &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
1202      &quot;height&quot;: 42, # Image height in pixels.
1203      &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1204      &quot;width&quot;: 42, # Image width in pixels.
1205    },
1206    &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1207    &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1208    &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1209    &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1210  },
1211  &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
1212  &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
1213    &quot;A String&quot;,
1214  ],
1215  &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
1216    { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
1217      &quot;contexts&quot;: [ # The contexts for the restriction.
1218        { # The serving context for this restriction.
1219          &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1220          &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1221            &quot;appTypes&quot;: [ # The app types this restriction applies to.
1222              &quot;A String&quot;,
1223            ],
1224          },
1225          &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1226            &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1227              &quot;A String&quot;,
1228            ],
1229          },
1230          &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
1231            &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
1232              42,
1233            ],
1234          },
1235          &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1236            &quot;platforms&quot;: [ # The platforms this restriction applies to.
1237              &quot;A String&quot;,
1238            ],
1239          },
1240          &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1241            &quot;securities&quot;: [ # The security types in this context.
1242              &quot;A String&quot;,
1243            ],
1244          },
1245        },
1246      ],
1247      &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
1248        &quot;details&quot;: [ # Additional details about the reason for disapproval.
1249          &quot;A String&quot;,
1250        ],
1251        &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1252      },
1253      &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
1254        { # Output only. The reason and details for a disapproval.
1255          &quot;details&quot;: [ # Additional details about the reason for disapproval.
1256            &quot;A String&quot;,
1257          ],
1258          &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1259        },
1260      ],
1261      &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
1262    },
1263  ],
1264  &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
1265    42,
1266  ],
1267  &quot;version&quot;: 42, # Output only. The version of this creative.
1268  &quot;video&quot;: { # Video content for a creative. # A video creative.
1269    &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1270    &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
1271  },
1272}</pre>
1273</div>
1274
1275<div class="method">
1276    <code class="details" id="watch">watch(accountId, creativeId, body=None, x__xgafv=None)</code>
1277  <pre>Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.
1278
1279Args:
1280  accountId: string, The account of the creative to watch. (required)
1281  creativeId: string, The creative ID to watch for status changes. Specify &quot;-&quot; to watch all creatives under the above account. If both creative-level and account-level notifications are sent, only a single notification will be sent to the creative-level notification topic. (required)
1282  body: object, The request body.
1283    The object takes the form of:
1284
1285{ # A request for watching changes to creative Status.
1286  &quot;topic&quot;: &quot;A String&quot;, # The Pub/Sub topic to publish notifications to. This topic must already exist and must give permission to [email protected] to write to the topic. This should be the full resource name in &quot;projects/{project_id}/topics/{topic_id}&quot; format.
1287}
1288
1289  x__xgafv: string, V1 error format.
1290    Allowed values
1291      1 - v1 error format
1292      2 - v2 error format
1293
1294Returns:
1295  An object of the form:
1296
1297    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
1298}</pre>
1299</div>
1300
1301</body></html>