Class: Google::Apis::DfareportingV3_3::LanguageTargeting

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_3/classes.rb,
generated/google/apis/dfareporting_v3_3/representations.rb,
generated/google/apis/dfareporting_v3_3/representations.rb

Overview

Language Targeting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LanguageTargeting

Returns a new instance of LanguageTargeting.



6792
6793
6794
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6792

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#languagesArray<Google::Apis::DfareportingV3_3::Language>

Languages that this ad targets. For each language only languageId is required. The other fields are populated automatically when the ad is inserted or updated. Corresponds to the JSON property languages



6790
6791
6792
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6790

def languages
  @languages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6797
6798
6799
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 6797

def update!(**args)
  @languages = args[:languages] if args.key?(:languages)
end