class Collectionstatuses extends Resource (View source)

The "collectionstatuses" collection of methods.

Typical usage is:

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

Methods

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

Gets the status of a collection from your Merchant Center account.

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

Lists the statuses of the collections in your Merchant Center account.

Details

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

Gets the status of a collection from your Merchant Center account.

(collectionstatuses.get)

Parameters

string $merchantId

Required. The ID of the account that contains the collection. This account cannot be a multi-client account.

string $collectionId

Required. The collectionId of the collection. CollectionId is the same as the REST ID of the collection.

array $optParams

Optional parameters.

Return Value

CollectionStatus

Exceptions

Exception

ListCollectionStatusesResponse listCollectionstatuses(string $merchantId, array $optParams = [])

Lists the statuses of the collections in your Merchant Center account.

(collectionstatuses.listCollectionstatuses)

Parameters

string $merchantId

Required. The ID of the account that contains the collection. This account cannot be a multi-client account.

array $optParams

Optional parameters.

Return Value

ListCollectionStatusesResponse

Exceptions

Exception