Class: Google::Apis::DfareportingV2_1::KeyValueTargetingExpression

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

Overview

Key Value Targeting Expression.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ KeyValueTargetingExpression

Returns a new instance of KeyValueTargetingExpression.


6037
6038
6039
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6037

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)

6035
6036
6037
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6035

def expression
  @expression
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


6042
6043
6044
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6042

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