blob: c3d65441ddb45b41823b926099ba81849e95d09e [file] [log] [blame]
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="adexchangebuyer2_v2beta1.html">Ad Exchange Buyer API II</a> . <a href="adexchangebuyer2_v2beta1.accounts.html">accounts</a> . <a href="adexchangebuyer2_v2beta1.accounts.creatives.html">creatives</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="adexchangebuyer2_v2beta1.accounts.creatives.dealAssociations.html">dealAssociations()</a></code>
79</p>
80<p class="firstline">Returns the dealAssociations Resource.</p>
81
82<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070083 <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070086 <code><a href="#create">create(accountId, body=None, duplicateIdMode=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040087<p class="firstline">Creates a creative.</p>
88<p class="toc_element">
89 <code><a href="#get">get(accountId, creativeId, x__xgafv=None)</a></code></p>
90<p class="firstline">Gets a creative.</p>
91<p class="toc_element">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -080092 <code><a href="#list">list(accountId, query=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -040093<p class="firstline">Lists creatives.</p>
94<p class="toc_element">
95 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
96<p class="firstline">Retrieves the next page of results.</p>
97<p class="toc_element">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070098 <code><a href="#stopWatching">stopWatching(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099<p class="firstline">Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.</p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400100<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700101 <code><a href="#update">update(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400102<p class="firstline">Updates a creative.</p>
103<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700104 <code><a href="#watch">watch(accountId, creativeId, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700105<p class="firstline">Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.</p>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400106<h3>Method Details</h3>
107<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700108 <code class="details" id="close">close()</code>
109 <pre>Close httplib2 connections.</pre>
110</div>
111
112<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700113 <code class="details" id="create">create(accountId, body=None, duplicateIdMode=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400114 <pre>Creates a creative.
115
116Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700117 accountId: string, The account that this creative belongs to. Can be used to filter the response of the creatives.list method. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700118 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400119 The object takes the form of:
120
121{ # A creative and its classification data.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800122 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
123 { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800124 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800125 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
126 { # Output only. The reason and details for a disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800127 &quot;details&quot;: [ # Additional details about the reason for disapproval.
128 &quot;A String&quot;,
129 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800130 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800131 },
132 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800133 &quot;contexts&quot;: [ # The contexts for the restriction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800134 { # The serving context for this restriction.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800135 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800136 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
137 &quot;platforms&quot;: [ # The platforms this restriction applies to.
138 &quot;A String&quot;,
139 ],
140 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800141 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
142 &quot;appTypes&quot;: [ # The app types this restriction applies to.
143 &quot;A String&quot;,
144 ],
145 },
146 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
147 &quot;securities&quot;: [ # The security types in this context.
148 &quot;A String&quot;,
149 ],
150 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800151 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
152 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
153 &quot;A String&quot;,
154 ],
155 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800156 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
157 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
158 42,
159 ],
160 },
161 },
162 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800163 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
164 &quot;details&quot;: [ # Additional details about the reason for disapproval.
165 &quot;A String&quot;,
166 ],
167 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
168 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700169 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800170 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800171 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
172 &quot;version&quot;: 42, # Output only. The version of this creative.
173 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
174 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
175 42,
176 ],
177 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
178 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
179 42,
180 ],
181 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
182 &quot;A String&quot;,
183 ],
184 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
185 &quot;A String&quot;,
186 ],
187 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
188 &quot;A String&quot;,
189 ],
190 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
191 &quot;A String&quot;,
192 ],
193 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
194 &quot;A String&quot;,
195 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800196 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800197 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700198 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800199 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
200 &quot;A String&quot;,
201 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800202 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800203 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800204 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800205 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700206 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700207 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700208 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800209 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
210 &quot;native&quot;: { # Native content for a creative. # A native creative.
211 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
212 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
213 &quot;height&quot;: 42, # Image height in pixels.
214 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
215 &quot;width&quot;: 42, # Image width in pixels.
216 },
217 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
218 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
219 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
220 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
221 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
222 &quot;height&quot;: 42, # Image height in pixels.
223 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
224 &quot;width&quot;: 42, # Image width in pixels.
225 },
226 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
227 &quot;height&quot;: 42, # Image height in pixels.
228 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
229 &quot;width&quot;: 42, # Image width in pixels.
230 },
231 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
232 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
233 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
234 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
235 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
236 },
237 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
238 &quot;video&quot;: { # Video content for a creative. # A video creative.
239 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
240 &quot;videoVastXml&quot;: &quot;A String&quot;, # The contents of a VAST document for a video ad. This document should conform to the VAST 2.0 or 3.0 standard.
241 },
242 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
243 { # Output only. Shows any corrections that were applied to this creative.
244 &quot;details&quot;: [ # Additional details about what was corrected.
245 &quot;A String&quot;,
246 ],
247 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
248 &quot;contexts&quot;: [ # The contexts for the correction.
249 { # The serving context for this restriction.
250 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
251 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
252 &quot;platforms&quot;: [ # The platforms this restriction applies to.
253 &quot;A String&quot;,
254 ],
255 },
256 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
257 &quot;appTypes&quot;: [ # The app types this restriction applies to.
258 &quot;A String&quot;,
259 ],
260 },
261 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
262 &quot;securities&quot;: [ # The security types in this context.
263 &quot;A String&quot;,
264 ],
265 },
266 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
267 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
268 &quot;A String&quot;,
269 ],
270 },
271 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
272 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
273 42,
274 ],
275 },
276 },
277 ],
278 },
279 ],
280 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800281 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
282 &quot;A String&quot;,
283 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800284 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
285 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
286 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
287 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
288 },
289 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800290 42,
291 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800292 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800293 }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400294
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700295 duplicateIdMode: string, Indicates if multiple creatives can share an ID or not. Default is NO_DUPLICATES (one ID per creative).
296 Allowed values
297 NO_DUPLICATES - Recommended. This means that an ID will be unique to a single creative. Multiple creatives will not share an ID.
298 FORCE_ENABLE_DUPLICATE_IDS - Not recommended. Using this option will allow multiple creatives to share the same ID. Get and Update requests will not be possible for any ID that has more than one creative associated. (List will still function.) This is only intended for backwards compatibility in cases where a single ID is already shared by multiple creatives from previous APIs.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400299 x__xgafv: string, V1 error format.
300 Allowed values
301 1 - v1 error format
302 2 - v2 error format
303
304Returns:
305 An object of the form:
306
307 { # A creative and its classification data.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800308 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
309 { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800310 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800311 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
312 { # Output only. The reason and details for a disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800313 &quot;details&quot;: [ # Additional details about the reason for disapproval.
314 &quot;A String&quot;,
315 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800316 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800317 },
318 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800319 &quot;contexts&quot;: [ # The contexts for the restriction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800320 { # The serving context for this restriction.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800321 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800322 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
323 &quot;platforms&quot;: [ # The platforms this restriction applies to.
324 &quot;A String&quot;,
325 ],
326 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800327 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
328 &quot;appTypes&quot;: [ # The app types this restriction applies to.
329 &quot;A String&quot;,
330 ],
331 },
332 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
333 &quot;securities&quot;: [ # The security types in this context.
334 &quot;A String&quot;,
335 ],
336 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800337 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
338 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
339 &quot;A String&quot;,
340 ],
341 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800342 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
343 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
344 42,
345 ],
346 },
347 },
348 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800349 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
350 &quot;details&quot;: [ # Additional details about the reason for disapproval.
351 &quot;A String&quot;,
352 ],
353 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
354 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700355 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800356 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800357 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
358 &quot;version&quot;: 42, # Output only. The version of this creative.
359 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
360 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
361 42,
362 ],
363 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
364 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
365 42,
366 ],
367 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
368 &quot;A String&quot;,
369 ],
370 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
371 &quot;A String&quot;,
372 ],
373 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
374 &quot;A String&quot;,
375 ],
376 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
377 &quot;A String&quot;,
378 ],
379 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
380 &quot;A String&quot;,
381 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800382 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800383 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700384 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800385 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
386 &quot;A String&quot;,
387 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800388 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800389 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800390 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800391 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700392 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700393 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700394 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800395 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
396 &quot;native&quot;: { # Native content for a creative. # A native creative.
397 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
398 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
399 &quot;height&quot;: 42, # Image height in pixels.
400 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
401 &quot;width&quot;: 42, # Image width in pixels.
402 },
403 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
404 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
405 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
406 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
407 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
408 &quot;height&quot;: 42, # Image height in pixels.
409 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
410 &quot;width&quot;: 42, # Image width in pixels.
411 },
412 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
413 &quot;height&quot;: 42, # Image height in pixels.
414 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
415 &quot;width&quot;: 42, # Image width in pixels.
416 },
417 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
418 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
419 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
420 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
421 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
422 },
423 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
424 &quot;video&quot;: { # Video content for a creative. # A video creative.
425 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
426 &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.
427 },
428 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
429 { # Output only. Shows any corrections that were applied to this creative.
430 &quot;details&quot;: [ # Additional details about what was corrected.
431 &quot;A String&quot;,
432 ],
433 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
434 &quot;contexts&quot;: [ # The contexts for the correction.
435 { # The serving context for this restriction.
436 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
437 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
438 &quot;platforms&quot;: [ # The platforms this restriction applies to.
439 &quot;A String&quot;,
440 ],
441 },
442 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
443 &quot;appTypes&quot;: [ # The app types this restriction applies to.
444 &quot;A String&quot;,
445 ],
446 },
447 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
448 &quot;securities&quot;: [ # The security types in this context.
449 &quot;A String&quot;,
450 ],
451 },
452 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
453 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
454 &quot;A String&quot;,
455 ],
456 },
457 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
458 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
459 42,
460 ],
461 },
462 },
463 ],
464 },
465 ],
466 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800467 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
468 &quot;A String&quot;,
469 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800470 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
471 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
472 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
473 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
474 },
475 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800476 42,
477 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800478 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800479 }</pre>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400480</div>
481
482<div class="method">
483 <code class="details" id="get">get(accountId, creativeId, x__xgafv=None)</code>
484 <pre>Gets a creative.
485
486Args:
487 accountId: string, The account the creative belongs to. (required)
488 creativeId: string, The ID of the creative to retrieve. (required)
489 x__xgafv: string, V1 error format.
490 Allowed values
491 1 - v1 error format
492 2 - v2 error format
493
494Returns:
495 An object of the form:
496
497 { # A creative and its classification data.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800498 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
499 { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800500 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800501 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
502 { # Output only. The reason and details for a disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800503 &quot;details&quot;: [ # Additional details about the reason for disapproval.
504 &quot;A String&quot;,
505 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800506 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800507 },
508 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800509 &quot;contexts&quot;: [ # The contexts for the restriction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800510 { # The serving context for this restriction.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800511 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800512 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
513 &quot;platforms&quot;: [ # The platforms this restriction applies to.
514 &quot;A String&quot;,
515 ],
516 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800517 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
518 &quot;appTypes&quot;: [ # The app types this restriction applies to.
519 &quot;A String&quot;,
520 ],
521 },
522 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
523 &quot;securities&quot;: [ # The security types in this context.
524 &quot;A String&quot;,
525 ],
526 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800527 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
528 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
529 &quot;A String&quot;,
530 ],
531 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800532 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
533 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
534 42,
535 ],
536 },
537 },
538 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800539 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
540 &quot;details&quot;: [ # Additional details about the reason for disapproval.
541 &quot;A String&quot;,
542 ],
543 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
544 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700545 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800546 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800547 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
548 &quot;version&quot;: 42, # Output only. The version of this creative.
549 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
550 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
551 42,
552 ],
553 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
554 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
555 42,
556 ],
557 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
558 &quot;A String&quot;,
559 ],
560 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
561 &quot;A String&quot;,
562 ],
563 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
564 &quot;A String&quot;,
565 ],
566 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
567 &quot;A String&quot;,
568 ],
569 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
570 &quot;A String&quot;,
571 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800572 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800573 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700574 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800575 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
576 &quot;A String&quot;,
577 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800578 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800579 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800580 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800581 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700582 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700583 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700584 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800585 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
586 &quot;native&quot;: { # Native content for a creative. # A native creative.
587 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
588 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
589 &quot;height&quot;: 42, # Image height in pixels.
590 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
591 &quot;width&quot;: 42, # Image width in pixels.
592 },
593 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
594 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
595 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
596 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
597 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
598 &quot;height&quot;: 42, # Image height in pixels.
599 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
600 &quot;width&quot;: 42, # Image width in pixels.
601 },
602 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
603 &quot;height&quot;: 42, # Image height in pixels.
604 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
605 &quot;width&quot;: 42, # Image width in pixels.
606 },
607 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
608 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
609 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
610 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
611 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
612 },
613 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
614 &quot;video&quot;: { # Video content for a creative. # A video creative.
615 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
616 &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.
617 },
618 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
619 { # Output only. Shows any corrections that were applied to this creative.
620 &quot;details&quot;: [ # Additional details about what was corrected.
621 &quot;A String&quot;,
622 ],
623 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
624 &quot;contexts&quot;: [ # The contexts for the correction.
625 { # The serving context for this restriction.
626 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
627 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
628 &quot;platforms&quot;: [ # The platforms this restriction applies to.
629 &quot;A String&quot;,
630 ],
631 },
632 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
633 &quot;appTypes&quot;: [ # The app types this restriction applies to.
634 &quot;A String&quot;,
635 ],
636 },
637 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
638 &quot;securities&quot;: [ # The security types in this context.
639 &quot;A String&quot;,
640 ],
641 },
642 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
643 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
644 &quot;A String&quot;,
645 ],
646 },
647 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
648 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
649 42,
650 ],
651 },
652 },
653 ],
654 },
655 ],
656 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800657 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
658 &quot;A String&quot;,
659 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800660 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
661 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
662 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
663 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
664 },
665 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800666 42,
667 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800668 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800669 }</pre>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400670</div>
671
672<div class="method">
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800673 <code class="details" id="list">list(accountId, query=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400674 <pre>Lists creatives.
675
676Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700677 accountId: string, The account to list the creatives from. Specify &quot;-&quot; to list all creatives the current user has access to. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700678 query: string, An optional query string to filter creatives. If no filter is specified, all active creatives will be returned. Supported queries are: - accountId=*account_id_string* - creativeId=*creative_id_string* - dealsStatus: {approved, conditionally_approved, disapproved, not_checked} - openAuctionStatus: {approved, conditionally_approved, disapproved, not_checked} - attribute: {a numeric attribute from the list of attributes} - disapprovalReason: {a reason from DisapprovalReason} Example: &#x27;accountId=12345 AND (dealsStatus:disapproved AND disapprovalReason:unacceptable_content) OR attribute:47&#x27;
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800679 pageSize: integer, Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800680 pageToken: string, A token identifying a page of results the server should return. Typically, this is the value of ListCreativesResponse.next_page_token returned from the previous call to &#x27;ListCreatives&#x27; method.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400681 x__xgafv: string, V1 error format.
682 Allowed values
683 1 - v1 error format
684 2 - v2 error format
685
686Returns:
687 An object of the form:
688
689 { # A response for listing creatives.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700690 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results. Pass this value in the ListCreativesRequest.page_token field in the subsequent call to `ListCreatives` method to retrieve the next page of results.
Bu Sun Kim65020912020-05-20 12:08:20 -0700691 &quot;creatives&quot;: [ # The list of creatives.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400692 { # A creative and its classification data.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800693 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
694 { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800695 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800696 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
697 { # Output only. The reason and details for a disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800698 &quot;details&quot;: [ # Additional details about the reason for disapproval.
699 &quot;A String&quot;,
700 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800701 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800702 },
703 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800704 &quot;contexts&quot;: [ # The contexts for the restriction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800705 { # The serving context for this restriction.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800706 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800707 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
708 &quot;platforms&quot;: [ # The platforms this restriction applies to.
709 &quot;A String&quot;,
710 ],
711 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800712 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
713 &quot;appTypes&quot;: [ # The app types this restriction applies to.
714 &quot;A String&quot;,
715 ],
716 },
717 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
718 &quot;securities&quot;: [ # The security types in this context.
719 &quot;A String&quot;,
720 ],
721 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800722 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
723 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
724 &quot;A String&quot;,
725 ],
726 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800727 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
728 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
729 42,
730 ],
731 },
732 },
733 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800734 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
735 &quot;details&quot;: [ # Additional details about the reason for disapproval.
736 &quot;A String&quot;,
737 ],
738 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
739 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700740 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800741 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800742 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
743 &quot;version&quot;: 42, # Output only. The version of this creative.
744 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
745 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
746 42,
747 ],
748 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
749 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
750 42,
751 ],
752 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
753 &quot;A String&quot;,
754 ],
755 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
756 &quot;A String&quot;,
757 ],
758 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
759 &quot;A String&quot;,
760 ],
761 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
762 &quot;A String&quot;,
763 ],
764 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
765 &quot;A String&quot;,
766 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800767 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800768 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700769 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800770 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
771 &quot;A String&quot;,
772 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800773 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800774 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800775 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800776 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700777 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700778 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700779 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800780 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
781 &quot;native&quot;: { # Native content for a creative. # A native creative.
782 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
783 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
784 &quot;height&quot;: 42, # Image height in pixels.
785 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
786 &quot;width&quot;: 42, # Image width in pixels.
787 },
788 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
789 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
790 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
791 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
792 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
793 &quot;height&quot;: 42, # Image height in pixels.
794 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
795 &quot;width&quot;: 42, # Image width in pixels.
796 },
797 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
798 &quot;height&quot;: 42, # Image height in pixels.
799 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
800 &quot;width&quot;: 42, # Image width in pixels.
801 },
802 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
803 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
804 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
805 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
806 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
807 },
808 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
809 &quot;video&quot;: { # Video content for a creative. # A video creative.
810 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
811 &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.
812 },
813 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
814 { # Output only. Shows any corrections that were applied to this creative.
815 &quot;details&quot;: [ # Additional details about what was corrected.
816 &quot;A String&quot;,
817 ],
818 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
819 &quot;contexts&quot;: [ # The contexts for the correction.
820 { # The serving context for this restriction.
821 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
822 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
823 &quot;platforms&quot;: [ # The platforms this restriction applies to.
824 &quot;A String&quot;,
825 ],
826 },
827 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
828 &quot;appTypes&quot;: [ # The app types this restriction applies to.
829 &quot;A String&quot;,
830 ],
831 },
832 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
833 &quot;securities&quot;: [ # The security types in this context.
834 &quot;A String&quot;,
835 ],
836 },
837 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
838 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
839 &quot;A String&quot;,
840 ],
841 },
842 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
843 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
844 42,
845 ],
846 },
847 },
848 ],
849 },
850 ],
851 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800852 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
853 &quot;A String&quot;,
854 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800855 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
856 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
857 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
858 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
859 },
860 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800861 42,
862 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800863 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800864 },
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400865 ],
866 }</pre>
867</div>
868
869<div class="method">
870 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
871 <pre>Retrieves the next page of results.
872
873Args:
874 previous_request: The request for the previous page. (required)
875 previous_response: The response from the request for the previous page. (required)
876
877Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700878 A request object that you can call &#x27;execute()&#x27; on to request the next
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400879 page. Returns None if there are no more items in the collection.
880 </pre>
881</div>
882
883<div class="method">
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700884 <code class="details" id="stopWatching">stopWatching(accountId, creativeId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700885 <pre>Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400886
887Args:
888 accountId: string, The account of the creative to stop notifications for. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700889 creativeId: string, The creative ID of the creative to stop notifications for. Specify &quot;-&quot; to specify stopping account level notifications. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700890 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400891 The object takes the form of:
892
893{ # A request for stopping notifications for changes to creative Status.
894 }
895
896 x__xgafv: string, V1 error format.
897 Allowed values
898 1 - v1 error format
899 2 - v2 error format
900
901Returns:
902 An object of the form:
903
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700904 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400905 }</pre>
906</div>
907
908<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700909 <code class="details" id="update">update(accountId, creativeId, body=None, x__xgafv=None)</code>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400910 <pre>Updates a creative.
911
912Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700913 accountId: string, The account that this creative belongs to. Can be used to filter the response of the creatives.list method. (required)
914 creativeId: string, The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700915 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400916 The object takes the form of:
917
918{ # A creative and its classification data.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800919 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
920 { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800921 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800922 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
923 { # Output only. The reason and details for a disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800924 &quot;details&quot;: [ # Additional details about the reason for disapproval.
925 &quot;A String&quot;,
926 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800927 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800928 },
929 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800930 &quot;contexts&quot;: [ # The contexts for the restriction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800931 { # The serving context for this restriction.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800932 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800933 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
934 &quot;platforms&quot;: [ # The platforms this restriction applies to.
935 &quot;A String&quot;,
936 ],
937 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800938 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
939 &quot;appTypes&quot;: [ # The app types this restriction applies to.
940 &quot;A String&quot;,
941 ],
942 },
943 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
944 &quot;securities&quot;: [ # The security types in this context.
945 &quot;A String&quot;,
946 ],
947 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800948 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
949 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
950 &quot;A String&quot;,
951 ],
952 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800953 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
954 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
955 42,
956 ],
957 },
958 },
959 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800960 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
961 &quot;details&quot;: [ # Additional details about the reason for disapproval.
962 &quot;A String&quot;,
963 ],
964 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
965 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700966 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800967 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800968 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
969 &quot;version&quot;: 42, # Output only. The version of this creative.
970 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
971 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
972 42,
973 ],
974 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
975 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
976 42,
977 ],
978 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
979 &quot;A String&quot;,
980 ],
981 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
982 &quot;A String&quot;,
983 ],
984 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
985 &quot;A String&quot;,
986 ],
987 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
988 &quot;A String&quot;,
989 ],
990 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
991 &quot;A String&quot;,
992 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800993 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800994 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700995 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800996 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
997 &quot;A String&quot;,
998 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800999 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001000 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001001 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001002 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001003 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001004 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001005 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001006 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
1007 &quot;native&quot;: { # Native content for a creative. # A native creative.
1008 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1009 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
1010 &quot;height&quot;: 42, # Image height in pixels.
1011 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1012 &quot;width&quot;: 42, # Image width in pixels.
1013 },
1014 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1015 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1016 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1017 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1018 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
1019 &quot;height&quot;: 42, # Image height in pixels.
1020 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1021 &quot;width&quot;: 42, # Image width in pixels.
1022 },
1023 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
1024 &quot;height&quot;: 42, # Image height in pixels.
1025 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1026 &quot;width&quot;: 42, # Image width in pixels.
1027 },
1028 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1029 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1030 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1031 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1032 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1033 },
1034 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
1035 &quot;video&quot;: { # Video content for a creative. # A video creative.
1036 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1037 &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.
1038 },
1039 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
1040 { # Output only. Shows any corrections that were applied to this creative.
1041 &quot;details&quot;: [ # Additional details about what was corrected.
1042 &quot;A String&quot;,
1043 ],
1044 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
1045 &quot;contexts&quot;: [ # The contexts for the correction.
1046 { # The serving context for this restriction.
1047 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1048 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1049 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1050 &quot;A String&quot;,
1051 ],
1052 },
1053 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1054 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1055 &quot;A String&quot;,
1056 ],
1057 },
1058 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1059 &quot;securities&quot;: [ # The security types in this context.
1060 &quot;A String&quot;,
1061 ],
1062 },
1063 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1064 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1065 &quot;A String&quot;,
1066 ],
1067 },
1068 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
1069 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
1070 42,
1071 ],
1072 },
1073 },
1074 ],
1075 },
1076 ],
1077 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001078 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1079 &quot;A String&quot;,
1080 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001081 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1082 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1083 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1084 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1085 },
1086 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001087 42,
1088 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001089 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001090 }
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001091
1092 x__xgafv: string, V1 error format.
1093 Allowed values
1094 1 - v1 error format
1095 2 - v2 error format
1096
1097Returns:
1098 An object of the form:
1099
1100 { # A creative and its classification data.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001101 &quot;servingRestrictions&quot;: [ # Output only. The granular status of this ad in specific contexts. A context here relates to where something ultimately serves (for example, a physical location, a platform, an HTTPS vs HTTP request, or the type of auction).
1102 { # Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS vs HTTP request, or the type of auction).
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001103 &quot;status&quot;: &quot;A String&quot;, # The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001104 &quot;disapprovalReasons&quot;: [ # Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; please use disapproval field instead.
1105 { # Output only. The reason and details for a disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001106 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1107 &quot;A String&quot;,
1108 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001109 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001110 },
1111 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001112 &quot;contexts&quot;: [ # The contexts for the restriction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001113 { # The serving context for this restriction.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001114 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001115 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1116 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1117 &quot;A String&quot;,
1118 ],
1119 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001120 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1121 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1122 &quot;A String&quot;,
1123 ],
1124 },
1125 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1126 &quot;securities&quot;: [ # The security types in this context.
1127 &quot;A String&quot;,
1128 ],
1129 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001130 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1131 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1132 &quot;A String&quot;,
1133 ],
1134 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001135 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
1136 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
1137 42,
1138 ],
1139 },
1140 },
1141 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001142 &quot;disapproval&quot;: { # Output only. The reason and details for a disapproval. # Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
1143 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1144 &quot;A String&quot;,
1145 ],
1146 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1147 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001148 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001149 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001150 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
1151 &quot;version&quot;: 42, # Output only. The version of this creative.
1152 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
1153 &quot;vendorIds&quot;: [ # All vendor IDs for the ads that may be shown from this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/vendors.txt for possible values.
1154 42,
1155 ],
1156 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
1157 &quot;detectedSensitiveCategories&quot;: [ # Output only. Detected sensitive categories, if any. See the ad-sensitive-categories.txt file in the technical documentation for a list of IDs. You should use these IDs along with the excluded-sensitive-category field in the bid request to filter your bids.
1158 42,
1159 ],
1160 &quot;attributes&quot;: [ # All attributes for the ads that may be shown from this creative. Can be used to filter the response of the creatives.list method.
1161 &quot;A String&quot;,
1162 ],
1163 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
1164 &quot;A String&quot;,
1165 ],
1166 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
1167 &quot;A String&quot;,
1168 ],
1169 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
1170 &quot;A String&quot;,
1171 ],
1172 &quot;detectedLanguages&quot;: [ # Output only. The detected languages for this creative. The order is arbitrary. The codes are 2 or 5 characters and are documented at https://developers.google.com/adwords/api/docs/appendix/languagecodes.
1173 &quot;A String&quot;,
1174 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001175 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001176 &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001177 ],
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001178 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
1179 &quot;A String&quot;,
1180 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001181 &quot;dealsStatus&quot;: &quot;A String&quot;, # Output only. The top-level deals status of this creative. If disapproved, an entry for &#x27;auctionType=DIRECT_DEALS&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001182 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001183 &quot;hasUnidentifiedProvider&quot;: True or False, # Whether the creative contains an unidentified ad technology provider. If true for a given creative, any bid submitted with that creative for an impression that will serve to an EEA user will be filtered before the auction.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001184 &quot;detectedProviderIds&quot;: [ # The detected ad technology provider IDs for this creative. See https://storage.googleapis.com/adx-rtb-dictionaries/providers.csv for mapping of provider ID to provided name, a privacy policy URL, and a list of domains which can be attributed to the provider. If the creative contains provider IDs that are outside of those listed in the `BidRequest.adslot.consented_providers_settings.consented_providers` field on the (Google bid protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/realtime-bidding-proto] and the `BidRequest.user.ext.consented_providers_settings.consented_providers` field on the (OpenRTB protocol)[https://developers.google.com/authorized-buyers/rtb/downloads/openrtb-adx-proto], and a bid is submitted with that creative for an impression that will serve to an EEA user, the bid will be filtered before the auction.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001185 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001186 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001187 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001188 &quot;accountId&quot;: &quot;A String&quot;, # The account that this creative belongs to. Can be used to filter the response of the creatives.list method.
1189 &quot;native&quot;: { # Native content for a creative. # A native creative.
1190 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1191 &quot;appIcon&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # The app icon, for app download ads.
1192 &quot;height&quot;: 42, # Image height in pixels.
1193 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1194 &quot;width&quot;: 42, # Image width in pixels.
1195 },
1196 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1197 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1198 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1199 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1200 &quot;logo&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A smaller image, for the advertiser&#x27;s logo.
1201 &quot;height&quot;: 42, # Image height in pixels.
1202 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1203 &quot;width&quot;: 42, # Image width in pixels.
1204 },
1205 &quot;image&quot;: { # An image resource. You may provide a larger image than was requested, so long as the aspect ratio is preserved. # A large image.
1206 &quot;height&quot;: 42, # Image height in pixels.
1207 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1208 &quot;width&quot;: 42, # Image width in pixels.
1209 },
1210 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1211 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1212 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1213 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1214 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1215 },
1216 &quot;creativeId&quot;: &quot;A String&quot;, # The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method.
1217 &quot;video&quot;: { # Video content for a creative. # A video creative.
1218 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1219 &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.
1220 },
1221 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
1222 { # Output only. Shows any corrections that were applied to this creative.
1223 &quot;details&quot;: [ # Additional details about what was corrected.
1224 &quot;A String&quot;,
1225 ],
1226 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
1227 &quot;contexts&quot;: [ # The contexts for the correction.
1228 { # The serving context for this restriction.
1229 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1230 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1231 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1232 &quot;A String&quot;,
1233 ],
1234 },
1235 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1236 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1237 &quot;A String&quot;,
1238 ],
1239 },
1240 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1241 &quot;securities&quot;: [ # The security types in this context.
1242 &quot;A String&quot;,
1243 ],
1244 },
1245 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1246 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1247 &quot;A String&quot;,
1248 ],
1249 },
1250 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
1251 &quot;geoCriteriaIds&quot;: [ # IDs representing the geo location for this context. Please refer to the [geo-table.csv](https://storage.googleapis.com/adx-rtb-dictionaries/geo-table.csv) file for different geo criteria IDs.
1252 42,
1253 ],
1254 },
1255 },
1256 ],
1257 },
1258 ],
1259 &quot;openAuctionStatus&quot;: &quot;A String&quot;, # Output only. The top-level open auction status of this creative. If disapproved, an entry for &#x27;auctionType = OPEN_AUCTION&#x27; (or &#x27;ALL&#x27;) in serving_restrictions will also exist. Note that this may be nuanced with other contextual restrictions, in which case, it may be preferable to read from serving_restrictions directly. Can be used to filter the response of the creatives.list method.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001260 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1261 &quot;A String&quot;,
1262 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001263 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1264 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1265 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1266 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1267 },
1268 &quot;detectedProductCategories&quot;: [ # Output only. Detected product categories, if any. See the ad-product-categories.txt file in the technical documentation for a list of IDs.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001269 42,
1270 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001271 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08001272 }</pre>
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001273</div>
1274
1275<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001276 <code class="details" id="watch">watch(accountId, creativeId, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001277 <pre>Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001278
1279Args:
1280 accountId: string, The account of the creative to watch. (required)
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001281 creativeId: string, The creative ID to watch for status changes. Specify &quot;-&quot; to watch all creatives under the above account. If both creative-level and account-level notifications are sent, only a single notification will be sent to the creative-level notification topic. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001282 body: object, The request body.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001283 The object takes the form of:
1284
1285{ # A request for watching changes to creative Status.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001286 &quot;topic&quot;: &quot;A String&quot;, # The Pub/Sub topic to publish notifications to. This topic must already exist and must give permission to ad-exchange-buyside-reports@google.com to write to the topic. This should be the full resource name in &quot;projects/{project_id}/topics/{topic_id}&quot; format.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001287 }
1288
1289 x__xgafv: string, V1 error format.
1290 Allowed values
1291 1 - v1 error format
1292 2 - v2 error format
1293
1294Returns:
1295 An object of the form:
1296
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001297 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001298 }</pre>
1299</div>
1300
1301</body></html>