Skip to content

Commit f02827f

Browse files
feat(content): update the api
#### content:v2.1 The following keys were added: - resources.accountsbyexternalsellerid.methods.get (Total Keys: 14) - resources.accountstatusesbyexternalsellerid.methods.get (Total Keys: 17)
1 parent a7a4ffe commit f02827f

8 files changed

+442
-17
lines changed

docs/dyn/content_v2_1.accountsbyexternalsellerid.html

Lines changed: 188 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
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+
&quot;accountId&quot;: &quot;A String&quot;, # The ID of the account for which the status is reported.
107+
&quot;accountLevelIssues&quot;: [ # A list of account level issues.
108+
{
109+
&quot;country&quot;: &quot;A String&quot;, # Country for which this issue is reported.
110+
&quot;destination&quot;: &quot;A String&quot;, # The destination the issue applies to. If this field is empty then the issue applies to all available destinations.
111+
&quot;detail&quot;: &quot;A String&quot;, # Additional details about the issue.
112+
&quot;documentation&quot;: &quot;A String&quot;, # The URL of a web page to help resolving this issue.
113+
&quot;id&quot;: &quot;A String&quot;, # Issue identifier.
114+
&quot;severity&quot;: &quot;A String&quot;, # Severity of the issue. Acceptable values are: - &quot;`critical`&quot; - &quot;`error`&quot; - &quot;`suggestion`&quot;
115+
&quot;title&quot;: &quot;A String&quot;, # Short description of the issue.
116+
},
117+
],
118+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
119+
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountStatus`&quot;
120+
&quot;products&quot;: [ # List of product-related data by channel, destination, and country. Data in this field may be delayed by up to 30 minutes.
121+
{
122+
&quot;channel&quot;: &quot;A String&quot;, # The channel the data applies to. Acceptable values are: - &quot;`local`&quot; - &quot;`online`&quot;
123+
&quot;country&quot;: &quot;A String&quot;, # The country the data applies to.
124+
&quot;destination&quot;: &quot;A String&quot;, # The destination the data applies to.
125+
&quot;itemLevelIssues&quot;: [ # List of item-level issues.
126+
{
127+
&quot;attributeName&quot;: &quot;A String&quot;, # The attribute&#x27;s name, if the issue is caused by a single attribute.
128+
&quot;code&quot;: &quot;A String&quot;, # The error code of the issue.
129+
&quot;description&quot;: &quot;A String&quot;, # A short issue description in English.
130+
&quot;detail&quot;: &quot;A String&quot;, # A detailed issue description in English.
131+
&quot;documentation&quot;: &quot;A String&quot;, # The URL of a web page to help with resolving this issue.
132+
&quot;numItems&quot;: &quot;A String&quot;, # Number of items with this issue.
133+
&quot;resolution&quot;: &quot;A String&quot;, # Whether the issue can be resolved by the merchant.
134+
&quot;servability&quot;: &quot;A String&quot;, # How this issue affects serving of the offer.
135+
},
136+
],
137+
&quot;statistics&quot;: { # Aggregated product statistics.
138+
&quot;active&quot;: &quot;A String&quot;, # Number of active offers.
139+
&quot;disapproved&quot;: &quot;A String&quot;, # Number of disapproved offers.
140+
&quot;expiring&quot;: &quot;A String&quot;, # Number of expiring offers.
141+
&quot;pending&quot;: &quot;A String&quot;, # Number of pending offers.
142+
},
143+
},
144+
],
145+
&quot;websiteClaimed&quot;: True or False, # Whether the account&#x27;s website is claimed or not.
146+
}</pre>
147+
</div>
148+
149+
</body></html>

docs/dyn/content_v2_1.buyongoogleprograms.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ <h1><a href="content_v2_1.html">Content API for Shopping</a> . <a href="content_
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#activate">activate(merchantId, regionCode, body=None, x__xgafv=None)</a></code></p>
79-
<p class="firstline">Reactivates the BoG program in your Merchant Center account. Moves the program to the active state when allowed, e.g. when paused. Important: This method is only whitelisted for selected merchants.</p>
79+
<p class="firstline">Reactivates the BoG program in your Merchant Center account. Moves the program to the active state when allowed, for example, when paused. This method is only available to selected merchants.</p>
8080
<p class="toc_element">
8181
<code><a href="#close">close()</a></code></p>
8282
<p class="firstline">Close httplib2 connections.</p>
@@ -91,14 +91,14 @@ <h2>Instance Methods</h2>
9191
<p class="firstline">Updates the status of the BoG program for your Merchant Center account.</p>
9292
<p class="toc_element">
9393
<code><a href="#pause">pause(merchantId, regionCode, body=None, x__xgafv=None)</a></code></p>
94-
<p class="firstline">Pauses the BoG program in your Merchant Center account. Important: This method is only whitelisted for selected merchants.</p>
94+
<p class="firstline">Pauses the BoG program in your Merchant Center account. This method is only available to selected merchants.</p>
9595
<p class="toc_element">
9696
<code><a href="#requestreview">requestreview(merchantId, regionCode, body=None, x__xgafv=None)</a></code></p>
97-
<p class="firstline">Requests review and then activates the BoG program in your Merchant Center account for the first time. Moves the program to the REVIEW_PENDING state. Important: This method is only whitelisted for selected merchants.</p>
97+
<p class="firstline">Requests review and then activates the BoG program in your Merchant Center account for the first time. Moves the program to the REVIEW_PENDING state. This method is only available to selected merchants.</p>
9898
<h3>Method Details</h3>
9999
<div class="method">
100100
<code class="details" id="activate">activate(merchantId, regionCode, body=None, x__xgafv=None)</code>
101-
<pre>Reactivates the BoG program in your Merchant Center account. Moves the program to the active state when allowed, e.g. when paused. Important: This method is only whitelisted for selected merchants.
101+
<pre>Reactivates the BoG program in your Merchant Center account. Moves the program to the active state when allowed, for example, when paused. This method is only available to selected merchants.
102102

103103
Args:
104104
merchantId: string, Required. The ID of the account. (required)
@@ -222,7 +222,7 @@ <h3>Method Details</h3>
222222

223223
<div class="method">
224224
<code class="details" id="pause">pause(merchantId, regionCode, body=None, x__xgafv=None)</code>
225-
<pre>Pauses the BoG program in your Merchant Center account. Important: This method is only whitelisted for selected merchants.
225+
<pre>Pauses the BoG program in your Merchant Center account. This method is only available to selected merchants.
226226

227227
Args:
228228
merchantId: string, Required. The ID of the account. (required)
@@ -242,7 +242,7 @@ <h3>Method Details</h3>
242242

243243
<div class="method">
244244
<code class="details" id="requestreview">requestreview(merchantId, regionCode, body=None, x__xgafv=None)</code>
245-
<pre>Requests review and then activates the BoG program in your Merchant Center account for the first time. Moves the program to the REVIEW_PENDING state. Important: This method is only whitelisted for selected merchants.
245+
<pre>Requests review and then activates the BoG program in your Merchant Center account for the first time. Moves the program to the REVIEW_PENDING state. This method is only available to selected merchants.
246246

247247
Args:
248248
merchantId: string, Required. The ID of the account. (required)

docs/dyn/content_v2_1.freelistingsprogram.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2>Instance Methods</h2>
8282
<p class="firstline">Retrieves the status and review eligibility for the free listing program.</p>
8383
<p class="toc_element">
8484
<code><a href="#requestreview">requestreview(merchantId, body=None, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Requests a review of free listings in a specific region Important: This method is only whitelisted for selected merchants.</p>
85+
<p class="firstline">Requests a review of free listings in a specific region. This method is only available to selected merchants.</p>
8686
<h3>Method Details</h3>
8787
<div class="method">
8888
<code class="details" id="close">close()</code>
@@ -131,7 +131,7 @@ <h3>Method Details</h3>
131131

132132
<div class="method">
133133
<code class="details" id="requestreview">requestreview(merchantId, body=None, x__xgafv=None)</code>
134-
<pre>Requests a review of free listings in a specific region Important: This method is only whitelisted for selected merchants.
134+
<pre>Requests a review of free listings in a specific region. This method is only available to selected merchants.
135135

136136
Args:
137137
merchantId: string, Required. The ID of the account. (required)

docs/dyn/content_v2_1.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,21 @@ <h2>Instance Methods</h2>
7979
</p>
8080
<p class="firstline">Returns the accounts Resource.</p>
8181

82+
<p class="toc_element">
83+
<code><a href="content_v2_1.accountsbyexternalsellerid.html">accountsbyexternalsellerid()</a></code>
84+
</p>
85+
<p class="firstline">Returns the accountsbyexternalsellerid Resource.</p>
86+
8287
<p class="toc_element">
8388
<code><a href="content_v2_1.accountstatuses.html">accountstatuses()</a></code>
8489
</p>
8590
<p class="firstline">Returns the accountstatuses Resource.</p>
8691

92+
<p class="toc_element">
93+
<code><a href="content_v2_1.accountstatusesbyexternalsellerid.html">accountstatusesbyexternalsellerid()</a></code>
94+
</p>
95+
<p class="firstline">Returns the accountstatusesbyexternalsellerid Resource.</p>
96+
8797
<p class="toc_element">
8898
<code><a href="content_v2_1.accounttax.html">accounttax()</a></code>
8999
</p>

docs/dyn/content_v2_1.shoppingadsprogram.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ <h2>Instance Methods</h2>
8282
<p class="firstline">Retrieves the status and review eligibility for the Shopping Ads program.</p>
8383
<p class="toc_element">
8484
<code><a href="#requestreview">requestreview(merchantId, body=None, x__xgafv=None)</a></code></p>
85-
<p class="firstline">Requests a review of Shopping ads in a specific region.</p>
85+
<p class="firstline">Requests a review of Shopping ads in a specific region. This method is only available to selected merchants.</p>
8686
<h3>Method Details</h3>
8787
<div class="method">
8888
<code class="details" id="close">close()</code>
@@ -131,7 +131,7 @@ <h3>Method Details</h3>
131131

132132
<div class="method">
133133
<code class="details" id="requestreview">requestreview(merchantId, body=None, x__xgafv=None)</code>
134-
<pre>Requests a review of Shopping ads in a specific region.
134+
<pre>Requests a review of Shopping ads in a specific region. This method is only available to selected merchants.
135135

136136
Args:
137137
merchantId: string, Required. The ID of the account. (required)

googleapiclient/discovery_cache/documents/content.v2.1.json

Lines changed: 84 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,42 @@
865865
}
866866
}
867867
},
868+
"accountsbyexternalsellerid": {
869+
"methods": {
870+
"get": {
871+
"description": "Gets data of the account with the specified external_seller_id belonging to the MCA with the specified merchant_id.",
872+
"flatPath": "{merchantId}/accountsbyexternalsellerid/{externalSellerId}",
873+
"httpMethod": "GET",
874+
"id": "content.accountsbyexternalsellerid.get",
875+
"parameterOrder": [
876+
"merchantId",
877+
"externalSellerId"
878+
],
879+
"parameters": {
880+
"externalSellerId": {
881+
"description": "Required. The External Seller ID of the seller account to be retrieved.",
882+
"location": "path",
883+
"required": true,
884+
"type": "string"
885+
},
886+
"merchantId": {
887+
"description": "Required. The ID of the MCA containing the seller.",
888+
"format": "int64",
889+
"location": "path",
890+
"required": true,
891+
"type": "string"
892+
}
893+
},
894+
"path": "{merchantId}/accountsbyexternalsellerid/{externalSellerId}",
895+
"response": {
896+
"$ref": "Account"
897+
},
898+
"scopes": [
899+
"https://www.googleapis.com/auth/content"
900+
]
901+
}
902+
}
903+
},
868904
"accountstatuses": {
869905
"methods": {
870906
"custombatch": {
@@ -973,6 +1009,48 @@
9731009
}
9741010
}
9751011
},
1012+
"accountstatusesbyexternalsellerid": {
1013+
"methods": {
1014+
"get": {
1015+
"description": "Gets status of the account with the specified external_seller_id belonging to the MCA with the specified merchant_id.",
1016+
"flatPath": "{merchantId}/accountstatusesbyexternalsellerid/{externalSellerId}",
1017+
"httpMethod": "GET",
1018+
"id": "content.accountstatusesbyexternalsellerid.get",
1019+
"parameterOrder": [
1020+
"merchantId",
1021+
"externalSellerId"
1022+
],
1023+
"parameters": {
1024+
"destinations": {
1025+
"description": "If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination.",
1026+
"location": "query",
1027+
"repeated": true,
1028+
"type": "string"
1029+
},
1030+
"externalSellerId": {
1031+
"description": "Required. The External Seller ID of the seller account to be retrieved.",
1032+
"location": "path",
1033+
"required": true,
1034+
"type": "string"
1035+
},
1036+
"merchantId": {
1037+
"description": "Required. The ID of the MCA containing the seller.",
1038+
"format": "int64",
1039+
"location": "path",
1040+
"required": true,
1041+
"type": "string"
1042+
}
1043+
},
1044+
"path": "{merchantId}/accountstatusesbyexternalsellerid/{externalSellerId}",
1045+
"response": {
1046+
"$ref": "AccountStatus"
1047+
},
1048+
"scopes": [
1049+
"https://www.googleapis.com/auth/content"
1050+
]
1051+
}
1052+
}
1053+
},
9761054
"accounttax": {
9771055
"methods": {
9781056
"custombatch": {
@@ -1103,7 +1181,7 @@
11031181
"buyongoogleprograms": {
11041182
"methods": {
11051183
"activate": {
1106-
"description": "Reactivates the BoG program in your Merchant Center account. Moves the program to the active state when allowed, e.g. when paused. Important: This method is only whitelisted for selected merchants.",
1184+
"description": "Reactivates the BoG program in your Merchant Center account. Moves the program to the active state when allowed, for example, when paused. This method is only available to selected merchants.",
11071185
"flatPath": "{merchantId}/buyongoogleprograms/{regionCode}/activate",
11081186
"httpMethod": "POST",
11091187
"id": "content.buyongoogleprograms.activate",
@@ -1240,7 +1318,7 @@
12401318
]
12411319
},
12421320
"pause": {
1243-
"description": "Pauses the BoG program in your Merchant Center account. Important: This method is only whitelisted for selected merchants.",
1321+
"description": "Pauses the BoG program in your Merchant Center account. This method is only available to selected merchants.",
12441322
"flatPath": "{merchantId}/buyongoogleprograms/{regionCode}/pause",
12451323
"httpMethod": "POST",
12461324
"id": "content.buyongoogleprograms.pause",
@@ -1272,7 +1350,7 @@
12721350
]
12731351
},
12741352
"requestreview": {
1275-
"description": "Requests review and then activates the BoG program in your Merchant Center account for the first time. Moves the program to the REVIEW_PENDING state. Important: This method is only whitelisted for selected merchants.",
1353+
"description": "Requests review and then activates the BoG program in your Merchant Center account for the first time. Moves the program to the REVIEW_PENDING state. This method is only available to selected merchants.",
12761354
"flatPath": "{merchantId}/buyongoogleprograms/{regionCode}/requestreview",
12771355
"httpMethod": "POST",
12781356
"id": "content.buyongoogleprograms.requestreview",
@@ -1962,7 +2040,7 @@
19622040
]
19632041
},
19642042
"requestreview": {
1965-
"description": "Requests a review of free listings in a specific region Important: This method is only whitelisted for selected merchants.",
2043+
"description": "Requests a review of free listings in a specific region. This method is only available to selected merchants.",
19662044
"flatPath": "{merchantId}/freelistingsprogram/requestreview",
19672045
"httpMethod": "POST",
19682046
"id": "content.freelistingsprogram.requestreview",
@@ -5788,7 +5866,7 @@
57885866
]
57895867
},
57905868
"requestreview": {
5791-
"description": "Requests a review of Shopping ads in a specific region.",
5869+
"description": "Requests a review of Shopping ads in a specific region. This method is only available to selected merchants.",
57925870
"flatPath": "{merchantId}/shoppingadsprogram/requestreview",
57935871
"httpMethod": "POST",
57945872
"id": "content.shoppingadsprogram.requestreview",
@@ -5815,7 +5893,7 @@
58155893
}
58165894
}
58175895
},
5818-
"revision": "20220325",
5896+
"revision": "20220331",
58195897
"rootUrl": "https://shoppingcontent.googleapis.com/",
58205898
"schemas": {
58215899
"Account": {

0 commit comments

Comments
 (0)