| 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_1.html">Content API for Shopping</a> . <a href="content_v2_1.accountstatusesbyexternalsellerid.html">accountstatusesbyexternalsellerid</a></h1> |
| 76 |
<h2>Instance Methods</h2> |
| 77 |
<p class="toc_element"> |
| 78 |
<code><a href="#close">close()</a></code></p> |
| 79 |
<p class="firstline">Close httplib2 connections.</p> |
| 80 |
<p class="toc_element"> |
| 81 |
<code><a href="#get">get(merchantId, externalSellerId, destinations=None, x__xgafv=None)</a></code></p> |
| 82 |
<p class="firstline">Gets status of the account with the specified external_seller_id belonging to the MCA with the specified merchant_id.</p> |
| 83 |
<h3>Method Details</h3> |
| 84 |
<div class="method"> |
| 85 |
<code class="details" id="close">close()</code> |
| 86 |
<pre>Close httplib2 connections.</pre> |
| 87 |
</div> |
| 88 |
|
| 89 |
<div class="method"> |
| 90 |
<code class="details" id="get">get(merchantId, externalSellerId, destinations=None, x__xgafv=None)</code> |
| 91 |
<pre>Gets status of the account with the specified external_seller_id belonging to the MCA with the specified merchant_id. |
| 92 |
|
| 93 |
Args: |
| 94 |
merchantId: string, Required. The ID of the MCA containing the seller. (required) |
| 95 |
externalSellerId: string, Required. The External Seller ID of the seller account to be retrieved. (required) |
| 96 |
destinations: string, If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. (repeated) |
| 97 |
x__xgafv: string, V1 error format. |
| 98 |
Allowed values |
| 99 |
1 - v1 error format |
| 100 |
2 - v2 error format |
| 101 |
|
| 102 |
Returns: |
| 103 |
An object of the form: |
| 104 |
|
| 105 |
{ # The status of an account, that is, information about its products, which is computed offline and not returned immediately at insertion time. |
| 106 |
"accountId": "A String", # The ID of the account for which the status is reported. |
| 107 |
"accountLevelIssues": [ # A list of account level issues. |
| 108 |
{ |
| 109 |
"country": "A String", # Country for which this issue is reported. |
| 110 |
"destination": "A String", # The destination the issue applies to. If this field is empty then the issue applies to all available destinations. |
| 111 |
"detail": "A String", # Additional details about the issue. |
| 112 |
"documentation": "A String", # The URL of a web page to help resolving this issue. |
| 113 |
"id": "A String", # Issue identifier. |
| 114 |
"severity": "A String", # Severity of the issue. Acceptable values are: - "`critical`" - "`error`" - "`suggestion`" |
| 115 |
"title": "A String", # Short description of the issue. |
| 116 |
}, |
| 117 |
], |
| 118 |
"accountManagement": "A String", # How the account is managed. Acceptable values are: - "`manual`" - "`automatic`" |
| 119 |
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#accountStatus`" |
| 120 |
"products": [ # List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes. |
| 121 |
{ |
| 122 |
"channel": "A String", # The channel the data applies to. Acceptable values are: - "`local`" - "`online`" |
| 123 |
"country": "A String", # The country the data applies to. |
| 124 |
"destination": "A String", # The destination the data applies to. |
| 125 |
"itemLevelIssues": [ # List of item-level issues. |
| 126 |
{ |
| 127 |
"attributeName": "A String", # The attribute's name, if the issue is caused by a single attribute. |
| 128 |
"code": "A String", # The error code of the issue. |
| 129 |
"description": "A String", # A short issue description in English. |
| 130 |
"detail": "A String", # A detailed issue description in English. |
| 131 |
"documentation": "A String", # The URL of a web page to help with resolving this issue. |
| 132 |
"numItems": "A String", # Number of items with this issue. |
| 133 |
"resolution": "A String", # Whether the issue can be resolved by the merchant. |
| 134 |
"servability": "A String", # How this issue affects serving of the offer. |
| 135 |
}, |
| 136 |
], |
| 137 |
"statistics": { # Aggregated product statistics. |
| 138 |
"active": "A String", # Number of active offers. |
| 139 |
"disapproved": "A String", # Number of disapproved offers. |
| 140 |
"expiring": "A String", # Number of expiring offers. |
| 141 |
"pending": "A String", # Number of pending offers. |
| 142 |
}, |
| 143 |
}, |
| 144 |
], |
| 145 |
"websiteClaimed": True or False, # Whether the account's website is claimed or not. |
| 146 |
}</pre> |
| 147 |
</div> |
| 148 |
|
| 149 |
</body></html> |