Class: Google::Apis::DfareportingV3_5::KeyValueTargetingExpression

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



6842
6843
6844
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6842

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)


6840
6841
6842
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6840

def expression
  @expression
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6847
6848
6849
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 6847

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