Class: Google::Apis::DisplayvideoV2::CustomBiddingModelDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::CustomBiddingModelDetails
- 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
The details of a custom bidding algorithm model for a single shared advertiser.
Instance Attribute Summary collapse
-
#advertiser_id ⇒ Fixnum
The unique ID of the relevant advertiser.
-
#readiness_state ⇒ String
The readiness state of custom bidding model.
-
#suspension_state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomBiddingModelDetails
constructor
A new instance of CustomBiddingModelDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomBiddingModelDetails
Returns a new instance of CustomBiddingModelDetails.
4241 4242 4243 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advertiser_id ⇒ Fixnum
The unique ID of the relevant advertiser.
Corresponds to the JSON property advertiserId
4229 4230 4231 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4229 def advertiser_id @advertiser_id end |
#readiness_state ⇒ String
The readiness state of custom bidding model.
Corresponds to the JSON property readinessState
4234 4235 4236 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4234 def readiness_state @readiness_state end |
#suspension_state ⇒ String
Output only. The suspension state of custom bidding model.
Corresponds to the JSON property suspensionState
4239 4240 4241 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4239 def suspension_state @suspension_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4246 4247 4248 4249 4250 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 4246 def update!(**args) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @readiness_state = args[:readiness_state] if args.key?(:readiness_state) @suspension_state = args[:suspension_state] if args.key?(:suspension_state) end |