Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [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="content_v2.html">Content API for Shopping</a> . <a href="content_v2.accountstatuses.html">accountstatuses</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 81 | <code><a href="#custombatch">custombatch(body=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 82 | <p class="firstline">Retrieves multiple Merchant Center account statuses in a single request.</p> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 83 | <p class="toc_element"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 84 | <code><a href="#get">get(merchantId, accountId, destinations=None)</a></code></p> |
| 85 | <p class="firstline">Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts.</p> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 86 | <p class="toc_element"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 87 | <code><a href="#list">list(merchantId, destinations=None, maxResults=None, pageToken=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 88 | <p class="firstline">Lists the statuses of the sub-accounts in your Merchant Center account.</p> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 89 | <p class="toc_element"> |
| 90 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 91 | <p class="firstline">Retrieves the next page of results.</p> |
| 92 | <h3>Method Details</h3> |
| 93 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 94 | <code class="details" id="close">close()</code> |
| 95 | <pre>Close httplib2 connections.</pre> |
| 96 | </div> |
| 97 | |
| 98 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 99 | <code class="details" id="custombatch">custombatch(body=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 100 | <pre>Retrieves multiple Merchant Center account statuses in a single request. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 101 | |
| 102 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 103 | body: object, The request body. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 104 | The object takes the form of: |
| 105 | |
| 106 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 107 | "entries": [ # The request entries to be processed in the batch. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 108 | { # A batch entry encoding a single non-batch accountstatuses request. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 109 | "accountId": "A String", # The ID of the (sub-)account whose status to get. |
| 110 | "batchId": 42, # An entry ID, unique within the batch request. |
| 111 | "destinations": [ # If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. |
| 112 | "A String", |
| 113 | ], |
| 114 | "merchantId": "A String", # The ID of the managing account. |
| 115 | "method": "A String", # The method of the batch entry. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 116 | # |
| 117 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 118 | # - "`get`" |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 119 | }, |
| 120 | ], |
| 121 | } |
| 122 | |
| 123 | |
| 124 | Returns: |
| 125 | An object of the form: |
| 126 | |
| 127 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 128 | "entries": [ # The result of the execution of the batch requests. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 129 | { # A batch entry encoding a single non-batch accountstatuses response. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 130 | "accountStatus": { # The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time. # The requested account status. Defined if and only if the request was successful. |
| 131 | "accountId": "A String", # The ID of the account for which the status is reported. |
| 132 | "accountLevelIssues": [ # A list of account level issues. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 133 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 134 | "country": "A String", # Country for which this issue is reported. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 135 | "destination": "A String", # The destination the issue applies to. If this field is empty then the issue applies to all available destinations. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 136 | "detail": "A String", # Additional details about the issue. |
| 137 | "documentation": "A String", # The URL of a web page to help resolving this issue. |
| 138 | "id": "A String", # Issue identifier. |
| 139 | "severity": "A String", # Severity of the issue. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 140 | # |
| 141 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 142 | # - "`critical`" |
| 143 | # - "`error`" |
| 144 | # - "`suggestion`" |
| 145 | "title": "A String", # Short description of the issue. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 146 | }, |
| 147 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 148 | "dataQualityIssues": [ # DEPRECATED - never populated. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 149 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 150 | "country": "A String", |
| 151 | "destination": "A String", |
| 152 | "detail": "A String", |
| 153 | "displayedValue": "A String", |
| 154 | "exampleItems": [ |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 155 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 156 | "itemId": "A String", |
| 157 | "link": "A String", |
| 158 | "submittedValue": "A String", |
| 159 | "title": "A String", |
| 160 | "valueOnLandingPage": "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 161 | }, |
| 162 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 163 | "id": "A String", |
| 164 | "lastChecked": "A String", |
| 165 | "location": "A String", |
| 166 | "numItems": 42, |
| 167 | "severity": "A String", # Acceptable values are: |
| 168 | # - "`critical`" |
| 169 | # - "`error`" |
| 170 | # - "`suggestion`" |
| 171 | "submittedValue": "A String", |
| 172 | }, |
| 173 | ], |
| 174 | "kind": "content#accountStatus", # Identifies what kind of resource this is. Value: the fixed string "`content#accountStatus`" |
| 175 | "products": [ # List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes. |
| 176 | { |
| 177 | "channel": "A String", # The channel the data applies to. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 178 | # |
| 179 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 180 | # - "`local`" |
| 181 | # - "`online`" |
| 182 | "country": "A String", # The country the data applies to. |
| 183 | "destination": "A String", # The destination the data applies to. |
| 184 | "itemLevelIssues": [ # List of item-level issues. |
| 185 | { |
| 186 | "attributeName": "A String", # The attribute's name, if the issue is caused by a single attribute. |
| 187 | "code": "A String", # The error code of the issue. |
| 188 | "description": "A String", # A short issue description in English. |
| 189 | "detail": "A String", # A detailed issue description in English. |
| 190 | "documentation": "A String", # The URL of a web page to help with resolving this issue. |
| 191 | "numItems": "A String", # Number of items with this issue. |
| 192 | "resolution": "A String", # Whether the issue can be resolved by the merchant. |
| 193 | "servability": "A String", # How this issue affects serving of the offer. |
| 194 | }, |
| 195 | ], |
| 196 | "statistics": { # Aggregated product statistics. |
| 197 | "active": "A String", # Number of active offers. |
| 198 | "disapproved": "A String", # Number of disapproved offers. |
| 199 | "expiring": "A String", # Number of expiring offers. |
| 200 | "pending": "A String", # Number of pending offers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 201 | }, |
| 202 | }, |
| 203 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 204 | "websiteClaimed": True or False, # Whether the account's website is claimed or not. |
| 205 | }, |
| 206 | "batchId": 42, # The ID of the request entry this entry responds to. |
| 207 | "errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if and only if the request failed. |
| 208 | "code": 42, # The HTTP status of the first error in `errors`. |
| 209 | "errors": [ # A list of errors. |
| 210 | { # An error returned by the API. |
| 211 | "domain": "A String", # The domain of the error. |
| 212 | "message": "A String", # A description of the error. |
| 213 | "reason": "A String", # The error code. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 214 | }, |
| 215 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 216 | "message": "A String", # The message of the first error in `errors`. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 217 | }, |
| 218 | }, |
| 219 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 220 | "kind": "content#accountstatusesCustomBatchResponse", # Identifies what kind of resource this is. Value: the fixed string "content#accountstatusesCustomBatchResponse". |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 221 | }</pre> |
| 222 | </div> |
| 223 | |
| 224 | <div class="method"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 225 | <code class="details" id="get">get(merchantId, accountId, destinations=None)</code> |
| 226 | <pre>Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 227 | |
| 228 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 229 | merchantId: string, The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and `accountId` must be the ID of a sub-account of this account. (required) |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 230 | accountId: string, The ID of the account. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 231 | destinations: string, If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. (repeated) |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 232 | |
| 233 | Returns: |
| 234 | An object of the form: |
| 235 | |
| 236 | { # The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 237 | "accountId": "A String", # The ID of the account for which the status is reported. |
| 238 | "accountLevelIssues": [ # A list of account level issues. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 239 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 240 | "country": "A String", # Country for which this issue is reported. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 241 | "destination": "A String", # The destination the issue applies to. If this field is empty then the issue applies to all available destinations. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 242 | "detail": "A String", # Additional details about the issue. |
| 243 | "documentation": "A String", # The URL of a web page to help resolving this issue. |
| 244 | "id": "A String", # Issue identifier. |
| 245 | "severity": "A String", # Severity of the issue. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 246 | # |
| 247 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 248 | # - "`critical`" |
| 249 | # - "`error`" |
| 250 | # - "`suggestion`" |
| 251 | "title": "A String", # Short description of the issue. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 252 | }, |
| 253 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 254 | "dataQualityIssues": [ # DEPRECATED - never populated. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 255 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 256 | "country": "A String", |
| 257 | "destination": "A String", |
| 258 | "detail": "A String", |
| 259 | "displayedValue": "A String", |
| 260 | "exampleItems": [ |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 261 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 262 | "itemId": "A String", |
| 263 | "link": "A String", |
| 264 | "submittedValue": "A String", |
| 265 | "title": "A String", |
| 266 | "valueOnLandingPage": "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 267 | }, |
| 268 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 269 | "id": "A String", |
| 270 | "lastChecked": "A String", |
| 271 | "location": "A String", |
| 272 | "numItems": 42, |
| 273 | "severity": "A String", # Acceptable values are: |
| 274 | # - "`critical`" |
| 275 | # - "`error`" |
| 276 | # - "`suggestion`" |
| 277 | "submittedValue": "A String", |
| 278 | }, |
| 279 | ], |
| 280 | "kind": "content#accountStatus", # Identifies what kind of resource this is. Value: the fixed string "`content#accountStatus`" |
| 281 | "products": [ # List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes. |
| 282 | { |
| 283 | "channel": "A String", # The channel the data applies to. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 284 | # |
| 285 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 286 | # - "`local`" |
| 287 | # - "`online`" |
| 288 | "country": "A String", # The country the data applies to. |
| 289 | "destination": "A String", # The destination the data applies to. |
| 290 | "itemLevelIssues": [ # List of item-level issues. |
| 291 | { |
| 292 | "attributeName": "A String", # The attribute's name, if the issue is caused by a single attribute. |
| 293 | "code": "A String", # The error code of the issue. |
| 294 | "description": "A String", # A short issue description in English. |
| 295 | "detail": "A String", # A detailed issue description in English. |
| 296 | "documentation": "A String", # The URL of a web page to help with resolving this issue. |
| 297 | "numItems": "A String", # Number of items with this issue. |
| 298 | "resolution": "A String", # Whether the issue can be resolved by the merchant. |
| 299 | "servability": "A String", # How this issue affects serving of the offer. |
| 300 | }, |
| 301 | ], |
| 302 | "statistics": { # Aggregated product statistics. |
| 303 | "active": "A String", # Number of active offers. |
| 304 | "disapproved": "A String", # Number of disapproved offers. |
| 305 | "expiring": "A String", # Number of expiring offers. |
| 306 | "pending": "A String", # Number of pending offers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 307 | }, |
| 308 | }, |
| 309 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 310 | "websiteClaimed": True or False, # Whether the account's website is claimed or not. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 311 | }</pre> |
| 312 | </div> |
| 313 | |
| 314 | <div class="method"> |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 315 | <code class="details" id="list">list(merchantId, destinations=None, maxResults=None, pageToken=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 316 | <pre>Lists the statuses of the sub-accounts in your Merchant Center account. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 317 | |
| 318 | Args: |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 319 | merchantId: string, The ID of the managing account. This must be a multi-client account. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 320 | destinations: string, If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. (repeated) |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 321 | maxResults: integer, The maximum number of account statuses to return in the response, used for paging. |
| 322 | pageToken: string, The token returned by the previous request. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 323 | |
| 324 | Returns: |
| 325 | An object of the form: |
| 326 | |
| 327 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 328 | "kind": "content#accountstatusesListResponse", # Identifies what kind of resource this is. Value: the fixed string "content#accountstatusesListResponse". |
| 329 | "nextPageToken": "A String", # The token for the retrieval of the next page of account statuses. |
| 330 | "resources": [ |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 331 | { # The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 332 | "accountId": "A String", # The ID of the account for which the status is reported. |
| 333 | "accountLevelIssues": [ # A list of account level issues. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 334 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 335 | "country": "A String", # Country for which this issue is reported. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 336 | "destination": "A String", # The destination the issue applies to. If this field is empty then the issue applies to all available destinations. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 337 | "detail": "A String", # Additional details about the issue. |
| 338 | "documentation": "A String", # The URL of a web page to help resolving this issue. |
| 339 | "id": "A String", # Issue identifier. |
| 340 | "severity": "A String", # Severity of the issue. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 341 | # |
| 342 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 343 | # - "`critical`" |
| 344 | # - "`error`" |
| 345 | # - "`suggestion`" |
| 346 | "title": "A String", # Short description of the issue. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 347 | }, |
| 348 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 349 | "dataQualityIssues": [ # DEPRECATED - never populated. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 350 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 351 | "country": "A String", |
| 352 | "destination": "A String", |
| 353 | "detail": "A String", |
| 354 | "displayedValue": "A String", |
| 355 | "exampleItems": [ |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 356 | { |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 357 | "itemId": "A String", |
| 358 | "link": "A String", |
| 359 | "submittedValue": "A String", |
| 360 | "title": "A String", |
| 361 | "valueOnLandingPage": "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 362 | }, |
| 363 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 364 | "id": "A String", |
| 365 | "lastChecked": "A String", |
| 366 | "location": "A String", |
| 367 | "numItems": 42, |
| 368 | "severity": "A String", # Acceptable values are: |
| 369 | # - "`critical`" |
| 370 | # - "`error`" |
| 371 | # - "`suggestion`" |
| 372 | "submittedValue": "A String", |
| 373 | }, |
| 374 | ], |
| 375 | "kind": "content#accountStatus", # Identifies what kind of resource this is. Value: the fixed string "`content#accountStatus`" |
| 376 | "products": [ # List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes. |
| 377 | { |
| 378 | "channel": "A String", # The channel the data applies to. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 379 | # |
| 380 | # Acceptable values are: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 381 | # - "`local`" |
| 382 | # - "`online`" |
| 383 | "country": "A String", # The country the data applies to. |
| 384 | "destination": "A String", # The destination the data applies to. |
| 385 | "itemLevelIssues": [ # List of item-level issues. |
| 386 | { |
| 387 | "attributeName": "A String", # The attribute's name, if the issue is caused by a single attribute. |
| 388 | "code": "A String", # The error code of the issue. |
| 389 | "description": "A String", # A short issue description in English. |
| 390 | "detail": "A String", # A detailed issue description in English. |
| 391 | "documentation": "A String", # The URL of a web page to help with resolving this issue. |
| 392 | "numItems": "A String", # Number of items with this issue. |
| 393 | "resolution": "A String", # Whether the issue can be resolved by the merchant. |
| 394 | "servability": "A String", # How this issue affects serving of the offer. |
| 395 | }, |
| 396 | ], |
| 397 | "statistics": { # Aggregated product statistics. |
| 398 | "active": "A String", # Number of active offers. |
| 399 | "disapproved": "A String", # Number of disapproved offers. |
| 400 | "expiring": "A String", # Number of expiring offers. |
| 401 | "pending": "A String", # Number of pending offers. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 402 | }, |
| 403 | }, |
| 404 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 405 | "websiteClaimed": True or False, # Whether the account's website is claimed or not. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 406 | }, |
| 407 | ], |
| 408 | }</pre> |
| 409 | </div> |
| 410 | |
| 411 | <div class="method"> |
| 412 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 413 | <pre>Retrieves the next page of results. |
| 414 | |
| 415 | Args: |
| 416 | previous_request: The request for the previous page. (required) |
| 417 | previous_response: The response from the request for the previous page. (required) |
| 418 | |
| 419 | Returns: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 420 | A request object that you can call 'execute()' on to request the next |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 421 | page. Returns None if there are no more items in the collection. |
| 422 | </pre> |
| 423 | </div> |
| 424 | |
| 425 | </body></html> |