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