Class: Google::Apis::DisplayvideoV1::PerformanceGoalBidStrategy
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::PerformanceGoalBidStrategy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Overview
A strategy that automatically adjusts the bid to meet or beat a specified performance goal.
Instance Attribute Summary collapse
-
#custom_bidding_algorithm_id ⇒ Fixnum
The ID of the Custom Bidding Algorithm used by this strategy.
-
#max_average_cpm_bid_amount_micros ⇒ Fixnum
The maximum average CPM that may be bid, in micros of the advertiser's currency.
-
#performance_goal_amount_micros ⇒ Fixnum
Required.
-
#performance_goal_type ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PerformanceGoalBidStrategy
constructor
A new instance of PerformanceGoalBidStrategy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PerformanceGoalBidStrategy
Returns a new instance of PerformanceGoalBidStrategy.
9178 9179 9180 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 9178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_bidding_algorithm_id ⇒ Fixnum
The ID of the Custom Bidding Algorithm used by this strategy. Only applicable
when performance_goal_type is set to
BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO.
Corresponds to the JSON property customBiddingAlgorithmId
9135 9136 9137 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 9135 def custom_bidding_algorithm_id @custom_bidding_algorithm_id end |
#max_average_cpm_bid_amount_micros ⇒ Fixnum
The maximum average CPM that may be bid, in micros of the advertiser's
currency. Must be greater than or equal to a billable unit of the given
currency. Not applicable when performance_goal_type is set to
BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM. For example, 1500000
represents 1.5 standard units of the currency.
Corresponds to the JSON property maxAverageCpmBidAmountMicros
9144 9145 9146 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 9144 def max_average_cpm_bid_amount_micros @max_average_cpm_bid_amount_micros end |
#performance_goal_amount_micros ⇒ Fixnum
Required. The performance goal the bidding strategy will attempt to meet or
beat, in micros of the advertiser's currency or in micro of the ROAS (Return
On Advertising Spend) value which is also based on advertiser's currency. Must
be greater than or equal to a billable unit of the given currency and smaller
or equal to upper bounds. Each performance_goal_type has its upper bound: *
when performance_goal_type is BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA,
upper bound is 10000.00 USD. * when performance_goal_type is
BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC, upper bound is 1000.00 USD. *
when performance_goal_type is
BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM, upper bound is 1000.00
USD. * when performance_goal_type is
BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO, upper bound is 1000.00
and lower bound is 0.01. Example: If set to
BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM, the bid price will be
based on the probability that each available impression will be viewable. For
example, if viewable CPM target is $2 and an impression is 40% likely to be
viewable, the bid price will be $0.80 CPM (40% of $2). For example, 1500000
represents 1.5 standard units of the currency or ROAS value.
Corresponds to the JSON property performanceGoalAmountMicros
9166 9167 9168 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 9166 def performance_goal_amount_micros @performance_goal_amount_micros end |
#performance_goal_type ⇒ String
Required. The type of the performance goal that the bidding strategy will try
to meet or beat. For line item level usage, the value must be one of: *
BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPA *
BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CPC *
BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM *
BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO.
Corresponds to the JSON property performanceGoalType
9176 9177 9178 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 9176 def performance_goal_type @performance_goal_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9183 9184 9185 9186 9187 9188 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 9183 def update!(**args) @custom_bidding_algorithm_id = args[:custom_bidding_algorithm_id] if args.key?(:custom_bidding_algorithm_id) @max_average_cpm_bid_amount_micros = args[:max_average_cpm_bid_amount_micros] if args.key?(:max_average_cpm_bid_amount_micros) @performance_goal_amount_micros = args[:performance_goal_amount_micros] if args.key?(:performance_goal_amount_micros) @performance_goal_type = args[:performance_goal_type] if args.key?(:performance_goal_type) end |