We've also introduced the
field to replace
targetCountry in REST IDs.
For all existing products,
feedLabel has been automatically
populated with the same country you previously submitted in
If you upload new offers with a two-letter country code as the
feedLabel value, the Content API for Shopping backfills the
field with the country code you provide.
Here are the details of what has changed:
feedLabel has replaced the country portion of the product's REST
online:language:targetCountry:offerId, the REST ID is now formed as
online:language:feedLabel:offerId for new products. This doesn't change the
REST ID of your existing products.
UK to GB conversion
We currently allow the
UK value for the
targetCountry field even though it’s
not a valid country code. We automatically convert
GB. Products with
UK as their
targetCountry are stored with
GB in their REST ID and
If you set
UK as the value for
feedLabel, it is not automatically converted
GB are different strings for
feedLabel and will create
If you insert a
UK, and we convert it to
you must update the REST ID of the product to include
GB instead of
retrieve the product with the
Get and list products
feedLabel field is always populated for all returned offers.
feedLabel is a valid CLDR territory code, we automatically populate the
targetCountry field for compatibility reasons. If the
isn't a valid CLDR territory code, we leave
The same changes are applicable for
Country-specific fields are empty for offers with a
feedLabel that isn't a
CLDR territory code.
targetCountry is required to insert new products.
You receive an error from the API if the fields are both empty or if their values don't match.
The set of countries targeted depends on what you enter in the Merchant Center
UI. To choose the country(s) your product targets, add countries to the
shipping field of your product instead of relying on the
See Targeting ads in multiple countries for more information.
Buy on Google
New merchants must use
"US" as their feed label to list products with Buy on