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