# Class MerchantCenterAccountLink (2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.25.0 1.24.0 1.23.1 1.22.0 1.21.2 1.20.1 1.19.1 1.18.0 1.17.0 1.16.3 1.15.1 1.14.1 1.13.0 1.12.0 1.11.0 1.10.2 1.9.0 1.8.1 1.7.0 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.2 0.4.2 0.3.1 0.2.0 0.1.0

    MerchantCenterAccountLink(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. Immutable. Full resource name of the Merchant Center Account Link, such as `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`. |
| `id` | `str` Output only. Immutable. MerchantCenterAccountLink identifier, which is the final component of name. This field is auto generated and follows the convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`. |
| `merchant_center_account_id` | `int` Required. The linked \`Merchant center account id |
| `branch_id` | `str` Required. The branch ID (e.g. 0/1/2) within the catalog that products from merchant_center_account_id 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. |
| `feed_label` | `str` The FeedLabel used to perform filtering. Note: this replaces `region_id `__. Example value: `US`. Example value: `FeedLabel1`. |
| `language_code` | `str` Language of the title/description and other string attributes. Use language tags defined by \`BCP 47 |
| `feed_filters` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.MerchantCenterAccountLink.MerchantCenterFeedFilter]` 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` | `https://docs.cloud.google.com/python/docs/reference/retail/latest/google.cloud.retail_v2alpha.types.MerchantCenterAccountLink.State` Output only. Represents the state of the link. |
| `project_id` | `str` Output only. Google Cloud project ID. |
| `source` | `str` Optional. An optional arbitrary string that could be used as a tag for tracking link source. |

## Classes

### MerchantCenterFeedFilter

    MerchantCenterFeedFilter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Merchant Center Feed filter criterion.

### State

    State(value)

The state of the link.