Class: Google::Apis::DfareportingV4::ContextualKeyword

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

Contains information about a Contextual Keyword that can be targeted by ads.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ContextualKeyword

Returns a new instance of ContextualKeyword.



2877
2878
2879
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2877

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

Instance Attribute Details

#keywordString

The keyword that can be targeted by ads. Corresponds to the JSON property keyword

Returns:

  • (String)


2875
2876
2877
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2875

def keyword
  @keyword
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2882
2883
2884
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 2882

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