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.



2830
2831
2832
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2830

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



2828
2829
2830
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2828

def keywords
  @keywords
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2835
2836
2837
# File 'lib/google/apis/dfareporting_v5/classes.rb', line 2835

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