Debian Codegraph @

docs/dyn/content_v2_1.accounts.html

raw
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.accounts.html">accounts</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="content_v2_1.accounts.credentials.html">credentials()</a></code>
79 </p>
80 <p class="firstline">Returns the credentials Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="content_v2_1.accounts.labels.html">labels()</a></code>
84 </p>
85 <p class="firstline">Returns the labels Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="content_v2_1.accounts.returncarrier.html">returncarrier()</a></code>
89 </p>
90 <p class="firstline">Returns the returncarrier Resource.</p>
91
92 <p class="toc_element">
93 <code><a href="#authinfo">authinfo(x__xgafv=None)</a></code></p>
94 <p class="firstline">Returns information about the authenticated user.</p>
95 <p class="toc_element">
96 <code><a href="#claimwebsite">claimwebsite(merchantId, accountId, overwrite=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Claims the website of a Merchant Center sub-account. Merchant accounts with approved third-party CSSs aren't required to claim a website.</p>
98 <p class="toc_element">
99 <code><a href="#close">close()</a></code></p>
100 <p class="firstline">Close httplib2 connections.</p>
101 <p class="toc_element">
102 <code><a href="#custombatch">custombatch(body=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.</p>
104 <p class="toc_element">
105 <code><a href="#delete">delete(merchantId, accountId, force=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Deletes a Merchant Center sub-account.</p>
107 <p class="toc_element">
108 <code><a href="#get">get(merchantId, accountId, view=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Retrieves a Merchant Center account.</p>
110 <p class="toc_element">
111 <code><a href="#insert">insert(merchantId, body=None, x__xgafv=None)</a></code></p>
112 <p class="firstline">Creates a Merchant Center sub-account.</p>
113 <p class="toc_element">
114 <code><a href="#link">link(merchantId, accountId, body=None, x__xgafv=None)</a></code></p>
115 <p class="firstline">Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.</p>
116 <p class="toc_element">
117 <code><a href="#list">list(merchantId, label=None, maxResults=None, name=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
118 <p class="firstline">Lists the sub-accounts in your Merchant Center account.</p>
119 <p class="toc_element">
120 <code><a href="#list_next">list_next()</a></code></p>
121 <p class="firstline">Retrieves the next page of results.</p>
122 <p class="toc_element">
123 <code><a href="#listlinks">listlinks(merchantId, accountId, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p>
124 <p class="firstline">Returns the list of accounts linked to your Merchant Center account.</p>
125 <p class="toc_element">
126 <code><a href="#listlinks_next">listlinks_next()</a></code></p>
127 <p class="firstline">Retrieves the next page of results.</p>
128 <p class="toc_element">
129 <code><a href="#requestphoneverification">requestphoneverification(merchantId, accountId, body=None, x__xgafv=None)</a></code></p>
130 <p class="firstline">Request verification code to start phone verification.</p>
131 <p class="toc_element">
132 <code><a href="#update">update(merchantId, accountId, body=None, x__xgafv=None)</a></code></p>
133 <p class="firstline">Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.</p>
134 <p class="toc_element">
135 <code><a href="#updatelabels">updatelabels(merchantId, accountId, body=None, x__xgafv=None)</a></code></p>
136 <p class="firstline">Updates labels that are assigned to the Merchant Center account by CSS user.</p>
137 <p class="toc_element">
138 <code><a href="#verifyphonenumber">verifyphonenumber(merchantId, accountId, body=None, x__xgafv=None)</a></code></p>
139 <p class="firstline">Validates verification code to verify phone number for the account. If successful this will overwrite the value of `accounts.businessinformation.phoneNumber`. Only verified phone number will replace an existing verified phone number.</p>
140 <h3>Method Details</h3>
141 <div class="method">
142 <code class="details" id="authinfo">authinfo(x__xgafv=None)</code>
143 <pre>Returns information about the authenticated user.
144
145 Args:
146 x__xgafv: string, V1 error format.
147 Allowed values
148 1 - v1 error format
149 2 - v2 error format
150
151 Returns:
152 An object of the form:
153
154 {
155 &quot;accountIdentifiers&quot;: [ # The account identifiers corresponding to the authenticated user. - For an individual account: only the merchant ID is defined - For an aggregator: only the aggregator ID is defined - For a subaccount of an MCA: both the merchant ID and the aggregator ID are defined.
156 {
157 &quot;aggregatorId&quot;: &quot;A String&quot;, # The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount).
158 &quot;merchantId&quot;: &quot;A String&quot;, # The merchant account ID, set for individual accounts and subaccounts.
159 },
160 ],
161 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountsAuthInfoResponse`&quot;.
162 }</pre>
163 </div>
164
165 <div class="method">
166 <code class="details" id="claimwebsite">claimwebsite(merchantId, accountId, overwrite=None, x__xgafv=None)</code>
167 <pre>Claims the website of a Merchant Center sub-account. Merchant accounts with approved third-party CSSs aren&#x27;t required to claim a website.
168
169 Args:
170 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)
171 accountId: string, The ID of the account whose website is claimed. (required)
172 overwrite: boolean, Only available to selected merchants, for example multi-client accounts (MCAs) and their sub-accounts. When set to `True`, this option removes any existing claim on the requested website and replaces it with a claim from the account that makes the request.
173 x__xgafv: string, V1 error format.
174 Allowed values
175 1 - v1 error format
176 2 - v2 error format
177
178 Returns:
179 An object of the form:
180
181 {
182 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountsClaimWebsiteResponse`&quot;.
183 }</pre>
184 </div>
185
186 <div class="method">
187 <code class="details" id="close">close()</code>
188 <pre>Close httplib2 connections.</pre>
189 </div>
190
191 <div class="method">
192 <code class="details" id="custombatch">custombatch(body=None, x__xgafv=None)</code>
193 <pre>Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.
194
195 Args:
196 body: object, The request body.
197 The object takes the form of:
198
199 {
200 &quot;entries&quot;: [ # The request entries to be processed in the batch.
201 { # A batch entry encoding a single non-batch accounts request.
202 &quot;account&quot;: { # Account data. After the creation of a new account it may take a few minutes before it&#x27;s 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`.
203 &quot;accountManagement&quot;: &quot;A String&quot;, # Output only. How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
204 &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 Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.
205 {
206 &quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
207 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
208 },
209 ],
210 &quot;adultContent&quot;: True or False, # Indicates whether the merchant sells adult content.
211 &quot;automaticImprovements&quot;: { # The automatic improvements of the account can be used to automatically update items, improve images and shipping. # The automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately.
212 &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided.
213 &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Determines how the images should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
214 &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
215 },
216 &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
217 },
218 &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided.
219 &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Determines which attributes of the items should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
220 &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
221 &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
222 &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
223 &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also allow availability updates.
224 },
225 &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
226 &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
227 &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
228 &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
229 },
230 &quot;shippingImprovements&quot;: { # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: - Delivery address of an order - Current handling time and shipping time settings - Estimated weekdays or business days - Parcel tracking data This field is only updated (cleared) if provided.
231 &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
232 },
233 },
234 &quot;automaticLabelIds&quot;: [ # Automatically created label IDs that are assigned to the account by CSS Center.
235 &quot;A String&quot;,
236 ],
237 &quot;businessIdentity&quot;: { # The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business. # The business identity attributes can be used to self-declare attributes that let customers know more about your business.
238 &quot;blackOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
239 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
240 },
241 &quot;includeForPromotions&quot;: True or False, # Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won&#x27;t affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.
242 &quot;latinoOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
243 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
244 },
245 &quot;smallBusiness&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to &quot;US&quot;. It is also not allowed for marketplaces, but it is allowed to marketplace sellers.
246 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
247 },
248 &quot;veteranOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
249 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
250 },
251 &quot;womenOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
252 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
253 },
254 },
255 &quot;businessInformation&quot;: { # The business information of the account.
256 &quot;address&quot;: { # The address of the business. Use `\n` to add a second address line.
257 &quot;country&quot;: &quot;A String&quot;, # CLDR country code (for example, &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
258 &quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
259 &quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (for example, &quot;94043&quot;).
260 &quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
261 &quot;streetAddress&quot;: &quot;A String&quot;, # Street-level part of the address. Use `\n` to add a second line.
262 },
263 &quot;customerService&quot;: { # The customer service information of the business.
264 &quot;email&quot;: &quot;A String&quot;, # Customer service email.
265 &quot;phoneNumber&quot;: &quot;A String&quot;, # Customer service phone number.
266 &quot;url&quot;: &quot;A String&quot;, # Customer service URL.
267 },
268 &quot;koreanBusinessRegistrationNumber&quot;: &quot;A String&quot;, # The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.
269 &quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the business in [E.164](https://en.wikipedia.org/wiki/E.164) format. This can only be updated if a verified phone number is not already set. To replace a verified phone number use the `Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.
270 &quot;phoneVerificationStatus&quot;: &quot;A String&quot;, # Verification status of the phone number of the business. This status is read only and can be updated only by successful phone verification. Acceptable values are: - &quot;`verified`&quot; - &quot;`unverified`&quot;
271 },
272 &quot;conversionSettings&quot;: { # Settings for conversion tracking. # Settings for conversion tracking.
273 &quot;freeListingsAutoTaggingEnabled&quot;: True or False, # When enabled, free listing URLs have a parameter to enable conversion tracking for products owned by the current merchant account. See [auto-tagging](https://support.google.com/merchants/answer/11127659).
274 },
275 &quot;cssId&quot;: &quot;A String&quot;, # ID of CSS the account belongs to.
276 &quot;googleMyBusinessLink&quot;: { # The Business Profile which is linked or in the process of being linked with the Merchant Center account.
277 &quot;gmbAccountId&quot;: &quot;A String&quot;, # The ID of the Business Profile. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the Business Profile API.
278 &quot;gmbEmail&quot;: &quot;A String&quot;, # The Business Profile email address of a specific account within a Business Profile. A sample account within a Business Profile could be a business account with set of locations, managed under the Business Profile.
279 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Business Profile. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
280 },
281 &quot;id&quot;: &quot;A String&quot;, # Required. 64-bit Merchant Center account ID.
282 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#account`&quot;.
283 &quot;labelIds&quot;: [ # Manually created label IDs that are assigned to the account by CSS.
284 &quot;A String&quot;,
285 ],
286 &quot;name&quot;: &quot;A String&quot;, # Required. Display name for the account.
287 &quot;sellerId&quot;: &quot;A String&quot;, # Client-specific, locally-unique, internal ID for the child account.
288 &quot;users&quot;: [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
289 {
290 &quot;admin&quot;: True or False, # Whether user is an admin.
291 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
292 &quot;orderManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
293 &quot;paymentsAnalyst&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
294 &quot;paymentsManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
295 &quot;readOnly&quot;: True or False, # Optional. Whether user has standard read-only access.
296 &quot;reportingManager&quot;: True or False, # Whether user is a reporting manager. This role is equivalent to the Performance and insights role in Merchant Center.
297 },
298 ],
299 &quot;websiteUrl&quot;: &quot;A String&quot;, # The merchant&#x27;s website.
300 &quot;youtubeChannelLinks&quot;: [ # Linked YouTube channels 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 in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
301 {
302 &quot;channelId&quot;: &quot;A String&quot;, # Channel ID.
303 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.
304 },
305 ],
306 },
307 &quot;accountId&quot;: &quot;A String&quot;, # The ID of the targeted account. Only defined if the method is not `insert`.
308 &quot;batchId&quot;: 42, # An entry ID, unique within the batch request.
309 &quot;force&quot;: True or False, # Whether the account should be deleted if the account has offers. Only applicable if the method is `delete`.
310 &quot;labelIds&quot;: [ # Label IDs for the &#x27;updatelabels&#x27; request.
311 &quot;A String&quot;,
312 ],
313 &quot;linkRequest&quot;: { # Details about the `link` request.
314 &quot;action&quot;: &quot;A String&quot;, # Action to perform for this link. The `&quot;request&quot;` action is only available to select merchants. Acceptable values are: - &quot;`approve`&quot; - &quot;`remove`&quot; - &quot;`request`&quot;
315 &quot;linkType&quot;: &quot;A String&quot;, # Type of the link between the two accounts. Acceptable values are: - &quot;`channelPartner`&quot; - &quot;`eCommercePlatform`&quot; - &quot;`paymentServiceProvider`&quot; - &quot;`localProductManager`&quot;
316 &quot;linkedAccountId&quot;: &quot;A String&quot;, # The ID of the linked account.
317 &quot;services&quot;: [ # Provided services. Acceptable values are: - &quot;`shoppingAdsProductManagement`&quot; - &quot;`shoppingActionsProductManagement`&quot; - &quot;`shoppingActionsOrderManagement`&quot; - &quot;`paymentProcessing`&quot; - &quot;`localProductManagement`&quot;
318 &quot;A String&quot;,
319 ],
320 },
321 &quot;merchantId&quot;: &quot;A String&quot;, # The ID of the managing account.
322 &quot;method&quot;: &quot;A String&quot;, # The method of the batch entry. Acceptable values are: - &quot;`claimWebsite`&quot; - &quot;`delete`&quot; - &quot;`get`&quot; - &quot;`insert`&quot; - &quot;`link`&quot; - &quot;`update`&quot;
323 &quot;overwrite&quot;: True or False, # Only applicable if the method is `claimwebsite`. Indicates whether or not to take the claim from another account in case there is a conflict.
324 &quot;view&quot;: &quot;A String&quot;, # Controls which fields are visible. Only applicable if the method is &#x27;get&#x27;.
325 },
326 ],
327 }
328
329 x__xgafv: string, V1 error format.
330 Allowed values
331 1 - v1 error format
332 2 - v2 error format
333
334 Returns:
335 An object of the form:
336
337 {
338 &quot;entries&quot;: [ # The result of the execution of the batch requests.
339 { # A batch entry encoding a single non-batch accounts response.
340 &quot;account&quot;: { # Account data. After the creation of a new account it may take a few minutes before it&#x27;s 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`.
341 &quot;accountManagement&quot;: &quot;A String&quot;, # Output only. How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
342 &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 Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.
343 {
344 &quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
345 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
346 },
347 ],
348 &quot;adultContent&quot;: True or False, # Indicates whether the merchant sells adult content.
349 &quot;automaticImprovements&quot;: { # The automatic improvements of the account can be used to automatically update items, improve images and shipping. # The automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately.
350 &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided.
351 &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Determines how the images should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
352 &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
353 },
354 &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
355 },
356 &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided.
357 &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Determines which attributes of the items should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
358 &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
359 &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
360 &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
361 &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also allow availability updates.
362 },
363 &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
364 &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
365 &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
366 &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
367 },
368 &quot;shippingImprovements&quot;: { # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: - Delivery address of an order - Current handling time and shipping time settings - Estimated weekdays or business days - Parcel tracking data This field is only updated (cleared) if provided.
369 &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
370 },
371 },
372 &quot;automaticLabelIds&quot;: [ # Automatically created label IDs that are assigned to the account by CSS Center.
373 &quot;A String&quot;,
374 ],
375 &quot;businessIdentity&quot;: { # The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business. # The business identity attributes can be used to self-declare attributes that let customers know more about your business.
376 &quot;blackOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
377 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
378 },
379 &quot;includeForPromotions&quot;: True or False, # Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won&#x27;t affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.
380 &quot;latinoOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
381 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
382 },
383 &quot;smallBusiness&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to &quot;US&quot;. It is also not allowed for marketplaces, but it is allowed to marketplace sellers.
384 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
385 },
386 &quot;veteranOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
387 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
388 },
389 &quot;womenOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
390 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
391 },
392 },
393 &quot;businessInformation&quot;: { # The business information of the account.
394 &quot;address&quot;: { # The address of the business. Use `\n` to add a second address line.
395 &quot;country&quot;: &quot;A String&quot;, # CLDR country code (for example, &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
396 &quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
397 &quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (for example, &quot;94043&quot;).
398 &quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
399 &quot;streetAddress&quot;: &quot;A String&quot;, # Street-level part of the address. Use `\n` to add a second line.
400 },
401 &quot;customerService&quot;: { # The customer service information of the business.
402 &quot;email&quot;: &quot;A String&quot;, # Customer service email.
403 &quot;phoneNumber&quot;: &quot;A String&quot;, # Customer service phone number.
404 &quot;url&quot;: &quot;A String&quot;, # Customer service URL.
405 },
406 &quot;koreanBusinessRegistrationNumber&quot;: &quot;A String&quot;, # The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.
407 &quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the business in [E.164](https://en.wikipedia.org/wiki/E.164) format. This can only be updated if a verified phone number is not already set. To replace a verified phone number use the `Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.
408 &quot;phoneVerificationStatus&quot;: &quot;A String&quot;, # Verification status of the phone number of the business. This status is read only and can be updated only by successful phone verification. Acceptable values are: - &quot;`verified`&quot; - &quot;`unverified`&quot;
409 },
410 &quot;conversionSettings&quot;: { # Settings for conversion tracking. # Settings for conversion tracking.
411 &quot;freeListingsAutoTaggingEnabled&quot;: True or False, # When enabled, free listing URLs have a parameter to enable conversion tracking for products owned by the current merchant account. See [auto-tagging](https://support.google.com/merchants/answer/11127659).
412 },
413 &quot;cssId&quot;: &quot;A String&quot;, # ID of CSS the account belongs to.
414 &quot;googleMyBusinessLink&quot;: { # The Business Profile which is linked or in the process of being linked with the Merchant Center account.
415 &quot;gmbAccountId&quot;: &quot;A String&quot;, # The ID of the Business Profile. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the Business Profile API.
416 &quot;gmbEmail&quot;: &quot;A String&quot;, # The Business Profile email address of a specific account within a Business Profile. A sample account within a Business Profile could be a business account with set of locations, managed under the Business Profile.
417 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Business Profile. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
418 },
419 &quot;id&quot;: &quot;A String&quot;, # Required. 64-bit Merchant Center account ID.
420 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#account`&quot;.
421 &quot;labelIds&quot;: [ # Manually created label IDs that are assigned to the account by CSS.
422 &quot;A String&quot;,
423 ],
424 &quot;name&quot;: &quot;A String&quot;, # Required. Display name for the account.
425 &quot;sellerId&quot;: &quot;A String&quot;, # Client-specific, locally-unique, internal ID for the child account.
426 &quot;users&quot;: [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
427 {
428 &quot;admin&quot;: True or False, # Whether user is an admin.
429 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
430 &quot;orderManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
431 &quot;paymentsAnalyst&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
432 &quot;paymentsManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
433 &quot;readOnly&quot;: True or False, # Optional. Whether user has standard read-only access.
434 &quot;reportingManager&quot;: True or False, # Whether user is a reporting manager. This role is equivalent to the Performance and insights role in Merchant Center.
435 },
436 ],
437 &quot;websiteUrl&quot;: &quot;A String&quot;, # The merchant&#x27;s website.
438 &quot;youtubeChannelLinks&quot;: [ # Linked YouTube channels 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 in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
439 {
440 &quot;channelId&quot;: &quot;A String&quot;, # Channel ID.
441 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.
442 },
443 ],
444 },
445 &quot;batchId&quot;: 42, # The ID of the request entry this entry responds to.
446 &quot;errors&quot;: { # A list of errors returned by a failed batch entry. # A list of errors for failed custombatch entries. *Note:* Schema errors fail the whole request.
447 &quot;code&quot;: 42, # The HTTP status of the first error in `errors`.
448 &quot;errors&quot;: [ # A list of errors.
449 { # An error returned by the API.
450 &quot;domain&quot;: &quot;A String&quot;, # The domain of the error.
451 &quot;message&quot;: &quot;A String&quot;, # A description of the error.
452 &quot;reason&quot;: &quot;A String&quot;, # The error code.
453 },
454 ],
455 &quot;message&quot;: &quot;A String&quot;, # The message of the first error in `errors`.
456 },
457 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountsCustomBatchResponseEntry`&quot;
458 },
459 ],
460 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountsCustomBatchResponse`&quot;.
461 }</pre>
462 </div>
463
464 <div class="method">
465 <code class="details" id="delete">delete(merchantId, accountId, force=None, x__xgafv=None)</code>
466 <pre>Deletes a Merchant Center sub-account.
467
468 Args:
469 merchantId: string, The ID of the managing account. This must be a multi-client account, and accountId must be the ID of a sub-account of this account. (required)
470 accountId: string, The ID of the account. (required)
471 force: boolean, Option to delete sub-accounts with products. The default value is false.
472 x__xgafv: string, V1 error format.
473 Allowed values
474 1 - v1 error format
475 2 - v2 error format
476 </pre>
477 </div>
478
479 <div class="method">
480 <code class="details" id="get">get(merchantId, accountId, view=None, x__xgafv=None)</code>
481 <pre>Retrieves a Merchant Center account.
482
483 Args:
484 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)
485 accountId: string, The ID of the account. (required)
486 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;.
487 Allowed values
488 MERCHANT - Default. View is populated with Merchant Center fields.
489 CSS - View is populated with Comparison Shopping Services fields.
490 x__xgafv: string, V1 error format.
491 Allowed values
492 1 - v1 error format
493 2 - v2 error format
494
495 Returns:
496 An object of the form:
497
498 { # Account data. After the creation of a new account it may take a few minutes before it&#x27;s fully operational. The methods delete, insert, and update require the admin role.
499 &quot;accountManagement&quot;: &quot;A String&quot;, # Output only. How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
500 &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 Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.
501 {
502 &quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
503 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
504 },
505 ],
506 &quot;adultContent&quot;: True or False, # Indicates whether the merchant sells adult content.
507 &quot;automaticImprovements&quot;: { # The automatic improvements of the account can be used to automatically update items, improve images and shipping. # The automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately.
508 &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided.
509 &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Determines how the images should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
510 &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
511 },
512 &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
513 },
514 &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided.
515 &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Determines which attributes of the items should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
516 &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
517 &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
518 &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
519 &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also allow availability updates.
520 },
521 &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
522 &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
523 &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
524 &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
525 },
526 &quot;shippingImprovements&quot;: { # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: - Delivery address of an order - Current handling time and shipping time settings - Estimated weekdays or business days - Parcel tracking data This field is only updated (cleared) if provided.
527 &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
528 },
529 },
530 &quot;automaticLabelIds&quot;: [ # Automatically created label IDs that are assigned to the account by CSS Center.
531 &quot;A String&quot;,
532 ],
533 &quot;businessIdentity&quot;: { # The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business. # The business identity attributes can be used to self-declare attributes that let customers know more about your business.
534 &quot;blackOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
535 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
536 },
537 &quot;includeForPromotions&quot;: True or False, # Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won&#x27;t affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.
538 &quot;latinoOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
539 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
540 },
541 &quot;smallBusiness&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to &quot;US&quot;. It is also not allowed for marketplaces, but it is allowed to marketplace sellers.
542 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
543 },
544 &quot;veteranOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
545 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
546 },
547 &quot;womenOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
548 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
549 },
550 },
551 &quot;businessInformation&quot;: { # The business information of the account.
552 &quot;address&quot;: { # The address of the business. Use `\n` to add a second address line.
553 &quot;country&quot;: &quot;A String&quot;, # CLDR country code (for example, &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
554 &quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
555 &quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (for example, &quot;94043&quot;).
556 &quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
557 &quot;streetAddress&quot;: &quot;A String&quot;, # Street-level part of the address. Use `\n` to add a second line.
558 },
559 &quot;customerService&quot;: { # The customer service information of the business.
560 &quot;email&quot;: &quot;A String&quot;, # Customer service email.
561 &quot;phoneNumber&quot;: &quot;A String&quot;, # Customer service phone number.
562 &quot;url&quot;: &quot;A String&quot;, # Customer service URL.
563 },
564 &quot;koreanBusinessRegistrationNumber&quot;: &quot;A String&quot;, # The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.
565 &quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the business in [E.164](https://en.wikipedia.org/wiki/E.164) format. This can only be updated if a verified phone number is not already set. To replace a verified phone number use the `Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.
566 &quot;phoneVerificationStatus&quot;: &quot;A String&quot;, # Verification status of the phone number of the business. This status is read only and can be updated only by successful phone verification. Acceptable values are: - &quot;`verified`&quot; - &quot;`unverified`&quot;
567 },
568 &quot;conversionSettings&quot;: { # Settings for conversion tracking. # Settings for conversion tracking.
569 &quot;freeListingsAutoTaggingEnabled&quot;: True or False, # When enabled, free listing URLs have a parameter to enable conversion tracking for products owned by the current merchant account. See [auto-tagging](https://support.google.com/merchants/answer/11127659).
570 },
571 &quot;cssId&quot;: &quot;A String&quot;, # ID of CSS the account belongs to.
572 &quot;googleMyBusinessLink&quot;: { # The Business Profile which is linked or in the process of being linked with the Merchant Center account.
573 &quot;gmbAccountId&quot;: &quot;A String&quot;, # The ID of the Business Profile. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the Business Profile API.
574 &quot;gmbEmail&quot;: &quot;A String&quot;, # The Business Profile email address of a specific account within a Business Profile. A sample account within a Business Profile could be a business account with set of locations, managed under the Business Profile.
575 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Business Profile. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
576 },
577 &quot;id&quot;: &quot;A String&quot;, # Required. 64-bit Merchant Center account ID.
578 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#account`&quot;.
579 &quot;labelIds&quot;: [ # Manually created label IDs that are assigned to the account by CSS.
580 &quot;A String&quot;,
581 ],
582 &quot;name&quot;: &quot;A String&quot;, # Required. Display name for the account.
583 &quot;sellerId&quot;: &quot;A String&quot;, # Client-specific, locally-unique, internal ID for the child account.
584 &quot;users&quot;: [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
585 {
586 &quot;admin&quot;: True or False, # Whether user is an admin.
587 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
588 &quot;orderManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
589 &quot;paymentsAnalyst&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
590 &quot;paymentsManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
591 &quot;readOnly&quot;: True or False, # Optional. Whether user has standard read-only access.
592 &quot;reportingManager&quot;: True or False, # Whether user is a reporting manager. This role is equivalent to the Performance and insights role in Merchant Center.
593 },
594 ],
595 &quot;websiteUrl&quot;: &quot;A String&quot;, # The merchant&#x27;s website.
596 &quot;youtubeChannelLinks&quot;: [ # Linked YouTube channels 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 in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
597 {
598 &quot;channelId&quot;: &quot;A String&quot;, # Channel ID.
599 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.
600 },
601 ],
602 }</pre>
603 </div>
604
605 <div class="method">
606 <code class="details" id="insert">insert(merchantId, body=None, x__xgafv=None)</code>
607 <pre>Creates a Merchant Center sub-account.
608
609 Args:
610 merchantId: string, The ID of the managing account. This must be a multi-client account. (required)
611 body: object, The request body.
612 The object takes the form of:
613
614 { # Account data. After the creation of a new account it may take a few minutes before it&#x27;s fully operational. The methods delete, insert, and update require the admin role.
615 &quot;accountManagement&quot;: &quot;A String&quot;, # Output only. How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
616 &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 Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.
617 {
618 &quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
619 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
620 },
621 ],
622 &quot;adultContent&quot;: True or False, # Indicates whether the merchant sells adult content.
623 &quot;automaticImprovements&quot;: { # The automatic improvements of the account can be used to automatically update items, improve images and shipping. # The automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately.
624 &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided.
625 &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Determines how the images should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
626 &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
627 },
628 &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
629 },
630 &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided.
631 &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Determines which attributes of the items should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
632 &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
633 &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
634 &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
635 &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also allow availability updates.
636 },
637 &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
638 &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
639 &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
640 &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
641 },
642 &quot;shippingImprovements&quot;: { # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: - Delivery address of an order - Current handling time and shipping time settings - Estimated weekdays or business days - Parcel tracking data This field is only updated (cleared) if provided.
643 &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
644 },
645 },
646 &quot;automaticLabelIds&quot;: [ # Automatically created label IDs that are assigned to the account by CSS Center.
647 &quot;A String&quot;,
648 ],
649 &quot;businessIdentity&quot;: { # The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business. # The business identity attributes can be used to self-declare attributes that let customers know more about your business.
650 &quot;blackOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
651 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
652 },
653 &quot;includeForPromotions&quot;: True or False, # Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won&#x27;t affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.
654 &quot;latinoOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
655 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
656 },
657 &quot;smallBusiness&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to &quot;US&quot;. It is also not allowed for marketplaces, but it is allowed to marketplace sellers.
658 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
659 },
660 &quot;veteranOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
661 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
662 },
663 &quot;womenOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
664 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
665 },
666 },
667 &quot;businessInformation&quot;: { # The business information of the account.
668 &quot;address&quot;: { # The address of the business. Use `\n` to add a second address line.
669 &quot;country&quot;: &quot;A String&quot;, # CLDR country code (for example, &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
670 &quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
671 &quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (for example, &quot;94043&quot;).
672 &quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
673 &quot;streetAddress&quot;: &quot;A String&quot;, # Street-level part of the address. Use `\n` to add a second line.
674 },
675 &quot;customerService&quot;: { # The customer service information of the business.
676 &quot;email&quot;: &quot;A String&quot;, # Customer service email.
677 &quot;phoneNumber&quot;: &quot;A String&quot;, # Customer service phone number.
678 &quot;url&quot;: &quot;A String&quot;, # Customer service URL.
679 },
680 &quot;koreanBusinessRegistrationNumber&quot;: &quot;A String&quot;, # The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.
681 &quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the business in [E.164](https://en.wikipedia.org/wiki/E.164) format. This can only be updated if a verified phone number is not already set. To replace a verified phone number use the `Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.
682 &quot;phoneVerificationStatus&quot;: &quot;A String&quot;, # Verification status of the phone number of the business. This status is read only and can be updated only by successful phone verification. Acceptable values are: - &quot;`verified`&quot; - &quot;`unverified`&quot;
683 },
684 &quot;conversionSettings&quot;: { # Settings for conversion tracking. # Settings for conversion tracking.
685 &quot;freeListingsAutoTaggingEnabled&quot;: True or False, # When enabled, free listing URLs have a parameter to enable conversion tracking for products owned by the current merchant account. See [auto-tagging](https://support.google.com/merchants/answer/11127659).
686 },
687 &quot;cssId&quot;: &quot;A String&quot;, # ID of CSS the account belongs to.
688 &quot;googleMyBusinessLink&quot;: { # The Business Profile which is linked or in the process of being linked with the Merchant Center account.
689 &quot;gmbAccountId&quot;: &quot;A String&quot;, # The ID of the Business Profile. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the Business Profile API.
690 &quot;gmbEmail&quot;: &quot;A String&quot;, # The Business Profile email address of a specific account within a Business Profile. A sample account within a Business Profile could be a business account with set of locations, managed under the Business Profile.
691 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Business Profile. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
692 },
693 &quot;id&quot;: &quot;A String&quot;, # Required. 64-bit Merchant Center account ID.
694 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#account`&quot;.
695 &quot;labelIds&quot;: [ # Manually created label IDs that are assigned to the account by CSS.
696 &quot;A String&quot;,
697 ],
698 &quot;name&quot;: &quot;A String&quot;, # Required. Display name for the account.
699 &quot;sellerId&quot;: &quot;A String&quot;, # Client-specific, locally-unique, internal ID for the child account.
700 &quot;users&quot;: [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
701 {
702 &quot;admin&quot;: True or False, # Whether user is an admin.
703 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
704 &quot;orderManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
705 &quot;paymentsAnalyst&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
706 &quot;paymentsManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
707 &quot;readOnly&quot;: True or False, # Optional. Whether user has standard read-only access.
708 &quot;reportingManager&quot;: True or False, # Whether user is a reporting manager. This role is equivalent to the Performance and insights role in Merchant Center.
709 },
710 ],
711 &quot;websiteUrl&quot;: &quot;A String&quot;, # The merchant&#x27;s website.
712 &quot;youtubeChannelLinks&quot;: [ # Linked YouTube channels 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 in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
713 {
714 &quot;channelId&quot;: &quot;A String&quot;, # Channel ID.
715 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.
716 },
717 ],
718 }
719
720 x__xgafv: string, V1 error format.
721 Allowed values
722 1 - v1 error format
723 2 - v2 error format
724
725 Returns:
726 An object of the form:
727
728 { # Account data. After the creation of a new account it may take a few minutes before it&#x27;s fully operational. The methods delete, insert, and update require the admin role.
729 &quot;accountManagement&quot;: &quot;A String&quot;, # Output only. How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
730 &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 Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.
731 {
732 &quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
733 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
734 },
735 ],
736 &quot;adultContent&quot;: True or False, # Indicates whether the merchant sells adult content.
737 &quot;automaticImprovements&quot;: { # The automatic improvements of the account can be used to automatically update items, improve images and shipping. # The automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately.
738 &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided.
739 &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Determines how the images should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
740 &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
741 },
742 &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
743 },
744 &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided.
745 &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Determines which attributes of the items should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
746 &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
747 &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
748 &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
749 &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also allow availability updates.
750 },
751 &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
752 &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
753 &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
754 &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
755 },
756 &quot;shippingImprovements&quot;: { # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: - Delivery address of an order - Current handling time and shipping time settings - Estimated weekdays or business days - Parcel tracking data This field is only updated (cleared) if provided.
757 &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
758 },
759 },
760 &quot;automaticLabelIds&quot;: [ # Automatically created label IDs that are assigned to the account by CSS Center.
761 &quot;A String&quot;,
762 ],
763 &quot;businessIdentity&quot;: { # The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business. # The business identity attributes can be used to self-declare attributes that let customers know more about your business.
764 &quot;blackOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
765 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
766 },
767 &quot;includeForPromotions&quot;: True or False, # Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won&#x27;t affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.
768 &quot;latinoOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
769 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
770 },
771 &quot;smallBusiness&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to &quot;US&quot;. It is also not allowed for marketplaces, but it is allowed to marketplace sellers.
772 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
773 },
774 &quot;veteranOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
775 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
776 },
777 &quot;womenOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
778 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
779 },
780 },
781 &quot;businessInformation&quot;: { # The business information of the account.
782 &quot;address&quot;: { # The address of the business. Use `\n` to add a second address line.
783 &quot;country&quot;: &quot;A String&quot;, # CLDR country code (for example, &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
784 &quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
785 &quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (for example, &quot;94043&quot;).
786 &quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
787 &quot;streetAddress&quot;: &quot;A String&quot;, # Street-level part of the address. Use `\n` to add a second line.
788 },
789 &quot;customerService&quot;: { # The customer service information of the business.
790 &quot;email&quot;: &quot;A String&quot;, # Customer service email.
791 &quot;phoneNumber&quot;: &quot;A String&quot;, # Customer service phone number.
792 &quot;url&quot;: &quot;A String&quot;, # Customer service URL.
793 },
794 &quot;koreanBusinessRegistrationNumber&quot;: &quot;A String&quot;, # The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.
795 &quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the business in [E.164](https://en.wikipedia.org/wiki/E.164) format. This can only be updated if a verified phone number is not already set. To replace a verified phone number use the `Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.
796 &quot;phoneVerificationStatus&quot;: &quot;A String&quot;, # Verification status of the phone number of the business. This status is read only and can be updated only by successful phone verification. Acceptable values are: - &quot;`verified`&quot; - &quot;`unverified`&quot;
797 },
798 &quot;conversionSettings&quot;: { # Settings for conversion tracking. # Settings for conversion tracking.
799 &quot;freeListingsAutoTaggingEnabled&quot;: True or False, # When enabled, free listing URLs have a parameter to enable conversion tracking for products owned by the current merchant account. See [auto-tagging](https://support.google.com/merchants/answer/11127659).
800 },
801 &quot;cssId&quot;: &quot;A String&quot;, # ID of CSS the account belongs to.
802 &quot;googleMyBusinessLink&quot;: { # The Business Profile which is linked or in the process of being linked with the Merchant Center account.
803 &quot;gmbAccountId&quot;: &quot;A String&quot;, # The ID of the Business Profile. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the Business Profile API.
804 &quot;gmbEmail&quot;: &quot;A String&quot;, # The Business Profile email address of a specific account within a Business Profile. A sample account within a Business Profile could be a business account with set of locations, managed under the Business Profile.
805 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Business Profile. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
806 },
807 &quot;id&quot;: &quot;A String&quot;, # Required. 64-bit Merchant Center account ID.
808 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#account`&quot;.
809 &quot;labelIds&quot;: [ # Manually created label IDs that are assigned to the account by CSS.
810 &quot;A String&quot;,
811 ],
812 &quot;name&quot;: &quot;A String&quot;, # Required. Display name for the account.
813 &quot;sellerId&quot;: &quot;A String&quot;, # Client-specific, locally-unique, internal ID for the child account.
814 &quot;users&quot;: [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
815 {
816 &quot;admin&quot;: True or False, # Whether user is an admin.
817 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
818 &quot;orderManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
819 &quot;paymentsAnalyst&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
820 &quot;paymentsManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
821 &quot;readOnly&quot;: True or False, # Optional. Whether user has standard read-only access.
822 &quot;reportingManager&quot;: True or False, # Whether user is a reporting manager. This role is equivalent to the Performance and insights role in Merchant Center.
823 },
824 ],
825 &quot;websiteUrl&quot;: &quot;A String&quot;, # The merchant&#x27;s website.
826 &quot;youtubeChannelLinks&quot;: [ # Linked YouTube channels 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 in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
827 {
828 &quot;channelId&quot;: &quot;A String&quot;, # Channel ID.
829 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.
830 },
831 ],
832 }</pre>
833 </div>
834
835 <div class="method">
836 <code class="details" id="link">link(merchantId, accountId, body=None, x__xgafv=None)</code>
837 <pre>Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.
838
839 Args:
840 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)
841 accountId: string, The ID of the account that should be linked. (required)
842 body: object, The request body.
843 The object takes the form of:
844
845 {
846 &quot;action&quot;: &quot;A String&quot;, # Action to perform for this link. The `&quot;request&quot;` action is only available to select merchants. Acceptable values are: - &quot;`approve`&quot; - &quot;`remove`&quot; - &quot;`request`&quot;
847 &quot;eCommercePlatformLinkInfo&quot;: { # Additional information required for E_COMMERCE_PLATFORM link type. # Additional information required for `eCommercePlatform` link type.
848 &quot;externalAccountId&quot;: &quot;A String&quot;, # The id used by the third party service provider to identify the merchant.
849 },
850 &quot;linkType&quot;: &quot;A String&quot;, # Type of the link between the two accounts. Acceptable values are: - &quot;`channelPartner`&quot; - &quot;`eCommercePlatform`&quot; - &quot;`paymentServiceProvider`&quot;
851 &quot;linkedAccountId&quot;: &quot;A String&quot;, # The ID of the linked account.
852 &quot;paymentServiceProviderLinkInfo&quot;: { # Additional information required for PAYMENT_SERVICE_PROVIDER link type. # Additional information required for `paymentServiceProvider` link type.
853 &quot;externalAccountBusinessCountry&quot;: &quot;A String&quot;, # The business country of the merchant account as identified by the third party service provider.
854 &quot;externalAccountId&quot;: &quot;A String&quot;, # The id used by the third party service provider to identify the merchant.
855 },
856 &quot;services&quot;: [ # Acceptable values are: - &quot;`shoppingAdsProductManagement`&quot; - &quot;`shoppingActionsProductManagement`&quot; - &quot;`shoppingActionsOrderManagement`&quot; - &quot;`paymentProcessing`&quot;
857 &quot;A String&quot;,
858 ],
859 }
860
861 x__xgafv: string, V1 error format.
862 Allowed values
863 1 - v1 error format
864 2 - v2 error format
865
866 Returns:
867 An object of the form:
868
869 {
870 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountsLinkResponse`&quot;.
871 }</pre>
872 </div>
873
874 <div class="method">
875 <code class="details" id="list">list(merchantId, label=None, maxResults=None, name=None, pageToken=None, view=None, x__xgafv=None)</code>
876 <pre>Lists the sub-accounts in your Merchant Center account.
877
878 Args:
879 merchantId: string, The ID of the managing account. This must be a multi-client account. (required)
880 label: string, If view is set to &quot;css&quot;, only return accounts that are assigned label with given ID.
881 maxResults: integer, The maximum number of accounts to return in the response, used for paging.
882 name: string, If set, only the accounts with the given name (case sensitive) will be returned.
883 pageToken: string, The token returned by the previous request.
884 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;.
885 Allowed values
886 MERCHANT - Default. View is populated with Merchant Center fields.
887 CSS - View is populated with Comparison Shopping Services fields.
888 x__xgafv: string, V1 error format.
889 Allowed values
890 1 - v1 error format
891 2 - v2 error format
892
893 Returns:
894 An object of the form:
895
896 {
897 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountsListResponse`&quot;.
898 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token for the retrieval of the next page of accounts.
899 &quot;resources&quot;: [
900 { # Account data. After the creation of a new account it may take a few minutes before it&#x27;s fully operational. The methods delete, insert, and update require the admin role.
901 &quot;accountManagement&quot;: &quot;A String&quot;, # Output only. How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
902 &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 Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.
903 {
904 &quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
905 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
906 },
907 ],
908 &quot;adultContent&quot;: True or False, # Indicates whether the merchant sells adult content.
909 &quot;automaticImprovements&quot;: { # The automatic improvements of the account can be used to automatically update items, improve images and shipping. # The automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately.
910 &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided.
911 &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Determines how the images should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
912 &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
913 },
914 &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
915 },
916 &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided.
917 &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Determines which attributes of the items should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
918 &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
919 &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
920 &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
921 &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also allow availability updates.
922 },
923 &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
924 &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
925 &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
926 &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
927 },
928 &quot;shippingImprovements&quot;: { # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: - Delivery address of an order - Current handling time and shipping time settings - Estimated weekdays or business days - Parcel tracking data This field is only updated (cleared) if provided.
929 &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
930 },
931 },
932 &quot;automaticLabelIds&quot;: [ # Automatically created label IDs that are assigned to the account by CSS Center.
933 &quot;A String&quot;,
934 ],
935 &quot;businessIdentity&quot;: { # The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business. # The business identity attributes can be used to self-declare attributes that let customers know more about your business.
936 &quot;blackOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
937 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
938 },
939 &quot;includeForPromotions&quot;: True or False, # Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won&#x27;t affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.
940 &quot;latinoOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
941 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
942 },
943 &quot;smallBusiness&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to &quot;US&quot;. It is also not allowed for marketplaces, but it is allowed to marketplace sellers.
944 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
945 },
946 &quot;veteranOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
947 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
948 },
949 &quot;womenOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
950 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
951 },
952 },
953 &quot;businessInformation&quot;: { # The business information of the account.
954 &quot;address&quot;: { # The address of the business. Use `\n` to add a second address line.
955 &quot;country&quot;: &quot;A String&quot;, # CLDR country code (for example, &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
956 &quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
957 &quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (for example, &quot;94043&quot;).
958 &quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
959 &quot;streetAddress&quot;: &quot;A String&quot;, # Street-level part of the address. Use `\n` to add a second line.
960 },
961 &quot;customerService&quot;: { # The customer service information of the business.
962 &quot;email&quot;: &quot;A String&quot;, # Customer service email.
963 &quot;phoneNumber&quot;: &quot;A String&quot;, # Customer service phone number.
964 &quot;url&quot;: &quot;A String&quot;, # Customer service URL.
965 },
966 &quot;koreanBusinessRegistrationNumber&quot;: &quot;A String&quot;, # The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.
967 &quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the business in [E.164](https://en.wikipedia.org/wiki/E.164) format. This can only be updated if a verified phone number is not already set. To replace a verified phone number use the `Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.
968 &quot;phoneVerificationStatus&quot;: &quot;A String&quot;, # Verification status of the phone number of the business. This status is read only and can be updated only by successful phone verification. Acceptable values are: - &quot;`verified`&quot; - &quot;`unverified`&quot;
969 },
970 &quot;conversionSettings&quot;: { # Settings for conversion tracking. # Settings for conversion tracking.
971 &quot;freeListingsAutoTaggingEnabled&quot;: True or False, # When enabled, free listing URLs have a parameter to enable conversion tracking for products owned by the current merchant account. See [auto-tagging](https://support.google.com/merchants/answer/11127659).
972 },
973 &quot;cssId&quot;: &quot;A String&quot;, # ID of CSS the account belongs to.
974 &quot;googleMyBusinessLink&quot;: { # The Business Profile which is linked or in the process of being linked with the Merchant Center account.
975 &quot;gmbAccountId&quot;: &quot;A String&quot;, # The ID of the Business Profile. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the Business Profile API.
976 &quot;gmbEmail&quot;: &quot;A String&quot;, # The Business Profile email address of a specific account within a Business Profile. A sample account within a Business Profile could be a business account with set of locations, managed under the Business Profile.
977 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Business Profile. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
978 },
979 &quot;id&quot;: &quot;A String&quot;, # Required. 64-bit Merchant Center account ID.
980 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#account`&quot;.
981 &quot;labelIds&quot;: [ # Manually created label IDs that are assigned to the account by CSS.
982 &quot;A String&quot;,
983 ],
984 &quot;name&quot;: &quot;A String&quot;, # Required. Display name for the account.
985 &quot;sellerId&quot;: &quot;A String&quot;, # Client-specific, locally-unique, internal ID for the child account.
986 &quot;users&quot;: [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
987 {
988 &quot;admin&quot;: True or False, # Whether user is an admin.
989 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
990 &quot;orderManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
991 &quot;paymentsAnalyst&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
992 &quot;paymentsManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
993 &quot;readOnly&quot;: True or False, # Optional. Whether user has standard read-only access.
994 &quot;reportingManager&quot;: True or False, # Whether user is a reporting manager. This role is equivalent to the Performance and insights role in Merchant Center.
995 },
996 ],
997 &quot;websiteUrl&quot;: &quot;A String&quot;, # The merchant&#x27;s website.
998 &quot;youtubeChannelLinks&quot;: [ # Linked YouTube channels 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 in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
999 {
1000 &quot;channelId&quot;: &quot;A String&quot;, # Channel ID.
1001 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.
1002 },
1003 ],
1004 },
1005 ],
1006 }</pre>
1007 </div>
1008
1009 <div class="method">
1010 <code class="details" id="list_next">list_next()</code>
1011 <pre>Retrieves the next page of results.
1012
1013 Args:
1014 previous_request: The request for the previous page. (required)
1015 previous_response: The response from the request for the previous page. (required)
1016
1017 Returns:
1018 A request object that you can call &#x27;execute()&#x27; on to request the next
1019 page. Returns None if there are no more items in the collection.
1020 </pre>
1021 </div>
1022
1023 <div class="method">
1024 <code class="details" id="listlinks">listlinks(merchantId, accountId, maxResults=None, pageToken=None, x__xgafv=None)</code>
1025 <pre>Returns the list of accounts linked to your Merchant Center account.
1026
1027 Args:
1028 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)
1029 accountId: string, The ID of the account for which to list links. (required)
1030 maxResults: integer, The maximum number of links to return in the response, used for pagination. The minimum allowed value is 5 results per page. If provided value is lower than 5, it will be automatically increased to 5.
1031 pageToken: string, The token returned by the previous request.
1032 x__xgafv: string, V1 error format.
1033 Allowed values
1034 1 - v1 error format
1035 2 - v2 error format
1036
1037 Returns:
1038 An object of the form:
1039
1040 {
1041 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountsListLinksResponse`&quot;.
1042 &quot;links&quot;: [ # The list of available links.
1043 {
1044 &quot;linkedAccountId&quot;: &quot;A String&quot;, # The ID of the linked account.
1045 &quot;services&quot;: [ # List of provided services.
1046 {
1047 &quot;service&quot;: &quot;A String&quot;, # Service provided to or by the linked account. Acceptable values are: - &quot;`shoppingActionsOrderManagement`&quot; - &quot;`shoppingActionsProductManagement`&quot; - &quot;`shoppingAdsProductManagement`&quot; - &quot;`paymentProcessing`&quot;
1048 &quot;status&quot;: &quot;A String&quot;, # Status of the link Acceptable values are: - &quot;`active`&quot; - &quot;`inactive`&quot; - &quot;`pending`&quot;
1049 },
1050 ],
1051 },
1052 ],
1053 &quot;nextPageToken&quot;: &quot;A String&quot;, # The token for the retrieval of the next page of links.
1054 }</pre>
1055 </div>
1056
1057 <div class="method">
1058 <code class="details" id="listlinks_next">listlinks_next()</code>
1059 <pre>Retrieves the next page of results.
1060
1061 Args:
1062 previous_request: The request for the previous page. (required)
1063 previous_response: The response from the request for the previous page. (required)
1064
1065 Returns:
1066 A request object that you can call &#x27;execute()&#x27; on to request the next
1067 page. Returns None if there are no more items in the collection.
1068 </pre>
1069 </div>
1070
1071 <div class="method">
1072 <code class="details" id="requestphoneverification">requestphoneverification(merchantId, accountId, body=None, x__xgafv=None)</code>
1073 <pre>Request verification code to start phone verification.
1074
1075 Args:
1076 merchantId: string, Required. 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)
1077 accountId: string, Required. The ID of the account. (required)
1078 body: object, The request body.
1079 The object takes the form of:
1080
1081 { # Request message for the RequestPhoneVerification method.
1082 &quot;languageCode&quot;: &quot;A String&quot;, # Language code [IETF BCP 47 syntax](https://tools.ietf.org/html/bcp47) (for example, en-US). Language code is used to provide localized `SMS` and `PHONE_CALL`. Default language used is en-US if not provided.
1083 &quot;phoneNumber&quot;: &quot;A String&quot;, # Phone number to be verified.
1084 &quot;phoneRegionCode&quot;: &quot;A String&quot;, # Required. Two letter country code for the phone number, for example `CA` for Canadian numbers. See the [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) officially assigned codes.
1085 &quot;phoneVerificationMethod&quot;: &quot;A String&quot;, # Verification method to receive verification code.
1086 }
1087
1088 x__xgafv: string, V1 error format.
1089 Allowed values
1090 1 - v1 error format
1091 2 - v2 error format
1092
1093 Returns:
1094 An object of the form:
1095
1096 { # Response message for the RequestPhoneVerification method.
1097 &quot;verificationId&quot;: &quot;A String&quot;, # The verification ID to use in subsequent calls to `verifyphonenumber`.
1098 }</pre>
1099 </div>
1100
1101 <div class="method">
1102 <code class="details" id="update">update(merchantId, accountId, body=None, x__xgafv=None)</code>
1103 <pre>Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.
1104
1105 Args:
1106 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)
1107 accountId: string, The ID of the account. (required)
1108 body: object, The request body.
1109 The object takes the form of:
1110
1111 { # Account data. After the creation of a new account it may take a few minutes before it&#x27;s fully operational. The methods delete, insert, and update require the admin role.
1112 &quot;accountManagement&quot;: &quot;A String&quot;, # Output only. How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
1113 &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 Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.
1114 {
1115 &quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
1116 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
1117 },
1118 ],
1119 &quot;adultContent&quot;: True or False, # Indicates whether the merchant sells adult content.
1120 &quot;automaticImprovements&quot;: { # The automatic improvements of the account can be used to automatically update items, improve images and shipping. # The automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately.
1121 &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided.
1122 &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Determines how the images should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
1123 &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
1124 },
1125 &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
1126 },
1127 &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided.
1128 &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Determines which attributes of the items should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
1129 &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
1130 &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
1131 &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
1132 &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also allow availability updates.
1133 },
1134 &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
1135 &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
1136 &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
1137 &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
1138 },
1139 &quot;shippingImprovements&quot;: { # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: - Delivery address of an order - Current handling time and shipping time settings - Estimated weekdays or business days - Parcel tracking data This field is only updated (cleared) if provided.
1140 &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
1141 },
1142 },
1143 &quot;automaticLabelIds&quot;: [ # Automatically created label IDs that are assigned to the account by CSS Center.
1144 &quot;A String&quot;,
1145 ],
1146 &quot;businessIdentity&quot;: { # The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business. # The business identity attributes can be used to self-declare attributes that let customers know more about your business.
1147 &quot;blackOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
1148 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
1149 },
1150 &quot;includeForPromotions&quot;: True or False, # Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won&#x27;t affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.
1151 &quot;latinoOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
1152 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
1153 },
1154 &quot;smallBusiness&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to &quot;US&quot;. It is also not allowed for marketplaces, but it is allowed to marketplace sellers.
1155 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
1156 },
1157 &quot;veteranOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
1158 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
1159 },
1160 &quot;womenOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
1161 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
1162 },
1163 },
1164 &quot;businessInformation&quot;: { # The business information of the account.
1165 &quot;address&quot;: { # The address of the business. Use `\n` to add a second address line.
1166 &quot;country&quot;: &quot;A String&quot;, # CLDR country code (for example, &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
1167 &quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
1168 &quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (for example, &quot;94043&quot;).
1169 &quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
1170 &quot;streetAddress&quot;: &quot;A String&quot;, # Street-level part of the address. Use `\n` to add a second line.
1171 },
1172 &quot;customerService&quot;: { # The customer service information of the business.
1173 &quot;email&quot;: &quot;A String&quot;, # Customer service email.
1174 &quot;phoneNumber&quot;: &quot;A String&quot;, # Customer service phone number.
1175 &quot;url&quot;: &quot;A String&quot;, # Customer service URL.
1176 },
1177 &quot;koreanBusinessRegistrationNumber&quot;: &quot;A String&quot;, # The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.
1178 &quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the business in [E.164](https://en.wikipedia.org/wiki/E.164) format. This can only be updated if a verified phone number is not already set. To replace a verified phone number use the `Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.
1179 &quot;phoneVerificationStatus&quot;: &quot;A String&quot;, # Verification status of the phone number of the business. This status is read only and can be updated only by successful phone verification. Acceptable values are: - &quot;`verified`&quot; - &quot;`unverified`&quot;
1180 },
1181 &quot;conversionSettings&quot;: { # Settings for conversion tracking. # Settings for conversion tracking.
1182 &quot;freeListingsAutoTaggingEnabled&quot;: True or False, # When enabled, free listing URLs have a parameter to enable conversion tracking for products owned by the current merchant account. See [auto-tagging](https://support.google.com/merchants/answer/11127659).
1183 },
1184 &quot;cssId&quot;: &quot;A String&quot;, # ID of CSS the account belongs to.
1185 &quot;googleMyBusinessLink&quot;: { # The Business Profile which is linked or in the process of being linked with the Merchant Center account.
1186 &quot;gmbAccountId&quot;: &quot;A String&quot;, # The ID of the Business Profile. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the Business Profile API.
1187 &quot;gmbEmail&quot;: &quot;A String&quot;, # The Business Profile email address of a specific account within a Business Profile. A sample account within a Business Profile could be a business account with set of locations, managed under the Business Profile.
1188 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Business Profile. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
1189 },
1190 &quot;id&quot;: &quot;A String&quot;, # Required. 64-bit Merchant Center account ID.
1191 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#account`&quot;.
1192 &quot;labelIds&quot;: [ # Manually created label IDs that are assigned to the account by CSS.
1193 &quot;A String&quot;,
1194 ],
1195 &quot;name&quot;: &quot;A String&quot;, # Required. Display name for the account.
1196 &quot;sellerId&quot;: &quot;A String&quot;, # Client-specific, locally-unique, internal ID for the child account.
1197 &quot;users&quot;: [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
1198 {
1199 &quot;admin&quot;: True or False, # Whether user is an admin.
1200 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
1201 &quot;orderManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
1202 &quot;paymentsAnalyst&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
1203 &quot;paymentsManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
1204 &quot;readOnly&quot;: True or False, # Optional. Whether user has standard read-only access.
1205 &quot;reportingManager&quot;: True or False, # Whether user is a reporting manager. This role is equivalent to the Performance and insights role in Merchant Center.
1206 },
1207 ],
1208 &quot;websiteUrl&quot;: &quot;A String&quot;, # The merchant&#x27;s website.
1209 &quot;youtubeChannelLinks&quot;: [ # Linked YouTube channels 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 in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
1210 {
1211 &quot;channelId&quot;: &quot;A String&quot;, # Channel ID.
1212 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.
1213 },
1214 ],
1215 }
1216
1217 x__xgafv: string, V1 error format.
1218 Allowed values
1219 1 - v1 error format
1220 2 - v2 error format
1221
1222 Returns:
1223 An object of the form:
1224
1225 { # Account data. After the creation of a new account it may take a few minutes before it&#x27;s fully operational. The methods delete, insert, and update require the admin role.
1226 &quot;accountManagement&quot;: &quot;A String&quot;, # Output only. How the account is managed. Acceptable values are: - &quot;`manual`&quot; - &quot;`automatic`&quot;
1227 &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 Google Ads API. To delete an active link, or to cancel a link request, remove it from the list.
1228 {
1229 &quot;adsId&quot;: &quot;A String&quot;, # Customer ID of the Ads account.
1230 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Ads account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google Ads or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
1231 },
1232 ],
1233 &quot;adultContent&quot;: True or False, # Indicates whether the merchant sells adult content.
1234 &quot;automaticImprovements&quot;: { # The automatic improvements of the account can be used to automatically update items, improve images and shipping. # The automatic improvements of the account can be used to automatically update items, improve images and shipping. Each section inside AutomaticImprovements is updated separately.
1235 &quot;imageImprovements&quot;: { # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) # This improvement will attempt to automatically correct submitted images if they don&#x27;t meet the [image requirements](https://support.google.com/merchants/answer/6324350), for example, removing overlays. If successful, the image will be replaced and approved. This improvement is only applied to images of disapproved offers. For more information see: [Automatic image improvements](https://support.google.com/merchants/answer/9242973) This field is only updated (cleared) if provided.
1236 &quot;accountImageImprovementsSettings&quot;: { # Settings for the Automatic Image Improvements. # Determines how the images should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
1237 &quot;allowAutomaticImageImprovements&quot;: True or False, # Enables automatic image improvements.
1238 },
1239 &quot;effectiveAllowAutomaticImageImprovements&quot;: True or False, # Output only. The effective value of allow_automatic_image_improvements. If account_image_improvements_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
1240 },
1241 &quot;itemUpdates&quot;: { # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. # Turning on [item updates](https://support.google.com/merchants/answer/3246284) allows Google to automatically update items for you. When item updates are on, Google uses the structured data markup on the website and advanced data extractors to update the price and availability of the items. When the item updates are off, items with mismatched data aren&#x27;t shown. This field is only updated (cleared) if provided.
1242 &quot;accountItemUpdatesSettings&quot;: { # Settings for the Automatic Item Updates. # Determines which attributes of the items should be automatically updated. If this field is not present, then the settings will be deleted. If there are no settings for subaccount, they are inherited from aggregator.
1243 &quot;allowAvailabilityUpdates&quot;: True or False, # If availability updates are enabled, any previous availability values get overwritten if Google finds an out-of-stock annotation on the offer&#x27;s page. If additionally `allow_availability_updates` field is set to true, values get overwritten if Google finds an in-stock annotation on the offer’s page.
1244 &quot;allowConditionUpdates&quot;: True or False, # If condition updates are enabled, Google always updates item condition with the condition detected from the details of your product.
1245 &quot;allowPriceUpdates&quot;: True or False, # If price updates are enabled, Google always updates the active price with the crawled information.
1246 &quot;allowStrictAvailabilityUpdates&quot;: True or False, # If allow_availability_updates is enabled, items are automatically updated in all your Shopping target countries. By default, availability updates will only be applied to items that are &#x27;out of stock&#x27; on your website but &#x27;in stock&#x27; on Shopping. Set this to true to also update items that are &#x27;in stock&#x27; on your website, but &#x27;out of stock&#x27; on Google Shopping. In order for this field to have an effect, you must also allow availability updates.
1247 },
1248 &quot;effectiveAllowAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
1249 &quot;effectiveAllowConditionUpdates&quot;: True or False, # Output only. The effective value of allow_condition_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
1250 &quot;effectiveAllowPriceUpdates&quot;: True or False, # Output only. The effective value of allow_price_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
1251 &quot;effectiveAllowStrictAvailabilityUpdates&quot;: True or False, # Output only. The effective value of allow_strict_availability_updates. If account_item_updates_settings is present, then this value is the same. Otherwise, it represents the inherited value of the parent account. Read-only.
1252 },
1253 &quot;shippingImprovements&quot;: { # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: * Delivery address of an order * Current handling time and shipping time settings * Estimated weekdays or business days * Parcel tracking data # Not available for MCAs [accounts](https://support.google.com/merchants/answer/188487). By turning on [automatic shipping improvements](https://support.google.com/merchants/answer/10027038), you are allowing Google to improve the accuracy of your delivery times shown to shoppers using Google. More accurate delivery times, especially when faster, typically lead to better conversion rates. Google will improve your estimated delivery times based on various factors: - Delivery address of an order - Current handling time and shipping time settings - Estimated weekdays or business days - Parcel tracking data This field is only updated (cleared) if provided.
1254 &quot;allowShippingImprovements&quot;: True or False, # Enables automatic shipping improvements.
1255 },
1256 },
1257 &quot;automaticLabelIds&quot;: [ # Automatically created label IDs that are assigned to the account by CSS Center.
1258 &quot;A String&quot;,
1259 ],
1260 &quot;businessIdentity&quot;: { # The [business identity attributes](https://support.google.com/merchants/answer/10342414) can be used to self-declare attributes that let customers know more about your business. # The business identity attributes can be used to self-declare attributes that let customers know more about your business.
1261 &quot;blackOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being black-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
1262 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
1263 },
1264 &quot;includeForPromotions&quot;: True or False, # Required. By setting this field, your business may be included in promotions for all the selected attributes. If you clear this option, it won&#x27;t affect your identification with any of the attributes. For this field to be set, the merchant must self identify with at least one of the `AccountIdentityType`. If none are included, the request will be considered invalid.
1265 &quot;latinoOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being latino-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
1266 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
1267 },
1268 &quot;smallBusiness&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as a small business. This optional field is only available for merchants with a business country set to &quot;US&quot;. It is also not allowed for marketplaces, but it is allowed to marketplace sellers.
1269 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
1270 },
1271 &quot;veteranOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being veteran-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
1272 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
1273 },
1274 &quot;womenOwned&quot;: { # The account identity type used to specify attributes. # Specifies whether the business identifies itself as being women-owned. This optional field is only available for merchants with a business country set to &quot;US&quot;. This field is not allowed for marketplaces or marketplace sellers.
1275 &quot;selfIdentified&quot;: True or False, # Optional. Indicates that the business identifies itself with a given identity type. Setting this field does not automatically mean eligibility for promotions.
1276 },
1277 },
1278 &quot;businessInformation&quot;: { # The business information of the account.
1279 &quot;address&quot;: { # The address of the business. Use `\n` to add a second address line.
1280 &quot;country&quot;: &quot;A String&quot;, # CLDR country code (for example, &quot;US&quot;). All MCA sub-accounts inherit the country of their parent MCA by default, however the country can be updated for individual sub-accounts.
1281 &quot;locality&quot;: &quot;A String&quot;, # City, town or commune. May also include dependent localities or sublocalities (for example, neighborhoods or suburbs).
1282 &quot;postalCode&quot;: &quot;A String&quot;, # Postal code or ZIP (for example, &quot;94043&quot;).
1283 &quot;region&quot;: &quot;A String&quot;, # Top-level administrative subdivision of the country. For example, a state like California (&quot;CA&quot;) or a province like Quebec (&quot;QC&quot;).
1284 &quot;streetAddress&quot;: &quot;A String&quot;, # Street-level part of the address. Use `\n` to add a second line.
1285 },
1286 &quot;customerService&quot;: { # The customer service information of the business.
1287 &quot;email&quot;: &quot;A String&quot;, # Customer service email.
1288 &quot;phoneNumber&quot;: &quot;A String&quot;, # Customer service phone number.
1289 &quot;url&quot;: &quot;A String&quot;, # Customer service URL.
1290 },
1291 &quot;koreanBusinessRegistrationNumber&quot;: &quot;A String&quot;, # The 10-digit [Korean business registration number](https://support.google.com/merchants/answer/9037766) separated with dashes in the format: XXX-XX-XXXXX. This field will only be updated if explicitly set.
1292 &quot;phoneNumber&quot;: &quot;A String&quot;, # The phone number of the business in [E.164](https://en.wikipedia.org/wiki/E.164) format. This can only be updated if a verified phone number is not already set. To replace a verified phone number use the `Accounts.requestphoneverification` and `Accounts.verifyphonenumber`.
1293 &quot;phoneVerificationStatus&quot;: &quot;A String&quot;, # Verification status of the phone number of the business. This status is read only and can be updated only by successful phone verification. Acceptable values are: - &quot;`verified`&quot; - &quot;`unverified`&quot;
1294 },
1295 &quot;conversionSettings&quot;: { # Settings for conversion tracking. # Settings for conversion tracking.
1296 &quot;freeListingsAutoTaggingEnabled&quot;: True or False, # When enabled, free listing URLs have a parameter to enable conversion tracking for products owned by the current merchant account. See [auto-tagging](https://support.google.com/merchants/answer/11127659).
1297 },
1298 &quot;cssId&quot;: &quot;A String&quot;, # ID of CSS the account belongs to.
1299 &quot;googleMyBusinessLink&quot;: { # The Business Profile which is linked or in the process of being linked with the Merchant Center account.
1300 &quot;gmbAccountId&quot;: &quot;A String&quot;, # The ID of the Business Profile. If this is provided, then `gmbEmail` is ignored. The value of this field should match the `accountId` used by the Business Profile API.
1301 &quot;gmbEmail&quot;: &quot;A String&quot;, # The Business Profile email address of a specific account within a Business Profile. A sample account within a Business Profile could be a business account with set of locations, managed under the Business Profile.
1302 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the Business Profile. Acceptable values are: - &quot;`active`&quot; - &quot;`pending`&quot;
1303 },
1304 &quot;id&quot;: &quot;A String&quot;, # Required. 64-bit Merchant Center account ID.
1305 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#account`&quot;.
1306 &quot;labelIds&quot;: [ # Manually created label IDs that are assigned to the account by CSS.
1307 &quot;A String&quot;,
1308 ],
1309 &quot;name&quot;: &quot;A String&quot;, # Required. Display name for the account.
1310 &quot;sellerId&quot;: &quot;A String&quot;, # Client-specific, locally-unique, internal ID for the child account.
1311 &quot;users&quot;: [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user.
1312 {
1313 &quot;admin&quot;: True or False, # Whether user is an admin.
1314 &quot;emailAddress&quot;: &quot;A String&quot;, # User&#x27;s email address.
1315 &quot;orderManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
1316 &quot;paymentsAnalyst&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
1317 &quot;paymentsManager&quot;: True or False, # This role is deprecated and can no longer be assigned. Any value set will be ignored.
1318 &quot;readOnly&quot;: True or False, # Optional. Whether user has standard read-only access.
1319 &quot;reportingManager&quot;: True or False, # Whether user is a reporting manager. This role is equivalent to the Performance and insights role in Merchant Center.
1320 },
1321 ],
1322 &quot;websiteUrl&quot;: &quot;A String&quot;, # The merchant&#x27;s website.
1323 &quot;youtubeChannelLinks&quot;: [ # Linked YouTube channels 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 in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list.
1324 {
1325 &quot;channelId&quot;: &quot;A String&quot;, # Channel ID.
1326 &quot;status&quot;: &quot;A String&quot;, # Status of the link between this Merchant Center account and the YouTube channel. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in YT Creator Studio or `pending` if it&#x27;s pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it&#x27;s still pending or with status `pending` when it&#x27;s already active will have no effect: the status will remain unchanged. Re-uploading a link with deprecated status `inactive` is equivalent to not submitting the link at all and will delete the link if it was active or cancel the link request if it was pending.
1327 },
1328 ],
1329 }</pre>
1330 </div>
1331
1332 <div class="method">
1333 <code class="details" id="updatelabels">updatelabels(merchantId, accountId, body=None, x__xgafv=None)</code>
1334 <pre>Updates labels that are assigned to the Merchant Center account by CSS user.
1335
1336 Args:
1337 merchantId: string, The ID of the managing account. (required)
1338 accountId: string, The ID of the account whose labels are updated. (required)
1339 body: object, The request body.
1340 The object takes the form of:
1341
1342 {
1343 &quot;labelIds&quot;: [ # The IDs of labels that should be assigned to the account.
1344 &quot;A String&quot;,
1345 ],
1346 }
1347
1348 x__xgafv: string, V1 error format.
1349 Allowed values
1350 1 - v1 error format
1351 2 - v2 error format
1352
1353 Returns:
1354 An object of the form:
1355
1356 {
1357 &quot;kind&quot;: &quot;A String&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;`content#accountsUpdateLabelsResponse`&quot;.
1358 }</pre>
1359 </div>
1360
1361 <div class="method">
1362 <code class="details" id="verifyphonenumber">verifyphonenumber(merchantId, accountId, body=None, x__xgafv=None)</code>
1363 <pre>Validates verification code to verify phone number for the account. If successful this will overwrite the value of `accounts.businessinformation.phoneNumber`. Only verified phone number will replace an existing verified phone number.
1364
1365 Args:
1366 merchantId: string, Required. 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)
1367 accountId: string, Required. The ID of the account. (required)
1368 body: object, The request body.
1369 The object takes the form of:
1370
1371 { # Request message for the VerifyPhoneNumber method.
1372 &quot;phoneVerificationMethod&quot;: &quot;A String&quot;, # Verification method used to receive verification code.
1373 &quot;verificationCode&quot;: &quot;A String&quot;, # The verification code that was sent to the phone number for validation.
1374 &quot;verificationId&quot;: &quot;A String&quot;, # The verification ID returned by `requestphoneverification`.
1375 }
1376
1377 x__xgafv: string, V1 error format.
1378 Allowed values
1379 1 - v1 error format
1380 2 - v2 error format
1381
1382 Returns:
1383 An object of the form:
1384
1385 { # Response message for the VerifyPhoneNumber method.
1386 &quot;verifiedPhoneNumber&quot;: &quot;A String&quot;, # Verified phone number if verification is successful. This phone number can only be replaced by another verified phone number.
1387 }</pre>
1388 </div>
1389
1390 </body></html>