blob: 7c6e9c6ba8cf17e592cd3c9b7486f7af9c45256c [file] [log] [blame]
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="adexchangebuyer2_v2beta1.html">Ad Exchange Buyer API II</a> . <a href="adexchangebuyer2_v2beta1.accounts.html">accounts</a> . <a href="adexchangebuyer2_v2beta1.accounts.creatives.html">creatives</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="adexchangebuyer2_v2beta1.accounts.creatives.dealAssociations.html">dealAssociations()</a></code>
79</p>
80<p class="firstline">Returns the dealAssociations Resource.</p>
81
82<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070083 <code><a href="#create">create(accountId, body=None, duplicateIdMode=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040084<p class="firstline">Creates a creative.</p>
85<p class="toc_element">
86 <code><a href="#get">get(accountId, creativeId, x__xgafv=None)</a></code></p>
87<p class="firstline">Gets a creative.</p>
88<p class="toc_element">
Bu Sun Kim65020912020-05-20 12:08:20 -070089 <code><a href="#list">list(accountId, pageToken=None, pageSize=None, query=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040090<p class="firstline">Lists creatives.</p>
91<p class="toc_element">
92 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
93<p class="firstline">Retrieves the next page of results.</p>
94<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095 <code><a href="#stopWatching">stopWatching(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040096<p class="firstline">Stops watching a creative. Will stop push notifications being sent to the</p>
97<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070098 <code><a href="#update">update(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040099<p class="firstline">Updates a creative.</p>
100<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700101 <code><a href="#watch">watch(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400102<p class="firstline">Watches a creative. Will result in push notifications being sent to the</p>
103<h3>Method Details</h3>
104<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700105 <code class="details" id="create">create(accountId, body=None, duplicateIdMode=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400106 <pre>Creates a creative.
107
108Args:
109 accountId: string, The account that this creative belongs to.
110Can be used to filter the response of the
111creatives.list
112method. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700113 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400114 The object takes the form of:
115
116{ # A creative and its classification data.
Bu Sun Kim65020912020-05-20 12:08:20 -0700117 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
118 # Can be used to filter the response of the
119 # creatives.list
120 # method.
121 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400122 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700123 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
124 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700125 # arbitrary. The codes are 2 or 5 characters and are documented at
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400126 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700127 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400128 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700129 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
130 # Can be used to filter the response of the
131 # creatives.list
132 # method.
133 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
134 # Can be used to filter the response of the
135 # creatives.list
136 # method.
137 &quot;native&quot;: { # Native content for a creative. # A native creative.
138 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
139 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
140 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
141 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
142 # so long as the aspect ratio is preserved.
143 &quot;height&quot;: 42, # Image height in pixels.
144 &quot;width&quot;: 42, # Image width in pixels.
145 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
146 },
147 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
148 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
149 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
150 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
151 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
152 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
153 # so long as the aspect ratio is preserved.
154 &quot;height&quot;: 42, # Image height in pixels.
155 &quot;width&quot;: 42, # Image width in pixels.
156 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
157 },
158 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
159 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
160 # so long as the aspect ratio is preserved.
161 &quot;height&quot;: 42, # Image height in pixels.
162 &quot;width&quot;: 42, # Image width in pixels.
163 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
164 },
165 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
166 },
167 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
168 # A context here relates to where something ultimately serves (for example,
169 # a physical location, a platform, an HTTPS vs HTTP request, or the type
170 # of auction).
171 { # Output only. A representation of the status of an ad in a
172 # specific context. A context here relates to where something ultimately serves
173 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
174 # or the type of auction).
175 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
176 # Only present if status=DISAPPROVED.
177 # Can be used to filter the response of the
178 # creatives.list
179 # method.
180 # Deprecated; please use
181 # disapproval
182 # field instead.
183 { # Output only. The reason and details for a disapproval.
184 &quot;details&quot;: [ # Additional details about the reason for disapproval.
185 &quot;A String&quot;,
186 ],
187 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
188 },
189 ],
190 &quot;contexts&quot;: [ # The contexts for the restriction.
191 { # The serving context for this restriction.
192 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
193 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
194 &quot;A String&quot;,
195 ],
196 },
197 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
198 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
199 &quot;appTypes&quot;: [ # The app types this restriction applies to.
200 &quot;A String&quot;,
201 ],
202 },
203 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
204 &quot;securities&quot;: [ # The security types in this context.
205 &quot;A String&quot;,
206 ],
207 },
208 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
209 &quot;platforms&quot;: [ # The platforms this restriction applies to.
210 &quot;A String&quot;,
211 ],
212 },
213 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
214 # location.
215 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
216 # Please refer to the
217 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
218 # file for different geo criteria IDs.
219 42,
220 ],
221 },
222 },
223 ],
224 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
225 # Only present if status=DISAPPROVED.
226 # Can be used to filter the response of the
227 # creatives.list
228 # method.
229 &quot;details&quot;: [ # Additional details about the reason for disapproval.
230 &quot;A String&quot;,
231 ],
232 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
233 },
234 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
235 # explicitly disapproved or is pending review).
236 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400237 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700238 &quot;video&quot;: { # Video content for a creative. # A video creative.
239 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
240 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700241 # This document should conform to the VAST 2.0 or 3.0 standard.
242 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700243 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
244 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
245 &quot;A String&quot;,
246 ],
247 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
248 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400249 # See the ad-sensitive-categories.txt file in the technical documentation for
250 # a list of IDs. You should use these IDs along with the
251 # excluded-sensitive-category field in the bid request to filter your bids.
252 42,
253 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700254 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
255 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400256 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700257 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
258 { # Output only. Shows any corrections that were applied to this creative.
259 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
260 &quot;contexts&quot;: [ # The contexts for the correction.
261 { # The serving context for this restriction.
262 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
263 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
264 &quot;A String&quot;,
265 ],
266 },
267 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
268 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
269 &quot;appTypes&quot;: [ # The app types this restriction applies to.
270 &quot;A String&quot;,
271 ],
272 },
273 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
274 &quot;securities&quot;: [ # The security types in this context.
275 &quot;A String&quot;,
276 ],
277 },
278 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
279 &quot;platforms&quot;: [ # The platforms this restriction applies to.
280 &quot;A String&quot;,
281 ],
282 },
283 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
284 # location.
285 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
286 # Please refer to the
287 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
288 # file for different geo criteria IDs.
289 42,
290 ],
291 },
292 },
293 ],
294 &quot;details&quot;: [ # Additional details about what was corrected.
295 &quot;A String&quot;,
296 ],
297 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700298 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700299 &quot;version&quot;: 42, # Output only. The version of this creative.
300 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
301 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700302 #
303 # If true for a given creative, any bid submitted with that creative for an
304 # impression that will serve to an EEA user will be filtered before the
305 # auction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700306 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700307 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
308 # mapping of provider ID to provided name, a privacy policy URL, and a list
309 # of domains which can be attributed to the provider.
310 #
311 # If the creative contains provider IDs that are outside of those listed in
312 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
313 # field on the (Google bid
314 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
315 # and the
316 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
317 # field on the (OpenRTB
318 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
319 # and a bid is submitted with that creative for an impression that will
320 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700321 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700322 ],
323 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700324 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
325 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
326 # for possible values.
327 42,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400328 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700329 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
330 &quot;A String&quot;,
331 ],
332 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
333 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
334 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
335 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
336 },
337 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
338 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
Dan O'Mearadd494642020-05-01 07:42:23 -0700339 # serving_restrictions will also exist. Note
340 # that this may be nuanced with other contextual restrictions, in which case,
341 # it may be preferable to read from serving_restrictions directly.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400342 # Can be used to filter the response of the
343 # creatives.list
344 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700345 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
346 # See the ad-product-categories.txt file in the technical documentation
347 # for a list of IDs.
348 42,
349 ],
350 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
351 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400352 # serving_restrictions will also exist. Note
353 # that this may be nuanced with other contextual restrictions, in which case,
354 # it may be preferable to read from serving_restrictions directly.
355 # Can be used to filter the response of the
356 # creatives.list
357 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700358 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
359 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
360 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400361 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700362 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
363 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700364 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700365 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
366 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700367 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400368}
369
370 duplicateIdMode: string, Indicates if multiple creatives can share an ID or not. Default is
371NO_DUPLICATES (one ID per creative).
372 x__xgafv: string, V1 error format.
373 Allowed values
374 1 - v1 error format
375 2 - v2 error format
376
377Returns:
378 An object of the form:
379
380 { # A creative and its classification data.
Bu Sun Kim65020912020-05-20 12:08:20 -0700381 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
382 # Can be used to filter the response of the
383 # creatives.list
384 # method.
385 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400386 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700387 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
388 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700389 # arbitrary. The codes are 2 or 5 characters and are documented at
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400390 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700391 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400392 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700393 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
394 # Can be used to filter the response of the
395 # creatives.list
396 # method.
397 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
398 # Can be used to filter the response of the
399 # creatives.list
400 # method.
401 &quot;native&quot;: { # Native content for a creative. # A native creative.
402 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
403 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
404 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
405 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
406 # so long as the aspect ratio is preserved.
407 &quot;height&quot;: 42, # Image height in pixels.
408 &quot;width&quot;: 42, # Image width in pixels.
409 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
410 },
411 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
412 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
413 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
414 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
415 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
416 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
417 # so long as the aspect ratio is preserved.
418 &quot;height&quot;: 42, # Image height in pixels.
419 &quot;width&quot;: 42, # Image width in pixels.
420 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
421 },
422 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
423 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
424 # so long as the aspect ratio is preserved.
425 &quot;height&quot;: 42, # Image height in pixels.
426 &quot;width&quot;: 42, # Image width in pixels.
427 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
428 },
429 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
430 },
431 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
432 # A context here relates to where something ultimately serves (for example,
433 # a physical location, a platform, an HTTPS vs HTTP request, or the type
434 # of auction).
435 { # Output only. A representation of the status of an ad in a
436 # specific context. A context here relates to where something ultimately serves
437 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
438 # or the type of auction).
439 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
440 # Only present if status=DISAPPROVED.
441 # Can be used to filter the response of the
442 # creatives.list
443 # method.
444 # Deprecated; please use
445 # disapproval
446 # field instead.
447 { # Output only. The reason and details for a disapproval.
448 &quot;details&quot;: [ # Additional details about the reason for disapproval.
449 &quot;A String&quot;,
450 ],
451 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
452 },
453 ],
454 &quot;contexts&quot;: [ # The contexts for the restriction.
455 { # The serving context for this restriction.
456 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
457 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
458 &quot;A String&quot;,
459 ],
460 },
461 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
462 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
463 &quot;appTypes&quot;: [ # The app types this restriction applies to.
464 &quot;A String&quot;,
465 ],
466 },
467 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
468 &quot;securities&quot;: [ # The security types in this context.
469 &quot;A String&quot;,
470 ],
471 },
472 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
473 &quot;platforms&quot;: [ # The platforms this restriction applies to.
474 &quot;A String&quot;,
475 ],
476 },
477 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
478 # location.
479 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
480 # Please refer to the
481 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
482 # file for different geo criteria IDs.
483 42,
484 ],
485 },
486 },
487 ],
488 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
489 # Only present if status=DISAPPROVED.
490 # Can be used to filter the response of the
491 # creatives.list
492 # method.
493 &quot;details&quot;: [ # Additional details about the reason for disapproval.
494 &quot;A String&quot;,
495 ],
496 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
497 },
498 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
499 # explicitly disapproved or is pending review).
500 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400501 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700502 &quot;video&quot;: { # Video content for a creative. # A video creative.
503 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
504 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700505 # This document should conform to the VAST 2.0 or 3.0 standard.
506 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700507 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
508 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
509 &quot;A String&quot;,
510 ],
511 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
512 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400513 # See the ad-sensitive-categories.txt file in the technical documentation for
514 # a list of IDs. You should use these IDs along with the
515 # excluded-sensitive-category field in the bid request to filter your bids.
516 42,
517 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700518 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
519 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400520 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700521 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
522 { # Output only. Shows any corrections that were applied to this creative.
523 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
524 &quot;contexts&quot;: [ # The contexts for the correction.
525 { # The serving context for this restriction.
526 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
527 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
528 &quot;A String&quot;,
529 ],
530 },
531 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
532 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
533 &quot;appTypes&quot;: [ # The app types this restriction applies to.
534 &quot;A String&quot;,
535 ],
536 },
537 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
538 &quot;securities&quot;: [ # The security types in this context.
539 &quot;A String&quot;,
540 ],
541 },
542 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
543 &quot;platforms&quot;: [ # The platforms this restriction applies to.
544 &quot;A String&quot;,
545 ],
546 },
547 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
548 # location.
549 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
550 # Please refer to the
551 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
552 # file for different geo criteria IDs.
553 42,
554 ],
555 },
556 },
557 ],
558 &quot;details&quot;: [ # Additional details about what was corrected.
559 &quot;A String&quot;,
560 ],
561 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700562 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700563 &quot;version&quot;: 42, # Output only. The version of this creative.
564 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
565 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700566 #
567 # If true for a given creative, any bid submitted with that creative for an
568 # impression that will serve to an EEA user will be filtered before the
569 # auction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700570 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700571 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
572 # mapping of provider ID to provided name, a privacy policy URL, and a list
573 # of domains which can be attributed to the provider.
574 #
575 # If the creative contains provider IDs that are outside of those listed in
576 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
577 # field on the (Google bid
578 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
579 # and the
580 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
581 # field on the (OpenRTB
582 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
583 # and a bid is submitted with that creative for an impression that will
584 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700585 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700586 ],
587 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700588 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
589 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
590 # for possible values.
591 42,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400592 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700593 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
594 &quot;A String&quot;,
595 ],
596 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
597 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
598 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
599 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
600 },
601 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
602 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
Dan O'Mearadd494642020-05-01 07:42:23 -0700603 # serving_restrictions will also exist. Note
604 # that this may be nuanced with other contextual restrictions, in which case,
605 # it may be preferable to read from serving_restrictions directly.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400606 # Can be used to filter the response of the
607 # creatives.list
608 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700609 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
610 # See the ad-product-categories.txt file in the technical documentation
611 # for a list of IDs.
612 42,
613 ],
614 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
615 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400616 # serving_restrictions will also exist. Note
617 # that this may be nuanced with other contextual restrictions, in which case,
618 # it may be preferable to read from serving_restrictions directly.
619 # Can be used to filter the response of the
620 # creatives.list
621 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700622 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
623 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
624 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400625 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700626 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
627 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700628 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700629 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
630 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700631 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400632 }</pre>
633</div>
634
635<div class="method">
636 <code class="details" id="get">get(accountId, creativeId, x__xgafv=None)</code>
637 <pre>Gets a creative.
638
639Args:
640 accountId: string, The account the creative belongs to. (required)
641 creativeId: string, The ID of the creative to retrieve. (required)
642 x__xgafv: string, V1 error format.
643 Allowed values
644 1 - v1 error format
645 2 - v2 error format
646
647Returns:
648 An object of the form:
649
650 { # A creative and its classification data.
Bu Sun Kim65020912020-05-20 12:08:20 -0700651 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
652 # Can be used to filter the response of the
653 # creatives.list
654 # method.
655 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400656 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700657 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
658 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700659 # arbitrary. The codes are 2 or 5 characters and are documented at
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400660 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700661 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400662 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700663 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
664 # Can be used to filter the response of the
665 # creatives.list
666 # method.
667 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
668 # Can be used to filter the response of the
669 # creatives.list
670 # method.
671 &quot;native&quot;: { # Native content for a creative. # A native creative.
672 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
673 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
674 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
675 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
676 # so long as the aspect ratio is preserved.
677 &quot;height&quot;: 42, # Image height in pixels.
678 &quot;width&quot;: 42, # Image width in pixels.
679 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
680 },
681 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
682 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
683 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
684 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
685 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
686 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
687 # so long as the aspect ratio is preserved.
688 &quot;height&quot;: 42, # Image height in pixels.
689 &quot;width&quot;: 42, # Image width in pixels.
690 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
691 },
692 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
693 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
694 # so long as the aspect ratio is preserved.
695 &quot;height&quot;: 42, # Image height in pixels.
696 &quot;width&quot;: 42, # Image width in pixels.
697 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
698 },
699 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
700 },
701 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
702 # A context here relates to where something ultimately serves (for example,
703 # a physical location, a platform, an HTTPS vs HTTP request, or the type
704 # of auction).
705 { # Output only. A representation of the status of an ad in a
706 # specific context. A context here relates to where something ultimately serves
707 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
708 # or the type of auction).
709 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
710 # Only present if status=DISAPPROVED.
711 # Can be used to filter the response of the
712 # creatives.list
713 # method.
714 # Deprecated; please use
715 # disapproval
716 # field instead.
717 { # Output only. The reason and details for a disapproval.
718 &quot;details&quot;: [ # Additional details about the reason for disapproval.
719 &quot;A String&quot;,
720 ],
721 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
722 },
723 ],
724 &quot;contexts&quot;: [ # The contexts for the restriction.
725 { # The serving context for this restriction.
726 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
727 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
728 &quot;A String&quot;,
729 ],
730 },
731 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
732 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
733 &quot;appTypes&quot;: [ # The app types this restriction applies to.
734 &quot;A String&quot;,
735 ],
736 },
737 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
738 &quot;securities&quot;: [ # The security types in this context.
739 &quot;A String&quot;,
740 ],
741 },
742 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
743 &quot;platforms&quot;: [ # The platforms this restriction applies to.
744 &quot;A String&quot;,
745 ],
746 },
747 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
748 # location.
749 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
750 # Please refer to the
751 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
752 # file for different geo criteria IDs.
753 42,
754 ],
755 },
756 },
757 ],
758 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
759 # Only present if status=DISAPPROVED.
760 # Can be used to filter the response of the
761 # creatives.list
762 # method.
763 &quot;details&quot;: [ # Additional details about the reason for disapproval.
764 &quot;A String&quot;,
765 ],
766 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
767 },
768 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
769 # explicitly disapproved or is pending review).
770 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400771 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700772 &quot;video&quot;: { # Video content for a creative. # A video creative.
773 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
774 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700775 # This document should conform to the VAST 2.0 or 3.0 standard.
776 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700777 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
778 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
779 &quot;A String&quot;,
780 ],
781 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
782 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400783 # See the ad-sensitive-categories.txt file in the technical documentation for
784 # a list of IDs. You should use these IDs along with the
785 # excluded-sensitive-category field in the bid request to filter your bids.
786 42,
787 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700788 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
789 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400790 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700791 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
792 { # Output only. Shows any corrections that were applied to this creative.
793 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
794 &quot;contexts&quot;: [ # The contexts for the correction.
795 { # The serving context for this restriction.
796 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
797 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
798 &quot;A String&quot;,
799 ],
800 },
801 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
802 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
803 &quot;appTypes&quot;: [ # The app types this restriction applies to.
804 &quot;A String&quot;,
805 ],
806 },
807 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
808 &quot;securities&quot;: [ # The security types in this context.
809 &quot;A String&quot;,
810 ],
811 },
812 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
813 &quot;platforms&quot;: [ # The platforms this restriction applies to.
814 &quot;A String&quot;,
815 ],
816 },
817 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
818 # location.
819 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
820 # Please refer to the
821 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
822 # file for different geo criteria IDs.
823 42,
824 ],
825 },
826 },
827 ],
828 &quot;details&quot;: [ # Additional details about what was corrected.
829 &quot;A String&quot;,
830 ],
831 },
Dan O'Mearadd494642020-05-01 07:42:23 -0700832 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700833 &quot;version&quot;: 42, # Output only. The version of this creative.
834 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
835 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700836 #
837 # If true for a given creative, any bid submitted with that creative for an
838 # impression that will serve to an EEA user will be filtered before the
839 # auction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700840 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700841 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
842 # mapping of provider ID to provided name, a privacy policy URL, and a list
843 # of domains which can be attributed to the provider.
844 #
845 # If the creative contains provider IDs that are outside of those listed in
846 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
847 # field on the (Google bid
848 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
849 # and the
850 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
851 # field on the (OpenRTB
852 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
853 # and a bid is submitted with that creative for an impression that will
854 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -0700855 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700856 ],
857 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700858 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
859 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
860 # for possible values.
861 42,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400862 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700863 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
864 &quot;A String&quot;,
865 ],
866 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
867 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
868 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
869 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
870 },
871 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
872 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
Dan O'Mearadd494642020-05-01 07:42:23 -0700873 # serving_restrictions will also exist. Note
874 # that this may be nuanced with other contextual restrictions, in which case,
875 # it may be preferable to read from serving_restrictions directly.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400876 # Can be used to filter the response of the
877 # creatives.list
878 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700879 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
880 # See the ad-product-categories.txt file in the technical documentation
881 # for a list of IDs.
882 42,
883 ],
884 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
885 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400886 # serving_restrictions will also exist. Note
887 # that this may be nuanced with other contextual restrictions, in which case,
888 # it may be preferable to read from serving_restrictions directly.
889 # Can be used to filter the response of the
890 # creatives.list
891 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -0700892 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
893 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
894 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400895 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700896 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
897 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700898 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700899 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
900 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700901 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400902 }</pre>
903</div>
904
905<div class="method">
Bu Sun Kim65020912020-05-20 12:08:20 -0700906 <code class="details" id="list">list(accountId, pageToken=None, pageSize=None, query=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400907 <pre>Lists creatives.
908
909Args:
910 accountId: string, The account to list the creatives from.
Bu Sun Kim65020912020-05-20 12:08:20 -0700911Specify &quot;-&quot; to list all creatives the current user has access to. (required)
912 pageToken: string, A token identifying a page of results the server should return.
913Typically, this is the value of
914ListCreativesResponse.next_page_token
915returned from the previous call to &#x27;ListCreatives&#x27; method.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400916 pageSize: integer, Requested page size. The server may return fewer creatives than requested
917(due to timeout constraint) even if more are available via another call.
918If unspecified, server will pick an appropriate default.
919Acceptable values are 1 to 1000, inclusive.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400920 query: string, An optional query string to filter creatives. If no filter is specified,
921all active creatives will be returned.
Dan O'Mearadd494642020-05-01 07:42:23 -0700922&lt;p&gt;Supported queries are:
923&lt;ul&gt;
924&lt;li&gt;accountId=&lt;i&gt;account_id_string&lt;/i&gt;
925&lt;li&gt;creativeId=&lt;i&gt;creative_id_string&lt;/i&gt;
926&lt;li&gt;dealsStatus: {approved, conditionally_approved, disapproved,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400927 not_checked}
Dan O'Mearadd494642020-05-01 07:42:23 -0700928&lt;li&gt;openAuctionStatus: {approved, conditionally_approved, disapproved,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400929 not_checked}
Dan O'Mearadd494642020-05-01 07:42:23 -0700930&lt;li&gt;attribute: {a numeric attribute from the list of attributes}
931&lt;li&gt;disapprovalReason: {a reason from
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700932DisapprovalReason}
Dan O'Mearadd494642020-05-01 07:42:23 -0700933&lt;/ul&gt;
Bu Sun Kim65020912020-05-20 12:08:20 -0700934Example: &#x27;accountId=12345 AND (dealsStatus:disapproved AND
935disapprovalReason:unacceptable_content) OR attribute:47&#x27;
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400936 x__xgafv: string, V1 error format.
937 Allowed values
938 1 - v1 error format
939 2 - v2 error format
940
941Returns:
942 An object of the form:
943
944 { # A response for listing creatives.
Bu Sun Kim65020912020-05-20 12:08:20 -0700945 &quot;creatives&quot;: [ # The list of creatives.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400946 { # A creative and its classification data.
Bu Sun Kim65020912020-05-20 12:08:20 -0700947 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
948 # Can be used to filter the response of the
949 # creatives.list
950 # method.
951 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400952 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700953 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
954 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700955 # arbitrary. The codes are 2 or 5 characters and are documented at
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400956 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700957 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400958 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700959 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
960 # Can be used to filter the response of the
961 # creatives.list
962 # method.
963 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
964 # Can be used to filter the response of the
965 # creatives.list
966 # method.
967 &quot;native&quot;: { # Native content for a creative. # A native creative.
968 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
969 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
970 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
971 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
972 # so long as the aspect ratio is preserved.
973 &quot;height&quot;: 42, # Image height in pixels.
974 &quot;width&quot;: 42, # Image width in pixels.
975 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
976 },
977 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
978 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
979 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
980 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
981 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
982 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
983 # so long as the aspect ratio is preserved.
984 &quot;height&quot;: 42, # Image height in pixels.
985 &quot;width&quot;: 42, # Image width in pixels.
986 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
987 },
988 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
989 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
990 # so long as the aspect ratio is preserved.
991 &quot;height&quot;: 42, # Image height in pixels.
992 &quot;width&quot;: 42, # Image width in pixels.
993 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
994 },
995 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
996 },
997 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
998 # A context here relates to where something ultimately serves (for example,
999 # a physical location, a platform, an HTTPS vs HTTP request, or the type
1000 # of auction).
1001 { # Output only. A representation of the status of an ad in a
1002 # specific context. A context here relates to where something ultimately serves
1003 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
1004 # or the type of auction).
1005 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
1006 # Only present if status=DISAPPROVED.
1007 # Can be used to filter the response of the
1008 # creatives.list
1009 # method.
1010 # Deprecated; please use
1011 # disapproval
1012 # field instead.
1013 { # Output only. The reason and details for a disapproval.
1014 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1015 &quot;A String&quot;,
1016 ],
1017 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1018 },
1019 ],
1020 &quot;contexts&quot;: [ # The contexts for the restriction.
1021 { # The serving context for this restriction.
1022 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1023 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1024 &quot;A String&quot;,
1025 ],
1026 },
1027 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1028 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1029 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1030 &quot;A String&quot;,
1031 ],
1032 },
1033 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1034 &quot;securities&quot;: [ # The security types in this context.
1035 &quot;A String&quot;,
1036 ],
1037 },
1038 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1039 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1040 &quot;A String&quot;,
1041 ],
1042 },
1043 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1044 # location.
1045 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1046 # Please refer to the
1047 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1048 # file for different geo criteria IDs.
1049 42,
1050 ],
1051 },
1052 },
1053 ],
1054 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
1055 # Only present if status=DISAPPROVED.
1056 # Can be used to filter the response of the
1057 # creatives.list
1058 # method.
1059 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1060 &quot;A String&quot;,
1061 ],
1062 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1063 },
1064 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
1065 # explicitly disapproved or is pending review).
1066 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001067 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001068 &quot;video&quot;: { # Video content for a creative. # A video creative.
1069 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1070 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001071 # This document should conform to the VAST 2.0 or 3.0 standard.
1072 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001073 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
1074 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
1075 &quot;A String&quot;,
1076 ],
1077 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
1078 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001079 # See the ad-sensitive-categories.txt file in the technical documentation for
1080 # a list of IDs. You should use these IDs along with the
1081 # excluded-sensitive-category field in the bid request to filter your bids.
1082 42,
1083 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001084 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
1085 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001086 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001087 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
1088 { # Output only. Shows any corrections that were applied to this creative.
1089 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
1090 &quot;contexts&quot;: [ # The contexts for the correction.
1091 { # The serving context for this restriction.
1092 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1093 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1094 &quot;A String&quot;,
1095 ],
1096 },
1097 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1098 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1099 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1100 &quot;A String&quot;,
1101 ],
1102 },
1103 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1104 &quot;securities&quot;: [ # The security types in this context.
1105 &quot;A String&quot;,
1106 ],
1107 },
1108 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1109 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1110 &quot;A String&quot;,
1111 ],
1112 },
1113 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1114 # location.
1115 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1116 # Please refer to the
1117 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1118 # file for different geo criteria IDs.
1119 42,
1120 ],
1121 },
1122 },
1123 ],
1124 &quot;details&quot;: [ # Additional details about what was corrected.
1125 &quot;A String&quot;,
1126 ],
1127 },
Dan O'Mearadd494642020-05-01 07:42:23 -07001128 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001129 &quot;version&quot;: 42, # Output only. The version of this creative.
1130 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
1131 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001132 #
1133 # If true for a given creative, any bid submitted with that creative for an
1134 # impression that will serve to an EEA user will be filtered before the
1135 # auction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001136 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001137 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
1138 # mapping of provider ID to provided name, a privacy policy URL, and a list
1139 # of domains which can be attributed to the provider.
1140 #
1141 # If the creative contains provider IDs that are outside of those listed in
1142 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
1143 # field on the (Google bid
1144 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
1145 # and the
1146 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
1147 # field on the (OpenRTB
1148 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
1149 # and a bid is submitted with that creative for an impression that will
1150 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001151 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001152 ],
1153 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001154 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
1155 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
1156 # for possible values.
1157 42,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001158 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001159 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1160 &quot;A String&quot;,
1161 ],
1162 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1163 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1164 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1165 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1166 },
1167 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
1168 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
Dan O'Mearadd494642020-05-01 07:42:23 -07001169 # serving_restrictions will also exist. Note
1170 # that this may be nuanced with other contextual restrictions, in which case,
1171 # it may be preferable to read from serving_restrictions directly.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001172 # Can be used to filter the response of the
1173 # creatives.list
1174 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001175 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
1176 # See the ad-product-categories.txt file in the technical documentation
1177 # for a list of IDs.
1178 42,
1179 ],
1180 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
1181 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001182 # serving_restrictions will also exist. Note
1183 # that this may be nuanced with other contextual restrictions, in which case,
1184 # it may be preferable to read from serving_restrictions directly.
1185 # Can be used to filter the response of the
1186 # creatives.list
1187 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001188 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
1189 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
1190 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001191 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001192 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
1193 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001194 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001195 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
1196 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001197 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001198 },
1199 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001200 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results.
1201 # Pass this value in the
1202 # ListCreativesRequest.page_token
1203 # field in the subsequent call to `ListCreatives` method to retrieve the next
1204 # page of results.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001205 }</pre>
1206</div>
1207
1208<div class="method">
1209 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1210 <pre>Retrieves the next page of results.
1211
1212Args:
1213 previous_request: The request for the previous page. (required)
1214 previous_response: The response from the request for the previous page. (required)
1215
1216Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001217 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001218 page. Returns None if there are no more items in the collection.
1219 </pre>
1220</div>
1221
1222<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001223 <code class="details" id="stopWatching">stopWatching(accountId, creativeId, body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001224 <pre>Stops watching a creative. Will stop push notifications being sent to the
1225topics when the creative changes status.
1226
1227Args:
1228 accountId: string, The account of the creative to stop notifications for. (required)
1229 creativeId: string, The creative ID of the creative to stop notifications for.
Bu Sun Kim65020912020-05-20 12:08:20 -07001230Specify &quot;-&quot; to specify stopping account level notifications. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001231 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001232 The object takes the form of:
1233
1234{ # A request for stopping notifications for changes to creative Status.
1235 }
1236
1237 x__xgafv: string, V1 error format.
1238 Allowed values
1239 1 - v1 error format
1240 2 - v2 error format
1241
1242Returns:
1243 An object of the form:
1244
1245 { # A generic empty message that you can re-use to avoid defining duplicated
1246 # empty messages in your APIs. A typical example is to use it as the request
1247 # or the response type of an API method. For instance:
1248 #
1249 # service Foo {
1250 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1251 # }
1252 #
1253 # The JSON representation for `Empty` is empty JSON object `{}`.
1254 }</pre>
1255</div>
1256
1257<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001258 <code class="details" id="update">update(accountId, creativeId, body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001259 <pre>Updates a creative.
1260
1261Args:
1262 accountId: string, The account that this creative belongs to.
1263Can be used to filter the response of the
1264creatives.list
1265method. (required)
1266 creativeId: string, The buyer-defined creative ID of this creative.
1267Can be used to filter the response of the
1268creatives.list
1269method. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001270 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001271 The object takes the form of:
1272
1273{ # A creative and its classification data.
Bu Sun Kim65020912020-05-20 12:08:20 -07001274 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
1275 # Can be used to filter the response of the
1276 # creatives.list
1277 # method.
1278 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001279 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001280 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
1281 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001282 # arbitrary. The codes are 2 or 5 characters and are documented at
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001283 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
Bu Sun Kim65020912020-05-20 12:08:20 -07001284 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001285 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001286 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
1287 # Can be used to filter the response of the
1288 # creatives.list
1289 # method.
1290 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
1291 # Can be used to filter the response of the
1292 # creatives.list
1293 # method.
1294 &quot;native&quot;: { # Native content for a creative. # A native creative.
1295 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1296 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1297 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1298 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
1299 # so long as the aspect ratio is preserved.
1300 &quot;height&quot;: 42, # Image height in pixels.
1301 &quot;width&quot;: 42, # Image width in pixels.
1302 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1303 },
1304 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1305 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1306 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1307 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1308 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1309 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
1310 # so long as the aspect ratio is preserved.
1311 &quot;height&quot;: 42, # Image height in pixels.
1312 &quot;width&quot;: 42, # Image width in pixels.
1313 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1314 },
1315 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1316 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
1317 # so long as the aspect ratio is preserved.
1318 &quot;height&quot;: 42, # Image height in pixels.
1319 &quot;width&quot;: 42, # Image width in pixels.
1320 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1321 },
1322 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1323 },
1324 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
1325 # A context here relates to where something ultimately serves (for example,
1326 # a physical location, a platform, an HTTPS vs HTTP request, or the type
1327 # of auction).
1328 { # Output only. A representation of the status of an ad in a
1329 # specific context. A context here relates to where something ultimately serves
1330 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
1331 # or the type of auction).
1332 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
1333 # Only present if status=DISAPPROVED.
1334 # Can be used to filter the response of the
1335 # creatives.list
1336 # method.
1337 # Deprecated; please use
1338 # disapproval
1339 # field instead.
1340 { # Output only. The reason and details for a disapproval.
1341 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1342 &quot;A String&quot;,
1343 ],
1344 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1345 },
1346 ],
1347 &quot;contexts&quot;: [ # The contexts for the restriction.
1348 { # The serving context for this restriction.
1349 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1350 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1351 &quot;A String&quot;,
1352 ],
1353 },
1354 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1355 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1356 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1357 &quot;A String&quot;,
1358 ],
1359 },
1360 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1361 &quot;securities&quot;: [ # The security types in this context.
1362 &quot;A String&quot;,
1363 ],
1364 },
1365 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1366 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1367 &quot;A String&quot;,
1368 ],
1369 },
1370 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1371 # location.
1372 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1373 # Please refer to the
1374 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1375 # file for different geo criteria IDs.
1376 42,
1377 ],
1378 },
1379 },
1380 ],
1381 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
1382 # Only present if status=DISAPPROVED.
1383 # Can be used to filter the response of the
1384 # creatives.list
1385 # method.
1386 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1387 &quot;A String&quot;,
1388 ],
1389 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1390 },
1391 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
1392 # explicitly disapproved or is pending review).
1393 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001394 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001395 &quot;video&quot;: { # Video content for a creative. # A video creative.
1396 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1397 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001398 # This document should conform to the VAST 2.0 or 3.0 standard.
1399 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001400 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
1401 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
1402 &quot;A String&quot;,
1403 ],
1404 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
1405 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001406 # See the ad-sensitive-categories.txt file in the technical documentation for
1407 # a list of IDs. You should use these IDs along with the
1408 # excluded-sensitive-category field in the bid request to filter your bids.
1409 42,
1410 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001411 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
1412 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001413 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001414 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
1415 { # Output only. Shows any corrections that were applied to this creative.
1416 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
1417 &quot;contexts&quot;: [ # The contexts for the correction.
1418 { # The serving context for this restriction.
1419 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1420 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1421 &quot;A String&quot;,
1422 ],
1423 },
1424 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1425 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1426 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1427 &quot;A String&quot;,
1428 ],
1429 },
1430 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1431 &quot;securities&quot;: [ # The security types in this context.
1432 &quot;A String&quot;,
1433 ],
1434 },
1435 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1436 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1437 &quot;A String&quot;,
1438 ],
1439 },
1440 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1441 # location.
1442 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1443 # Please refer to the
1444 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1445 # file for different geo criteria IDs.
1446 42,
1447 ],
1448 },
1449 },
1450 ],
1451 &quot;details&quot;: [ # Additional details about what was corrected.
1452 &quot;A String&quot;,
1453 ],
1454 },
Dan O'Mearadd494642020-05-01 07:42:23 -07001455 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001456 &quot;version&quot;: 42, # Output only. The version of this creative.
1457 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
1458 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001459 #
1460 # If true for a given creative, any bid submitted with that creative for an
1461 # impression that will serve to an EEA user will be filtered before the
1462 # auction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001463 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001464 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
1465 # mapping of provider ID to provided name, a privacy policy URL, and a list
1466 # of domains which can be attributed to the provider.
1467 #
1468 # If the creative contains provider IDs that are outside of those listed in
1469 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
1470 # field on the (Google bid
1471 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
1472 # and the
1473 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
1474 # field on the (OpenRTB
1475 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
1476 # and a bid is submitted with that creative for an impression that will
1477 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001478 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001479 ],
1480 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001481 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
1482 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
1483 # for possible values.
1484 42,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001485 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001486 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1487 &quot;A String&quot;,
1488 ],
1489 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1490 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1491 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1492 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1493 },
1494 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
1495 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
Dan O'Mearadd494642020-05-01 07:42:23 -07001496 # serving_restrictions will also exist. Note
1497 # that this may be nuanced with other contextual restrictions, in which case,
1498 # it may be preferable to read from serving_restrictions directly.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001499 # Can be used to filter the response of the
1500 # creatives.list
1501 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001502 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
1503 # See the ad-product-categories.txt file in the technical documentation
1504 # for a list of IDs.
1505 42,
1506 ],
1507 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
1508 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001509 # serving_restrictions will also exist. Note
1510 # that this may be nuanced with other contextual restrictions, in which case,
1511 # it may be preferable to read from serving_restrictions directly.
1512 # Can be used to filter the response of the
1513 # creatives.list
1514 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001515 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
1516 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
1517 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001518 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001519 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
1520 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001521 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001522 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
1523 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001524 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001525}
1526
1527 x__xgafv: string, V1 error format.
1528 Allowed values
1529 1 - v1 error format
1530 2 - v2 error format
1531
1532Returns:
1533 An object of the form:
1534
1535 { # A creative and its classification data.
Bu Sun Kim65020912020-05-20 12:08:20 -07001536 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative.
1537 # Can be used to filter the response of the
1538 # creatives.list
1539 # method.
1540 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001541 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001542 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
1543 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001544 # arbitrary. The codes are 2 or 5 characters and are documented at
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001545 # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
Bu Sun Kim65020912020-05-20 12:08:20 -07001546 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001547 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001548 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative.
1549 # Can be used to filter the response of the
1550 # creatives.list
1551 # method.
1552 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to.
1553 # Can be used to filter the response of the
1554 # creatives.list
1555 # method.
1556 &quot;native&quot;: { # Native content for a creative. # A native creative.
1557 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1558 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1559 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1560 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
1561 # so long as the aspect ratio is preserved.
1562 &quot;height&quot;: 42, # Image height in pixels.
1563 &quot;width&quot;: 42, # Image width in pixels.
1564 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1565 },
1566 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1567 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1568 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1569 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1570 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1571 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser&#x27;s logo.
1572 # so long as the aspect ratio is preserved.
1573 &quot;height&quot;: 42, # Image height in pixels.
1574 &quot;width&quot;: 42, # Image width in pixels.
1575 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1576 },
1577 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1578 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, # A large image.
1579 # so long as the aspect ratio is preserved.
1580 &quot;height&quot;: 42, # Image height in pixels.
1581 &quot;width&quot;: 42, # Image width in pixels.
1582 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1583 },
1584 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1585 },
1586 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts.
1587 # A context here relates to where something ultimately serves (for example,
1588 # a physical location, a platform, an HTTPS vs HTTP request, or the type
1589 # of auction).
1590 { # Output only. A representation of the status of an ad in a
1591 # specific context. A context here relates to where something ultimately serves
1592 # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
1593 # or the type of auction).
1594 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction.
1595 # Only present if status=DISAPPROVED.
1596 # Can be used to filter the response of the
1597 # creatives.list
1598 # method.
1599 # Deprecated; please use
1600 # disapproval
1601 # field instead.
1602 { # Output only. The reason and details for a disapproval.
1603 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1604 &quot;A String&quot;,
1605 ],
1606 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1607 },
1608 ],
1609 &quot;contexts&quot;: [ # The contexts for the restriction.
1610 { # The serving context for this restriction.
1611 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1612 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1613 &quot;A String&quot;,
1614 ],
1615 },
1616 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1617 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1618 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1619 &quot;A String&quot;,
1620 ],
1621 },
1622 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1623 &quot;securities&quot;: [ # The security types in this context.
1624 &quot;A String&quot;,
1625 ],
1626 },
1627 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1628 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1629 &quot;A String&quot;,
1630 ],
1631 },
1632 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1633 # location.
1634 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1635 # Please refer to the
1636 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1637 # file for different geo criteria IDs.
1638 42,
1639 ],
1640 },
1641 },
1642 ],
1643 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
1644 # Only present if status=DISAPPROVED.
1645 # Can be used to filter the response of the
1646 # creatives.list
1647 # method.
1648 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1649 &quot;A String&quot;,
1650 ],
1651 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1652 },
1653 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been
1654 # explicitly disapproved or is pending review).
1655 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001656 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001657 &quot;video&quot;: { # Video content for a creative. # A video creative.
1658 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1659 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001660 # This document should conform to the VAST 2.0 or 3.0 standard.
1661 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001662 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
1663 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
1664 &quot;A String&quot;,
1665 ],
1666 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
1667 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001668 # See the ad-sensitive-categories.txt file in the technical documentation for
1669 # a list of IDs. You should use these IDs along with the
1670 # excluded-sensitive-category field in the bid request to filter your bids.
1671 42,
1672 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001673 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
1674 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001675 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001676 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
1677 { # Output only. Shows any corrections that were applied to this creative.
1678 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
1679 &quot;contexts&quot;: [ # The contexts for the correction.
1680 { # The serving context for this restriction.
1681 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1682 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1683 &quot;A String&quot;,
1684 ],
1685 },
1686 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1687 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1688 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1689 &quot;A String&quot;,
1690 ],
1691 },
1692 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1693 &quot;securities&quot;: [ # The security types in this context.
1694 &quot;A String&quot;,
1695 ],
1696 },
1697 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1698 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1699 &quot;A String&quot;,
1700 ],
1701 },
1702 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1703 # location.
1704 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context.
1705 # Please refer to the
1706 # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1707 # file for different geo criteria IDs.
1708 42,
1709 ],
1710 },
1711 },
1712 ],
1713 &quot;details&quot;: [ # Additional details about what was corrected.
1714 &quot;A String&quot;,
1715 ],
1716 },
Dan O'Mearadd494642020-05-01 07:42:23 -07001717 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001718 &quot;version&quot;: 42, # Output only. The version of this creative.
1719 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
1720 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001721 #
1722 # If true for a given creative, any bid submitted with that creative for an
1723 # impression that will serve to an EEA user will be filtered before the
1724 # auction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001725 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001726 # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
1727 # mapping of provider ID to provided name, a privacy policy URL, and a list
1728 # of domains which can be attributed to the provider.
1729 #
1730 # If the creative contains provider IDs that are outside of those listed in
1731 # the `BidRequest.adslot.consented_providers_settings.consented_providers`
1732 # field on the (Google bid
1733 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
1734 # and the
1735 # `BidRequest.user.ext.consented_providers_settings.consented_providers`
1736 # field on the (OpenRTB
1737 # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
1738 # and a bid is submitted with that creative for an impression that will
1739 # serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim65020912020-05-20 12:08:20 -07001740 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001741 ],
1742 },
Bu Sun Kim65020912020-05-20 12:08:20 -07001743 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative.
1744 # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
1745 # for possible values.
1746 42,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001747 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001748 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1749 &quot;A String&quot;,
1750 ],
1751 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1752 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1753 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1754 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1755 },
1756 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative.
1757 # If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in
Dan O'Mearadd494642020-05-01 07:42:23 -07001758 # serving_restrictions will also exist. Note
1759 # that this may be nuanced with other contextual restrictions, in which case,
1760 # it may be preferable to read from serving_restrictions directly.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001761 # Can be used to filter the response of the
1762 # creatives.list
1763 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001764 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any.
1765 # See the ad-product-categories.txt file in the technical documentation
1766 # for a list of IDs.
1767 42,
1768 ],
1769 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative.
1770 # If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001771 # serving_restrictions will also exist. Note
1772 # that this may be nuanced with other contextual restrictions, in which case,
1773 # it may be preferable to read from serving_restrictions directly.
1774 # Can be used to filter the response of the
1775 # creatives.list
1776 # method.
Bu Sun Kim65020912020-05-20 12:08:20 -07001777 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
1778 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
1779 &quot;A String&quot;,
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001780 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001781 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
1782 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001783 ],
Bu Sun Kim65020912020-05-20 12:08:20 -07001784 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
1785 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001786 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001787 }</pre>
1788</div>
1789
1790<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001791 <code class="details" id="watch">watch(accountId, creativeId, body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001792 <pre>Watches a creative. Will result in push notifications being sent to the
1793topic when the creative changes status.
1794
1795Args:
1796 accountId: string, The account of the creative to watch. (required)
1797 creativeId: string, The creative ID to watch for status changes.
Bu Sun Kim65020912020-05-20 12:08:20 -07001798Specify &quot;-&quot; to watch all creatives under the above account.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001799If both creative-level and account-level notifications are
1800sent, only a single notification will be sent to the
1801creative-level notification topic. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001802 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001803 The object takes the form of:
1804
1805{ # A request for watching changes to creative Status.
Bu Sun Kim65020912020-05-20 12:08:20 -07001806 &quot;topic&quot;: &quot;A String&quot;, # The Pub/Sub topic to publish notifications to.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001807 # This topic must already exist and must give permission to
1808 # ad-exchange-buyside-reports@google.com to write to the topic.
1809 # This should be the full resource name in
Bu Sun Kim65020912020-05-20 12:08:20 -07001810 # &quot;projects/{project_id}/topics/{topic_id}&quot; format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001811 }
1812
1813 x__xgafv: string, V1 error format.
1814 Allowed values
1815 1 - v1 error format
1816 2 - v2 error format
1817
1818Returns:
1819 An object of the form:
1820
1821 { # A generic empty message that you can re-use to avoid defining duplicated
1822 # empty messages in your APIs. A typical example is to use it as the request
1823 # or the response type of an API method. For instance:
1824 #
1825 # service Foo {
1826 # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
1827 # }
1828 #
1829 # The JSON representation for `Empty` is empty JSON object `{}`.
1830 }</pre>
1831</div>
1832
1833</body></html>