class Google::Apis::DfareportingV2_1::City
Contains information about a city that can be targeted by ads.
Attributes
Country code of the country to which this city belongs. Corresponds to the JSON property `countryCode` @return [String]
DART ID of the country to which this city belongs. Corresponds to the JSON property `countryDartId` @return [String]
DART ID of this city. This is the ID used for targeting and generating reports. Corresponds to the JSON property `dartId` @return [String]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#city”. Corresponds to the JSON property `kind` @return [String]
Metro region code of the metro region (DMA) to which this city belongs. Corresponds to the JSON property `metroCode` @return [String]
ID of the metro region (DMA) to which this city belongs. Corresponds to the JSON property `metroDmaId` @return [String]
Name of this city. Corresponds to the JSON property `name` @return [String]
Region code of the region to which this city belongs. Corresponds to the JSON property `regionCode` @return [String]
DART ID of the region to which this city belongs. Corresponds to the JSON property `regionDartId` @return [String]
Public Class Methods
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 1867 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 1872 def update!(**args) @country_code = args[:country_code] unless args[:country_code].nil? @country_dart_id = args[:country_dart_id] unless args[:country_dart_id].nil? @dart_id = args[:dart_id] unless args[:dart_id].nil? @kind = args[:kind] unless args[:kind].nil? @metro_code = args[:metro_code] unless args[:metro_code].nil? @metro_dma_id = args[:metro_dma_id] unless args[:metro_dma_id].nil? @name = args[:name] unless args[:name].nil? @region_code = args[:region_code] unless args[:region_code].nil? @region_dart_id = args[:region_dart_id] unless args[:region_dart_id].nil? end