Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0CommonMaximizeConversions

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

An automated bidding strategy to help get the most conversions for your campaigns while spending your budget.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0CommonMaximizeConversions

Returns a new instance of GoogleAdsSearchads360V0CommonMaximizeConversions.



405
406
407
# File 'lib/google/apis/searchads360_v0/classes.rb', line 405

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

Instance Attribute Details

#cpc_bid_ceiling_microsFixnum

Maximum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. Mutable for portfolio bidding strategies only. Corresponds to the JSON property cpcBidCeilingMicros

Returns:

  • (Fixnum)


386
387
388
# File 'lib/google/apis/searchads360_v0/classes.rb', line 386

def cpc_bid_ceiling_micros
  @cpc_bid_ceiling_micros
end

#cpc_bid_floor_microsFixnum

Minimum bid limit that can be set by the bid strategy. The limit applies to all keywords managed by the strategy. Mutable for portfolio bidding strategies only. Corresponds to the JSON property cpcBidFloorMicros

Returns:

  • (Fixnum)


393
394
395
# File 'lib/google/apis/searchads360_v0/classes.rb', line 393

def cpc_bid_floor_micros
  @cpc_bid_floor_micros
end

#target_cpa_microsFixnum

The target cost-per-action (CPA) option. This is the average amount that you would like to spend per conversion action specified in micro units of the bidding strategy's currency. If set, the bid strategy will get as many conversions as possible at or below the target cost-per-action. If the target CPA is not set, the bid strategy will aim to achieve the lowest possible CPA given the budget. Corresponds to the JSON property targetCpaMicros

Returns:

  • (Fixnum)


403
404
405
# File 'lib/google/apis/searchads360_v0/classes.rb', line 403

def target_cpa_micros
  @target_cpa_micros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



410
411
412
413
414
# File 'lib/google/apis/searchads360_v0/classes.rb', line 410

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