Class: Google::Apis::DfareportingV5::ContextualKeywordTargeting

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

Overview

Contextual Keyword Targeting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContextualKeywordTargeting

Returns a new instance of ContextualKeywordTargeting.



2855
2856
2857
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2855

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

Instance Attribute Details

#keywordsArray<Google::Apis::DfareportingV5::ContextualKeyword>

Contextual keywords that this ad targets Corresponds to the JSON property keywords



2853
2854
2855
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2853

def keywords
  @keywords
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2860
2861
2862
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2860

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