ItemAttribute

  • Key transaction item attributes includeitem_id,country_code,language_code,quantity, andmerchant_id.

  • item_id andmerchant_id are required attributes for transaction items.

  • country_code andlanguage_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.

Proto definition

Fields

country_code

string

Common Locale Data Repository (CLDR) territory code of the country associated with the feed where your items are uploaded. Seehttps://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.

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.

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.

merchant_id

int64

ID of the Merchant Center Account. Required.

quantity

int64

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

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-12 UTC.