Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonWebpageConditionInfo

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

Overview

Logical expression for targeting webpages of an advertiser's website.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonWebpageConditionInfo

Returns a new instance of GoogleAdsSearchads360V0CommonWebpageConditionInfo.



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

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

Instance Attribute Details

#argumentString

Argument of webpage targeting condition. Corresponds to the JSON property argument

Returns:

  • (String)


2865
2866
2867
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2865

def argument
  @argument
end

#operandString

Operand of webpage targeting condition. Corresponds to the JSON property operand

Returns:

  • (String)


2870
2871
2872
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2870

def operand
  @operand
end

#operatorString

Operator of webpage targeting condition. Corresponds to the JSON property operator

Returns:

  • (String)


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

def operator
  @operator
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2882
2883
2884
2885
2886
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2882

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