Close httplib2 connections.
get(merchantId, externalSellerId, destinations=None, x__xgafv=None)
Gets status of the account with the specified external_seller_id belonging to the MCA with the specified merchant_id.
close()
Close httplib2 connections.
get(merchantId, externalSellerId, destinations=None, x__xgafv=None)
Gets status of the account with the specified external_seller_id belonging to the MCA with the specified merchant_id.
Args:
merchantId: string, Required. The ID of the MCA containing the seller. (required)
externalSellerId: string, Required. The External Seller ID of the seller account to be retrieved. (required)
destinations: string, If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. (repeated)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The status of an account, that is, information about its products, which is computed offline and not returned immediately at insertion time.
"accountId": "A String", # The ID of the account for which the status is reported.
"accountLevelIssues": [ # A list of account level issues.
{
"country": "A String", # Country for which this issue is reported.
"destination": "A String", # The destination the issue applies to. If this field is empty then the issue applies to all available destinations.
"detail": "A String", # Additional details about the issue.
"documentation": "A String", # The URL of a web page to help resolving this issue.
"id": "A String", # Issue identifier.
"severity": "A String", # Severity of the issue. Acceptable values are: - "`critical`" - "`error`" - "`suggestion`"
"title": "A String", # Short description of the issue.
},
],
"accountManagement": "A String", # How the account is managed. Acceptable values are: - "`manual`" - "`automatic`"
"kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#accountStatus`"
"products": [ # List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes.
{
"channel": "A String", # The channel the data applies to. Acceptable values are: - "`local`" - "`online`"
"country": "A String", # The country the data applies to.
"destination": "A String", # The destination the data applies to.
"itemLevelIssues": [ # List of item-level issues.
{
"attributeName": "A String", # The attribute's name, if the issue is caused by a single attribute.
"code": "A String", # The error code of the issue.
"description": "A String", # A short issue description in English.
"detail": "A String", # A detailed issue description in English.
"documentation": "A String", # The URL of a web page to help with resolving this issue.
"numItems": "A String", # Number of items with this issue.
"resolution": "A String", # Whether the issue can be resolved by the merchant.
"servability": "A String", # How this issue affects serving of the offer.
},
],
"statistics": { # Aggregated product statistics.
"active": "A String", # Number of active offers.
"disapproved": "A String", # Number of disapproved offers.
"expiring": "A String", # Number of expiring offers.
"pending": "A String", # Number of pending offers.
},
},
],
"websiteClaimed": True or False, # Whether the account's website is claimed or not.
}