• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="adexchangebuyer2_v2beta1.html">Ad Exchange Buyer API II</a> . <a href="adexchangebuyer2_v2beta1.accounts.html">accounts</a> . <a href="adexchangebuyer2_v2beta1.accounts.creatives.html">creatives</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="adexchangebuyer2_v2beta1.accounts.creatives.dealAssociations.html">dealAssociations()</a></code>
79</p>
80<p class="firstline">Returns the dealAssociations Resource.</p>
81
82<p class="toc_element">
83  <code><a href="#create">create(accountId, body, duplicateIdMode=None, x__xgafv=None)</a></code></p>
84<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">
89  <code><a href="#list">list(accountId, pageSize=None, pageToken=None, query=None, x__xgafv=None)</a></code></p>
90<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">
95  <code><a href="#stopWatching">stopWatching(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
96<p class="firstline">Stops watching a creative. Will stop push notifications being sent to the</p>
97<p class="toc_element">
98  <code><a href="#update">update(accountId, creativeId, body, x__xgafv=None)</a></code></p>
99<p class="firstline">Updates a creative.</p>
100<p class="toc_element">
101  <code><a href="#watch">watch(accountId, creativeId, body, x__xgafv=None)</a></code></p>
102<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">
105    <code class="details" id="create">create(accountId, body, duplicateIdMode=None, x__xgafv=None)</code>
106  <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)
113  body: object, The request body. (required)
114    The object takes the form of:
115
116{ # A creative and its classification data.
117  "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
118    "A String",
119  ],
120  "version": 42, # Output only. The version of this creative.
121  "detectedLanguages": [ # Output only. The detected languages for this creative. The order is
122      # arbitrary. The codes are 2 or 5 characters and are documented at
123      # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
124    "A String",
125  ],
126  "advertiserName": "A String", # The name of the company being advertised in the creative.
127  "clickThroughUrls": [ # The set of destination URLs for the creative.
128    "A String",
129  ],
130  "video": { # Video content for a creative. # A video creative.
131    "videoUrl": "A String", # The URL to fetch a video ad.
132    "videoVastXml": "A String", # The contents of a VAST document for a video ad.
133        # This document should conform to the VAST 2.0 or 3.0 standard.
134  },
135  "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any.
136      # See the ad-sensitive-categories.txt file in the technical documentation for
137      # a list of IDs. You should use these IDs along with the
138      # excluded-sensitive-category field in the bid request to filter your bids.
139    42,
140  ],
141  "creativeId": "A String", # The buyer-defined creative ID of this creative.
142      # Can be used to filter the response of the
143      # creatives.list
144      # method.
145  "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
146    "A String",
147  ],
148  "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
149  "native": { # Native content for a creative. # A native creative.
150    "body": "A String", # A long description of the ad.
151    "videoUrl": "A String", # The URL to fetch a native video ad.
152    "headline": "A String", # A short title for the ad.
153    "image": { # An image resource. You may provide a larger image than was requested, # A large image.
154        # so long as the aspect ratio is preserved.
155      "url": "A String", # The URL of the image.
156      "width": 42, # Image width in pixels.
157      "height": 42, # Image height in pixels.
158    },
159    "clickTrackingUrl": "A String", # The URL to use for click tracking.
160    "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
161    "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
162    "priceDisplayText": "A String", # The price of the promoted app including currency info.
163    "callToAction": "A String", # A label for the button that the user is supposed to click.
164    "logo": { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser's logo.
165        # so long as the aspect ratio is preserved.
166      "url": "A String", # The URL of the image.
167      "width": 42, # Image width in pixels.
168      "height": 42, # Image height in pixels.
169    },
170    "appIcon": { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
171        # so long as the aspect ratio is preserved.
172      "url": "A String", # The URL of the image.
173      "width": 42, # Image width in pixels.
174      "height": 42, # Image height in pixels.
175    },
176    "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
177    "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
178  },
179  "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative.
180      # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
181      # for possible values.
182    42,
183  ],
184  "agencyId": "A String", # The agency ID for this creative.
185  "html": { # HTML content for a creative. # An HTML creative.
186    "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
187    "width": 42, # The width of the HTML snippet in pixels.
188    "height": 42, # The height of the HTML snippet in pixels.
189  },
190  "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
191  "accountId": "A String", # The account that this creative belongs to.
192      # Can be used to filter the response of the
193      # creatives.list
194      # method.
195  "detectedProductCategories": [ # Output only. Detected product categories, if any.
196      # See the ad-product-categories.txt file in the technical documentation
197      # for a list of IDs.
198    42,
199  ],
200  "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
201    "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider.
202        #
203        # If true for a given creative, any bid submitted with that creative for an
204        # impression that will serve to an EEA user will be filtered before the
205        # auction.
206    "detectedProviderIds": [ # The detected ad technology provider IDs for this creative.
207        # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
208        # mapping of provider ID to provided name, a privacy policy URL, and a list
209        # of domains which can be attributed to the provider.
210        #
211        # If the creative contains provider IDs that are outside of those listed in
212        # the `BidRequest.adslot.consented_providers_settings.consented_providers`
213        # field on the (Google bid
214        # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
215        # and the
216        # `BidRequest.user.ext.consented_providers_settings.consented_providers`
217        # field on the (OpenRTB
218        # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
219        # and a bid is submitted with that creative for an impression that will
220        # serve to an EEA user, the bid will be filtered before the auction.
221      "A String",
222    ],
223  },
224  "detectedDomains": [ # Output only. The detected domains for this creative.
225    "A String",
226  ],
227  "attributes": [ # All attributes for the ads that may be shown from this creative.
228      # Can be used to filter the response of the
229      # creatives.list
230      # method.
231    "A String",
232  ],
233  "dealsStatus": "A String", # Output only. The top-level deals status of this creative.
234      # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in
235      # serving_restrictions will also exist. Note
236      # that this may be nuanced with other contextual restrictions, in which case,
237      # it may be preferable to read from serving_restrictions directly.
238      # Can be used to filter the response of the
239      # creatives.list
240      # method.
241  "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts.
242      # A context here relates to where something ultimately serves (for example,
243      # a physical location, a platform, an HTTPS vs HTTP request, or the type
244      # of auction).
245    { # Output only. A representation of the status of an ad in a
246        # specific context. A context here relates to where something ultimately serves
247        # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
248        # or the type of auction).
249      "contexts": [ # The contexts for the restriction.
250        { # The serving context for this restriction.
251          "all": "A String", # Matches all contexts.
252          "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
253            "appTypes": [ # The app types this restriction applies to.
254              "A String",
255            ],
256          },
257          "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
258            "securities": [ # The security types in this context.
259              "A String",
260            ],
261          },
262          "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
263            "platforms": [ # The platforms this restriction applies to.
264              "A String",
265            ],
266          },
267          "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
268              # location.
269            "geoCriteriaIds": [ # IDs representing the geo location for this context.
270                # Please refer to the
271                # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
272                # file for different geo criteria IDs.
273              42,
274            ],
275          },
276          "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
277            "auctionTypes": [ # The auction types this restriction applies to.
278              "A String",
279            ],
280          },
281        },
282      ],
283      "status": "A String", # The status of the creative in this context (for example, it has been
284          # explicitly disapproved or is pending review).
285      "disapprovalReasons": [ # Any disapprovals bound to this restriction.
286          # Only present if status=DISAPPROVED.
287          # Can be used to filter the response of the
288          # creatives.list
289          # method.
290          # Deprecated; please use
291          # disapproval
292          # field instead.
293        { # Output only. The reason and details for a disapproval.
294          "reason": "A String", # The categorized reason for disapproval.
295          "details": [ # Additional details about the reason for disapproval.
296            "A String",
297          ],
298        },
299      ],
300      "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
301          # Only present if status=DISAPPROVED.
302          # Can be used to filter the response of the
303          # creatives.list
304          # method.
305        "reason": "A String", # The categorized reason for disapproval.
306        "details": [ # Additional details about the reason for disapproval.
307          "A String",
308        ],
309      },
310    },
311  ],
312  "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
313    "A String",
314  ],
315  "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
316    "A String",
317  ],
318  "corrections": [ # Output only. Shows any corrections that were applied to this creative.
319    { # Output only. Shows any corrections that were applied to this creative.
320      "contexts": [ # The contexts for the correction.
321        { # The serving context for this restriction.
322          "all": "A String", # Matches all contexts.
323          "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
324            "appTypes": [ # The app types this restriction applies to.
325              "A String",
326            ],
327          },
328          "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
329            "securities": [ # The security types in this context.
330              "A String",
331            ],
332          },
333          "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
334            "platforms": [ # The platforms this restriction applies to.
335              "A String",
336            ],
337          },
338          "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
339              # location.
340            "geoCriteriaIds": [ # IDs representing the geo location for this context.
341                # Please refer to the
342                # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
343                # file for different geo criteria IDs.
344              42,
345            ],
346          },
347          "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
348            "auctionTypes": [ # The auction types this restriction applies to.
349              "A String",
350            ],
351          },
352        },
353      ],
354      "type": "A String", # The type of correction that was applied to the creative.
355      "details": [ # Additional details about what was corrected.
356        "A String",
357      ],
358    },
359  ],
360  "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative.
361      # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
362      # serving_restrictions will also exist. Note
363      # that this may be nuanced with other contextual restrictions, in which case,
364      # it may be preferable to read from serving_restrictions directly.
365      # Can be used to filter the response of the
366      # creatives.list
367      # method.
368}
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.
381    "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
382      "A String",
383    ],
384    "version": 42, # Output only. The version of this creative.
385    "detectedLanguages": [ # Output only. The detected languages for this creative. The order is
386        # arbitrary. The codes are 2 or 5 characters and are documented at
387        # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
388      "A String",
389    ],
390    "advertiserName": "A String", # The name of the company being advertised in the creative.
391    "clickThroughUrls": [ # The set of destination URLs for the creative.
392      "A String",
393    ],
394    "video": { # Video content for a creative. # A video creative.
395      "videoUrl": "A String", # The URL to fetch a video ad.
396      "videoVastXml": "A String", # The contents of a VAST document for a video ad.
397          # This document should conform to the VAST 2.0 or 3.0 standard.
398    },
399    "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any.
400        # See the ad-sensitive-categories.txt file in the technical documentation for
401        # a list of IDs. You should use these IDs along with the
402        # excluded-sensitive-category field in the bid request to filter your bids.
403      42,
404    ],
405    "creativeId": "A String", # The buyer-defined creative ID of this creative.
406        # Can be used to filter the response of the
407        # creatives.list
408        # method.
409    "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
410      "A String",
411    ],
412    "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
413    "native": { # Native content for a creative. # A native creative.
414      "body": "A String", # A long description of the ad.
415      "videoUrl": "A String", # The URL to fetch a native video ad.
416      "headline": "A String", # A short title for the ad.
417      "image": { # An image resource. You may provide a larger image than was requested, # A large image.
418          # so long as the aspect ratio is preserved.
419        "url": "A String", # The URL of the image.
420        "width": 42, # Image width in pixels.
421        "height": 42, # Image height in pixels.
422      },
423      "clickTrackingUrl": "A String", # The URL to use for click tracking.
424      "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
425      "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
426      "priceDisplayText": "A String", # The price of the promoted app including currency info.
427      "callToAction": "A String", # A label for the button that the user is supposed to click.
428      "logo": { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser's logo.
429          # so long as the aspect ratio is preserved.
430        "url": "A String", # The URL of the image.
431        "width": 42, # Image width in pixels.
432        "height": 42, # Image height in pixels.
433      },
434      "appIcon": { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
435          # so long as the aspect ratio is preserved.
436        "url": "A String", # The URL of the image.
437        "width": 42, # Image width in pixels.
438        "height": 42, # Image height in pixels.
439      },
440      "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
441      "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
442    },
443    "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative.
444        # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
445        # for possible values.
446      42,
447    ],
448    "agencyId": "A String", # The agency ID for this creative.
449    "html": { # HTML content for a creative. # An HTML creative.
450      "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
451      "width": 42, # The width of the HTML snippet in pixels.
452      "height": 42, # The height of the HTML snippet in pixels.
453    },
454    "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
455    "accountId": "A String", # The account that this creative belongs to.
456        # Can be used to filter the response of the
457        # creatives.list
458        # method.
459    "detectedProductCategories": [ # Output only. Detected product categories, if any.
460        # See the ad-product-categories.txt file in the technical documentation
461        # for a list of IDs.
462      42,
463    ],
464    "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
465      "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider.
466          #
467          # If true for a given creative, any bid submitted with that creative for an
468          # impression that will serve to an EEA user will be filtered before the
469          # auction.
470      "detectedProviderIds": [ # The detected ad technology provider IDs for this creative.
471          # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
472          # mapping of provider ID to provided name, a privacy policy URL, and a list
473          # of domains which can be attributed to the provider.
474          #
475          # If the creative contains provider IDs that are outside of those listed in
476          # the `BidRequest.adslot.consented_providers_settings.consented_providers`
477          # field on the (Google bid
478          # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
479          # and the
480          # `BidRequest.user.ext.consented_providers_settings.consented_providers`
481          # field on the (OpenRTB
482          # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
483          # and a bid is submitted with that creative for an impression that will
484          # serve to an EEA user, the bid will be filtered before the auction.
485        "A String",
486      ],
487    },
488    "detectedDomains": [ # Output only. The detected domains for this creative.
489      "A String",
490    ],
491    "attributes": [ # All attributes for the ads that may be shown from this creative.
492        # Can be used to filter the response of the
493        # creatives.list
494        # method.
495      "A String",
496    ],
497    "dealsStatus": "A String", # Output only. The top-level deals status of this creative.
498        # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in
499        # serving_restrictions will also exist. Note
500        # that this may be nuanced with other contextual restrictions, in which case,
501        # it may be preferable to read from serving_restrictions directly.
502        # Can be used to filter the response of the
503        # creatives.list
504        # method.
505    "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts.
506        # A context here relates to where something ultimately serves (for example,
507        # a physical location, a platform, an HTTPS vs HTTP request, or the type
508        # of auction).
509      { # Output only. A representation of the status of an ad in a
510          # specific context. A context here relates to where something ultimately serves
511          # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
512          # or the type of auction).
513        "contexts": [ # The contexts for the restriction.
514          { # The serving context for this restriction.
515            "all": "A String", # Matches all contexts.
516            "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
517              "appTypes": [ # The app types this restriction applies to.
518                "A String",
519              ],
520            },
521            "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
522              "securities": [ # The security types in this context.
523                "A String",
524              ],
525            },
526            "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
527              "platforms": [ # The platforms this restriction applies to.
528                "A String",
529              ],
530            },
531            "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
532                # location.
533              "geoCriteriaIds": [ # IDs representing the geo location for this context.
534                  # Please refer to the
535                  # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
536                  # file for different geo criteria IDs.
537                42,
538              ],
539            },
540            "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
541              "auctionTypes": [ # The auction types this restriction applies to.
542                "A String",
543              ],
544            },
545          },
546        ],
547        "status": "A String", # The status of the creative in this context (for example, it has been
548            # explicitly disapproved or is pending review).
549        "disapprovalReasons": [ # Any disapprovals bound to this restriction.
550            # Only present if status=DISAPPROVED.
551            # Can be used to filter the response of the
552            # creatives.list
553            # method.
554            # Deprecated; please use
555            # disapproval
556            # field instead.
557          { # Output only. The reason and details for a disapproval.
558            "reason": "A String", # The categorized reason for disapproval.
559            "details": [ # Additional details about the reason for disapproval.
560              "A String",
561            ],
562          },
563        ],
564        "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
565            # Only present if status=DISAPPROVED.
566            # Can be used to filter the response of the
567            # creatives.list
568            # method.
569          "reason": "A String", # The categorized reason for disapproval.
570          "details": [ # Additional details about the reason for disapproval.
571            "A String",
572          ],
573        },
574      },
575    ],
576    "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
577      "A String",
578    ],
579    "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
580      "A String",
581    ],
582    "corrections": [ # Output only. Shows any corrections that were applied to this creative.
583      { # Output only. Shows any corrections that were applied to this creative.
584        "contexts": [ # The contexts for the correction.
585          { # The serving context for this restriction.
586            "all": "A String", # Matches all contexts.
587            "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
588              "appTypes": [ # The app types this restriction applies to.
589                "A String",
590              ],
591            },
592            "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
593              "securities": [ # The security types in this context.
594                "A String",
595              ],
596            },
597            "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
598              "platforms": [ # The platforms this restriction applies to.
599                "A String",
600              ],
601            },
602            "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
603                # location.
604              "geoCriteriaIds": [ # IDs representing the geo location for this context.
605                  # Please refer to the
606                  # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
607                  # file for different geo criteria IDs.
608                42,
609              ],
610            },
611            "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
612              "auctionTypes": [ # The auction types this restriction applies to.
613                "A String",
614              ],
615            },
616          },
617        ],
618        "type": "A String", # The type of correction that was applied to the creative.
619        "details": [ # Additional details about what was corrected.
620          "A String",
621        ],
622      },
623    ],
624    "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative.
625        # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
626        # serving_restrictions will also exist. Note
627        # that this may be nuanced with other contextual restrictions, in which case,
628        # it may be preferable to read from serving_restrictions directly.
629        # Can be used to filter the response of the
630        # creatives.list
631        # method.
632  }</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.
651    "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
652      "A String",
653    ],
654    "version": 42, # Output only. The version of this creative.
655    "detectedLanguages": [ # Output only. The detected languages for this creative. The order is
656        # arbitrary. The codes are 2 or 5 characters and are documented at
657        # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
658      "A String",
659    ],
660    "advertiserName": "A String", # The name of the company being advertised in the creative.
661    "clickThroughUrls": [ # The set of destination URLs for the creative.
662      "A String",
663    ],
664    "video": { # Video content for a creative. # A video creative.
665      "videoUrl": "A String", # The URL to fetch a video ad.
666      "videoVastXml": "A String", # The contents of a VAST document for a video ad.
667          # This document should conform to the VAST 2.0 or 3.0 standard.
668    },
669    "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any.
670        # See the ad-sensitive-categories.txt file in the technical documentation for
671        # a list of IDs. You should use these IDs along with the
672        # excluded-sensitive-category field in the bid request to filter your bids.
673      42,
674    ],
675    "creativeId": "A String", # The buyer-defined creative ID of this creative.
676        # Can be used to filter the response of the
677        # creatives.list
678        # method.
679    "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
680      "A String",
681    ],
682    "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
683    "native": { # Native content for a creative. # A native creative.
684      "body": "A String", # A long description of the ad.
685      "videoUrl": "A String", # The URL to fetch a native video ad.
686      "headline": "A String", # A short title for the ad.
687      "image": { # An image resource. You may provide a larger image than was requested, # A large image.
688          # so long as the aspect ratio is preserved.
689        "url": "A String", # The URL of the image.
690        "width": 42, # Image width in pixels.
691        "height": 42, # Image height in pixels.
692      },
693      "clickTrackingUrl": "A String", # The URL to use for click tracking.
694      "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
695      "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
696      "priceDisplayText": "A String", # The price of the promoted app including currency info.
697      "callToAction": "A String", # A label for the button that the user is supposed to click.
698      "logo": { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser's logo.
699          # so long as the aspect ratio is preserved.
700        "url": "A String", # The URL of the image.
701        "width": 42, # Image width in pixels.
702        "height": 42, # Image height in pixels.
703      },
704      "appIcon": { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
705          # so long as the aspect ratio is preserved.
706        "url": "A String", # The URL of the image.
707        "width": 42, # Image width in pixels.
708        "height": 42, # Image height in pixels.
709      },
710      "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
711      "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
712    },
713    "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative.
714        # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
715        # for possible values.
716      42,
717    ],
718    "agencyId": "A String", # The agency ID for this creative.
719    "html": { # HTML content for a creative. # An HTML creative.
720      "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
721      "width": 42, # The width of the HTML snippet in pixels.
722      "height": 42, # The height of the HTML snippet in pixels.
723    },
724    "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
725    "accountId": "A String", # The account that this creative belongs to.
726        # Can be used to filter the response of the
727        # creatives.list
728        # method.
729    "detectedProductCategories": [ # Output only. Detected product categories, if any.
730        # See the ad-product-categories.txt file in the technical documentation
731        # for a list of IDs.
732      42,
733    ],
734    "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
735      "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider.
736          #
737          # If true for a given creative, any bid submitted with that creative for an
738          # impression that will serve to an EEA user will be filtered before the
739          # auction.
740      "detectedProviderIds": [ # The detected ad technology provider IDs for this creative.
741          # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
742          # mapping of provider ID to provided name, a privacy policy URL, and a list
743          # of domains which can be attributed to the provider.
744          #
745          # If the creative contains provider IDs that are outside of those listed in
746          # the `BidRequest.adslot.consented_providers_settings.consented_providers`
747          # field on the (Google bid
748          # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
749          # and the
750          # `BidRequest.user.ext.consented_providers_settings.consented_providers`
751          # field on the (OpenRTB
752          # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
753          # and a bid is submitted with that creative for an impression that will
754          # serve to an EEA user, the bid will be filtered before the auction.
755        "A String",
756      ],
757    },
758    "detectedDomains": [ # Output only. The detected domains for this creative.
759      "A String",
760    ],
761    "attributes": [ # All attributes for the ads that may be shown from this creative.
762        # Can be used to filter the response of the
763        # creatives.list
764        # method.
765      "A String",
766    ],
767    "dealsStatus": "A String", # Output only. The top-level deals status of this creative.
768        # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in
769        # serving_restrictions will also exist. Note
770        # that this may be nuanced with other contextual restrictions, in which case,
771        # it may be preferable to read from serving_restrictions directly.
772        # Can be used to filter the response of the
773        # creatives.list
774        # method.
775    "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts.
776        # A context here relates to where something ultimately serves (for example,
777        # a physical location, a platform, an HTTPS vs HTTP request, or the type
778        # of auction).
779      { # Output only. A representation of the status of an ad in a
780          # specific context. A context here relates to where something ultimately serves
781          # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
782          # or the type of auction).
783        "contexts": [ # The contexts for the restriction.
784          { # The serving context for this restriction.
785            "all": "A String", # Matches all contexts.
786            "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
787              "appTypes": [ # The app types this restriction applies to.
788                "A String",
789              ],
790            },
791            "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
792              "securities": [ # The security types in this context.
793                "A String",
794              ],
795            },
796            "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
797              "platforms": [ # The platforms this restriction applies to.
798                "A String",
799              ],
800            },
801            "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
802                # location.
803              "geoCriteriaIds": [ # IDs representing the geo location for this context.
804                  # Please refer to the
805                  # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
806                  # file for different geo criteria IDs.
807                42,
808              ],
809            },
810            "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
811              "auctionTypes": [ # The auction types this restriction applies to.
812                "A String",
813              ],
814            },
815          },
816        ],
817        "status": "A String", # The status of the creative in this context (for example, it has been
818            # explicitly disapproved or is pending review).
819        "disapprovalReasons": [ # Any disapprovals bound to this restriction.
820            # Only present if status=DISAPPROVED.
821            # Can be used to filter the response of the
822            # creatives.list
823            # method.
824            # Deprecated; please use
825            # disapproval
826            # field instead.
827          { # Output only. The reason and details for a disapproval.
828            "reason": "A String", # The categorized reason for disapproval.
829            "details": [ # Additional details about the reason for disapproval.
830              "A String",
831            ],
832          },
833        ],
834        "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
835            # Only present if status=DISAPPROVED.
836            # Can be used to filter the response of the
837            # creatives.list
838            # method.
839          "reason": "A String", # The categorized reason for disapproval.
840          "details": [ # Additional details about the reason for disapproval.
841            "A String",
842          ],
843        },
844      },
845    ],
846    "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
847      "A String",
848    ],
849    "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
850      "A String",
851    ],
852    "corrections": [ # Output only. Shows any corrections that were applied to this creative.
853      { # Output only. Shows any corrections that were applied to this creative.
854        "contexts": [ # The contexts for the correction.
855          { # The serving context for this restriction.
856            "all": "A String", # Matches all contexts.
857            "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
858              "appTypes": [ # The app types this restriction applies to.
859                "A String",
860              ],
861            },
862            "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
863              "securities": [ # The security types in this context.
864                "A String",
865              ],
866            },
867            "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
868              "platforms": [ # The platforms this restriction applies to.
869                "A String",
870              ],
871            },
872            "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
873                # location.
874              "geoCriteriaIds": [ # IDs representing the geo location for this context.
875                  # Please refer to the
876                  # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
877                  # file for different geo criteria IDs.
878                42,
879              ],
880            },
881            "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
882              "auctionTypes": [ # The auction types this restriction applies to.
883                "A String",
884              ],
885            },
886          },
887        ],
888        "type": "A String", # The type of correction that was applied to the creative.
889        "details": [ # Additional details about what was corrected.
890          "A String",
891        ],
892      },
893    ],
894    "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative.
895        # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
896        # serving_restrictions will also exist. Note
897        # that this may be nuanced with other contextual restrictions, in which case,
898        # it may be preferable to read from serving_restrictions directly.
899        # Can be used to filter the response of the
900        # creatives.list
901        # method.
902  }</pre>
903</div>
904
905<div class="method">
906    <code class="details" id="list">list(accountId, pageSize=None, pageToken=None, query=None, x__xgafv=None)</code>
907  <pre>Lists creatives.
908
909Args:
910  accountId: string, The account to list the creatives from.
911Specify "-" to list all creatives the current user has access to. (required)
912  pageSize: integer, Requested page size. The server may return fewer creatives than requested
913(due to timeout constraint) even if more are available via another call.
914If unspecified, server will pick an appropriate default.
915Acceptable values are 1 to 1000, inclusive.
916  pageToken: string, A token identifying a page of results the server should return.
917Typically, this is the value of
918ListCreativesResponse.next_page_token
919returned from the previous call to 'ListCreatives' method.
920  query: string, An optional query string to filter creatives. If no filter is specified,
921all active creatives will be returned.
922<p>Supported queries are:
923<ul>
924<li>accountId=<i>account_id_string</i>
925<li>creativeId=<i>creative_id_string</i>
926<li>dealsStatus: {approved, conditionally_approved, disapproved,
927                   not_checked}
928<li>openAuctionStatus: {approved, conditionally_approved, disapproved,
929                          not_checked}
930<li>attribute: {a numeric attribute from the list of attributes}
931<li>disapprovalReason: {a reason from
932DisapprovalReason}
933</ul>
934Example: 'accountId=12345 AND (dealsStatus:disapproved AND
935disapprovalReason:unacceptable_content) OR attribute:47'
936  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.
945    "nextPageToken": "A String", # A token to retrieve the next page of results.
946        # Pass this value in the
947        # ListCreativesRequest.page_token
948        # field in the subsequent call to `ListCreatives` method to retrieve the next
949        # page of results.
950    "creatives": [ # The list of creatives.
951      { # A creative and its classification data.
952        "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
953          "A String",
954        ],
955        "version": 42, # Output only. The version of this creative.
956        "detectedLanguages": [ # Output only. The detected languages for this creative. The order is
957            # arbitrary. The codes are 2 or 5 characters and are documented at
958            # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
959          "A String",
960        ],
961        "advertiserName": "A String", # The name of the company being advertised in the creative.
962        "clickThroughUrls": [ # The set of destination URLs for the creative.
963          "A String",
964        ],
965        "video": { # Video content for a creative. # A video creative.
966          "videoUrl": "A String", # The URL to fetch a video ad.
967          "videoVastXml": "A String", # The contents of a VAST document for a video ad.
968              # This document should conform to the VAST 2.0 or 3.0 standard.
969        },
970        "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any.
971            # See the ad-sensitive-categories.txt file in the technical documentation for
972            # a list of IDs. You should use these IDs along with the
973            # excluded-sensitive-category field in the bid request to filter your bids.
974          42,
975        ],
976        "creativeId": "A String", # The buyer-defined creative ID of this creative.
977            # Can be used to filter the response of the
978            # creatives.list
979            # method.
980        "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
981          "A String",
982        ],
983        "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
984        "native": { # Native content for a creative. # A native creative.
985          "body": "A String", # A long description of the ad.
986          "videoUrl": "A String", # The URL to fetch a native video ad.
987          "headline": "A String", # A short title for the ad.
988          "image": { # An image resource. You may provide a larger image than was requested, # A large image.
989              # so long as the aspect ratio is preserved.
990            "url": "A String", # The URL of the image.
991            "width": 42, # Image width in pixels.
992            "height": 42, # Image height in pixels.
993          },
994          "clickTrackingUrl": "A String", # The URL to use for click tracking.
995          "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
996          "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
997          "priceDisplayText": "A String", # The price of the promoted app including currency info.
998          "callToAction": "A String", # A label for the button that the user is supposed to click.
999          "logo": { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser's logo.
1000              # so long as the aspect ratio is preserved.
1001            "url": "A String", # The URL of the image.
1002            "width": 42, # Image width in pixels.
1003            "height": 42, # Image height in pixels.
1004          },
1005          "appIcon": { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
1006              # so long as the aspect ratio is preserved.
1007            "url": "A String", # The URL of the image.
1008            "width": 42, # Image width in pixels.
1009            "height": 42, # Image height in pixels.
1010          },
1011          "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
1012          "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
1013        },
1014        "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative.
1015            # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
1016            # for possible values.
1017          42,
1018        ],
1019        "agencyId": "A String", # The agency ID for this creative.
1020        "html": { # HTML content for a creative. # An HTML creative.
1021          "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
1022          "width": 42, # The width of the HTML snippet in pixels.
1023          "height": 42, # The height of the HTML snippet in pixels.
1024        },
1025        "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
1026        "accountId": "A String", # The account that this creative belongs to.
1027            # Can be used to filter the response of the
1028            # creatives.list
1029            # method.
1030        "detectedProductCategories": [ # Output only. Detected product categories, if any.
1031            # See the ad-product-categories.txt file in the technical documentation
1032            # for a list of IDs.
1033          42,
1034        ],
1035        "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
1036          "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider.
1037              #
1038              # If true for a given creative, any bid submitted with that creative for an
1039              # impression that will serve to an EEA user will be filtered before the
1040              # auction.
1041          "detectedProviderIds": [ # The detected ad technology provider IDs for this creative.
1042              # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
1043              # mapping of provider ID to provided name, a privacy policy URL, and a list
1044              # of domains which can be attributed to the provider.
1045              #
1046              # If the creative contains provider IDs that are outside of those listed in
1047              # the `BidRequest.adslot.consented_providers_settings.consented_providers`
1048              # field on the (Google bid
1049              # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
1050              # and the
1051              # `BidRequest.user.ext.consented_providers_settings.consented_providers`
1052              # field on the (OpenRTB
1053              # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
1054              # and a bid is submitted with that creative for an impression that will
1055              # serve to an EEA user, the bid will be filtered before the auction.
1056            "A String",
1057          ],
1058        },
1059        "detectedDomains": [ # Output only. The detected domains for this creative.
1060          "A String",
1061        ],
1062        "attributes": [ # All attributes for the ads that may be shown from this creative.
1063            # Can be used to filter the response of the
1064            # creatives.list
1065            # method.
1066          "A String",
1067        ],
1068        "dealsStatus": "A String", # Output only. The top-level deals status of this creative.
1069            # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in
1070            # serving_restrictions will also exist. Note
1071            # that this may be nuanced with other contextual restrictions, in which case,
1072            # it may be preferable to read from serving_restrictions directly.
1073            # Can be used to filter the response of the
1074            # creatives.list
1075            # method.
1076        "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts.
1077            # A context here relates to where something ultimately serves (for example,
1078            # a physical location, a platform, an HTTPS vs HTTP request, or the type
1079            # of auction).
1080          { # Output only. A representation of the status of an ad in a
1081              # specific context. A context here relates to where something ultimately serves
1082              # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
1083              # or the type of auction).
1084            "contexts": [ # The contexts for the restriction.
1085              { # The serving context for this restriction.
1086                "all": "A String", # Matches all contexts.
1087                "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1088                  "appTypes": [ # The app types this restriction applies to.
1089                    "A String",
1090                  ],
1091                },
1092                "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
1093                  "securities": [ # The security types in this context.
1094                    "A String",
1095                  ],
1096                },
1097                "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1098                  "platforms": [ # The platforms this restriction applies to.
1099                    "A String",
1100                  ],
1101                },
1102                "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1103                    # location.
1104                  "geoCriteriaIds": [ # IDs representing the geo location for this context.
1105                      # Please refer to the
1106                      # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1107                      # file for different geo criteria IDs.
1108                    42,
1109                  ],
1110                },
1111                "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1112                  "auctionTypes": [ # The auction types this restriction applies to.
1113                    "A String",
1114                  ],
1115                },
1116              },
1117            ],
1118            "status": "A String", # The status of the creative in this context (for example, it has been
1119                # explicitly disapproved or is pending review).
1120            "disapprovalReasons": [ # Any disapprovals bound to this restriction.
1121                # Only present if status=DISAPPROVED.
1122                # Can be used to filter the response of the
1123                # creatives.list
1124                # method.
1125                # Deprecated; please use
1126                # disapproval
1127                # field instead.
1128              { # Output only. The reason and details for a disapproval.
1129                "reason": "A String", # The categorized reason for disapproval.
1130                "details": [ # Additional details about the reason for disapproval.
1131                  "A String",
1132                ],
1133              },
1134            ],
1135            "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
1136                # Only present if status=DISAPPROVED.
1137                # Can be used to filter the response of the
1138                # creatives.list
1139                # method.
1140              "reason": "A String", # The categorized reason for disapproval.
1141              "details": [ # Additional details about the reason for disapproval.
1142                "A String",
1143              ],
1144            },
1145          },
1146        ],
1147        "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
1148          "A String",
1149        ],
1150        "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
1151          "A String",
1152        ],
1153        "corrections": [ # Output only. Shows any corrections that were applied to this creative.
1154          { # Output only. Shows any corrections that were applied to this creative.
1155            "contexts": [ # The contexts for the correction.
1156              { # The serving context for this restriction.
1157                "all": "A String", # Matches all contexts.
1158                "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1159                  "appTypes": [ # The app types this restriction applies to.
1160                    "A String",
1161                  ],
1162                },
1163                "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
1164                  "securities": [ # The security types in this context.
1165                    "A String",
1166                  ],
1167                },
1168                "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1169                  "platforms": [ # The platforms this restriction applies to.
1170                    "A String",
1171                  ],
1172                },
1173                "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1174                    # location.
1175                  "geoCriteriaIds": [ # IDs representing the geo location for this context.
1176                      # Please refer to the
1177                      # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1178                      # file for different geo criteria IDs.
1179                    42,
1180                  ],
1181                },
1182                "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1183                  "auctionTypes": [ # The auction types this restriction applies to.
1184                    "A String",
1185                  ],
1186                },
1187              },
1188            ],
1189            "type": "A String", # The type of correction that was applied to the creative.
1190            "details": [ # Additional details about what was corrected.
1191              "A String",
1192            ],
1193          },
1194        ],
1195        "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative.
1196            # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
1197            # serving_restrictions will also exist. Note
1198            # that this may be nuanced with other contextual restrictions, in which case,
1199            # it may be preferable to read from serving_restrictions directly.
1200            # Can be used to filter the response of the
1201            # creatives.list
1202            # method.
1203      },
1204    ],
1205  }</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:
1217  A request object that you can call 'execute()' on to request the next
1218  page. Returns None if there are no more items in the collection.
1219    </pre>
1220</div>
1221
1222<div class="method">
1223    <code class="details" id="stopWatching">stopWatching(accountId, creativeId, body=None, x__xgafv=None)</code>
1224  <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.
1230Specify "-" to specify stopping account level notifications. (required)
1231  body: object, The request body.
1232    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">
1258    <code class="details" id="update">update(accountId, creativeId, body, x__xgafv=None)</code>
1259  <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)
1270  body: object, The request body. (required)
1271    The object takes the form of:
1272
1273{ # A creative and its classification data.
1274  "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
1275    "A String",
1276  ],
1277  "version": 42, # Output only. The version of this creative.
1278  "detectedLanguages": [ # Output only. The detected languages for this creative. The order is
1279      # arbitrary. The codes are 2 or 5 characters and are documented at
1280      # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
1281    "A String",
1282  ],
1283  "advertiserName": "A String", # The name of the company being advertised in the creative.
1284  "clickThroughUrls": [ # The set of destination URLs for the creative.
1285    "A String",
1286  ],
1287  "video": { # Video content for a creative. # A video creative.
1288    "videoUrl": "A String", # The URL to fetch a video ad.
1289    "videoVastXml": "A String", # The contents of a VAST document for a video ad.
1290        # This document should conform to the VAST 2.0 or 3.0 standard.
1291  },
1292  "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any.
1293      # See the ad-sensitive-categories.txt file in the technical documentation for
1294      # a list of IDs. You should use these IDs along with the
1295      # excluded-sensitive-category field in the bid request to filter your bids.
1296    42,
1297  ],
1298  "creativeId": "A String", # The buyer-defined creative ID of this creative.
1299      # Can be used to filter the response of the
1300      # creatives.list
1301      # method.
1302  "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
1303    "A String",
1304  ],
1305  "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
1306  "native": { # Native content for a creative. # A native creative.
1307    "body": "A String", # A long description of the ad.
1308    "videoUrl": "A String", # The URL to fetch a native video ad.
1309    "headline": "A String", # A short title for the ad.
1310    "image": { # An image resource. You may provide a larger image than was requested, # A large image.
1311        # so long as the aspect ratio is preserved.
1312      "url": "A String", # The URL of the image.
1313      "width": 42, # Image width in pixels.
1314      "height": 42, # Image height in pixels.
1315    },
1316    "clickTrackingUrl": "A String", # The URL to use for click tracking.
1317    "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
1318    "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
1319    "priceDisplayText": "A String", # The price of the promoted app including currency info.
1320    "callToAction": "A String", # A label for the button that the user is supposed to click.
1321    "logo": { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser's logo.
1322        # so long as the aspect ratio is preserved.
1323      "url": "A String", # The URL of the image.
1324      "width": 42, # Image width in pixels.
1325      "height": 42, # Image height in pixels.
1326    },
1327    "appIcon": { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
1328        # so long as the aspect ratio is preserved.
1329      "url": "A String", # The URL of the image.
1330      "width": 42, # Image width in pixels.
1331      "height": 42, # Image height in pixels.
1332    },
1333    "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
1334    "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
1335  },
1336  "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative.
1337      # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
1338      # for possible values.
1339    42,
1340  ],
1341  "agencyId": "A String", # The agency ID for this creative.
1342  "html": { # HTML content for a creative. # An HTML creative.
1343    "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
1344    "width": 42, # The width of the HTML snippet in pixels.
1345    "height": 42, # The height of the HTML snippet in pixels.
1346  },
1347  "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
1348  "accountId": "A String", # The account that this creative belongs to.
1349      # Can be used to filter the response of the
1350      # creatives.list
1351      # method.
1352  "detectedProductCategories": [ # Output only. Detected product categories, if any.
1353      # See the ad-product-categories.txt file in the technical documentation
1354      # for a list of IDs.
1355    42,
1356  ],
1357  "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
1358    "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider.
1359        #
1360        # If true for a given creative, any bid submitted with that creative for an
1361        # impression that will serve to an EEA user will be filtered before the
1362        # auction.
1363    "detectedProviderIds": [ # The detected ad technology provider IDs for this creative.
1364        # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
1365        # mapping of provider ID to provided name, a privacy policy URL, and a list
1366        # of domains which can be attributed to the provider.
1367        #
1368        # If the creative contains provider IDs that are outside of those listed in
1369        # the `BidRequest.adslot.consented_providers_settings.consented_providers`
1370        # field on the (Google bid
1371        # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
1372        # and the
1373        # `BidRequest.user.ext.consented_providers_settings.consented_providers`
1374        # field on the (OpenRTB
1375        # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
1376        # and a bid is submitted with that creative for an impression that will
1377        # serve to an EEA user, the bid will be filtered before the auction.
1378      "A String",
1379    ],
1380  },
1381  "detectedDomains": [ # Output only. The detected domains for this creative.
1382    "A String",
1383  ],
1384  "attributes": [ # All attributes for the ads that may be shown from this creative.
1385      # Can be used to filter the response of the
1386      # creatives.list
1387      # method.
1388    "A String",
1389  ],
1390  "dealsStatus": "A String", # Output only. The top-level deals status of this creative.
1391      # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in
1392      # serving_restrictions will also exist. Note
1393      # that this may be nuanced with other contextual restrictions, in which case,
1394      # it may be preferable to read from serving_restrictions directly.
1395      # Can be used to filter the response of the
1396      # creatives.list
1397      # method.
1398  "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts.
1399      # A context here relates to where something ultimately serves (for example,
1400      # a physical location, a platform, an HTTPS vs HTTP request, or the type
1401      # of auction).
1402    { # Output only. A representation of the status of an ad in a
1403        # specific context. A context here relates to where something ultimately serves
1404        # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
1405        # or the type of auction).
1406      "contexts": [ # The contexts for the restriction.
1407        { # The serving context for this restriction.
1408          "all": "A String", # Matches all contexts.
1409          "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1410            "appTypes": [ # The app types this restriction applies to.
1411              "A String",
1412            ],
1413          },
1414          "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
1415            "securities": [ # The security types in this context.
1416              "A String",
1417            ],
1418          },
1419          "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1420            "platforms": [ # The platforms this restriction applies to.
1421              "A String",
1422            ],
1423          },
1424          "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1425              # location.
1426            "geoCriteriaIds": [ # IDs representing the geo location for this context.
1427                # Please refer to the
1428                # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1429                # file for different geo criteria IDs.
1430              42,
1431            ],
1432          },
1433          "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1434            "auctionTypes": [ # The auction types this restriction applies to.
1435              "A String",
1436            ],
1437          },
1438        },
1439      ],
1440      "status": "A String", # The status of the creative in this context (for example, it has been
1441          # explicitly disapproved or is pending review).
1442      "disapprovalReasons": [ # Any disapprovals bound to this restriction.
1443          # Only present if status=DISAPPROVED.
1444          # Can be used to filter the response of the
1445          # creatives.list
1446          # method.
1447          # Deprecated; please use
1448          # disapproval
1449          # field instead.
1450        { # Output only. The reason and details for a disapproval.
1451          "reason": "A String", # The categorized reason for disapproval.
1452          "details": [ # Additional details about the reason for disapproval.
1453            "A String",
1454          ],
1455        },
1456      ],
1457      "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
1458          # Only present if status=DISAPPROVED.
1459          # Can be used to filter the response of the
1460          # creatives.list
1461          # method.
1462        "reason": "A String", # The categorized reason for disapproval.
1463        "details": [ # Additional details about the reason for disapproval.
1464          "A String",
1465        ],
1466      },
1467    },
1468  ],
1469  "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
1470    "A String",
1471  ],
1472  "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
1473    "A String",
1474  ],
1475  "corrections": [ # Output only. Shows any corrections that were applied to this creative.
1476    { # Output only. Shows any corrections that were applied to this creative.
1477      "contexts": [ # The contexts for the correction.
1478        { # The serving context for this restriction.
1479          "all": "A String", # Matches all contexts.
1480          "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1481            "appTypes": [ # The app types this restriction applies to.
1482              "A String",
1483            ],
1484          },
1485          "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
1486            "securities": [ # The security types in this context.
1487              "A String",
1488            ],
1489          },
1490          "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1491            "platforms": [ # The platforms this restriction applies to.
1492              "A String",
1493            ],
1494          },
1495          "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1496              # location.
1497            "geoCriteriaIds": [ # IDs representing the geo location for this context.
1498                # Please refer to the
1499                # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1500                # file for different geo criteria IDs.
1501              42,
1502            ],
1503          },
1504          "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1505            "auctionTypes": [ # The auction types this restriction applies to.
1506              "A String",
1507            ],
1508          },
1509        },
1510      ],
1511      "type": "A String", # The type of correction that was applied to the creative.
1512      "details": [ # Additional details about what was corrected.
1513        "A String",
1514      ],
1515    },
1516  ],
1517  "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative.
1518      # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
1519      # serving_restrictions will also exist. Note
1520      # that this may be nuanced with other contextual restrictions, in which case,
1521      # it may be preferable to read from serving_restrictions directly.
1522      # Can be used to filter the response of the
1523      # creatives.list
1524      # method.
1525}
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.
1536    "impressionTrackingUrls": [ # The set of URLs to be called to record an impression.
1537      "A String",
1538    ],
1539    "version": 42, # Output only. The version of this creative.
1540    "detectedLanguages": [ # Output only. The detected languages for this creative. The order is
1541        # arbitrary. The codes are 2 or 5 characters and are documented at
1542        # https://developers.google.com/adwords/api/docs/appendix/languagecodes.
1543      "A String",
1544    ],
1545    "advertiserName": "A String", # The name of the company being advertised in the creative.
1546    "clickThroughUrls": [ # The set of destination URLs for the creative.
1547      "A String",
1548    ],
1549    "video": { # Video content for a creative. # A video creative.
1550      "videoUrl": "A String", # The URL to fetch a video ad.
1551      "videoVastXml": "A String", # The contents of a VAST document for a video ad.
1552          # This document should conform to the VAST 2.0 or 3.0 standard.
1553    },
1554    "detectedSensitiveCategories": [ # Output only. Detected sensitive categories, if any.
1555        # See the ad-sensitive-categories.txt file in the technical documentation for
1556        # a list of IDs. You should use these IDs along with the
1557        # excluded-sensitive-category field in the bid request to filter your bids.
1558      42,
1559    ],
1560    "creativeId": "A String", # The buyer-defined creative ID of this creative.
1561        # Can be used to filter the response of the
1562        # creatives.list
1563        # method.
1564    "detectedAdvertiserIds": [ # Output only. Detected advertiser IDs, if any.
1565      "A String",
1566    ],
1567    "adChoicesDestinationUrl": "A String", # The link to AdChoices destination page.
1568    "native": { # Native content for a creative. # A native creative.
1569      "body": "A String", # A long description of the ad.
1570      "videoUrl": "A String", # The URL to fetch a native video ad.
1571      "headline": "A String", # A short title for the ad.
1572      "image": { # An image resource. You may provide a larger image than was requested, # A large image.
1573          # so long as the aspect ratio is preserved.
1574        "url": "A String", # The URL of the image.
1575        "width": 42, # Image width in pixels.
1576        "height": 42, # Image height in pixels.
1577      },
1578      "clickTrackingUrl": "A String", # The URL to use for click tracking.
1579      "starRating": 3.14, # The app rating in the app store. Must be in the range [0-5].
1580      "advertiserName": "A String", # The name of the advertiser or sponsor, to be displayed in the ad creative.
1581      "priceDisplayText": "A String", # The price of the promoted app including currency info.
1582      "callToAction": "A String", # A label for the button that the user is supposed to click.
1583      "logo": { # An image resource. You may provide a larger image than was requested, # A smaller image, for the advertiser's logo.
1584          # so long as the aspect ratio is preserved.
1585        "url": "A String", # The URL of the image.
1586        "width": 42, # Image width in pixels.
1587        "height": 42, # Image height in pixels.
1588      },
1589      "appIcon": { # An image resource. You may provide a larger image than was requested, # The app icon, for app download ads.
1590          # so long as the aspect ratio is preserved.
1591        "url": "A String", # The URL of the image.
1592        "width": 42, # Image width in pixels.
1593        "height": 42, # Image height in pixels.
1594      },
1595      "storeUrl": "A String", # The URL to the app store to purchase/download the promoted app.
1596      "clickLinkUrl": "A String", # The URL that the browser/SDK will load when the user clicks the ad.
1597    },
1598    "vendorIds": [ # All vendor IDs for the ads that may be shown from this creative.
1599        # See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt
1600        # for possible values.
1601      42,
1602    ],
1603    "agencyId": "A String", # The agency ID for this creative.
1604    "html": { # HTML content for a creative. # An HTML creative.
1605      "snippet": "A String", # The HTML snippet that displays the ad when inserted in the web page.
1606      "width": 42, # The width of the HTML snippet in pixels.
1607      "height": 42, # The height of the HTML snippet in pixels.
1608    },
1609    "apiUpdateTime": "A String", # Output only. The last update timestamp of the creative via API.
1610    "accountId": "A String", # The account that this creative belongs to.
1611        # Can be used to filter the response of the
1612        # creatives.list
1613        # method.
1614    "detectedProductCategories": [ # Output only. Detected product categories, if any.
1615        # See the ad-product-categories.txt file in the technical documentation
1616        # for a list of IDs.
1617      42,
1618    ],
1619    "adTechnologyProviders": { # Detected ad technology provider information. # Output only. The detected ad technology providers.
1620      "hasUnidentifiedProvider": True or False, # Whether the creative contains an unidentified ad technology provider.
1621          #
1622          # If true for a given creative, any bid submitted with that creative for an
1623          # impression that will serve to an EEA user will be filtered before the
1624          # auction.
1625      "detectedProviderIds": [ # The detected ad technology provider IDs for this creative.
1626          # See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for
1627          # mapping of provider ID to provided name, a privacy policy URL, and a list
1628          # of domains which can be attributed to the provider.
1629          #
1630          # If the creative contains provider IDs that are outside of those listed in
1631          # the `BidRequest.adslot.consented_providers_settings.consented_providers`
1632          # field on the (Google bid
1633          # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto]
1634          # and the
1635          # `BidRequest.user.ext.consented_providers_settings.consented_providers`
1636          # field on the (OpenRTB
1637          # protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto],
1638          # and a bid is submitted with that creative for an impression that will
1639          # serve to an EEA user, the bid will be filtered before the auction.
1640        "A String",
1641      ],
1642    },
1643    "detectedDomains": [ # Output only. The detected domains for this creative.
1644      "A String",
1645    ],
1646    "attributes": [ # All attributes for the ads that may be shown from this creative.
1647        # Can be used to filter the response of the
1648        # creatives.list
1649        # method.
1650      "A String",
1651    ],
1652    "dealsStatus": "A String", # Output only. The top-level deals status of this creative.
1653        # If disapproved, an entry for 'auctionType=DIRECT_DEALS' (or 'ALL') in
1654        # serving_restrictions will also exist. Note
1655        # that this may be nuanced with other contextual restrictions, in which case,
1656        # it may be preferable to read from serving_restrictions directly.
1657        # Can be used to filter the response of the
1658        # creatives.list
1659        # method.
1660    "servingRestrictions": [ # Output only. The granular status of this ad in specific contexts.
1661        # A context here relates to where something ultimately serves (for example,
1662        # a physical location, a platform, an HTTPS vs HTTP request, or the type
1663        # of auction).
1664      { # Output only. A representation of the status of an ad in a
1665          # specific context. A context here relates to where something ultimately serves
1666          # (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request,
1667          # or the type of auction).
1668        "contexts": [ # The contexts for the restriction.
1669          { # The serving context for this restriction.
1670            "all": "A String", # Matches all contexts.
1671            "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1672              "appTypes": [ # The app types this restriction applies to.
1673                "A String",
1674              ],
1675            },
1676            "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
1677              "securities": [ # The security types in this context.
1678                "A String",
1679              ],
1680            },
1681            "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1682              "platforms": [ # The platforms this restriction applies to.
1683                "A String",
1684              ],
1685            },
1686            "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1687                # location.
1688              "geoCriteriaIds": [ # IDs representing the geo location for this context.
1689                  # Please refer to the
1690                  # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1691                  # file for different geo criteria IDs.
1692                42,
1693              ],
1694            },
1695            "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1696              "auctionTypes": [ # The auction types this restriction applies to.
1697                "A String",
1698              ],
1699            },
1700          },
1701        ],
1702        "status": "A String", # The status of the creative in this context (for example, it has been
1703            # explicitly disapproved or is pending review).
1704        "disapprovalReasons": [ # Any disapprovals bound to this restriction.
1705            # Only present if status=DISAPPROVED.
1706            # Can be used to filter the response of the
1707            # creatives.list
1708            # method.
1709            # Deprecated; please use
1710            # disapproval
1711            # field instead.
1712          { # Output only. The reason and details for a disapproval.
1713            "reason": "A String", # The categorized reason for disapproval.
1714            "details": [ # Additional details about the reason for disapproval.
1715              "A String",
1716            ],
1717          },
1718        ],
1719        "disapproval": { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction.
1720            # Only present if status=DISAPPROVED.
1721            # Can be used to filter the response of the
1722            # creatives.list
1723            # method.
1724          "reason": "A String", # The categorized reason for disapproval.
1725          "details": [ # Additional details about the reason for disapproval.
1726            "A String",
1727          ],
1728        },
1729      },
1730    ],
1731    "declaredClickThroughUrls": [ # The set of declared destination URLs for the creative.
1732      "A String",
1733    ],
1734    "restrictedCategories": [ # All restricted categories for the ads that may be shown from this creative.
1735      "A String",
1736    ],
1737    "corrections": [ # Output only. Shows any corrections that were applied to this creative.
1738      { # Output only. Shows any corrections that were applied to this creative.
1739        "contexts": [ # The contexts for the correction.
1740          { # The serving context for this restriction.
1741            "all": "A String", # Matches all contexts.
1742            "appType": { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1743              "appTypes": [ # The app types this restriction applies to.
1744                "A String",
1745              ],
1746            },
1747            "securityType": { # Output only. A security context. # Matches impressions for a particular security type.
1748              "securities": [ # The security types in this context.
1749                "A String",
1750              ],
1751            },
1752            "platform": { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1753              "platforms": [ # The platforms this restriction applies to.
1754                "A String",
1755              ],
1756            },
1757            "location": { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific
1758                # location.
1759              "geoCriteriaIds": [ # IDs representing the geo location for this context.
1760                  # Please refer to the
1761                  # [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv)
1762                  # file for different geo criteria IDs.
1763                42,
1764              ],
1765            },
1766            "auctionType": { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1767              "auctionTypes": [ # The auction types this restriction applies to.
1768                "A String",
1769              ],
1770            },
1771          },
1772        ],
1773        "type": "A String", # The type of correction that was applied to the creative.
1774        "details": [ # Additional details about what was corrected.
1775          "A String",
1776        ],
1777      },
1778    ],
1779    "openAuctionStatus": "A String", # Output only. The top-level open auction status of this creative.
1780        # If disapproved, an entry for 'auctionType = OPEN_AUCTION' (or 'ALL') in
1781        # serving_restrictions will also exist. Note
1782        # that this may be nuanced with other contextual restrictions, in which case,
1783        # it may be preferable to read from serving_restrictions directly.
1784        # Can be used to filter the response of the
1785        # creatives.list
1786        # method.
1787  }</pre>
1788</div>
1789
1790<div class="method">
1791    <code class="details" id="watch">watch(accountId, creativeId, body, x__xgafv=None)</code>
1792  <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.
1798Specify "-" to watch all creatives under the above account.
1799If both creative-level and account-level notifications are
1800sent, only a single notification will be sent to the
1801creative-level notification topic. (required)
1802  body: object, The request body. (required)
1803    The object takes the form of:
1804
1805{ # A request for watching changes to creative Status.
1806    "topic": "A String", # The Pub/Sub topic to publish notifications to.
1807        # 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
1810        # "projects/{project_id}/topics/{topic_id}" format.
1811  }
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>