Skip to content

Commit 0814e00

Browse files
feat(content): update the api
#### content:v2.1 The following keys were added: - resources.accounts.methods.list.parameters.name (Total Keys: 2) - resources.accountstatuses.methods.list.parameters.name (Total Keys: 2) - schemas.Account.properties.accountManagement.type (Total Keys: 1) - schemas.AccountStatus.properties.accountManagement.type (Total Keys: 1)
1 parent f8fae98 commit 0814e00

File tree

5 files changed

+43
-12
lines changed

5 files changed

+43
-12
lines changed

docs/dyn/content_v2_1.accounts.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ <h2>Instance Methods</h2>
114114
<code><a href="#link">link(merchantId, accountId, body=None, x__xgafv=None)</a></code></p>
115115
<p class="firstline">Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.</p>
116116
<p class="toc_element">
117-
<code><a href="#list">list(merchantId, label=None, maxResults=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
117+
<code><a href="#list">list(merchantId, label=None, maxResults=None, name=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
118118
<p class="firstline">Lists the sub-accounts in your Merchant Center account.</p>
119119
<p class="toc_element">
120120
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -194,6 +194,7 @@ <h3>Method Details</h3>
194194
&quot;entries&quot;: [ # The request entries to be processed in the batch.
195195
{ # A batch entry encoding a single non-batch accounts request.
196196
&quot;account&quot;: { # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role. # The account to create or update. Only defined if the method is `insert` or `update`.
197+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
197198
&quot;adsLinks&quot;: [ # Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
198199
{
199200
&quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
@@ -283,6 +284,7 @@ <h3>Method Details</h3>
283284
&quot;entries&quot;: [ # The result of the execution of the batch requests.
284285
{ # A batch entry encoding a single non-batch accounts response.
285286
&quot;account&quot;: { # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role. # The retrieved, created, or updated account. Not defined if the method was `delete`, `claimwebsite` or `link`.
287+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
286288
&quot;adsLinks&quot;: [ # Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
287289
{
288290
&quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
@@ -392,6 +394,7 @@ <h3>Method Details</h3>
392394
An object of the form:
393395

394396
{ # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role.
397+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
395398
&quot;adsLinks&quot;: [ # Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
396399
{
397400
&quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
@@ -459,6 +462,7 @@ <h3>Method Details</h3>
459462
The object takes the form of:
460463

461464
{ # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role.
465+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
462466
&quot;adsLinks&quot;: [ # Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
463467
{
464468
&quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
@@ -524,6 +528,7 @@ <h3>Method Details</h3>
524528
An object of the form:
525529

526530
{ # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role.
531+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
527532
&quot;adsLinks&quot;: [ # Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
528533
{
529534
&quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
@@ -618,13 +623,14 @@ <h3>Method Details</h3>
618623
</div>
619624

620625
<div class="method">
621-
<code class="details" id="list">list(merchantId, label=None, maxResults=None, pageToken=None, view=None, x__xgafv=None)</code>
626+
<code class="details" id="list">list(merchantId, label=None, maxResults=None, name=None, pageToken=None, view=None, x__xgafv=None)</code>
622627
<pre>Lists the sub-accounts in your Merchant Center account.
623628

624629
Args:
625630
merchantId: string, The ID of the managing account. This must be a multi-client account. (required)
626631
label: string, If view is set to &quot;css&quot;, only return accounts that are assigned label with given ID.
627632
maxResults: integer, The maximum number of accounts to return in the response, used for paging.
633+
name: string, If set, only the accounts with the given name (case sensitive) will be returned.
628634
pageToken: string, The token returned by the previous request.
629635
view: string, Controls which fields will be populated. Acceptable values are: &quot;merchant&quot; and &quot;css&quot;. The default value is &quot;merchant&quot;.
630636
Allowed values
@@ -643,6 +649,7 @@ <h3>Method Details</h3>
643649
&quot;nextPageToken&quot;: &quot;A String&quot;, # The token for the retrieval of the next page of accounts.
644650
&quot;resources&quot;: [
645651
{ # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role.
652+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
646653
&quot;adsLinks&quot;: [ # Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
647654
{
648655
&quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
@@ -775,6 +782,7 @@ <h3>Method Details</h3>
775782
The object takes the form of:
776783

777784
{ # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role.
785+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
778786
&quot;adsLinks&quot;: [ # Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
779787
{
780788
&quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
@@ -840,6 +848,7 @@ <h3>Method Details</h3>
840848
An object of the form:
841849

842850
{ # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role.
851+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
843852
&quot;adsLinks&quot;: [ # Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.
844853
{
845854
&quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.

docs/dyn/content_v2_1.accountstatuses.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h2>Instance Methods</h2>
8484
<code><a href="#get">get(merchantId, accountId, destinations=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts.</p>
8686
<p class="toc_element">
87-
<code><a href="#list">list(merchantId, destinations=None, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
87+
<code><a href="#list">list(merchantId, destinations=None, maxResults=None, name=None, pageToken=None, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Lists the statuses of the sub-accounts in your Merchant Center account.</p>
8989
<p class="toc_element">
9090
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
@@ -141,6 +141,7 @@ <h3>Method Details</h3>
141141
&quot;title&quot;: &quot;A String&quot;, # Short description of the issue.
142142
},
143143
],
144+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
144145
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountStatus`&quot;
145146
&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.
146147
{
@@ -216,6 +217,7 @@ <h3>Method Details</h3>
216217
&quot;title&quot;: &quot;A String&quot;, # Short description of the issue.
217218
},
218219
],
220+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
219221
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountStatus`&quot;
220222
&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.
221223
{
@@ -247,13 +249,14 @@ <h3>Method Details</h3>
247249
</div>
248250

249251
<div class="method">
250-
<code class="details" id="list">list(merchantId, destinations=None, maxResults=None, pageToken=None, x__xgafv=None)</code>
252+
<code class="details" id="list">list(merchantId, destinations=None, maxResults=None, name=None, pageToken=None, x__xgafv=None)</code>
251253
<pre>Lists the statuses of the sub-accounts in your Merchant Center account.
252254

253255
Args:
254256
merchantId: string, The ID of the managing account. This must be a multi-client account. (required)
255257
destinations: string, If set, only issues for the specified destinations are returned, otherwise only issues for the Shopping destination. (repeated)
256258
maxResults: integer, The maximum number of account statuses to return in the response, used for paging.
259+
name: string, If set, only the accounts with the given name (case sensitive) will be returned.
257260
pageToken: string, The token returned by the previous request.
258261
x__xgafv: string, V1 error format.
259262
Allowed values
@@ -280,6 +283,7 @@ <h3>Method Details</h3>
280283
&quot;title&quot;: &quot;A String&quot;, # Short description of the issue.
281284
},
282285
],
286+
&quot;accountManagement&quot;: &quot;A String&quot;, # How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
283287
&quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountStatus`&quot;
284288
&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.
285289
{

docs/dyn/content_v2_1.orderinvoices.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ <h3>Method Details</h3>
138138
&quot;unitInvoice&quot;: { # [required] Invoice details for a single unit.
139139
&quot;additionalCharges&quot;: [ # Additional charges for a unit, e.g. shipping costs.
140140
{
141-
&quot;additionalChargeAmount&quot;: { # [required] Amount of the additional charge.
141+
&quot;additionalChargeAmount&quot;: { # [required] Amount of the additional charge per unit. *Note:* Invoicing works on a per unit bases. The `additionalChargeAmount` is the amount charged per unit, and will be multiplied by the number of entries in `shipmentUnitID`.
142142
&quot;priceAmount&quot;: { # [required] The pre-tax or post-tax price depending on the location of the order.
143143
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
144144
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
@@ -151,7 +151,7 @@ <h3>Method Details</h3>
151151
&quot;type&quot;: &quot;A String&quot;, # [required] Type of the additional charge. Acceptable values are: - &quot;`shipping`&quot;
152152
},
153153
],
154-
&quot;unitPrice&quot;: { # [required] Pre-tax or post-tax price of the unit depending on the locality of the order.
154+
&quot;unitPrice&quot;: { # [required] Pre-tax or post-tax price of one unit depending on the locality of the order. *Note:* Invoicing works on a per unit basis. The `unitPrice` is the price of a single unit, and will be multiplied by the number of entries in `shipmentUnitId`.
155155
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
156156
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
157157
},
@@ -246,7 +246,7 @@ <h3>Method Details</h3>
246246
&quot;unitInvoice&quot;: { # [required] Invoice details for a single unit.
247247
&quot;additionalCharges&quot;: [ # Additional charges for a unit, e.g. shipping costs.
248248
{
249-
&quot;additionalChargeAmount&quot;: { # [required] Amount of the additional charge.
249+
&quot;additionalChargeAmount&quot;: { # [required] Amount of the additional charge per unit. *Note:* Invoicing works on a per unit bases. The `additionalChargeAmount` is the amount charged per unit, and will be multiplied by the number of entries in `shipmentUnitID`.
250250
&quot;priceAmount&quot;: { # [required] The pre-tax or post-tax price depending on the location of the order.
251251
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
252252
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
@@ -259,7 +259,7 @@ <h3>Method Details</h3>
259259
&quot;type&quot;: &quot;A String&quot;, # [required] Type of the additional charge. Acceptable values are: - &quot;`shipping`&quot;
260260
},
261261
],
262-
&quot;unitPrice&quot;: { # [required] Pre-tax or post-tax price of the unit depending on the locality of the order.
262+
&quot;unitPrice&quot;: { # [required] Pre-tax or post-tax price of one unit depending on the locality of the order. *Note:* Invoicing works on a per unit basis. The `unitPrice` is the price of a single unit, and will be multiplied by the number of entries in `shipmentUnitId`.
263263
&quot;currency&quot;: &quot;A String&quot;, # The currency of the price.
264264
&quot;value&quot;: &quot;A String&quot;, # The price represented as a number.
265265
},

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

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,11 @@
352352
"required": true,
353353
"type": "string"
354354
},
355+
"name": {
356+
"description": "If set, only the accounts with the given name (case sensitive) will be returned.",
357+
"location": "query",
358+
"type": "string"
359+
},
355360
"pageToken": {
356361
"description": "The token returned by the previous request.",
357362
"location": "query",
@@ -875,6 +880,11 @@
875880
"required": true,
876881
"type": "string"
877882
},
883+
"name": {
884+
"description": "If set, only the accounts with the given name (case sensitive) will be returned.",
885+
"location": "query",
886+
"type": "string"
887+
},
878888
"pageToken": {
879889
"description": "The token returned by the previous request.",
880890
"location": "query",
@@ -5485,13 +5495,17 @@
54855495
}
54865496
}
54875497
},
5488-
"revision": "20210624",
5498+
"revision": "20210707",
54895499
"rootUrl": "https://shoppingcontent.googleapis.com/",
54905500
"schemas": {
54915501
"Account": {
54925502
"description": "Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role.",
54935503
"id": "Account",
54945504
"properties": {
5505+
"accountManagement": {
5506+
"description": "How the account is managed. Acceptable values are: - \"`manual`\" - \"`automatic`\" ",
5507+
"type": "string"
5508+
},
54955509
"adsLinks": {
54965510
"description": "Linked Ads accounts that are active or pending approval. To create a new link request, add a new link with status `active` to the list. It will remain in a `pending` state until approved or rejected either in the Ads interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list.",
54975511
"items": {
@@ -5800,6 +5814,10 @@
58005814
},
58015815
"type": "array"
58025816
},
5817+
"accountManagement": {
5818+
"description": "How the account is managed. Acceptable values are: - \"`manual`\" - \"`automatic`\" ",
5819+
"type": "string"
5820+
},
58035821
"kind": {
58045822
"description": "Identifies what kind of resource this is. Value: the fixed string \"`content#accountStatus`\"",
58055823
"type": "string"
@@ -14746,7 +14764,7 @@
1474614764
},
1474714765
"unitPrice": {
1474814766
"$ref": "Price",
14749-
"description": "[required] Pre-tax or post-tax price of the unit depending on the locality of the order."
14767+
"description": "[required] Pre-tax or post-tax price of one unit depending on the locality of the order. *Note:* Invoicing works on a per unit basis. The `unitPrice` is the price of a single unit, and will be multiplied by the number of entries in `shipmentUnitId`."
1475014768
},
1475114769
"unitPriceTaxes": {
1475214770
"description": "Tax amounts to apply to the unit price.",
@@ -14763,7 +14781,7 @@
1476314781
"properties": {
1476414782
"additionalChargeAmount": {
1476514783
"$ref": "Amount",
14766-
"description": "[required] Amount of the additional charge."
14784+
"description": "[required] Amount of the additional charge per unit. *Note:* Invoicing works on a per unit bases. The `additionalChargeAmount` is the amount charged per unit, and will be multiplied by the number of entries in `shipmentUnitID`."
1476714785
},
1476814786
"type": {
1476914787
"description": "[required] Type of the additional charge. Acceptable values are: - \"`shipping`\" ",

googleapiclient/discovery_cache/documents/content.v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3298,7 +3298,7 @@
32983298
}
32993299
}
33003300
},
3301-
"revision": "20210624",
3301+
"revision": "20210707",
33023302
"rootUrl": "https://shoppingcontent.googleapis.com/",
33033303
"schemas": {
33043304
"Account": {

0 commit comments

Comments
 (0)