Notification

This help center shows articles applicable to Merchant Center Next. Learn more about the upgrade and get answers to frequently asked questions.

Excluded countries for Shopping ads [shopping_ads_excluded_country]

If you want your product to be advertised in only certain countries but not in others, use the excluded countries for Shopping ads [shopping_ads_excluded_country] attribute. You can use this attribute to override the country targeting settings that you set up in your primary feed.

In this article


When to use

Optional Optional for each product

Depending on your target country, and the language in which your product data is submitted, some of your products may be readily available to show in multiple countries. Use this attribute to stop a product from showing in certain countries, while still allowing it to show in other countries. 

Example:  Let’s say you select Germany, Austria, and Switzerland as target countries. If you decide later that you don’t want to advertise a particular product in Austria and Switzerland, you can use this attribute to stop the product from showing in those countries, while still allowing it to show in Germany.

Format

Follow these formatting guidelines to make sure Google understands the data you're submitting. Learn when and how to submit your product data in English

Type String (Unicode characters)
Limits 2 characters. Must be an ISO-3166-1 Alpha 2 country code
Repeated field Up to 100 times

 

File format Example value
Text (TSV) CH, AT
XML (Feeds) <g:shopping_ads_excluded_country>CH</g:shopping_ads_excluded_country>
14 <g:shopping_ads_excluded_country>AT</g:shopping_ads_excluded_country>

 

To format your data for Content API, see the Content API for Shopping resource.

Note: To ensure that this product data attribute gets recognized by our system correctly, remember to submit your data source file in a format that we support.

 Minimum requirements

These are the requirements you need to meet to show ads for your product. If you don't follow these requirements, your product might show in countries where you do not intend it to show.

Examples

Repeated Fields

Text

To submit multiple countries that you would like to exclude, provide the attribute multiple times, once for each country (recommended).

For example:
Product data for a black Millie Wray skater dress
Attribute Value
Title [title] Millie Wray Skater Dress
Excluded countries for Shopping ads [shopping_ads_excluded_country] AT
Excluded countries for Shopping ads [shopping_ads_excluded_country] CH

 

You can also separate each country with a comma ( , ) :

AT, CH

XML

To submit multiple countries that you would like to exclude in an XML feed, provide a separate attribute for each included destination:
<g:shopping_ads_excluded_country>AT</g:shopping_ads_excluded_country><g:shopping_ads_excluded_country>CH</g:shopping_ads_excluded_country>

Was this helpful?

How can we improve it?
false
Search
Clear search
Close search
Main menu
13894274970965070517
true
Search Help Center
true
true
true
true
true
71525
false
false