class Google::Apis::DfareportingV2_1::MobileCarrier

Contains information about a mobile carrier that can be targeted by ads.

Attributes

country_code[RW]

Country code of the country to which this mobile carrier belongs. Corresponds to the JSON property `countryCode` @return [String]

country_dart_id[RW]

DART ID of the country to which this mobile carrier belongs. Corresponds to the JSON property `countryDartId` @return [String]

id[RW]

ID of this mobile carrier. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#mobileCarrier”. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of this mobile carrier. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6461
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6466
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?
  @id = args[:id] unless args[:id].nil?
  @kind = args[:kind] unless args[:kind].nil?
  @name = args[:name] unless args[:name].nil?
end