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.



380
381
382
# File 'lib/google/apis/searchads360_v0/classes.rb', line 380

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)


361
362
363
# File 'lib/google/apis/searchads360_v0/classes.rb', line 361

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)


368
369
370
# File 'lib/google/apis/searchads360_v0/classes.rb', line 368

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)


378
379
380
# File 'lib/google/apis/searchads360_v0/classes.rb', line 378

def target_cpa_micros
  @target_cpa_micros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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