1<html><body> 2<style> 3 4body, 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 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, 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.html">Content API for Shopping</a> . <a href="content_v2.accounts.html">accounts</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#authinfo">authinfo(x__xgafv=None)</a></code></p> 79<p class="firstline">Returns information about the authenticated user.</p> 80<p class="toc_element"> 81 <code><a href="#claimwebsite">claimwebsite(merchantId, accountId, overwrite=None, x__xgafv=None)</a></code></p> 82<p class="firstline">Claims the website of a Merchant Center sub-account.</p> 83<p class="toc_element"> 84 <code><a href="#close">close()</a></code></p> 85<p class="firstline">Close httplib2 connections.</p> 86<p class="toc_element"> 87 <code><a href="#custombatch">custombatch(body=None, dryRun=None, x__xgafv=None)</a></code></p> 88<p class="firstline">Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.</p> 89<p class="toc_element"> 90 <code><a href="#delete">delete(merchantId, accountId, dryRun=None, force=None, x__xgafv=None)</a></code></p> 91<p class="firstline">Deletes a Merchant Center sub-account.</p> 92<p class="toc_element"> 93 <code><a href="#get">get(merchantId, accountId, x__xgafv=None)</a></code></p> 94<p class="firstline">Retrieves a Merchant Center account.</p> 95<p class="toc_element"> 96 <code><a href="#insert">insert(merchantId, body=None, dryRun=None, x__xgafv=None)</a></code></p> 97<p class="firstline">Creates a Merchant Center sub-account.</p> 98<p class="toc_element"> 99 <code><a href="#link">link(merchantId, accountId, body=None, x__xgafv=None)</a></code></p> 100<p class="firstline">Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.</p> 101<p class="toc_element"> 102 <code><a href="#list">list(merchantId, maxResults=None, pageToken=None, x__xgafv=None)</a></code></p> 103<p class="firstline">Lists the sub-accounts in your Merchant Center account.</p> 104<p class="toc_element"> 105 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 106<p class="firstline">Retrieves the next page of results.</p> 107<p class="toc_element"> 108 <code><a href="#update">update(merchantId, accountId, body=None, dryRun=None, x__xgafv=None)</a></code></p> 109<p class="firstline">Updates a Merchant Center account. Any fields that are not provided are deleted from the resource.</p> 110<h3>Method Details</h3> 111<div class="method"> 112 <code class="details" id="authinfo">authinfo(x__xgafv=None)</code> 113 <pre>Returns information about the authenticated user. 114 115Args: 116 x__xgafv: string, V1 error format. 117 Allowed values 118 1 - v1 error format 119 2 - v2 error format 120 121Returns: 122 An object of the form: 123 124 { 125 "accountIdentifiers": [ # 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. 126 { 127 "aggregatorId": "A String", # The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount). 128 "merchantId": "A String", # The merchant account ID, set for individual accounts and subaccounts. 129 }, 130 ], 131 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#accountsAuthInfoResponse". 132}</pre> 133</div> 134 135<div class="method"> 136 <code class="details" id="claimwebsite">claimwebsite(merchantId, accountId, overwrite=None, x__xgafv=None)</code> 137 <pre>Claims the website of a Merchant Center sub-account. 138 139Args: 140 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) 141 accountId: string, The ID of the account whose website is claimed. (required) 142 overwrite: boolean, Only available to selected merchants. When set to `True`, this flag removes any existing claim on the requested website by another account and replaces it with a claim from this account. 143 x__xgafv: string, V1 error format. 144 Allowed values 145 1 - v1 error format 146 2 - v2 error format 147 148Returns: 149 An object of the form: 150 151 { 152 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#accountsClaimWebsiteResponse". 153}</pre> 154</div> 155 156<div class="method"> 157 <code class="details" id="close">close()</code> 158 <pre>Close httplib2 connections.</pre> 159</div> 160 161<div class="method"> 162 <code class="details" id="custombatch">custombatch(body=None, dryRun=None, x__xgafv=None)</code> 163 <pre>Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request. 164 165Args: 166 body: object, The request body. 167 The object takes the form of: 168 169{ 170 "entries": [ # The request entries to be processed in the batch. 171 { # A batch entry encoding a single non-batch accounts request. 172 "account": { # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role. # The account to create or update. Only defined if the method is `insert` or `update`. 173 "adultContent": True or False, # Indicates whether the merchant sells adult content. 174 "adwordsLinks": [ # List of linked AdWords 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 AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list. 175 { 176 "adwordsId": "A String", # Customer ID of the AdWords account. 177 "status": "A String", # Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google AdWords or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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: - "`active`" - "`pending`" 178 }, 179 ], 180 "businessInformation": { # The business information of the account. 181 "address": { # The address of the business. 182 "country": "A String", # CLDR country code (e.g. "US"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA. 183 "locality": "A String", # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). 184 "postalCode": "A String", # Postal code or ZIP (e.g. "94043"). 185 "region": "A String", # Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). 186 "streetAddress": "A String", # Street-level part of the address. 187 }, 188 "customerService": { # The customer service information of the business. 189 "email": "A String", # Customer service email. 190 "phoneNumber": "A String", # Customer service phone number. 191 "url": "A String", # Customer service URL. 192 }, 193 "koreanBusinessRegistrationNumber": "A String", # 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. 194 "phoneNumber": "A String", # The phone number of the business. 195 }, 196 "googleMyBusinessLink": { # The GMB account which is linked or in the process of being linked with the Merchant Center account. 197 "gmbEmail": "A String", # The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account. 198 "status": "A String", # Status of the link between this Merchant Center account and the GMB account. Acceptable values are: - "`active`" - "`pending`" 199 }, 200 "id": "A String", # Required for update. Merchant Center account ID. 201 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#account`" 202 "name": "A String", # Required. Display name for the account. 203 "reviewsUrl": "A String", # [DEPRECATED] This field is never returned and will be ignored if provided. 204 "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account. 205 "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user. 206 { 207 "admin": True or False, # Whether user is an admin. 208 "emailAddress": "A String", # User's email address. 209 "orderManager": True or False, # Whether user is an order manager. 210 "paymentsAnalyst": True or False, # Whether user can access payment statements. 211 "paymentsManager": True or False, # Whether user can manage payment settings. 212 }, 213 ], 214 "websiteUrl": "A String", # The merchant's website. 215 "youtubeChannelLinks": [ # List of 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. 216 { 217 "channelId": "A String", # Channel ID. 218 "status": "A String", # 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's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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. 219 }, 220 ], 221 }, 222 "accountId": "A String", # The ID of the targeted account. Only defined if the method is not `insert`. 223 "batchId": 42, # An entry ID, unique within the batch request. 224 "force": True or False, # Whether the account should be deleted if the account has offers. Only applicable if the method is `delete`. 225 "labelIds": [ # Label IDs for the 'updatelabels' request. 226 "A String", 227 ], 228 "linkRequest": { # Details about the `link` request. 229 "action": "A String", # Action to perform for this link. The `"request"` action is only available to select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`request`" 230 "linkType": "A String", # Type of the link between the two accounts. Acceptable values are: - "`channelPartner`" - "`eCommercePlatform`" 231 "linkedAccountId": "A String", # The ID of the linked account. 232 }, 233 "merchantId": "A String", # The ID of the managing account. 234 "method": "A String", # The method of the batch entry. Acceptable values are: - "`claimWebsite`" - "`delete`" - "`get`" - "`insert`" - "`link`" - "`update`" 235 "overwrite": 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. 236 }, 237 ], 238} 239 240 dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). 241 x__xgafv: string, V1 error format. 242 Allowed values 243 1 - v1 error format 244 2 - v2 error format 245 246Returns: 247 An object of the form: 248 249 { 250 "entries": [ # The result of the execution of the batch requests. 251 { # A batch entry encoding a single non-batch accounts response. 252 "account": { # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role. # The retrieved, created, or updated account. Not defined if the method was `delete`, `claimwebsite` or `link`. 253 "adultContent": True or False, # Indicates whether the merchant sells adult content. 254 "adwordsLinks": [ # List of linked AdWords 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 AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list. 255 { 256 "adwordsId": "A String", # Customer ID of the AdWords account. 257 "status": "A String", # Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google AdWords or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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: - "`active`" - "`pending`" 258 }, 259 ], 260 "businessInformation": { # The business information of the account. 261 "address": { # The address of the business. 262 "country": "A String", # CLDR country code (e.g. "US"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA. 263 "locality": "A String", # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). 264 "postalCode": "A String", # Postal code or ZIP (e.g. "94043"). 265 "region": "A String", # Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). 266 "streetAddress": "A String", # Street-level part of the address. 267 }, 268 "customerService": { # The customer service information of the business. 269 "email": "A String", # Customer service email. 270 "phoneNumber": "A String", # Customer service phone number. 271 "url": "A String", # Customer service URL. 272 }, 273 "koreanBusinessRegistrationNumber": "A String", # 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. 274 "phoneNumber": "A String", # The phone number of the business. 275 }, 276 "googleMyBusinessLink": { # The GMB account which is linked or in the process of being linked with the Merchant Center account. 277 "gmbEmail": "A String", # The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account. 278 "status": "A String", # Status of the link between this Merchant Center account and the GMB account. Acceptable values are: - "`active`" - "`pending`" 279 }, 280 "id": "A String", # Required for update. Merchant Center account ID. 281 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#account`" 282 "name": "A String", # Required. Display name for the account. 283 "reviewsUrl": "A String", # [DEPRECATED] This field is never returned and will be ignored if provided. 284 "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account. 285 "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user. 286 { 287 "admin": True or False, # Whether user is an admin. 288 "emailAddress": "A String", # User's email address. 289 "orderManager": True or False, # Whether user is an order manager. 290 "paymentsAnalyst": True or False, # Whether user can access payment statements. 291 "paymentsManager": True or False, # Whether user can manage payment settings. 292 }, 293 ], 294 "websiteUrl": "A String", # The merchant's website. 295 "youtubeChannelLinks": [ # List of 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. 296 { 297 "channelId": "A String", # Channel ID. 298 "status": "A String", # 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's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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. 299 }, 300 ], 301 }, 302 "batchId": 42, # The ID of the request entry this entry responds to. 303 "errors": { # A list of errors returned by a failed batch entry. # A list of errors defined if and only if the request failed. 304 "code": 42, # The HTTP status of the first error in `errors`. 305 "errors": [ # A list of errors. 306 { # An error returned by the API. 307 "domain": "A String", # The domain of the error. 308 "message": "A String", # A description of the error. 309 "reason": "A String", # The error code. 310 }, 311 ], 312 "message": "A String", # The message of the first error in `errors`. 313 }, 314 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#accountsCustomBatchResponseEntry`" 315 "linkStatus": "A String", # Deprecated. This field is never set. Acceptable values are: - "`active`" - "`inactive`" - "`pending`" 316 }, 317 ], 318 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#accountsCustomBatchResponse". 319}</pre> 320</div> 321 322<div class="method"> 323 <code class="details" id="delete">delete(merchantId, accountId, dryRun=None, force=None, x__xgafv=None)</code> 324 <pre>Deletes a Merchant Center sub-account. 325 326Args: 327 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) 328 accountId: string, The ID of the account. (required) 329 dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). 330 force: boolean, Flag to delete sub-accounts with products. The default value is false. 331 x__xgafv: string, V1 error format. 332 Allowed values 333 1 - v1 error format 334 2 - v2 error format 335</pre> 336</div> 337 338<div class="method"> 339 <code class="details" id="get">get(merchantId, accountId, x__xgafv=None)</code> 340 <pre>Retrieves a Merchant Center account. 341 342Args: 343 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) 344 accountId: string, The ID of the account. (required) 345 x__xgafv: string, V1 error format. 346 Allowed values 347 1 - v1 error format 348 2 - v2 error format 349 350Returns: 351 An object of the form: 352 353 { # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role. 354 "adultContent": True or False, # Indicates whether the merchant sells adult content. 355 "adwordsLinks": [ # List of linked AdWords 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 AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list. 356 { 357 "adwordsId": "A String", # Customer ID of the AdWords account. 358 "status": "A String", # Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google AdWords or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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: - "`active`" - "`pending`" 359 }, 360 ], 361 "businessInformation": { # The business information of the account. 362 "address": { # The address of the business. 363 "country": "A String", # CLDR country code (e.g. "US"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA. 364 "locality": "A String", # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). 365 "postalCode": "A String", # Postal code or ZIP (e.g. "94043"). 366 "region": "A String", # Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). 367 "streetAddress": "A String", # Street-level part of the address. 368 }, 369 "customerService": { # The customer service information of the business. 370 "email": "A String", # Customer service email. 371 "phoneNumber": "A String", # Customer service phone number. 372 "url": "A String", # Customer service URL. 373 }, 374 "koreanBusinessRegistrationNumber": "A String", # 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. 375 "phoneNumber": "A String", # The phone number of the business. 376 }, 377 "googleMyBusinessLink": { # The GMB account which is linked or in the process of being linked with the Merchant Center account. 378 "gmbEmail": "A String", # The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account. 379 "status": "A String", # Status of the link between this Merchant Center account and the GMB account. Acceptable values are: - "`active`" - "`pending`" 380 }, 381 "id": "A String", # Required for update. Merchant Center account ID. 382 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#account`" 383 "name": "A String", # Required. Display name for the account. 384 "reviewsUrl": "A String", # [DEPRECATED] This field is never returned and will be ignored if provided. 385 "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account. 386 "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user. 387 { 388 "admin": True or False, # Whether user is an admin. 389 "emailAddress": "A String", # User's email address. 390 "orderManager": True or False, # Whether user is an order manager. 391 "paymentsAnalyst": True or False, # Whether user can access payment statements. 392 "paymentsManager": True or False, # Whether user can manage payment settings. 393 }, 394 ], 395 "websiteUrl": "A String", # The merchant's website. 396 "youtubeChannelLinks": [ # List of 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. 397 { 398 "channelId": "A String", # Channel ID. 399 "status": "A String", # 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's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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. 400 }, 401 ], 402}</pre> 403</div> 404 405<div class="method"> 406 <code class="details" id="insert">insert(merchantId, body=None, dryRun=None, x__xgafv=None)</code> 407 <pre>Creates a Merchant Center sub-account. 408 409Args: 410 merchantId: string, The ID of the managing account. This must be a multi-client account. (required) 411 body: object, The request body. 412 The object takes the form of: 413 414{ # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role. 415 "adultContent": True or False, # Indicates whether the merchant sells adult content. 416 "adwordsLinks": [ # List of linked AdWords 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 AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list. 417 { 418 "adwordsId": "A String", # Customer ID of the AdWords account. 419 "status": "A String", # Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google AdWords or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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: - "`active`" - "`pending`" 420 }, 421 ], 422 "businessInformation": { # The business information of the account. 423 "address": { # The address of the business. 424 "country": "A String", # CLDR country code (e.g. "US"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA. 425 "locality": "A String", # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). 426 "postalCode": "A String", # Postal code or ZIP (e.g. "94043"). 427 "region": "A String", # Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). 428 "streetAddress": "A String", # Street-level part of the address. 429 }, 430 "customerService": { # The customer service information of the business. 431 "email": "A String", # Customer service email. 432 "phoneNumber": "A String", # Customer service phone number. 433 "url": "A String", # Customer service URL. 434 }, 435 "koreanBusinessRegistrationNumber": "A String", # 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. 436 "phoneNumber": "A String", # The phone number of the business. 437 }, 438 "googleMyBusinessLink": { # The GMB account which is linked or in the process of being linked with the Merchant Center account. 439 "gmbEmail": "A String", # The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account. 440 "status": "A String", # Status of the link between this Merchant Center account and the GMB account. Acceptable values are: - "`active`" - "`pending`" 441 }, 442 "id": "A String", # Required for update. Merchant Center account ID. 443 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#account`" 444 "name": "A String", # Required. Display name for the account. 445 "reviewsUrl": "A String", # [DEPRECATED] This field is never returned and will be ignored if provided. 446 "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account. 447 "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user. 448 { 449 "admin": True or False, # Whether user is an admin. 450 "emailAddress": "A String", # User's email address. 451 "orderManager": True or False, # Whether user is an order manager. 452 "paymentsAnalyst": True or False, # Whether user can access payment statements. 453 "paymentsManager": True or False, # Whether user can manage payment settings. 454 }, 455 ], 456 "websiteUrl": "A String", # The merchant's website. 457 "youtubeChannelLinks": [ # List of 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. 458 { 459 "channelId": "A String", # Channel ID. 460 "status": "A String", # 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's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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. 461 }, 462 ], 463} 464 465 dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). 466 x__xgafv: string, V1 error format. 467 Allowed values 468 1 - v1 error format 469 2 - v2 error format 470 471Returns: 472 An object of the form: 473 474 { # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role. 475 "adultContent": True or False, # Indicates whether the merchant sells adult content. 476 "adwordsLinks": [ # List of linked AdWords 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 AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list. 477 { 478 "adwordsId": "A String", # Customer ID of the AdWords account. 479 "status": "A String", # Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google AdWords or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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: - "`active`" - "`pending`" 480 }, 481 ], 482 "businessInformation": { # The business information of the account. 483 "address": { # The address of the business. 484 "country": "A String", # CLDR country code (e.g. "US"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA. 485 "locality": "A String", # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). 486 "postalCode": "A String", # Postal code or ZIP (e.g. "94043"). 487 "region": "A String", # Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). 488 "streetAddress": "A String", # Street-level part of the address. 489 }, 490 "customerService": { # The customer service information of the business. 491 "email": "A String", # Customer service email. 492 "phoneNumber": "A String", # Customer service phone number. 493 "url": "A String", # Customer service URL. 494 }, 495 "koreanBusinessRegistrationNumber": "A String", # 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. 496 "phoneNumber": "A String", # The phone number of the business. 497 }, 498 "googleMyBusinessLink": { # The GMB account which is linked or in the process of being linked with the Merchant Center account. 499 "gmbEmail": "A String", # The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account. 500 "status": "A String", # Status of the link between this Merchant Center account and the GMB account. Acceptable values are: - "`active`" - "`pending`" 501 }, 502 "id": "A String", # Required for update. Merchant Center account ID. 503 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#account`" 504 "name": "A String", # Required. Display name for the account. 505 "reviewsUrl": "A String", # [DEPRECATED] This field is never returned and will be ignored if provided. 506 "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account. 507 "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user. 508 { 509 "admin": True or False, # Whether user is an admin. 510 "emailAddress": "A String", # User's email address. 511 "orderManager": True or False, # Whether user is an order manager. 512 "paymentsAnalyst": True or False, # Whether user can access payment statements. 513 "paymentsManager": True or False, # Whether user can manage payment settings. 514 }, 515 ], 516 "websiteUrl": "A String", # The merchant's website. 517 "youtubeChannelLinks": [ # List of 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. 518 { 519 "channelId": "A String", # Channel ID. 520 "status": "A String", # 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's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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. 521 }, 522 ], 523}</pre> 524</div> 525 526<div class="method"> 527 <code class="details" id="link">link(merchantId, accountId, body=None, x__xgafv=None)</code> 528 <pre>Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId. 529 530Args: 531 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) 532 accountId: string, The ID of the account that should be linked. (required) 533 body: object, The request body. 534 The object takes the form of: 535 536{ 537 "action": "A String", # Action to perform for this link. The `"request"` action is only available to select merchants. Acceptable values are: - "`approve`" - "`remove`" - "`request`" 538 "linkType": "A String", # Type of the link between the two accounts. Acceptable values are: - "`channelPartner`" - "`eCommercePlatform`" 539 "linkedAccountId": "A String", # The ID of the linked account. 540} 541 542 x__xgafv: string, V1 error format. 543 Allowed values 544 1 - v1 error format 545 2 - v2 error format 546 547Returns: 548 An object of the form: 549 550 { 551 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#accountsLinkResponse". 552}</pre> 553</div> 554 555<div class="method"> 556 <code class="details" id="list">list(merchantId, maxResults=None, pageToken=None, x__xgafv=None)</code> 557 <pre>Lists the sub-accounts in your Merchant Center account. 558 559Args: 560 merchantId: string, The ID of the managing account. This must be a multi-client account. (required) 561 maxResults: integer, The maximum number of accounts to return in the response, used for paging. 562 pageToken: string, The token returned by the previous request. 563 x__xgafv: string, V1 error format. 564 Allowed values 565 1 - v1 error format 566 2 - v2 error format 567 568Returns: 569 An object of the form: 570 571 { 572 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "content#accountsListResponse". 573 "nextPageToken": "A String", # The token for the retrieval of the next page of accounts. 574 "resources": [ 575 { # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role. 576 "adultContent": True or False, # Indicates whether the merchant sells adult content. 577 "adwordsLinks": [ # List of linked AdWords 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 AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list. 578 { 579 "adwordsId": "A String", # Customer ID of the AdWords account. 580 "status": "A String", # Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google AdWords or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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: - "`active`" - "`pending`" 581 }, 582 ], 583 "businessInformation": { # The business information of the account. 584 "address": { # The address of the business. 585 "country": "A String", # CLDR country code (e.g. "US"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA. 586 "locality": "A String", # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). 587 "postalCode": "A String", # Postal code or ZIP (e.g. "94043"). 588 "region": "A String", # Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). 589 "streetAddress": "A String", # Street-level part of the address. 590 }, 591 "customerService": { # The customer service information of the business. 592 "email": "A String", # Customer service email. 593 "phoneNumber": "A String", # Customer service phone number. 594 "url": "A String", # Customer service URL. 595 }, 596 "koreanBusinessRegistrationNumber": "A String", # 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. 597 "phoneNumber": "A String", # The phone number of the business. 598 }, 599 "googleMyBusinessLink": { # The GMB account which is linked or in the process of being linked with the Merchant Center account. 600 "gmbEmail": "A String", # The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account. 601 "status": "A String", # Status of the link between this Merchant Center account and the GMB account. Acceptable values are: - "`active`" - "`pending`" 602 }, 603 "id": "A String", # Required for update. Merchant Center account ID. 604 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#account`" 605 "name": "A String", # Required. Display name for the account. 606 "reviewsUrl": "A String", # [DEPRECATED] This field is never returned and will be ignored if provided. 607 "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account. 608 "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user. 609 { 610 "admin": True or False, # Whether user is an admin. 611 "emailAddress": "A String", # User's email address. 612 "orderManager": True or False, # Whether user is an order manager. 613 "paymentsAnalyst": True or False, # Whether user can access payment statements. 614 "paymentsManager": True or False, # Whether user can manage payment settings. 615 }, 616 ], 617 "websiteUrl": "A String", # The merchant's website. 618 "youtubeChannelLinks": [ # List of 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. 619 { 620 "channelId": "A String", # Channel ID. 621 "status": "A String", # 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's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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. 622 }, 623 ], 624 }, 625 ], 626}</pre> 627</div> 628 629<div class="method"> 630 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 631 <pre>Retrieves the next page of results. 632 633Args: 634 previous_request: The request for the previous page. (required) 635 previous_response: The response from the request for the previous page. (required) 636 637Returns: 638 A request object that you can call 'execute()' on to request the next 639 page. Returns None if there are no more items in the collection. 640 </pre> 641</div> 642 643<div class="method"> 644 <code class="details" id="update">update(merchantId, accountId, body=None, dryRun=None, x__xgafv=None)</code> 645 <pre>Updates a Merchant Center account. Any fields that are not provided are deleted from the resource. 646 647Args: 648 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) 649 accountId: string, The ID of the account. (required) 650 body: object, The request body. 651 The object takes the form of: 652 653{ # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role. 654 "adultContent": True or False, # Indicates whether the merchant sells adult content. 655 "adwordsLinks": [ # List of linked AdWords 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 AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list. 656 { 657 "adwordsId": "A String", # Customer ID of the AdWords account. 658 "status": "A String", # Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google AdWords or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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: - "`active`" - "`pending`" 659 }, 660 ], 661 "businessInformation": { # The business information of the account. 662 "address": { # The address of the business. 663 "country": "A String", # CLDR country code (e.g. "US"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA. 664 "locality": "A String", # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). 665 "postalCode": "A String", # Postal code or ZIP (e.g. "94043"). 666 "region": "A String", # Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). 667 "streetAddress": "A String", # Street-level part of the address. 668 }, 669 "customerService": { # The customer service information of the business. 670 "email": "A String", # Customer service email. 671 "phoneNumber": "A String", # Customer service phone number. 672 "url": "A String", # Customer service URL. 673 }, 674 "koreanBusinessRegistrationNumber": "A String", # 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. 675 "phoneNumber": "A String", # The phone number of the business. 676 }, 677 "googleMyBusinessLink": { # The GMB account which is linked or in the process of being linked with the Merchant Center account. 678 "gmbEmail": "A String", # The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account. 679 "status": "A String", # Status of the link between this Merchant Center account and the GMB account. Acceptable values are: - "`active`" - "`pending`" 680 }, 681 "id": "A String", # Required for update. Merchant Center account ID. 682 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#account`" 683 "name": "A String", # Required. Display name for the account. 684 "reviewsUrl": "A String", # [DEPRECATED] This field is never returned and will be ignored if provided. 685 "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account. 686 "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user. 687 { 688 "admin": True or False, # Whether user is an admin. 689 "emailAddress": "A String", # User's email address. 690 "orderManager": True or False, # Whether user is an order manager. 691 "paymentsAnalyst": True or False, # Whether user can access payment statements. 692 "paymentsManager": True or False, # Whether user can manage payment settings. 693 }, 694 ], 695 "websiteUrl": "A String", # The merchant's website. 696 "youtubeChannelLinks": [ # List of 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. 697 { 698 "channelId": "A String", # Channel ID. 699 "status": "A String", # 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's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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. 700 }, 701 ], 702} 703 704 dryRun: boolean, Flag to simulate a request like in a live environment. If set to true, dry-run mode checks the validity of the request and returns errors (if any). 705 x__xgafv: string, V1 error format. 706 Allowed values 707 1 - v1 error format 708 2 - v2 error format 709 710Returns: 711 An object of the form: 712 713 { # Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, and update require the admin role. 714 "adultContent": True or False, # Indicates whether the merchant sells adult content. 715 "adwordsLinks": [ # List of linked AdWords 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 AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list. 716 { 717 "adwordsId": "A String", # Customer ID of the AdWords account. 718 "status": "A String", # Status of the link between this Merchant Center account and the AdWords account. Upon retrieval, it represents the actual status of the link and can be either `active` if it was approved in Google AdWords or `pending` if it's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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: - "`active`" - "`pending`" 719 }, 720 ], 721 "businessInformation": { # The business information of the account. 722 "address": { # The address of the business. 723 "country": "A String", # CLDR country code (e.g. "US"). This value cannot be set for a sub-account of an MCA. All MCA sub-accounts inherit the country of their parent MCA. 724 "locality": "A String", # City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). 725 "postalCode": "A String", # Postal code or ZIP (e.g. "94043"). 726 "region": "A String", # Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). 727 "streetAddress": "A String", # Street-level part of the address. 728 }, 729 "customerService": { # The customer service information of the business. 730 "email": "A String", # Customer service email. 731 "phoneNumber": "A String", # Customer service phone number. 732 "url": "A String", # Customer service URL. 733 }, 734 "koreanBusinessRegistrationNumber": "A String", # 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. 735 "phoneNumber": "A String", # The phone number of the business. 736 }, 737 "googleMyBusinessLink": { # The GMB account which is linked or in the process of being linked with the Merchant Center account. 738 "gmbEmail": "A String", # The GMB email address of which a specific account within a GMB account. A sample account within a GMB account could be a business account with set of locations, managed under the GMB account. 739 "status": "A String", # Status of the link between this Merchant Center account and the GMB account. Acceptable values are: - "`active`" - "`pending`" 740 }, 741 "id": "A String", # Required for update. Merchant Center account ID. 742 "kind": "A String", # Identifies what kind of resource this is. Value: the fixed string "`content#account`" 743 "name": "A String", # Required. Display name for the account. 744 "reviewsUrl": "A String", # [DEPRECATED] This field is never returned and will be ignored if provided. 745 "sellerId": "A String", # Client-specific, locally-unique, internal ID for the child account. 746 "users": [ # Users with access to the account. Every account (except for subaccounts) must have at least one admin user. 747 { 748 "admin": True or False, # Whether user is an admin. 749 "emailAddress": "A String", # User's email address. 750 "orderManager": True or False, # Whether user is an order manager. 751 "paymentsAnalyst": True or False, # Whether user can access payment statements. 752 "paymentsManager": True or False, # Whether user can manage payment settings. 753 }, 754 ], 755 "websiteUrl": "A String", # The merchant's website. 756 "youtubeChannelLinks": [ # List of 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. 757 { 758 "channelId": "A String", # Channel ID. 759 "status": "A String", # 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's pending approval. Upon insertion, it represents the *intended* status of the link. Re-uploading a link with status `active` when it's still pending or with status `pending` when it'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. 760 }, 761 ], 762}</pre> 763</div> 764 765</body></html>