Regen all docs. (#700)
* Stop recursing if discovery == {}
* Generate docs with 'make docs'.
diff --git a/docs/dyn/content_v2.accountstatuses.html b/docs/dyn/content_v2.accountstatuses.html
index 0dd7a19..83c2020 100644
--- a/docs/dyn/content_v2.accountstatuses.html
+++ b/docs/dyn/content_v2.accountstatuses.html
@@ -76,20 +76,20 @@
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#custombatch">custombatch(body)</a></code></p>
-<p class="firstline">A description of how to use this function</p>
+<p class="firstline">Retrieves multiple Merchant Center account statuses in a single request.</p>
<p class="toc_element">
- <code><a href="#get">get(merchantId, accountId)</a></code></p>
-<p class="firstline">Retrieves the status of a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.</p>
+ <code><a href="#get">get(merchantId, accountId, destinations=None)</a></code></p>
+<p class="firstline">Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts.</p>
<p class="toc_element">
- <code><a href="#list">list(merchantId, pageToken=None, maxResults=None)</a></code></p>
-<p class="firstline">Lists the statuses of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.</p>
+ <code><a href="#list">list(merchantId, pageToken=None, maxResults=None, destinations=None)</a></code></p>
+<p class="firstline">Lists the statuses of the sub-accounts in your Merchant Center account.</p>
<p class="toc_element">
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="custombatch">custombatch(body)</code>
- <pre>A description of how to use this function
+ <pre>Retrieves multiple Merchant Center account statuses in a single request.
Args:
body: object, The request body. (required)
@@ -100,6 +100,9 @@
{ # A batch entry encoding a single non-batch accountstatuses request.
"batchId": 42, # An entry ID, unique within the batch request.
"method": "A String", # The method (get).
+ "destinations": [ # If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.
+ "A String",
+ ],
"merchantId": "A String", # The ID of the managing account.
"accountId": "A String", # The ID of the (sub-)account whose status to get.
},
@@ -129,24 +132,61 @@
"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.
"kind": "content#accountStatus", # Identifies what kind of resource this is. Value: the fixed string "content#accountStatus".
"websiteClaimed": True or False, # Whether the account's website is claimed or not.
- "dataQualityIssues": [ # A list of data quality issues.
+ "accountLevelIssues": [ # A list of account level issues.
{
- "displayedValue": "A String", # Actual value displayed on the landing page.
- "severity": "A String", # Severity of the problem.
- "lastChecked": "A String", # Last time the account was checked for this issue.
+ "documentation": "A String", # The URL of a web page to help resolving this issue.
+ "severity": "A String", # Severity of the issue.
+ "title": "A String", # Short description of the issue.
"country": "A String", # Country for which this issue is reported.
- "detail": "A String", # A more detailed description of the issue.
- "submittedValue": "A String", # Submitted value that causes the issue.
- "numItems": 42, # Number of items in the account found to have the said issue.
- "location": "A String", # The attribute name that is relevant for the issue.
+ "destination": "A String", # The destination the issue applies to.
+ "detail": "A String", # Additional details about the issue.
"id": "A String", # Issue identifier.
- "exampleItems": [ # Example items featuring the issue.
- { # An example of an item that has poor data quality. An item value on the landing page differs from what is submitted, or conflicts with a policy.
- "itemId": "A String", # Unique item ID as specified in the uploaded product data.
- "submittedValue": "A String", # The item value that was submitted.
- "link": "A String", # Landing page of the item.
- "valueOnLandingPage": "A String", # The actual value on the landing page.
- "title": "A String", # Title of the item.
+ },
+ ],
+ "products": [ # List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes.
+ {
+ "country": "A String", # The country the data applies to.
+ "itemLevelIssues": [ # List of item-level issues.
+ {
+ "code": "A String", # The error code of the issue.
+ "description": "A String", # A short issue description in English.
+ "documentation": "A String", # The URL of a web page to help with resolving this issue.
+ "attributeName": "A String", # The attribute's name, if the issue is caused by a single attribute.
+ "detail": "A String", # A detailed issue description in English.
+ "numItems": "A String", # Number of items with this issue.
+ "servability": "A String", # How this issue affects serving of the offer.
+ "resolution": "A String", # Whether the issue can be resolved by the merchant.
+ },
+ ],
+ "destination": "A String", # The destination the data applies to.
+ "channel": "A String", # The channel the data applies to.
+ "statistics": { # Aggregated product statistics.
+ "active": "A String", # Number of active offers.
+ "expiring": "A String", # Number of expiring offers.
+ "disapproved": "A String", # Number of disapproved offers.
+ "pending": "A String", # Number of pending offers.
+ },
+ },
+ ],
+ "dataQualityIssues": [ # DEPRECATED - never populated.
+ {
+ "displayedValue": "A String",
+ "severity": "A String",
+ "lastChecked": "A String",
+ "country": "A String",
+ "destination": "A String",
+ "detail": "A String",
+ "submittedValue": "A String",
+ "numItems": 42,
+ "location": "A String",
+ "id": "A String",
+ "exampleItems": [
+ {
+ "itemId": "A String",
+ "submittedValue": "A String",
+ "link": "A String",
+ "valueOnLandingPage": "A String",
+ "title": "A String",
},
],
},
@@ -159,12 +199,13 @@
</div>
<div class="method">
- <code class="details" id="get">get(merchantId, accountId)</code>
- <pre>Retrieves the status of a Merchant Center account. This method can only be called for accounts to which the managing account has access: either the managing account itself or sub-accounts if the managing account is a multi-client account.
+ <code class="details" id="get">get(merchantId, accountId, destinations=None)</code>
+ <pre>Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts.
Args:
- merchantId: string, The ID of the managing account. (required)
+ 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)
accountId: string, The ID of the account. (required)
+ destinations: string, If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. (repeated)
Returns:
An object of the form:
@@ -172,24 +213,61 @@
{ # The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.
"kind": "content#accountStatus", # Identifies what kind of resource this is. Value: the fixed string "content#accountStatus".
"websiteClaimed": True or False, # Whether the account's website is claimed or not.
- "dataQualityIssues": [ # A list of data quality issues.
+ "accountLevelIssues": [ # A list of account level issues.
{
- "displayedValue": "A String", # Actual value displayed on the landing page.
- "severity": "A String", # Severity of the problem.
- "lastChecked": "A String", # Last time the account was checked for this issue.
+ "documentation": "A String", # The URL of a web page to help resolving this issue.
+ "severity": "A String", # Severity of the issue.
+ "title": "A String", # Short description of the issue.
"country": "A String", # Country for which this issue is reported.
- "detail": "A String", # A more detailed description of the issue.
- "submittedValue": "A String", # Submitted value that causes the issue.
- "numItems": 42, # Number of items in the account found to have the said issue.
- "location": "A String", # The attribute name that is relevant for the issue.
+ "destination": "A String", # The destination the issue applies to.
+ "detail": "A String", # Additional details about the issue.
"id": "A String", # Issue identifier.
- "exampleItems": [ # Example items featuring the issue.
- { # An example of an item that has poor data quality. An item value on the landing page differs from what is submitted, or conflicts with a policy.
- "itemId": "A String", # Unique item ID as specified in the uploaded product data.
- "submittedValue": "A String", # The item value that was submitted.
- "link": "A String", # Landing page of the item.
- "valueOnLandingPage": "A String", # The actual value on the landing page.
- "title": "A String", # Title of the item.
+ },
+ ],
+ "products": [ # List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes.
+ {
+ "country": "A String", # The country the data applies to.
+ "itemLevelIssues": [ # List of item-level issues.
+ {
+ "code": "A String", # The error code of the issue.
+ "description": "A String", # A short issue description in English.
+ "documentation": "A String", # The URL of a web page to help with resolving this issue.
+ "attributeName": "A String", # The attribute's name, if the issue is caused by a single attribute.
+ "detail": "A String", # A detailed issue description in English.
+ "numItems": "A String", # Number of items with this issue.
+ "servability": "A String", # How this issue affects serving of the offer.
+ "resolution": "A String", # Whether the issue can be resolved by the merchant.
+ },
+ ],
+ "destination": "A String", # The destination the data applies to.
+ "channel": "A String", # The channel the data applies to.
+ "statistics": { # Aggregated product statistics.
+ "active": "A String", # Number of active offers.
+ "expiring": "A String", # Number of expiring offers.
+ "disapproved": "A String", # Number of disapproved offers.
+ "pending": "A String", # Number of pending offers.
+ },
+ },
+ ],
+ "dataQualityIssues": [ # DEPRECATED - never populated.
+ {
+ "displayedValue": "A String",
+ "severity": "A String",
+ "lastChecked": "A String",
+ "country": "A String",
+ "destination": "A String",
+ "detail": "A String",
+ "submittedValue": "A String",
+ "numItems": 42,
+ "location": "A String",
+ "id": "A String",
+ "exampleItems": [
+ {
+ "itemId": "A String",
+ "submittedValue": "A String",
+ "link": "A String",
+ "valueOnLandingPage": "A String",
+ "title": "A String",
},
],
},
@@ -199,13 +277,14 @@
</div>
<div class="method">
- <code class="details" id="list">list(merchantId, pageToken=None, maxResults=None)</code>
- <pre>Lists the statuses of the sub-accounts in your Merchant Center account. This method can only be called for multi-client accounts.
+ <code class="details" id="list">list(merchantId, pageToken=None, maxResults=None, destinations=None)</code>
+ <pre>Lists the statuses of the sub-accounts in your Merchant Center account.
Args:
- merchantId: string, The ID of the managing account. (required)
+ merchantId: string, The ID of the managing account. This must be a multi-client account. (required)
pageToken: string, The token returned by the previous request.
maxResults: integer, The maximum number of account statuses to return in the response, used for paging.
+ destinations: string, If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. (repeated)
Returns:
An object of the form:
@@ -217,24 +296,61 @@
{ # The status of an account, i.e., information about its products, which is computed offline and not returned immediately at insertion time.
"kind": "content#accountStatus", # Identifies what kind of resource this is. Value: the fixed string "content#accountStatus".
"websiteClaimed": True or False, # Whether the account's website is claimed or not.
- "dataQualityIssues": [ # A list of data quality issues.
+ "accountLevelIssues": [ # A list of account level issues.
{
- "displayedValue": "A String", # Actual value displayed on the landing page.
- "severity": "A String", # Severity of the problem.
- "lastChecked": "A String", # Last time the account was checked for this issue.
+ "documentation": "A String", # The URL of a web page to help resolving this issue.
+ "severity": "A String", # Severity of the issue.
+ "title": "A String", # Short description of the issue.
"country": "A String", # Country for which this issue is reported.
- "detail": "A String", # A more detailed description of the issue.
- "submittedValue": "A String", # Submitted value that causes the issue.
- "numItems": 42, # Number of items in the account found to have the said issue.
- "location": "A String", # The attribute name that is relevant for the issue.
+ "destination": "A String", # The destination the issue applies to.
+ "detail": "A String", # Additional details about the issue.
"id": "A String", # Issue identifier.
- "exampleItems": [ # Example items featuring the issue.
- { # An example of an item that has poor data quality. An item value on the landing page differs from what is submitted, or conflicts with a policy.
- "itemId": "A String", # Unique item ID as specified in the uploaded product data.
- "submittedValue": "A String", # The item value that was submitted.
- "link": "A String", # Landing page of the item.
- "valueOnLandingPage": "A String", # The actual value on the landing page.
- "title": "A String", # Title of the item.
+ },
+ ],
+ "products": [ # List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes.
+ {
+ "country": "A String", # The country the data applies to.
+ "itemLevelIssues": [ # List of item-level issues.
+ {
+ "code": "A String", # The error code of the issue.
+ "description": "A String", # A short issue description in English.
+ "documentation": "A String", # The URL of a web page to help with resolving this issue.
+ "attributeName": "A String", # The attribute's name, if the issue is caused by a single attribute.
+ "detail": "A String", # A detailed issue description in English.
+ "numItems": "A String", # Number of items with this issue.
+ "servability": "A String", # How this issue affects serving of the offer.
+ "resolution": "A String", # Whether the issue can be resolved by the merchant.
+ },
+ ],
+ "destination": "A String", # The destination the data applies to.
+ "channel": "A String", # The channel the data applies to.
+ "statistics": { # Aggregated product statistics.
+ "active": "A String", # Number of active offers.
+ "expiring": "A String", # Number of expiring offers.
+ "disapproved": "A String", # Number of disapproved offers.
+ "pending": "A String", # Number of pending offers.
+ },
+ },
+ ],
+ "dataQualityIssues": [ # DEPRECATED - never populated.
+ {
+ "displayedValue": "A String",
+ "severity": "A String",
+ "lastChecked": "A String",
+ "country": "A String",
+ "destination": "A String",
+ "detail": "A String",
+ "submittedValue": "A String",
+ "numItems": 42,
+ "location": "A String",
+ "id": "A String",
+ "exampleItems": [
+ {
+ "itemId": "A String",
+ "submittedValue": "A String",
+ "link": "A String",
+ "valueOnLandingPage": "A String",
+ "title": "A String",
},
],
},