- Resource: Account
- AccountAdwordsLink
- AccountUser
- AccountYouTubeChannelLink
- AccountGoogleMyBusinessLink
- AccountBusinessInformation
- AccountAddress
- AccountCustomerService
- Methods
Resource: 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.
JSON representation | |
---|---|
{ "name": string, "kind": string, "websiteUrl": string, "adultContent": boolean, "sellerId": string, "reviewsUrl": string, "adwordsLinks": [ { object ( |
Fields | |
---|---|
name |
Required. Display name for the account. |
kind |
Identifies what kind of resource this is. Value: the fixed string " |
websiteUrl |
The merchant's website. |
adultContent |
Indicates whether the merchant sells adult content. |
sellerId |
Client-specific, locally-unique, internal ID for the child account. |
reviewsUrl |
[DEPRECATED] This field is never returned and will be ignored if provided. |
adwordsLinks[] |
accounts.list of linked AdWords accounts that are active or pending approval. To create a new link request, add a new link with status |
users[] |
Users with access to the account. Every account (except for subaccounts) must have at least one admin user. |
id |
Required for update. Merchant Center account ID. |
youtubeChannelLinks[] |
accounts.list of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status |
googleMyBusinessLink |
The GMB account which is linked or in the process of being linked with the Merchant Center account. |
businessInformation |
The business information of the account. |
AccountAdwordsLink
JSON representation | |
---|---|
{ "adwordsId": string, "status": string } |
Fields | |
---|---|
adwordsId |
Customer ID of the AdWords account. |
status |
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
|
AccountUser
JSON representation | |
---|---|
{ "emailAddress": string, "admin": boolean, "orderManager": boolean, "paymentsManager": boolean, "paymentsAnalyst": boolean } |
Fields | |
---|---|
emailAddress |
User's email address. |
admin |
Whether user is an admin. |
orderManager |
Whether user is an order manager. |
paymentsManager |
Whether user can manage payment settings. |
paymentsAnalyst |
Whether user can access payment statements. |
AccountYouTubeChannelLink
JSON representation | |
---|---|
{ "channelId": string, "status": string } |
Fields | |
---|---|
channelId |
Channel ID. |
status |
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 |
AccountGoogleMyBusinessLink
JSON representation | |
---|---|
{ "gmbEmail": string, "status": string } |
Fields | |
---|---|
gmbEmail |
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. |
status |
Status of the link between this Merchant Center account and the GMB account.
|
AccountBusinessInformation
JSON representation | |
---|---|
{ "address": { object ( |
Fields | |
---|---|
address |
The address of the business. |
phoneNumber |
The phone number of the business. |
customerService |
The customer service information of the business. |
AccountAddress
JSON representation | |
---|---|
{ "streetAddress": string, "locality": string, "region": string, "postalCode": string, "country": string } |
Fields | |
---|---|
streetAddress |
Street-level part of the address. |
locality |
City, town or commune. May also include dependent localities or sublocalities (e.g. neighborhoods or suburbs). |
region |
Top-level administrative subdivision of the country. For example, a state like California ("CA") or a province like Quebec ("QC"). |
postalCode |
Postal code or ZIP (e.g. "94043"). |
country |
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. |
AccountCustomerService
JSON representation | |
---|---|
{ "url": string, "email": string, "phoneNumber": string } |
Fields | |
---|---|
url |
Customer service URL. |
email |
Customer service email. |
phoneNumber |
Customer service phone number. |
Methods |
|
---|---|
|
Returns information about the authenticated user. |
|
Claims the website of a Merchant Center sub-account. |
|
Retrieves, inserts, updates, and deletes multiple Merchant Center (sub-)accounts in a single request. |
|
Deletes a Merchant Center sub-account. |
|
Retrieves a Merchant Center account. |
|
Creates a Merchant Center sub-account. |
|
Performs an action on a link between two Merchant Center accounts, namely accountId and linkedAccountId. |
|
Lists the sub-accounts in your Merchant Center account. |
|
Updates a Merchant Center account. |