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="adexchangebuyer_v1_4.html">Ad Exchange Buyer API</a> . <a href="adexchangebuyer_v1_4.creatives.html">creatives</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#addDeal">addDeal(accountId, buyerCreativeId, dealId)</a></code></p>
79<p class="firstline">Add a deal id association for the creative.</p>
80<p class="toc_element">
81  <code><a href="#close">close()</a></code></p>
82<p class="firstline">Close httplib2 connections.</p>
83<p class="toc_element">
84  <code><a href="#get">get(accountId, buyerCreativeId)</a></code></p>
85<p class="firstline">Gets the status for a single creative. A creative will be available 30-40 minutes after submission.</p>
86<p class="toc_element">
87  <code><a href="#insert">insert(body=None)</a></code></p>
88<p class="firstline">Submit a new creative.</p>
89<p class="toc_element">
90  <code><a href="#list">list(accountId=None, buyerCreativeId=None, dealsStatusFilter=None, maxResults=None, openAuctionStatusFilter=None, pageToken=None)</a></code></p>
91<p class="firstline">Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.</p>
92<p class="toc_element">
93  <code><a href="#listDeals">listDeals(accountId, buyerCreativeId)</a></code></p>
94<p class="firstline">Lists the external deal ids associated with the creative.</p>
95<p class="toc_element">
96  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
97<p class="firstline">Retrieves the next page of results.</p>
98<p class="toc_element">
99  <code><a href="#removeDeal">removeDeal(accountId, buyerCreativeId, dealId)</a></code></p>
100<p class="firstline">Remove a deal id associated with the creative.</p>
101<h3>Method Details</h3>
102<div class="method">
103    <code class="details" id="addDeal">addDeal(accountId, buyerCreativeId, dealId)</code>
104  <pre>Add a deal id association for the creative.
105
106Args:
107  accountId: integer, The id for the account that will serve this creative. (required)
108  buyerCreativeId: string, The buyer-specific id for this creative. (required)
109  dealId: string, The id of the deal id to associate with this creative. (required)
110</pre>
111</div>
112
113<div class="method">
114    <code class="details" id="close">close()</code>
115  <pre>Close httplib2 connections.</pre>
116</div>
117
118<div class="method">
119    <code class="details" id="get">get(accountId, buyerCreativeId)</code>
120  <pre>Gets the status for a single creative. A creative will be available 30-40 minutes after submission.
121
122Args:
123  accountId: integer, The id for the account that will serve this creative. (required)
124  buyerCreativeId: string, The buyer-specific id for this creative. (required)
125
126Returns:
127  An object of the form:
128
129    { # A creative and its classification data.
130  &quot;HTMLSnippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.
131  &quot;accountId&quot;: 42, # Account id.
132  &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to the Ad Preferences page. This is only supported for native ads.
133  &quot;adTechnologyProviders&quot;: {
134    &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If this creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the  Authorized Buyers Real-Time Bidding protocol or the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the OpenRTB protocol, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the &quot;Third-party Ad Technology Vendors&quot; section of Authorized Buyers Program Guidelines.
135      &quot;A String&quot;,
136    ],
137    &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the &quot;Third-party Ad Technology Vendors&quot; section of Authorized Buyers Program Guidelines.
138  },
139  &quot;advertiserId&quot;: [ # Detected advertiser id, if any. Read-only. This field should not be set in requests.
140    &quot;A String&quot;,
141  ],
142  &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative. A list of advertisers is provided in the advertisers.txt file.
143  &quot;agencyId&quot;: &quot;A String&quot;, # The agency id for this creative.
144  &quot;apiUploadTimestamp&quot;: &quot;A String&quot;, # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
145  &quot;attribute&quot;: [ # List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in  buyer-declarable-creative-attributes.txt.
146    42,
147  ],
148  &quot;buyerCreativeId&quot;: &quot;A String&quot;, # A buyer-specific id identifying the creative in this ad.
149  &quot;clickThroughUrl&quot;: [ # The set of destination urls for the snippet.
150    &quot;A String&quot;,
151  ],
152  &quot;corrections&quot;: [ # Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.
153    {
154      &quot;contexts&quot;: [ # All known serving contexts containing serving status information.
155        {
156          &quot;auctionType&quot;: [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to.
157            &quot;A String&quot;,
158          ],
159          &quot;contextType&quot;: &quot;A String&quot;, # The type of context (e.g., location, platform, auction type, SSL-ness).
160          &quot;geoCriteriaId&quot;: [ # Only set when contextType=LOCATION. Represents the geo criterias this correction applies to.
161            42,
162          ],
163          &quot;platform&quot;: [ # Only set when contextType=PLATFORM. Represents the platforms this correction applies to.
164            &quot;A String&quot;,
165          ],
166        },
167      ],
168      &quot;details&quot;: [ # Additional details about the correction.
169        &quot;A String&quot;,
170      ],
171      &quot;reason&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
172    },
173  ],
174  &quot;creativeStatusIdentityType&quot;: &quot;A String&quot;, # Creative status identity type that the creative item applies to. Ad Exchange real-time bidding is migrating to the sizeless creative verification. Originally, Ad Exchange assigned creative verification status to a unique combination of a buyer creative ID and creative dimensions. Post-migration, a single verification status will be assigned at the buyer creative ID level. This field allows to distinguish whether a given creative status applies to a unique combination of a buyer creative ID and creative dimensions, or to a buyer creative ID as a whole.
175  &quot;dealsStatus&quot;: &quot;A String&quot;, # Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.
176  &quot;detectedDomains&quot;: [ # Detected domains for this creative. Read-only. This field should not be set in requests.
177    &quot;A String&quot;,
178  ],
179  &quot;filteringReasons&quot;: { # The filtering reasons for the creative. Read-only. This field should not be set in requests.
180    &quot;date&quot;: &quot;A String&quot;, # The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.
181    &quot;reasons&quot;: [ # The filtering reasons.
182      {
183        &quot;filteringCount&quot;: &quot;A String&quot;, # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
184        &quot;filteringStatus&quot;: 42, # The filtering status code as defined in  creative-status-codes.txt.
185      },
186    ],
187  },
188  &quot;height&quot;: 42, # Ad height.
189  &quot;impressionTrackingUrl&quot;: [ # The set of urls to be called to record an impression.
190    &quot;A String&quot;,
191  ],
192  &quot;kind&quot;: &quot;adexchangebuyer#creative&quot;, # Resource type.
193  &quot;languages&quot;: [ # Detected languages for this creative. Read-only. This field should not be set in requests.
194    &quot;A String&quot;,
195  ],
196  &quot;nativeAd&quot;: { # If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)
197    &quot;advertiser&quot;: &quot;A String&quot;,
198    &quot;appIcon&quot;: { # The app icon, for app download ads.
199      &quot;height&quot;: 42,
200      &quot;url&quot;: &quot;A String&quot;,
201      &quot;width&quot;: 42,
202    },
203    &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
204    &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
205    &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
206    &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
207    &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
208    &quot;image&quot;: { # A large image.
209      &quot;height&quot;: 42,
210      &quot;url&quot;: &quot;A String&quot;,
211      &quot;width&quot;: 42,
212    },
213    &quot;impressionTrackingUrl&quot;: [ # The URLs are called when the impression is rendered.
214      &quot;A String&quot;,
215    ],
216    &quot;logo&quot;: { # A smaller image, for the advertiser logo.
217      &quot;height&quot;: 42,
218      &quot;url&quot;: &quot;A String&quot;,
219      &quot;width&quot;: 42,
220    },
221    &quot;price&quot;: &quot;A String&quot;, # The price of the promoted app including the currency info.
222    &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
223    &quot;videoURL&quot;: &quot;A String&quot;, # The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.
224  },
225  &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.
226  &quot;productCategories&quot;: [ # Detected product categories, if any. Each category is represented by an integer as defined in  ad-product-categories.txt. Read-only. This field should not be set in requests.
227    42,
228  ],
229  &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the  ad-restricted-categories.txt.
230    42,
231  ],
232  &quot;sensitiveCategories&quot;: [ # Detected sensitive categories, if any. Each category is represented by an integer as defined in  ad-sensitive-categories.txt. Read-only. This field should not be set in requests.
233    42,
234  ],
235  &quot;servingRestrictions&quot;: [ # The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details.
236    {
237      &quot;contexts&quot;: [ # All known contexts/restrictions.
238        {
239          &quot;auctionType&quot;: [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.
240            &quot;A String&quot;,
241          ],
242          &quot;contextType&quot;: &quot;A String&quot;, # The type of context (e.g., location, platform, auction type, SSL-ness).
243          &quot;geoCriteriaId&quot;: [ # Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either the user location or publisher location matches a given geoCriteriaId.
244            42,
245          ],
246          &quot;platform&quot;: [ # Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.
247            &quot;A String&quot;,
248          ],
249        },
250      ],
251      &quot;disapprovalReasons&quot;: [ # The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.
252        {
253          &quot;details&quot;: [ # Additional details about the reason for disapproval.
254            &quot;A String&quot;,
255          ],
256          &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
257        },
258      ],
259      &quot;reason&quot;: &quot;A String&quot;, # Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).
260    },
261  ],
262  &quot;vendorType&quot;: [ # List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt.
263    42,
264  ],
265  &quot;version&quot;: 42, # The version for this creative. Read-only. This field should not be set in requests.
266  &quot;videoURL&quot;: &quot;A String&quot;, # The URL to fetch a video ad. If set, HTMLSnippet, videoVastXML, and nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.
267  &quot;videoVastXML&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard. If set, HTMLSnippet, videoURL, and nativeAd and should not be set.
268  &quot;width&quot;: 42, # Ad width.
269}</pre>
270</div>
271
272<div class="method">
273    <code class="details" id="insert">insert(body=None)</code>
274  <pre>Submit a new creative.
275
276Args:
277  body: object, The request body.
278    The object takes the form of:
279
280{ # A creative and its classification data.
281  &quot;HTMLSnippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.
282  &quot;accountId&quot;: 42, # Account id.
283  &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to the Ad Preferences page. This is only supported for native ads.
284  &quot;adTechnologyProviders&quot;: {
285    &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If this creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the  Authorized Buyers Real-Time Bidding protocol or the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the OpenRTB protocol, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the &quot;Third-party Ad Technology Vendors&quot; section of Authorized Buyers Program Guidelines.
286      &quot;A String&quot;,
287    ],
288    &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the &quot;Third-party Ad Technology Vendors&quot; section of Authorized Buyers Program Guidelines.
289  },
290  &quot;advertiserId&quot;: [ # Detected advertiser id, if any. Read-only. This field should not be set in requests.
291    &quot;A String&quot;,
292  ],
293  &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative. A list of advertisers is provided in the advertisers.txt file.
294  &quot;agencyId&quot;: &quot;A String&quot;, # The agency id for this creative.
295  &quot;apiUploadTimestamp&quot;: &quot;A String&quot;, # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
296  &quot;attribute&quot;: [ # List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in  buyer-declarable-creative-attributes.txt.
297    42,
298  ],
299  &quot;buyerCreativeId&quot;: &quot;A String&quot;, # A buyer-specific id identifying the creative in this ad.
300  &quot;clickThroughUrl&quot;: [ # The set of destination urls for the snippet.
301    &quot;A String&quot;,
302  ],
303  &quot;corrections&quot;: [ # Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.
304    {
305      &quot;contexts&quot;: [ # All known serving contexts containing serving status information.
306        {
307          &quot;auctionType&quot;: [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to.
308            &quot;A String&quot;,
309          ],
310          &quot;contextType&quot;: &quot;A String&quot;, # The type of context (e.g., location, platform, auction type, SSL-ness).
311          &quot;geoCriteriaId&quot;: [ # Only set when contextType=LOCATION. Represents the geo criterias this correction applies to.
312            42,
313          ],
314          &quot;platform&quot;: [ # Only set when contextType=PLATFORM. Represents the platforms this correction applies to.
315            &quot;A String&quot;,
316          ],
317        },
318      ],
319      &quot;details&quot;: [ # Additional details about the correction.
320        &quot;A String&quot;,
321      ],
322      &quot;reason&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
323    },
324  ],
325  &quot;creativeStatusIdentityType&quot;: &quot;A String&quot;, # Creative status identity type that the creative item applies to. Ad Exchange real-time bidding is migrating to the sizeless creative verification. Originally, Ad Exchange assigned creative verification status to a unique combination of a buyer creative ID and creative dimensions. Post-migration, a single verification status will be assigned at the buyer creative ID level. This field allows to distinguish whether a given creative status applies to a unique combination of a buyer creative ID and creative dimensions, or to a buyer creative ID as a whole.
326  &quot;dealsStatus&quot;: &quot;A String&quot;, # Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.
327  &quot;detectedDomains&quot;: [ # Detected domains for this creative. Read-only. This field should not be set in requests.
328    &quot;A String&quot;,
329  ],
330  &quot;filteringReasons&quot;: { # The filtering reasons for the creative. Read-only. This field should not be set in requests.
331    &quot;date&quot;: &quot;A String&quot;, # The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.
332    &quot;reasons&quot;: [ # The filtering reasons.
333      {
334        &quot;filteringCount&quot;: &quot;A String&quot;, # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
335        &quot;filteringStatus&quot;: 42, # The filtering status code as defined in  creative-status-codes.txt.
336      },
337    ],
338  },
339  &quot;height&quot;: 42, # Ad height.
340  &quot;impressionTrackingUrl&quot;: [ # The set of urls to be called to record an impression.
341    &quot;A String&quot;,
342  ],
343  &quot;kind&quot;: &quot;adexchangebuyer#creative&quot;, # Resource type.
344  &quot;languages&quot;: [ # Detected languages for this creative. Read-only. This field should not be set in requests.
345    &quot;A String&quot;,
346  ],
347  &quot;nativeAd&quot;: { # If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)
348    &quot;advertiser&quot;: &quot;A String&quot;,
349    &quot;appIcon&quot;: { # The app icon, for app download ads.
350      &quot;height&quot;: 42,
351      &quot;url&quot;: &quot;A String&quot;,
352      &quot;width&quot;: 42,
353    },
354    &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
355    &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
356    &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
357    &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
358    &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
359    &quot;image&quot;: { # A large image.
360      &quot;height&quot;: 42,
361      &quot;url&quot;: &quot;A String&quot;,
362      &quot;width&quot;: 42,
363    },
364    &quot;impressionTrackingUrl&quot;: [ # The URLs are called when the impression is rendered.
365      &quot;A String&quot;,
366    ],
367    &quot;logo&quot;: { # A smaller image, for the advertiser logo.
368      &quot;height&quot;: 42,
369      &quot;url&quot;: &quot;A String&quot;,
370      &quot;width&quot;: 42,
371    },
372    &quot;price&quot;: &quot;A String&quot;, # The price of the promoted app including the currency info.
373    &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
374    &quot;videoURL&quot;: &quot;A String&quot;, # The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.
375  },
376  &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.
377  &quot;productCategories&quot;: [ # Detected product categories, if any. Each category is represented by an integer as defined in  ad-product-categories.txt. Read-only. This field should not be set in requests.
378    42,
379  ],
380  &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the  ad-restricted-categories.txt.
381    42,
382  ],
383  &quot;sensitiveCategories&quot;: [ # Detected sensitive categories, if any. Each category is represented by an integer as defined in  ad-sensitive-categories.txt. Read-only. This field should not be set in requests.
384    42,
385  ],
386  &quot;servingRestrictions&quot;: [ # The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details.
387    {
388      &quot;contexts&quot;: [ # All known contexts/restrictions.
389        {
390          &quot;auctionType&quot;: [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.
391            &quot;A String&quot;,
392          ],
393          &quot;contextType&quot;: &quot;A String&quot;, # The type of context (e.g., location, platform, auction type, SSL-ness).
394          &quot;geoCriteriaId&quot;: [ # Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either the user location or publisher location matches a given geoCriteriaId.
395            42,
396          ],
397          &quot;platform&quot;: [ # Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.
398            &quot;A String&quot;,
399          ],
400        },
401      ],
402      &quot;disapprovalReasons&quot;: [ # The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.
403        {
404          &quot;details&quot;: [ # Additional details about the reason for disapproval.
405            &quot;A String&quot;,
406          ],
407          &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
408        },
409      ],
410      &quot;reason&quot;: &quot;A String&quot;, # Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).
411    },
412  ],
413  &quot;vendorType&quot;: [ # List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt.
414    42,
415  ],
416  &quot;version&quot;: 42, # The version for this creative. Read-only. This field should not be set in requests.
417  &quot;videoURL&quot;: &quot;A String&quot;, # The URL to fetch a video ad. If set, HTMLSnippet, videoVastXML, and nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.
418  &quot;videoVastXML&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard. If set, HTMLSnippet, videoURL, and nativeAd and should not be set.
419  &quot;width&quot;: 42, # Ad width.
420}
421
422
423Returns:
424  An object of the form:
425
426    { # A creative and its classification data.
427  &quot;HTMLSnippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.
428  &quot;accountId&quot;: 42, # Account id.
429  &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to the Ad Preferences page. This is only supported for native ads.
430  &quot;adTechnologyProviders&quot;: {
431    &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If this creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the  Authorized Buyers Real-Time Bidding protocol or the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the OpenRTB protocol, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the &quot;Third-party Ad Technology Vendors&quot; section of Authorized Buyers Program Guidelines.
432      &quot;A String&quot;,
433    ],
434    &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the &quot;Third-party Ad Technology Vendors&quot; section of Authorized Buyers Program Guidelines.
435  },
436  &quot;advertiserId&quot;: [ # Detected advertiser id, if any. Read-only. This field should not be set in requests.
437    &quot;A String&quot;,
438  ],
439  &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative. A list of advertisers is provided in the advertisers.txt file.
440  &quot;agencyId&quot;: &quot;A String&quot;, # The agency id for this creative.
441  &quot;apiUploadTimestamp&quot;: &quot;A String&quot;, # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
442  &quot;attribute&quot;: [ # List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in  buyer-declarable-creative-attributes.txt.
443    42,
444  ],
445  &quot;buyerCreativeId&quot;: &quot;A String&quot;, # A buyer-specific id identifying the creative in this ad.
446  &quot;clickThroughUrl&quot;: [ # The set of destination urls for the snippet.
447    &quot;A String&quot;,
448  ],
449  &quot;corrections&quot;: [ # Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.
450    {
451      &quot;contexts&quot;: [ # All known serving contexts containing serving status information.
452        {
453          &quot;auctionType&quot;: [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to.
454            &quot;A String&quot;,
455          ],
456          &quot;contextType&quot;: &quot;A String&quot;, # The type of context (e.g., location, platform, auction type, SSL-ness).
457          &quot;geoCriteriaId&quot;: [ # Only set when contextType=LOCATION. Represents the geo criterias this correction applies to.
458            42,
459          ],
460          &quot;platform&quot;: [ # Only set when contextType=PLATFORM. Represents the platforms this correction applies to.
461            &quot;A String&quot;,
462          ],
463        },
464      ],
465      &quot;details&quot;: [ # Additional details about the correction.
466        &quot;A String&quot;,
467      ],
468      &quot;reason&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
469    },
470  ],
471  &quot;creativeStatusIdentityType&quot;: &quot;A String&quot;, # Creative status identity type that the creative item applies to. Ad Exchange real-time bidding is migrating to the sizeless creative verification. Originally, Ad Exchange assigned creative verification status to a unique combination of a buyer creative ID and creative dimensions. Post-migration, a single verification status will be assigned at the buyer creative ID level. This field allows to distinguish whether a given creative status applies to a unique combination of a buyer creative ID and creative dimensions, or to a buyer creative ID as a whole.
472  &quot;dealsStatus&quot;: &quot;A String&quot;, # Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.
473  &quot;detectedDomains&quot;: [ # Detected domains for this creative. Read-only. This field should not be set in requests.
474    &quot;A String&quot;,
475  ],
476  &quot;filteringReasons&quot;: { # The filtering reasons for the creative. Read-only. This field should not be set in requests.
477    &quot;date&quot;: &quot;A String&quot;, # The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.
478    &quot;reasons&quot;: [ # The filtering reasons.
479      {
480        &quot;filteringCount&quot;: &quot;A String&quot;, # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
481        &quot;filteringStatus&quot;: 42, # The filtering status code as defined in  creative-status-codes.txt.
482      },
483    ],
484  },
485  &quot;height&quot;: 42, # Ad height.
486  &quot;impressionTrackingUrl&quot;: [ # The set of urls to be called to record an impression.
487    &quot;A String&quot;,
488  ],
489  &quot;kind&quot;: &quot;adexchangebuyer#creative&quot;, # Resource type.
490  &quot;languages&quot;: [ # Detected languages for this creative. Read-only. This field should not be set in requests.
491    &quot;A String&quot;,
492  ],
493  &quot;nativeAd&quot;: { # If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)
494    &quot;advertiser&quot;: &quot;A String&quot;,
495    &quot;appIcon&quot;: { # The app icon, for app download ads.
496      &quot;height&quot;: 42,
497      &quot;url&quot;: &quot;A String&quot;,
498      &quot;width&quot;: 42,
499    },
500    &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
501    &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
502    &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
503    &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
504    &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
505    &quot;image&quot;: { # A large image.
506      &quot;height&quot;: 42,
507      &quot;url&quot;: &quot;A String&quot;,
508      &quot;width&quot;: 42,
509    },
510    &quot;impressionTrackingUrl&quot;: [ # The URLs are called when the impression is rendered.
511      &quot;A String&quot;,
512    ],
513    &quot;logo&quot;: { # A smaller image, for the advertiser logo.
514      &quot;height&quot;: 42,
515      &quot;url&quot;: &quot;A String&quot;,
516      &quot;width&quot;: 42,
517    },
518    &quot;price&quot;: &quot;A String&quot;, # The price of the promoted app including the currency info.
519    &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
520    &quot;videoURL&quot;: &quot;A String&quot;, # The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.
521  },
522  &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.
523  &quot;productCategories&quot;: [ # Detected product categories, if any. Each category is represented by an integer as defined in  ad-product-categories.txt. Read-only. This field should not be set in requests.
524    42,
525  ],
526  &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the  ad-restricted-categories.txt.
527    42,
528  ],
529  &quot;sensitiveCategories&quot;: [ # Detected sensitive categories, if any. Each category is represented by an integer as defined in  ad-sensitive-categories.txt. Read-only. This field should not be set in requests.
530    42,
531  ],
532  &quot;servingRestrictions&quot;: [ # The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details.
533    {
534      &quot;contexts&quot;: [ # All known contexts/restrictions.
535        {
536          &quot;auctionType&quot;: [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.
537            &quot;A String&quot;,
538          ],
539          &quot;contextType&quot;: &quot;A String&quot;, # The type of context (e.g., location, platform, auction type, SSL-ness).
540          &quot;geoCriteriaId&quot;: [ # Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either the user location or publisher location matches a given geoCriteriaId.
541            42,
542          ],
543          &quot;platform&quot;: [ # Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.
544            &quot;A String&quot;,
545          ],
546        },
547      ],
548      &quot;disapprovalReasons&quot;: [ # The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.
549        {
550          &quot;details&quot;: [ # Additional details about the reason for disapproval.
551            &quot;A String&quot;,
552          ],
553          &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
554        },
555      ],
556      &quot;reason&quot;: &quot;A String&quot;, # Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).
557    },
558  ],
559  &quot;vendorType&quot;: [ # List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt.
560    42,
561  ],
562  &quot;version&quot;: 42, # The version for this creative. Read-only. This field should not be set in requests.
563  &quot;videoURL&quot;: &quot;A String&quot;, # The URL to fetch a video ad. If set, HTMLSnippet, videoVastXML, and nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.
564  &quot;videoVastXML&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard. If set, HTMLSnippet, videoURL, and nativeAd and should not be set.
565  &quot;width&quot;: 42, # Ad width.
566}</pre>
567</div>
568
569<div class="method">
570    <code class="details" id="list">list(accountId=None, buyerCreativeId=None, dealsStatusFilter=None, maxResults=None, openAuctionStatusFilter=None, pageToken=None)</code>
571  <pre>Retrieves a list of the authenticated user&#x27;s active creatives. A creative will be available 30-40 minutes after submission.
572
573Args:
574  accountId: integer, When specified, only creatives for the given account ids are returned. (repeated)
575  buyerCreativeId: string, When specified, only creatives for the given buyer creative ids are returned. (repeated)
576  dealsStatusFilter: string, When specified, only creatives having the given deals status are returned.
577    Allowed values
578      approved - Creatives which have been approved for serving on deals.
579      conditionally_approved - Creatives which have been conditionally approved for serving on deals.
580      disapproved - Creatives which have been disapproved for serving on deals.
581      not_checked - Creatives whose deals status is not yet checked.
582  maxResults: integer, Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
583  openAuctionStatusFilter: string, When specified, only creatives having the given open auction status are returned.
584    Allowed values
585      approved - Creatives which have been approved for serving on the open auction.
586      conditionally_approved - Creatives which have been conditionally approved for serving on the open auction.
587      disapproved - Creatives which have been disapproved for serving on the open auction.
588      not_checked - Creatives whose open auction status is not yet checked.
589  pageToken: string, A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of &quot;nextPageToken&quot; from the previous response. Optional.
590
591Returns:
592  An object of the form:
593
594    { # The creatives feed lists the active creatives for the Ad Exchange buyer accounts that the user has access to. Each entry in the feed corresponds to a single creative.
595  &quot;items&quot;: [ # A list of creatives.
596    { # A creative and its classification data.
597      &quot;HTMLSnippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page. If set, videoURL, videoVastXML, and nativeAd should not be set.
598      &quot;accountId&quot;: 42, # Account id.
599      &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to the Ad Preferences page. This is only supported for native ads.
600      &quot;adTechnologyProviders&quot;: {
601        &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If this creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the  Authorized Buyers Real-Time Bidding protocol or the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the OpenRTB protocol, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the &quot;Third-party Ad Technology Vendors&quot; section of Authorized Buyers Program Guidelines.
602          &quot;A String&quot;,
603        ],
604        &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true, a bid submitted for a European Economic Area (EEA) user with this creative is not compliant with the GDPR policies as mentioned in the &quot;Third-party Ad Technology Vendors&quot; section of Authorized Buyers Program Guidelines.
605      },
606      &quot;advertiserId&quot;: [ # Detected advertiser id, if any. Read-only. This field should not be set in requests.
607        &quot;A String&quot;,
608      ],
609      &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative. A list of advertisers is provided in the advertisers.txt file.
610      &quot;agencyId&quot;: &quot;A String&quot;, # The agency id for this creative.
611      &quot;apiUploadTimestamp&quot;: &quot;A String&quot;, # The last upload timestamp of this creative if it was uploaded via API. Read-only. The value of this field is generated, and will be ignored for uploads. (formatted RFC 3339 timestamp).
612      &quot;attribute&quot;: [ # List of buyer selectable attributes for the ads that may be shown from this snippet. Each attribute is represented by an integer as defined in  buyer-declarable-creative-attributes.txt.
613        42,
614      ],
615      &quot;buyerCreativeId&quot;: &quot;A String&quot;, # A buyer-specific id identifying the creative in this ad.
616      &quot;clickThroughUrl&quot;: [ # The set of destination urls for the snippet.
617        &quot;A String&quot;,
618      ],
619      &quot;corrections&quot;: [ # Shows any corrections that were applied to this creative. Read-only. This field should not be set in requests.
620        {
621          &quot;contexts&quot;: [ # All known serving contexts containing serving status information.
622            {
623              &quot;auctionType&quot;: [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this correction applies to.
624                &quot;A String&quot;,
625              ],
626              &quot;contextType&quot;: &quot;A String&quot;, # The type of context (e.g., location, platform, auction type, SSL-ness).
627              &quot;geoCriteriaId&quot;: [ # Only set when contextType=LOCATION. Represents the geo criterias this correction applies to.
628                42,
629              ],
630              &quot;platform&quot;: [ # Only set when contextType=PLATFORM. Represents the platforms this correction applies to.
631                &quot;A String&quot;,
632              ],
633            },
634          ],
635          &quot;details&quot;: [ # Additional details about the correction.
636            &quot;A String&quot;,
637          ],
638          &quot;reason&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
639        },
640      ],
641      &quot;creativeStatusIdentityType&quot;: &quot;A String&quot;, # Creative status identity type that the creative item applies to. Ad Exchange real-time bidding is migrating to the sizeless creative verification. Originally, Ad Exchange assigned creative verification status to a unique combination of a buyer creative ID and creative dimensions. Post-migration, a single verification status will be assigned at the buyer creative ID level. This field allows to distinguish whether a given creative status applies to a unique combination of a buyer creative ID and creative dimensions, or to a buyer creative ID as a whole.
642      &quot;dealsStatus&quot;: &quot;A String&quot;, # Top-level deals status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=DIRECT_DEALS (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from servingRestrictions directly.
643      &quot;detectedDomains&quot;: [ # Detected domains for this creative. Read-only. This field should not be set in requests.
644        &quot;A String&quot;,
645      ],
646      &quot;filteringReasons&quot;: { # The filtering reasons for the creative. Read-only. This field should not be set in requests.
647        &quot;date&quot;: &quot;A String&quot;, # The date in ISO 8601 format for the data. The data is collected from 00:00:00 to 23:59:59 in PST.
648        &quot;reasons&quot;: [ # The filtering reasons.
649          {
650            &quot;filteringCount&quot;: &quot;A String&quot;, # The number of times the creative was filtered for the status. The count is aggregated across all publishers on the exchange.
651            &quot;filteringStatus&quot;: 42, # The filtering status code as defined in  creative-status-codes.txt.
652          },
653        ],
654      },
655      &quot;height&quot;: 42, # Ad height.
656      &quot;impressionTrackingUrl&quot;: [ # The set of urls to be called to record an impression.
657        &quot;A String&quot;,
658      ],
659      &quot;kind&quot;: &quot;adexchangebuyer#creative&quot;, # Resource type.
660      &quot;languages&quot;: [ # Detected languages for this creative. Read-only. This field should not be set in requests.
661        &quot;A String&quot;,
662      ],
663      &quot;nativeAd&quot;: { # If nativeAd is set, HTMLSnippet, videoVastXML, and the videoURL outside of nativeAd should not be set. (The videoURL inside nativeAd can be set.)
664        &quot;advertiser&quot;: &quot;A String&quot;,
665        &quot;appIcon&quot;: { # The app icon, for app download ads.
666          &quot;height&quot;: 42,
667          &quot;url&quot;: &quot;A String&quot;,
668          &quot;width&quot;: 42,
669        },
670        &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
671        &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
672        &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
673        &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
674        &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
675        &quot;image&quot;: { # A large image.
676          &quot;height&quot;: 42,
677          &quot;url&quot;: &quot;A String&quot;,
678          &quot;width&quot;: 42,
679        },
680        &quot;impressionTrackingUrl&quot;: [ # The URLs are called when the impression is rendered.
681          &quot;A String&quot;,
682        ],
683        &quot;logo&quot;: { # A smaller image, for the advertiser logo.
684          &quot;height&quot;: 42,
685          &quot;url&quot;: &quot;A String&quot;,
686          &quot;width&quot;: 42,
687        },
688        &quot;price&quot;: &quot;A String&quot;, # The price of the promoted app including the currency info.
689        &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
690        &quot;videoURL&quot;: &quot;A String&quot;, # The URL of the XML VAST for a native ad. Note this is a separate field from resource.video_url.
691      },
692      &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Top-level open auction status. Read-only. This field should not be set in requests. If disapproved, an entry for auctionType=OPEN_AUCTION (or ALL) in servingRestrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case it may be preferable to read from ServingRestrictions directly.
693      &quot;productCategories&quot;: [ # Detected product categories, if any. Each category is represented by an integer as defined in  ad-product-categories.txt. Read-only. This field should not be set in requests.
694        42,
695      ],
696      &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this snippet. Each category is represented by an integer as defined in the  ad-restricted-categories.txt.
697        42,
698      ],
699      &quot;sensitiveCategories&quot;: [ # Detected sensitive categories, if any. Each category is represented by an integer as defined in  ad-sensitive-categories.txt. Read-only. This field should not be set in requests.
700        42,
701      ],
702      &quot;servingRestrictions&quot;: [ # The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction). Read-only. This field should not be set in requests. See the examples in the Creatives guide for more details.
703        {
704          &quot;contexts&quot;: [ # All known contexts/restrictions.
705            {
706              &quot;auctionType&quot;: [ # Only set when contextType=AUCTION_TYPE. Represents the auction types this restriction applies to.
707                &quot;A String&quot;,
708              ],
709              &quot;contextType&quot;: &quot;A String&quot;, # The type of context (e.g., location, platform, auction type, SSL-ness).
710              &quot;geoCriteriaId&quot;: [ # Only set when contextType=LOCATION. Represents the geo criterias this restriction applies to. Impressions are considered to match a context if either the user location or publisher location matches a given geoCriteriaId.
711                42,
712              ],
713              &quot;platform&quot;: [ # Only set when contextType=PLATFORM. Represents the platforms this restriction applies to.
714                &quot;A String&quot;,
715              ],
716            },
717          ],
718          &quot;disapprovalReasons&quot;: [ # The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue.
719            {
720              &quot;details&quot;: [ # Additional details about the reason for disapproval.
721                &quot;A String&quot;,
722              ],
723              &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
724            },
725          ],
726          &quot;reason&quot;: &quot;A String&quot;, # Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review).
727        },
728      ],
729      &quot;vendorType&quot;: [ # List of vendor types for the ads that may be shown from this snippet. Each vendor type is represented by an integer as defined in vendors.txt.
730        42,
731      ],
732      &quot;version&quot;: 42, # The version for this creative. Read-only. This field should not be set in requests.
733      &quot;videoURL&quot;: &quot;A String&quot;, # The URL to fetch a video ad. If set, HTMLSnippet, videoVastXML, and nativeAd should not be set. Note, this is different from resource.native_ad.video_url above.
734      &quot;videoVastXML&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard. If set, HTMLSnippet, videoURL, and nativeAd and should not be set.
735      &quot;width&quot;: 42, # Ad width.
736    },
737  ],
738  &quot;kind&quot;: &quot;adexchangebuyer#creativesList&quot;, # Resource type.
739  &quot;nextPageToken&quot;: &quot;A String&quot;, # Continuation token used to page through creatives. To retrieve the next page of results, set the next request&#x27;s &quot;pageToken&quot; value to this.
740}</pre>
741</div>
742
743<div class="method">
744    <code class="details" id="listDeals">listDeals(accountId, buyerCreativeId)</code>
745  <pre>Lists the external deal ids associated with the creative.
746
747Args:
748  accountId: integer, The id for the account that will serve this creative. (required)
749  buyerCreativeId: string, The buyer-specific id for this creative. (required)
750
751Returns:
752  An object of the form:
753
754    { # The external deal ids associated with a creative.
755  &quot;dealStatuses&quot;: [ # A list of external deal ids and ARC approval status.
756    {
757      &quot;arcStatus&quot;: &quot;A String&quot;, # ARC approval status.
758      &quot;dealId&quot;: &quot;A String&quot;, # External deal ID.
759      &quot;webPropertyId&quot;: 42, # Publisher ID.
760    },
761  ],
762  &quot;kind&quot;: &quot;adexchangebuyer#creativeDealIds&quot;, # Resource type.
763}</pre>
764</div>
765
766<div class="method">
767    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
768  <pre>Retrieves the next page of results.
769
770Args:
771  previous_request: The request for the previous page. (required)
772  previous_response: The response from the request for the previous page. (required)
773
774Returns:
775  A request object that you can call &#x27;execute()&#x27; on to request the next
776  page. Returns None if there are no more items in the collection.
777    </pre>
778</div>
779
780<div class="method">
781    <code class="details" id="removeDeal">removeDeal(accountId, buyerCreativeId, dealId)</code>
782  <pre>Remove a deal id associated with the creative.
783
784Args:
785  accountId: integer, The id for the account that will serve this creative. (required)
786  buyerCreativeId: string, The buyer-specific id for this creative. (required)
787  dealId: string, The id of the deal id to disassociate with this creative. (required)
788</pre>
789</div>
790
791</body></html>