The "accounts" collection of methods. Typical usage is:
$contentService = new Google_Service_ShoppingContent(...);
$accounts = $contentService->accounts;
Methods summary
public
Google_Service_ShoppingContent_AccountsAuthInfoResponse
|
#
authinfo( array $optParams = array() )
Returns information about the authenticated user. (accounts.authinfo)
Returns information about the authenticated user. (accounts.authinfo)
Parameters
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_ShoppingContent_AccountsClaimWebsiteResponse
|
#
claimwebsite( string $merchantId, string $accountId, array $optParams = array() )
Claims the website of a Merchant Center sub-account.
(accounts.claimwebsite)
Claims the website of a Merchant Center sub-account.
(accounts.claimwebsite)
Parameters
- $merchantId
- 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.
- $accountId
- The ID of the account whose website is claimed.
- $optParams
- Optional parameters.
Returns
Opt_param
bool overwrite 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.
|
public
Google_Service_ShoppingContent_AccountsCustomBatchResponse
|
#
custombatch( Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody, array $optParams = array() )
Retrieves, inserts, updates, and deletes multiple Merchant Center
(sub-)accounts in a single request. (accounts.custombatch)
Retrieves, inserts, updates, and deletes multiple Merchant Center
(sub-)accounts in a single request. (accounts.custombatch)
Parameters
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
|
#
delete( string $merchantId, string $accountId, array $optParams = array() )
Deletes a Merchant Center sub-account. (accounts.delete)
Deletes a Merchant Center sub-account. (accounts.delete)
Parameters
- $merchantId
- 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.
- $accountId
- The ID of the account.
- $optParams
- Optional parameters.
Opt_param
bool force Flag to delete sub-accounts with products. The default value is
false.
|
public
Google_Service_ShoppingContent_Account
|
#
get( string $merchantId, string $accountId, array $optParams = array() )
Retrieves a Merchant Center account. (accounts.get)
Retrieves a Merchant Center account. (accounts.get)
Parameters
- $merchantId
- 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.
- $accountId
- The ID of the account.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_ShoppingContent_Account
|
#
insert( string $merchantId, Google_Service_ShoppingContent_Account $postBody, array $optParams = array() )
Creates a Merchant Center sub-account. (accounts.insert)
Creates a Merchant Center sub-account. (accounts.insert)
Parameters
- $merchantId
- The ID of the managing account. This must be a multi-client account.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_ShoppingContent_AccountsLinkResponse
|
#
link( string $merchantId, string $accountId, Google_Service_ShoppingContent_AccountsLinkRequest $postBody, array $optParams = array() )
Performs an action on a link between two Merchant Center accounts, namely
accountId and linkedAccountId. (accounts.link)
Performs an action on a link between two Merchant Center accounts, namely
accountId and linkedAccountId. (accounts.link)
Parameters
- $merchantId
- 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.
- $accountId
- The ID of the account that should be linked.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_ShoppingContent_AccountsListResponse
|
#
listAccounts( string $merchantId, array $optParams = array() )
Lists the sub-accounts in your Merchant Center account.
(accounts.listAccounts)
Lists the sub-accounts in your Merchant Center account.
(accounts.listAccounts)
Parameters
- $merchantId
- The ID of the managing account. This must be a multi-client account.
- $optParams
- Optional parameters.
Returns
Opt_param
string maxResults The maximum number of accounts to return in the response, used
for paging.
string pageToken The token returned by the previous request.
|
public
Google_Service_ShoppingContent_AccountsListLinksResponse
|
#
listlinks( string $merchantId, string $accountId, array $optParams = array() )
Returns the list of accounts linked to your Merchant Center account.
(accounts.listlinks)
Returns the list of accounts linked to your Merchant Center account.
(accounts.listlinks)
Parameters
- $merchantId
- 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.
- $accountId
- The ID of the account for which to list links.
- $optParams
- Optional parameters.
Returns
Opt_param
string maxResults The maximum number of links to return in the response, used
for pagination.
string pageToken The token returned by the previous request.
|
public
Google_Service_ShoppingContent_Account
|
#
update( string $merchantId, string $accountId, Google_Service_ShoppingContent_Account $postBody, array $optParams = array() )
Updates a Merchant Center account. (accounts.update)
Updates a Merchant Center account. (accounts.update)
Parameters
- $merchantId
- 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.
- $accountId
- The ID of the account.
- $postBody
- $optParams
- Optional parameters.
Returns
|