Resource: MerchantCenterAccountLink
Represents a link between a Merchant Center account and a branch. After a link is established, products from the linked Merchant Center account are streamed to the linked branch.
JSON representation |
---|
{ "name": string, "id": string, "merchantCenterAccountId": string, "branchId": string, "feedLabel": string, "languageCode": string, "feedFilters": [ { object ( |
Fields | |
---|---|
name |
Output only. Immutable. Full resource name of the Merchant Center Account Link, such as |
id |
Output only. Immutable. |
merchantCenterAccountId |
Required. The linked Merchant center account id. The account must be a standalone account or a sub-account of a MCA. |
branchId |
Required. The branch ID (e.g. 0/1/2) within the catalog that products from merchantCenterAccountId are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked Merchant Center account ID. |
feedLabel |
The FeedLabel used to perform filtering. Note: this replaces region_id. Example value: |
languageCode |
Language of the title/description and other string attributes. Use language tags defined by BCP 47. ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty, no language filtering will be performed. Example value: |
feedFilters[] |
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds. |
state |
Output only. Represents the state of the link. |
projectId |
Output only. Google Cloud project ID. |
source |
Optional. An optional arbitrary string that could be used as a tag for tracking link source. |
MerchantCenterFeedFilter
Merchant Center Feed filter criterion.
JSON representation |
---|
{ "primaryFeedId": string, "primaryFeedName": string } |
Fields | |
---|---|
primaryFeedId |
Merchant Center primary feed ID. |
primaryFeedName |
Merchant Center primary feed name. The name is used for the display purposes only. |
State
The state of the link.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. |
PENDING |
Link is created and LRO is not complete. |
ACTIVE |
Link is active. |
FAILED |
Link creation failed. |
Methods |
|
---|---|
|
Creates a MerchantCenterAccountLink . |
|
Deletes a MerchantCenterAccountLink . |
|
Lists all MerchantCenterAccountLink s under the specified parent Catalog . |