class Accountstatuses extends Resource (View source)

The "accountstatuses" collection of methods.

Typical usage is:

 $contentService = new Google\Service\ShoppingContent(...);
 $accountstatuses = $contentService->accountstatuses;

Methods

custombatch(AccountstatusesCustomBatchRequest $postBody, array $optParams = [])

Retrieves multiple Merchant Center account statuses in a single request.

get(string $merchantId, string $accountId, array $optParams = [])

Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts. (accountstatuses.get)

listAccountstatuses(string $merchantId, array $optParams = [])

Lists the statuses of the sub-accounts in your Merchant Center account.

Details

AccountstatusesCustomBatchResponse custombatch(AccountstatusesCustomBatchRequest $postBody, array $optParams = [])

Retrieves multiple Merchant Center account statuses in a single request.

(accountstatuses.custombatch)

Parameters

AccountstatusesCustomBatchRequest $postBody
array $optParams

Optional parameters.

Return Value

AccountstatusesCustomBatchResponse

Exceptions

Exception

AccountStatus get(string $merchantId, string $accountId, array $optParams = [])

Retrieves the status of a Merchant Center account. No itemLevelIssues are returned for multi-client accounts. (accountstatuses.get)

Parameters

string $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.

string $accountId

The ID of the account.

array $optParams

Optional parameters.

Return Value

AccountStatus

Exceptions

Exception

AccountstatusesListResponse listAccountstatuses(string $merchantId, array $optParams = [])

Lists the statuses of the sub-accounts in your Merchant Center account.

(accountstatuses.listAccountstatuses)

Parameters

string $merchantId

The ID of the managing account. This must be a multi-client account.

array $optParams

Optional parameters.

Return Value

AccountstatusesListResponse

Exceptions

Exception