Class: Google::Apis::DisplayvideoV2::YoutubeAndPartnersBiddingStrategy
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::YoutubeAndPartnersBiddingStrategy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/representations.rb
Overview
Settings that control the bid strategy for YouTube and Partners resources.
Instance Attribute Summary collapse
-
#type ⇒ String
The type of the bidding strategy.
-
#value ⇒ Fixnum
The value used by the bidding strategy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeAndPartnersBiddingStrategy
constructor
A new instance of YoutubeAndPartnersBiddingStrategy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeAndPartnersBiddingStrategy
Returns a new instance of YoutubeAndPartnersBiddingStrategy.
10916 10917 10918 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10916 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
The type of the bidding strategy.
Corresponds to the JSON property type
10900 10901 10902 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10900 def type @type end |
#value ⇒ Fixnum
The value used by the bidding strategy. When the bidding strategy is assigned
at the line item level, this field is only applicable for the following
strategy types: * YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA When
the bidding strategy is assigned at the ad group level, this field is only
applicable for the following strategy types: *
YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPM *
YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_MANUAL_CPV *
YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPA *
YOUTUBE_AND_PARTNERS_BIDDING_STRATEGY_TYPE_TARGET_CPM If not using an
applicable strategy, the value of this field will be 0.
Corresponds to the JSON property value
10914 10915 10916 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10914 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10921 10922 10923 10924 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10921 def update!(**args) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end |