class Google::Apis::DfareportingV2_1::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 [String]
DART ID of this metro region. Corresponds to the JSON property `dartId` @return [String]
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 [String]
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 generated/google/apis/dfareporting_v2_1/classes.rb, line 6389 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6394 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? @dma_id = args[:dma_id] unless args[:dma_id].nil? @kind = args[:kind] unless args[:kind].nil? @metro_code = args[:metro_code] unless args[:metro_code].nil? @name = args[:name] unless args[:name].nil? end