Class: Google::Apis::DfareportingV4::KeyValueTargetingExpression

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

Key Value Targeting Expression.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ KeyValueTargetingExpression

Returns a new instance of KeyValueTargetingExpression.



7412
7413
7414
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7412

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)


7410
7411
7412
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7410

def expression
  @expression
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7417
7418
7419
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 7417

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