class Google::Apis::DfareportingV2_3::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_3/classes.rb, line 1882 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_3/classes.rb, line 1887 def update!(**args) @country_code = args[:country_code] if args.key?(:country_code) @country_dart_id = args[:country_dart_id] if args.key?(:country_dart_id) @dart_id = args[:dart_id] if args.key?(:dart_id) @kind = args[:kind] if args.key?(:kind) @metro_code = args[:metro_code] if args.key?(:metro_code) @metro_dma_id = args[:metro_dma_id] if args.key?(:metro_dma_id) @name = args[:name] if args.key?(:name) @region_code = args[:region_code] if args.key?(:region_code) @region_dart_id = args[:region_dart_id] if args.key?(:region_dart_id) end