Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the REST Introduction for details.

AssetSet

Stay organized with collections Save and categorize content based on your preferences.

An asset set representing a collection of assets. Use AssetSetAsset to link an asset to the asset set.

JSON representation
{
  "resourceName": string,
  "name": string,
  "type": enum (AssetSetType),
  "status": enum (AssetSetStatus),
  "merchantCenterFeed": {
    object (MerchantCenterFeed)
  }
}
Fields
resourceName

string

Immutable. The resource name of the asset set. Asset set resource names have the form:

customers/{customerId}/assetSets/{asset_set_id}

name

string

Required. Name of the asset set. Required. It must have a minimum length of 1 and maximum length of 128.

type

enum (AssetSetType)

Required. Immutable. The type of the asset set. Required.

status

enum (AssetSetStatus)

Output only. The status of the asset set. Read-only.

merchantCenterFeed

object (MerchantCenterFeed)

Merchant ID and Feed Label from Google Merchant Center.

AssetSetType

Possible types of an asset set.

Enums
UNSPECIFIED Not specified.
UNKNOWN Used for return value only. Represents value unknown in this version.
PAGE_FEED Page feed.
DYNAMIC_EDUCATION Dynamic education feed.
MERCHANT_CENTER_FEED Google Merchant Center asset set.

AssetSetStatus

The possible statuses of an asset set.

Enums
UNSPECIFIED The status has not been specified.
UNKNOWN The received value is not known in this version. This is a response-only value.
ENABLED The asset set is enabled.
REMOVED The asset set is removed.

MerchantCenterFeed

Merchant ID and Feed Label from Google Merchant Center.

JSON representation
{
  "merchantId": string,
  "feedLabel": string
}
Fields
merchantId

string (int64 format)

Required. Merchant ID from Google Merchant Center

feedLabel

string

Optional. Feed Label from Google Merchant Center.