blob: 2eecb21fa825ab312ea4e9f0648aac4828a56a8e [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">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070092 <code><a href="#list">list(accountId, pageSize=None, query=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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700122 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
123 &quot;A String&quot;,
124 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700125 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700126 &quot;version&quot;: 42, # Output only. The version of this creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700127 &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.
128 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700129 42,
130 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700131 &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.
132 &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.
133 42,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700134 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700135 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
136 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Bu Sun Kim65020912020-05-20 12:08:20 -0700137 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
138 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700139 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700140 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
141 { # Output only. Shows any corrections that were applied to this creative.
142 &quot;details&quot;: [ # Additional details about what was corrected.
143 &quot;A String&quot;,
144 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700145 &quot;contexts&quot;: [ # The contexts for the correction.
146 { # The serving context for this restriction.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700147 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
148 &quot;appTypes&quot;: [ # The app types this restriction applies to.
149 &quot;A String&quot;,
150 ],
151 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700152 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
153 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
154 &quot;A String&quot;,
155 ],
156 },
157 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
158 &quot;platforms&quot;: [ # The platforms this restriction applies to.
159 &quot;A String&quot;,
160 ],
161 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700162 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
163 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700164 42,
165 ],
166 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700167 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
168 &quot;securities&quot;: [ # The security types in this context.
169 &quot;A String&quot;,
170 ],
171 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700172 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
173 },
174 ],
175 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
176 },
177 ],
178 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
179 &quot;video&quot;: { # Video content for a creative. # A video creative.
180 &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.
181 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
182 },
183 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
184 &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.
185 &quot;A String&quot;,
186 ],
187 &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.
188 },
189 &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.
190 42,
191 ],
192 &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.
193 &quot;A String&quot;,
194 ],
195 &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.
196 &quot;A String&quot;,
197 ],
198 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
199 &quot;A String&quot;,
200 ],
201 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
202 &quot;A String&quot;,
203 ],
204 &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.
205 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
206 &quot;A String&quot;,
207 ],
208 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
209 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
210 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
211 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
212 },
213 &quot;native&quot;: { # Native content for a creative. # A native creative.
214 &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.
215 &quot;height&quot;: 42, # Image height in pixels.
216 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
217 &quot;width&quot;: 42, # Image width in pixels.
218 },
219 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
220 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
221 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
222 &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.
223 &quot;height&quot;: 42, # Image height in pixels.
224 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
225 &quot;width&quot;: 42, # Image width in pixels.
226 },
227 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
228 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
229 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
230 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
231 &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.
232 &quot;height&quot;: 42, # Image height in pixels.
233 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
234 &quot;width&quot;: 42, # Image width in pixels.
235 },
236 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
237 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
238 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
239 },
240 &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).
241 { # 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).
242 &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.
243 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
244 &quot;details&quot;: [ # Additional details about the reason for disapproval.
245 &quot;A String&quot;,
246 ],
247 },
248 &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).
249 &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.
250 { # Output only. The reason and details for a disapproval.
251 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
252 &quot;details&quot;: [ # Additional details about the reason for disapproval.
253 &quot;A String&quot;,
254 ],
255 },
256 ],
257 &quot;contexts&quot;: [ # The contexts for the restriction.
258 { # The serving context for this restriction.
259 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
260 &quot;appTypes&quot;: [ # The app types this restriction applies to.
261 &quot;A String&quot;,
262 ],
263 },
264 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
265 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
266 &quot;A String&quot;,
267 ],
268 },
269 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
270 &quot;platforms&quot;: [ # The platforms this restriction applies to.
271 &quot;A String&quot;,
272 ],
273 },
274 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
275 &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.
276 42,
277 ],
278 },
279 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
280 &quot;securities&quot;: [ # The security types in this context.
281 &quot;A String&quot;,
282 ],
283 },
284 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700285 },
286 ],
287 },
288 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700289 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700290 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
291 &quot;A String&quot;,
292 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400293}
294
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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700308 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
309 &quot;A String&quot;,
310 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700311 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700312 &quot;version&quot;: 42, # Output only. The version of this creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700313 &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.
314 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700315 42,
316 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700317 &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.
318 &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.
319 42,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700320 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700321 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
322 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Bu Sun Kim65020912020-05-20 12:08:20 -0700323 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
324 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700325 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700326 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
327 { # Output only. Shows any corrections that were applied to this creative.
328 &quot;details&quot;: [ # Additional details about what was corrected.
329 &quot;A String&quot;,
330 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700331 &quot;contexts&quot;: [ # The contexts for the correction.
332 { # The serving context for this restriction.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700333 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
334 &quot;appTypes&quot;: [ # The app types this restriction applies to.
335 &quot;A String&quot;,
336 ],
337 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700338 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
339 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
340 &quot;A String&quot;,
341 ],
342 },
343 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
344 &quot;platforms&quot;: [ # The platforms this restriction applies to.
345 &quot;A String&quot;,
346 ],
347 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700348 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
349 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700350 42,
351 ],
352 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700353 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
354 &quot;securities&quot;: [ # The security types in this context.
355 &quot;A String&quot;,
356 ],
357 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700358 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
359 },
360 ],
361 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
362 },
363 ],
364 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
365 &quot;video&quot;: { # Video content for a creative. # A video creative.
366 &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.
367 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
368 },
369 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
370 &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.
371 &quot;A String&quot;,
372 ],
373 &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.
374 },
375 &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.
376 42,
377 ],
378 &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.
379 &quot;A String&quot;,
380 ],
381 &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.
382 &quot;A String&quot;,
383 ],
384 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
385 &quot;A String&quot;,
386 ],
387 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
388 &quot;A String&quot;,
389 ],
390 &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.
391 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
392 &quot;A String&quot;,
393 ],
394 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
395 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
396 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
397 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
398 },
399 &quot;native&quot;: { # Native content for a creative. # A native creative.
400 &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.
401 &quot;height&quot;: 42, # Image height in pixels.
402 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
403 &quot;width&quot;: 42, # Image width in pixels.
404 },
405 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
406 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
407 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
408 &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.
409 &quot;height&quot;: 42, # Image height in pixels.
410 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
411 &quot;width&quot;: 42, # Image width in pixels.
412 },
413 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
414 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
415 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
416 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
417 &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.
418 &quot;height&quot;: 42, # Image height in pixels.
419 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
420 &quot;width&quot;: 42, # Image width in pixels.
421 },
422 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
423 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
424 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
425 },
426 &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).
427 { # 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).
428 &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.
429 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
430 &quot;details&quot;: [ # Additional details about the reason for disapproval.
431 &quot;A String&quot;,
432 ],
433 },
434 &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).
435 &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.
436 { # Output only. The reason and details for a disapproval.
437 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
438 &quot;details&quot;: [ # Additional details about the reason for disapproval.
439 &quot;A String&quot;,
440 ],
441 },
442 ],
443 &quot;contexts&quot;: [ # The contexts for the restriction.
444 { # The serving context for this restriction.
445 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
446 &quot;appTypes&quot;: [ # The app types this restriction applies to.
447 &quot;A String&quot;,
448 ],
449 },
450 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
451 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
452 &quot;A String&quot;,
453 ],
454 },
455 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
456 &quot;platforms&quot;: [ # The platforms this restriction applies to.
457 &quot;A String&quot;,
458 ],
459 },
460 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
461 &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.
462 42,
463 ],
464 },
465 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
466 &quot;securities&quot;: [ # The security types in this context.
467 &quot;A String&quot;,
468 ],
469 },
470 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700471 },
472 ],
473 },
474 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700475 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700476 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
477 &quot;A String&quot;,
478 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400479 }</pre>
480</div>
481
482<div class="method">
483 <code class="details" id="get">get(accountId, creativeId, x__xgafv=None)</code>
484 <pre>Gets a creative.
485
486Args:
487 accountId: string, The account the creative belongs to. (required)
488 creativeId: string, The ID of the creative to retrieve. (required)
489 x__xgafv: string, V1 error format.
490 Allowed values
491 1 - v1 error format
492 2 - v2 error format
493
494Returns:
495 An object of the form:
496
497 { # A creative and its classification data.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700498 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
499 &quot;A String&quot;,
500 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700501 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700502 &quot;version&quot;: 42, # Output only. The version of this creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700503 &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.
504 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700505 42,
506 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700507 &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.
508 &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.
509 42,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700510 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700511 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
512 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Bu Sun Kim65020912020-05-20 12:08:20 -0700513 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
514 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700515 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700516 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
517 { # Output only. Shows any corrections that were applied to this creative.
518 &quot;details&quot;: [ # Additional details about what was corrected.
519 &quot;A String&quot;,
520 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700521 &quot;contexts&quot;: [ # The contexts for the correction.
522 { # The serving context for this restriction.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700523 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
524 &quot;appTypes&quot;: [ # The app types this restriction applies to.
525 &quot;A String&quot;,
526 ],
527 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700528 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
529 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
530 &quot;A String&quot;,
531 ],
532 },
533 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
534 &quot;platforms&quot;: [ # The platforms this restriction applies to.
535 &quot;A String&quot;,
536 ],
537 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700538 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
539 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700540 42,
541 ],
542 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700543 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
544 &quot;securities&quot;: [ # The security types in this context.
545 &quot;A String&quot;,
546 ],
547 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700548 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
549 },
550 ],
551 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
552 },
553 ],
554 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
555 &quot;video&quot;: { # Video content for a creative. # A video creative.
556 &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.
557 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
558 },
559 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
560 &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.
561 &quot;A String&quot;,
562 ],
563 &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.
564 },
565 &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.
566 42,
567 ],
568 &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.
569 &quot;A String&quot;,
570 ],
571 &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.
572 &quot;A String&quot;,
573 ],
574 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
575 &quot;A String&quot;,
576 ],
577 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
578 &quot;A String&quot;,
579 ],
580 &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.
581 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
582 &quot;A String&quot;,
583 ],
584 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
585 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
586 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
587 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
588 },
589 &quot;native&quot;: { # Native content for a creative. # A native creative.
590 &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.
591 &quot;height&quot;: 42, # Image height in pixels.
592 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
593 &quot;width&quot;: 42, # Image width in pixels.
594 },
595 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
596 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
597 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
598 &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.
599 &quot;height&quot;: 42, # Image height in pixels.
600 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
601 &quot;width&quot;: 42, # Image width in pixels.
602 },
603 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
604 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
605 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
606 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
607 &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.
608 &quot;height&quot;: 42, # Image height in pixels.
609 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
610 &quot;width&quot;: 42, # Image width in pixels.
611 },
612 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
613 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
614 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
615 },
616 &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).
617 { # 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).
618 &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.
619 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
620 &quot;details&quot;: [ # Additional details about the reason for disapproval.
621 &quot;A String&quot;,
622 ],
623 },
624 &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).
625 &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.
626 { # Output only. The reason and details for a disapproval.
627 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
628 &quot;details&quot;: [ # Additional details about the reason for disapproval.
629 &quot;A String&quot;,
630 ],
631 },
632 ],
633 &quot;contexts&quot;: [ # The contexts for the restriction.
634 { # The serving context for this restriction.
635 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
636 &quot;appTypes&quot;: [ # The app types this restriction applies to.
637 &quot;A String&quot;,
638 ],
639 },
640 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
641 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
642 &quot;A String&quot;,
643 ],
644 },
645 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
646 &quot;platforms&quot;: [ # The platforms this restriction applies to.
647 &quot;A String&quot;,
648 ],
649 },
650 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
651 &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.
652 42,
653 ],
654 },
655 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
656 &quot;securities&quot;: [ # The security types in this context.
657 &quot;A String&quot;,
658 ],
659 },
660 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700661 },
662 ],
663 },
664 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700665 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700666 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
667 &quot;A String&quot;,
668 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400669 }</pre>
670</div>
671
672<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700673 <code class="details" id="list">list(accountId, pageSize=None, query=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)
678 pageSize: integer, Requested page size. The server may return fewer creatives than requested (due to timeout constraint) even if more are available via another call. If unspecified, server will pick an appropriate default. Acceptable values are 1 to 1000, inclusive.
679 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;
680 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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700693 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
694 &quot;A String&quot;,
695 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700696 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700697 &quot;version&quot;: 42, # Output only. The version of this creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700698 &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.
699 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700700 42,
701 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700702 &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.
703 &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.
704 42,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700705 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700706 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
707 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Bu Sun Kim65020912020-05-20 12:08:20 -0700708 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
709 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700710 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700711 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
712 { # Output only. Shows any corrections that were applied to this creative.
713 &quot;details&quot;: [ # Additional details about what was corrected.
714 &quot;A String&quot;,
715 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700716 &quot;contexts&quot;: [ # The contexts for the correction.
717 { # The serving context for this restriction.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700718 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
719 &quot;appTypes&quot;: [ # The app types this restriction applies to.
720 &quot;A String&quot;,
721 ],
722 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700723 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
724 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
725 &quot;A String&quot;,
726 ],
727 },
728 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
729 &quot;platforms&quot;: [ # The platforms this restriction applies to.
730 &quot;A String&quot;,
731 ],
732 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700733 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
734 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700735 42,
736 ],
737 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700738 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
739 &quot;securities&quot;: [ # The security types in this context.
740 &quot;A String&quot;,
741 ],
742 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700743 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
744 },
745 ],
746 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
747 },
748 ],
749 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
750 &quot;video&quot;: { # Video content for a creative. # A video creative.
751 &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.
752 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
753 },
754 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
755 &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.
756 &quot;A String&quot;,
757 ],
758 &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.
759 },
760 &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.
761 42,
762 ],
763 &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.
764 &quot;A String&quot;,
765 ],
766 &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.
767 &quot;A String&quot;,
768 ],
769 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
770 &quot;A String&quot;,
771 ],
772 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
773 &quot;A String&quot;,
774 ],
775 &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.
776 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
777 &quot;A String&quot;,
778 ],
779 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
780 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
781 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
782 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
783 },
784 &quot;native&quot;: { # Native content for a creative. # A native creative.
785 &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.
786 &quot;height&quot;: 42, # Image height in pixels.
787 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
788 &quot;width&quot;: 42, # Image width in pixels.
789 },
790 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
791 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
792 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
793 &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.
794 &quot;height&quot;: 42, # Image height in pixels.
795 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
796 &quot;width&quot;: 42, # Image width in pixels.
797 },
798 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
799 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
800 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
801 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
802 &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.
803 &quot;height&quot;: 42, # Image height in pixels.
804 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
805 &quot;width&quot;: 42, # Image width in pixels.
806 },
807 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
808 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
809 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
810 },
811 &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).
812 { # 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).
813 &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.
814 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
815 &quot;details&quot;: [ # Additional details about the reason for disapproval.
816 &quot;A String&quot;,
817 ],
818 },
819 &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).
820 &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.
821 { # Output only. The reason and details for a disapproval.
822 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
823 &quot;details&quot;: [ # Additional details about the reason for disapproval.
824 &quot;A String&quot;,
825 ],
826 },
827 ],
828 &quot;contexts&quot;: [ # The contexts for the restriction.
829 { # The serving context for this restriction.
830 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
831 &quot;appTypes&quot;: [ # The app types this restriction applies to.
832 &quot;A String&quot;,
833 ],
834 },
835 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
836 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
837 &quot;A String&quot;,
838 ],
839 },
840 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
841 &quot;platforms&quot;: [ # The platforms this restriction applies to.
842 &quot;A String&quot;,
843 ],
844 },
845 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
846 &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.
847 42,
848 ],
849 },
850 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
851 &quot;securities&quot;: [ # The security types in this context.
852 &quot;A String&quot;,
853 ],
854 },
855 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700856 },
857 ],
858 },
859 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700860 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700861 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
862 &quot;A String&quot;,
863 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -0400864 },
865 ],
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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700919 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
920 &quot;A String&quot;,
921 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700922 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700923 &quot;version&quot;: 42, # Output only. The version of this creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700924 &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.
925 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700926 42,
927 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700928 &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.
929 &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.
930 42,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700931 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700932 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
933 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Bu Sun Kim65020912020-05-20 12:08:20 -0700934 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
935 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -0700936 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700937 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
938 { # Output only. Shows any corrections that were applied to this creative.
939 &quot;details&quot;: [ # Additional details about what was corrected.
940 &quot;A String&quot;,
941 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700942 &quot;contexts&quot;: [ # The contexts for the correction.
943 { # The serving context for this restriction.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700944 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
945 &quot;appTypes&quot;: [ # The app types this restriction applies to.
946 &quot;A String&quot;,
947 ],
948 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700949 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
950 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
951 &quot;A String&quot;,
952 ],
953 },
954 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
955 &quot;platforms&quot;: [ # The platforms this restriction applies to.
956 &quot;A String&quot;,
957 ],
958 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700959 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
960 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700961 42,
962 ],
963 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700964 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
965 &quot;securities&quot;: [ # The security types in this context.
966 &quot;A String&quot;,
967 ],
968 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700969 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
970 },
971 ],
972 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
973 },
974 ],
975 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
976 &quot;video&quot;: { # Video content for a creative. # A video creative.
977 &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.
978 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
979 },
980 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
981 &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.
982 &quot;A String&quot;,
983 ],
984 &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.
985 },
986 &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.
987 42,
988 ],
989 &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.
990 &quot;A String&quot;,
991 ],
992 &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.
993 &quot;A String&quot;,
994 ],
995 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
996 &quot;A String&quot;,
997 ],
998 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
999 &quot;A String&quot;,
1000 ],
1001 &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.
1002 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1003 &quot;A String&quot;,
1004 ],
1005 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1006 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1007 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1008 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1009 },
1010 &quot;native&quot;: { # Native content for a creative. # A native creative.
1011 &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.
1012 &quot;height&quot;: 42, # Image height in pixels.
1013 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1014 &quot;width&quot;: 42, # Image width in pixels.
1015 },
1016 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1017 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1018 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1019 &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.
1020 &quot;height&quot;: 42, # Image height in pixels.
1021 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1022 &quot;width&quot;: 42, # Image width in pixels.
1023 },
1024 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1025 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1026 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1027 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1028 &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.
1029 &quot;height&quot;: 42, # Image height in pixels.
1030 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1031 &quot;width&quot;: 42, # Image width in pixels.
1032 },
1033 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1034 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1035 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1036 },
1037 &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).
1038 { # 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).
1039 &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.
1040 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1041 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1042 &quot;A String&quot;,
1043 ],
1044 },
1045 &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).
1046 &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.
1047 { # Output only. The reason and details for a disapproval.
1048 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1049 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1050 &quot;A String&quot;,
1051 ],
1052 },
1053 ],
1054 &quot;contexts&quot;: [ # The contexts for the restriction.
1055 { # The serving context for this restriction.
1056 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1057 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1058 &quot;A String&quot;,
1059 ],
1060 },
1061 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1062 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1063 &quot;A String&quot;,
1064 ],
1065 },
1066 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1067 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1068 &quot;A String&quot;,
1069 ],
1070 },
1071 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
1072 &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.
1073 42,
1074 ],
1075 },
1076 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1077 &quot;securities&quot;: [ # The security types in this context.
1078 &quot;A String&quot;,
1079 ],
1080 },
1081 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001082 },
1083 ],
1084 },
1085 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001086 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001087 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
1088 &quot;A String&quot;,
1089 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001090}
1091
1092 x__xgafv: string, V1 error format.
1093 Allowed values
1094 1 - v1 error format
1095 2 - v2 error format
1096
1097Returns:
1098 An object of the form:
1099
1100 { # A creative and its classification data.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001101 &quot;restrictedCategories&quot;: [ # All restricted categories for the ads that may be shown from this creative.
1102 &quot;A String&quot;,
1103 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001104 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001105 &quot;version&quot;: 42, # Output only. The version of this creative.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001106 &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.
1107 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001108 42,
1109 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001110 &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.
1111 &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.
1112 42,
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001113 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001114 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the company being advertised in the creative.
1115 &quot;agencyId&quot;: &quot;A String&quot;, # The agency ID for this creative.
Bu Sun Kim65020912020-05-20 12:08:20 -07001116 &quot;detectedAdvertiserIds&quot;: [ # Output only. Detected advertiser IDs, if any.
1117 &quot;A String&quot;,
Dan O'Mearadd494642020-05-01 07:42:23 -07001118 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001119 &quot;corrections&quot;: [ # Output only. Shows any corrections that were applied to this creative.
1120 { # Output only. Shows any corrections that were applied to this creative.
1121 &quot;details&quot;: [ # Additional details about what was corrected.
1122 &quot;A String&quot;,
1123 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001124 &quot;contexts&quot;: [ # The contexts for the correction.
1125 { # The serving context for this restriction.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001126 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1127 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1128 &quot;A String&quot;,
1129 ],
1130 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001131 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1132 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1133 &quot;A String&quot;,
1134 ],
1135 },
1136 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1137 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1138 &quot;A String&quot;,
1139 ],
1140 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001141 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
1142 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001143 42,
1144 ],
1145 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001146 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1147 &quot;securities&quot;: [ # The security types in this context.
1148 &quot;A String&quot;,
1149 ],
1150 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001151 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
1152 },
1153 ],
1154 &quot;type&quot;: &quot;A String&quot;, # The type of correction that was applied to the creative.
1155 },
1156 ],
1157 &quot;adChoicesDestinationUrl&quot;: &quot;A String&quot;, # The link to AdChoices destination page.
1158 &quot;video&quot;: { # Video content for a creative. # A video creative.
1159 &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.
1160 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a video ad.
1161 },
1162 &quot;adTechnologyProviders&quot;: { # Detected ad technology provider information. # Output only. The detected ad technology providers.
1163 &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.
1164 &quot;A String&quot;,
1165 ],
1166 &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.
1167 },
1168 &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.
1169 42,
1170 ],
1171 &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.
1172 &quot;A String&quot;,
1173 ],
1174 &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.
1175 &quot;A String&quot;,
1176 ],
1177 &quot;detectedDomains&quot;: [ # Output only. The detected domains for this creative.
1178 &quot;A String&quot;,
1179 ],
1180 &quot;clickThroughUrls&quot;: [ # The set of destination URLs for the creative.
1181 &quot;A String&quot;,
1182 ],
1183 &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.
1184 &quot;impressionTrackingUrls&quot;: [ # The set of URLs to be called to record an impression.
1185 &quot;A String&quot;,
1186 ],
1187 &quot;html&quot;: { # HTML content for a creative. # An HTML creative.
1188 &quot;snippet&quot;: &quot;A String&quot;, # The HTML snippet that displays the ad when inserted in the web page.
1189 &quot;width&quot;: 42, # The width of the HTML snippet in pixels.
1190 &quot;height&quot;: 42, # The height of the HTML snippet in pixels.
1191 },
1192 &quot;native&quot;: { # Native content for a creative. # A native creative.
1193 &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.
1194 &quot;height&quot;: 42, # Image height in pixels.
1195 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1196 &quot;width&quot;: 42, # Image width in pixels.
1197 },
1198 &quot;clickTrackingUrl&quot;: &quot;A String&quot;, # The URL to use for click tracking.
1199 &quot;callToAction&quot;: &quot;A String&quot;, # A label for the button that the user is supposed to click.
1200 &quot;priceDisplayText&quot;: &quot;A String&quot;, # The price of the promoted app including currency info.
1201 &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.
1202 &quot;height&quot;: 42, # Image height in pixels.
1203 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1204 &quot;width&quot;: 42, # Image width in pixels.
1205 },
1206 &quot;storeUrl&quot;: &quot;A String&quot;, # The URL to the app store to purchase/download the promoted app.
1207 &quot;videoUrl&quot;: &quot;A String&quot;, # The URL to fetch a native video ad.
1208 &quot;clickLinkUrl&quot;: &quot;A String&quot;, # The URL that the browser/SDK will load when the user clicks the ad.
1209 &quot;advertiserName&quot;: &quot;A String&quot;, # The name of the advertiser or sponsor, to be displayed in the ad creative.
1210 &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.
1211 &quot;height&quot;: 42, # Image height in pixels.
1212 &quot;url&quot;: &quot;A String&quot;, # The URL of the image.
1213 &quot;width&quot;: 42, # Image width in pixels.
1214 },
1215 &quot;starRating&quot;: 3.14, # The app rating in the app store. Must be in the range [0-5].
1216 &quot;body&quot;: &quot;A String&quot;, # A long description of the ad.
1217 &quot;headline&quot;: &quot;A String&quot;, # A short title for the ad.
1218 },
1219 &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).
1220 { # 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).
1221 &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.
1222 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1223 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1224 &quot;A String&quot;,
1225 ],
1226 },
1227 &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).
1228 &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.
1229 { # Output only. The reason and details for a disapproval.
1230 &quot;reason&quot;: &quot;A String&quot;, # The categorized reason for disapproval.
1231 &quot;details&quot;: [ # Additional details about the reason for disapproval.
1232 &quot;A String&quot;,
1233 ],
1234 },
1235 ],
1236 &quot;contexts&quot;: [ # The contexts for the restriction.
1237 { # The serving context for this restriction.
1238 &quot;appType&quot;: { # Output only. The app type the restriction applies to for mobile device. # Matches impressions for a particular app type.
1239 &quot;appTypes&quot;: [ # The app types this restriction applies to.
1240 &quot;A String&quot;,
1241 ],
1242 },
1243 &quot;auctionType&quot;: { # Output only. The auction type the restriction applies to. # Matches impressions for a particular auction type.
1244 &quot;auctionTypes&quot;: [ # The auction types this restriction applies to.
1245 &quot;A String&quot;,
1246 ],
1247 },
1248 &quot;platform&quot;: { # Output only. The type of platform the restriction applies to. # Matches impressions coming from a particular platform.
1249 &quot;platforms&quot;: [ # The platforms this restriction applies to.
1250 &quot;A String&quot;,
1251 ],
1252 },
1253 &quot;location&quot;: { # Output only. The Geo criteria the restriction applies to. # Matches impressions coming from users *or* publishers in a specific location.
1254 &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.
1255 42,
1256 ],
1257 },
1258 &quot;securityType&quot;: { # Output only. A security context. # Matches impressions for a particular security type.
1259 &quot;securities&quot;: [ # The security types in this context.
1260 &quot;A String&quot;,
1261 ],
1262 },
1263 &quot;all&quot;: &quot;A String&quot;, # Matches all contexts.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001264 },
1265 ],
1266 },
1267 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001268 &quot;apiUpdateTime&quot;: &quot;A String&quot;, # Output only. The last update timestamp of the creative via API.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001269 &quot;declaredClickThroughUrls&quot;: [ # The set of declared destination URLs for the creative.
1270 &quot;A String&quot;,
1271 ],
Sai Cheemalapatic30d2b52017-03-13 12:12:03 -04001272 }</pre>
1273</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>