shopping_ads_excluded_country [shopping_ads_excluded_country]: Definition

Use the shopping_ads_excluded_country [shopping_ads_excluded_country] attribute to control the different countries where your Shopping ads products are advertised. You can use this attribute when you need to override the additional country settings that you set up in your primary feed.

Depending on your primary country of sale, and the language in which your product data is submitted, some of your products may be readily available to be shown in multiple countries. If you want your product to appear in only certain countries but not in others, use the shopping_ads_excluded_country [shopping_ads_excluded_country] attribute.  You can use this attribute to override the additional country settings that you set up in your primary feed.

When to use


Optional for each product

Only available for Shopping ads

Let's say that you select Germany as your primary country of sale, and Austria and Switzerland as additional countries of sale when you submit your product data in Merchant Center. If you later decide that you don't want to advertise a particular product in Austria and Switzerland, you can use this attribute to stop the product from being shown there, while still allowing it to be shown in Germany.

Note: The primary country of sale is selected when you submit your product data feed in Merchant Center.

Format

Follow these formatting guidelines to make sure that we understand the data that you're submitting. 

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 feeds CH, AT
XML feeds <g:shopping_ads_excluded_country>CH</g:shopping_ads_excluded_country>
<g:shopping_ads_excluded_country>AT</g:shopping_ads_excluded_country>
To format your data for Content API, have a look at the Content API for Shopping.

Guidelines

Follow these guidelines to make sure that you submit high-quality data for your products.

Minimum requirements

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

 

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 Skater dress – black
title Millie Wray Skater Dress
shopping_ads_excluded_country [shopping_ads_excluded_country] AT
shopping_ads_excluded_country [shopping_ads_excluded_country] CH

 

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

AT, CH

XML

To submit multiple additional countries to include for 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:</g:shopping_ads_excluded_country>
Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue