Class: Google::Apis::DfareportingV4::ContextualKeywordTargeting

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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.



2896
2897
2898
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2896

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

Instance Attribute Details

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

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



2894
2895
2896
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2894

def keywords
  @keywords
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2901
2902
2903
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2901

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