Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesCriterionBidModifier

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

Overview

Location Criterion bid modifier.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesCriterionBidModifier

Returns a new instance of GoogleAdsSearchads360V23ServicesCriterionBidModifier.



39823
39824
39825
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39823

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

Instance Attribute Details

#bid_modifierFloat

The associated multiplier for the criterion_id. If set, this value cannot be 0. Corresponds to the JSON property bidModifier

Returns:

  • (Float)


39815
39816
39817
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39815

def bid_modifier
  @bid_modifier
end

#geo_target_constantString

The resource name of the geo location to target. The resource name is of the format "geoTargetConstants/criterion_id". Corresponds to the JSON property geoTargetConstant

Returns:

  • (String)


39821
39822
39823
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39821

def geo_target_constant
  @geo_target_constant
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39828
39829
39830
39831
# File 'lib/google/apis/searchads360_v23/classes.rb', line 39828

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