Class: Google::Apis::DisplayvideoV2::YoutubeAndPartnersBiddingStrategy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YoutubeAndPartnersBiddingStrategy

Returns a new instance of YoutubeAndPartnersBiddingStrategy.



10978
10979
10980
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10978

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

Instance Attribute Details

#typeString

The type of the bidding strategy. Corresponds to the JSON property type

Returns:

  • (String)


10962
10963
10964
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10962

def type
  @type
end

#valueFixnum

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

Returns:

  • (Fixnum)


10976
10977
10978
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10976

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10983
10984
10985
10986
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10983

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