Class GeoTargeting
Geographical Targeting.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_5.Data
Assembly: Google.Apis.Dfareporting.v3_5.dll
Syntax
public class GeoTargeting : IDirectResponseSchema
Properties
Cities
Cities to be targeted. For each city only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city.
Declaration
[JsonProperty("cities")]
public virtual IList<City> Cities { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><City> |
Countries
Countries to be targeted or excluded from targeting, depending on the setting of the excludeCountries field. For each country only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country.
Declaration
[JsonProperty("countries")]
public virtual IList<Country> Countries { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><Country> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExcludeCountries
Whether or not to exclude the countries in the countries field from targeting. If false, the countries field refers to countries which will be targeted by the ad.
Declaration
[JsonProperty("excludeCountries")]
public virtual bool? ExcludeCountries { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Metros
Metros to be targeted. For each metro only dmaId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro.
Declaration
[JsonProperty("metros")]
public virtual IList<Metro> Metros { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><Metro> |
PostalCodes
Postal codes to be targeted. For each postal code only id is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code.
Declaration
[JsonProperty("postalCodes")]
public virtual IList<PostalCode> PostalCodes { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><PostalCode> |
Regions
Regions to be targeted. For each region only dartId is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region.
Declaration
[JsonProperty("regions")]
public virtual IList<Region> Regions { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<T><Region> |