ItemAttribute

  • Key transaction item attributes include item_id, country_code, language_code, quantity, and merchant_id.

  • item_id and merchant_id are required attributes for transaction items.

  • country_code and language_code help differentiate product information when items are associated with multiple countries or languages.

  • quantity indicates the number of items sold and defaults to 1 if not specified.

Item attributes of the transaction.

Fields

item_id

string

A unique identifier of a product. It must be the exact same Merchant Center Item ID you use in your Google Merchant Center for this product. Required.

country_code

string

Common Locale Data Repository (CLDR) territory code of the country associated with the feed where your items are uploaded. See https://developers.google.com/google-ads/api/reference/data/codes-formats#country-codes for more information. This information is useful to differentiate product information in cases where a product (identified by item_id) is associated with multiple countries.

language_code

string

ISO 639-1 code of the language associated with the feed where your items are uploaded. This information is useful to differentiate product information in cases where a product (identified by item_id) is associated with multiple languages.

quantity

int64

The number of items sold. Defaults to 1 if not set.

merchant_id

int64

ID of the Merchant Center Account. Required.