Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesAdGroupBidModifier

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

Represents an ad group bid modifier.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesAdGroupBidModifier

Returns a new instance of GoogleAdsSearchads360V0ResourcesAdGroupBidModifier.



1997
1998
1999
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1997

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

Instance Attribute Details

#bid_modifierFloat

The modifier for the bid when the criterion matches. The modifier must be in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. Use 0 to opt out of a Device type. Corresponds to the JSON property bidModifier

Returns:

  • (Float)


1988
1989
1990
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1988

def bid_modifier
  @bid_modifier
end

#resource_nameString

Immutable. The resource name of the ad group bid modifier. Ad group bid modifier resource names have the form: customers/customer_id/ adGroupBidModifiers/ad_group_id~criterion_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


1995
1996
1997
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1995

def resource_name
  @resource_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2002
2003
2004
2005
# File 'lib/google/apis/searchads360_v0/classes.rb', line 2002

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