Struct google_dfareporting2d1::GeoTargeting [] [src]

pub struct GeoTargeting {
    pub regions: Option<Vec<Region>>,
    pub countries: Option<Vec<Country>>,
    pub metros: Option<Vec<Metro>>,
    pub cities: Option<Vec<City>>,
    pub exclude_countries: Option<bool>,
    pub postal_codes: Option<Vec<PostalCode>>,
}

Geographical Targeting.

This type is not used in any activity, and only used as part of another schema.

Fields

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.

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.

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.

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.

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.

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.

Trait Implementations

impl Default for GeoTargeting
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for GeoTargeting
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GeoTargeting
[src]

[src]

Formats the value using the given formatter.

impl Part for GeoTargeting
[src]