Class: Google::Apis::DfareportingV3_4::KeyValueTargetingExpression

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

Overview

Key Value Targeting Expression.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ KeyValueTargetingExpression

Returns a new instance of KeyValueTargetingExpression.



7212
7213
7214
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7212

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

Instance Attribute Details

#expressionString

Keyword expression being targeted by the ad. Corresponds to the JSON property expression

Returns:

  • (String)


7210
7211
7212
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7210

def expression
  @expression
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7217
7218
7219
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 7217

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