Skip to main content

accounts

Overview

Nameaccounts
TypeResource
Idgoogledevelopers.content.accounts

Fields

NameDatatypeDescription
idstringRequired. 64-bit Merchant Center account ID.
namestringRequired. Display name for the account.
googleMyBusinessLinkobject
businessInformationobject
adultContentbooleanIndicates whether the merchant sells adult content.
cssIdstringID of CSS the account belongs to.
sellerIdstringClient-specific, locally-unique, internal ID for the child account.
automaticImprovementsobjectThe automatic improvements of the account can be used to automatically update items, improve images and shipping.
adsLinksarrayLinked 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.
websiteUrlstringThe merchant's website.
labelIdsarrayManually created label IDs that are assigned to the account by CSS.
usersarrayUsers with access to the account. Every account (except for subaccounts) must have at least one admin user.
kindstringIdentifies what kind of resource this is. Value: the fixed string "content#account".
automaticLabelIdsarrayAutomatically created label IDs that are assigned to the account by CSS Center.
youtubeChannelLinksarrayLinked 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.
accountManagementstringOutput only. How the account is managed. Acceptable values are: - "manual" - "automatic"

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountId, merchantIdRetrieves a Merchant Center account.
listSELECTmerchantIdLists the sub-accounts in your Merchant Center account.
insertINSERTmerchantIdCreates a Merchant Center sub-account.
deleteDELETEaccountId, merchantIdDeletes a Merchant Center sub-account.
authinfoEXECReturns information about the authenticated user.
claimwebsiteEXECaccountId, merchantIdClaims the website of a Merchant Center sub-account.
custombatchEXECRetrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request.
linkEXECaccountId, merchantIdPerforms an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId.
requestphoneverificationEXECaccountId, merchantIdRequest verification code to start phone verification.
updateEXECaccountId, merchantIdUpdates a Merchant Center account. Any fields that are not provided are deleted from the resource.
updatelabelsEXECaccountId, merchantIdUpdates labels that are assigned to the Merchant Center account by CSS user.
verifyphonenumberEXECaccountId, merchantIdValidates 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.