Class: Google::Apis::DfareportingV2_6::LanguageTargeting
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_6::LanguageTargeting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dfareporting_v2_6/classes.rb,
generated/google/apis/dfareporting_v2_6/representations.rb,
generated/google/apis/dfareporting_v2_6/representations.rb
Overview
Language Targeting.
Instance Attribute Summary collapse
-
#languages ⇒ Array<Google::Apis::DfareportingV2_6::Language>
Languages that this ad targets.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LanguageTargeting
constructor
A new instance of LanguageTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LanguageTargeting
Returns a new instance of LanguageTargeting
6744 6745 6746 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 6744 def initialize(**args) update!(**args) end |
Instance Attribute Details
#languages ⇒ Array<Google::Apis::DfareportingV2_6::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
6742 6743 6744 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 6742 def languages @languages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6749 6750 6751 |
# File 'generated/google/apis/dfareporting_v2_6/classes.rb', line 6749 def update!(**args) @languages = args[:languages] if args.key?(:languages) end |