Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
ItemAttribute
Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-25 UTC."],[[["Item attributes provide details about the product, including a unique identifier (`item_id`), the country and language associated with the product data (`country_code`, `language_code`), the quantity sold (`quantity`), and the Merchant Center Account ID (`merchant_id`)."],["`item_id` can be represented by either the Merchant Center Item ID or the product's GTIN, while `country_code` and `language_code` follow CLDR and ISO 639-1 standards, respectively."],["By default, `quantity` is set to 1 if no specific value is provided during the transaction."]]],["The document defines attributes related to item transactions. Key fields include `item_id` (unique product identifier, either Merchant Center ID or GTIN), `country_code` (CLDR territory code of the feed's country), `language_code` (ISO 639-1 language code of the feed), `quantity` (number of items sold, defaulting to 1), and `merchant_id` (Merchant Center Account ID). These fields specify essential item details and their origin within the Merchant Center system.\n"]]