class Google::Apis::DfareportingV3_4::Metro
Contains information about a metro region that can be targeted by ads.
Attributes
Country
code of the country to which this metro region belongs. Corresponds to the JSON property `countryCode` @return [String]
DART ID of the country to which this metro region belongs. Corresponds to the JSON property `countryDartId` @return [Fixnum]
DART ID of this metro region. Corresponds to the JSON property `dartId` @return [Fixnum]
DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code. Corresponds to the JSON property `dmaId` @return [Fixnum]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#metro”. Corresponds to the JSON property `kind` @return [String]
Metro
code of this metro region. This is equivalent to dma_id. Corresponds to the JSON property `metroCode` @return [String]
Name of this metro region. Corresponds to the JSON property `name` @return [String]
Public Class Methods
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 7719 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 7724 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) @dma_id = args[:dma_id] if args.key?(:dma_id) @kind = args[:kind] if args.key?(:kind) @metro_code = args[:metro_code] if args.key?(:metro_code) @name = args[:name] if args.key?(:name) end