Class: Google::Apis::DisplayvideoV4::CustomBiddingModelDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb

Overview

The details of a custom bidding algorithm model for a single shared advertiser.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CustomBiddingModelDetails

Returns a new instance of CustomBiddingModelDetails.



6021
6022
6023
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 6021

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

Instance Attribute Details

#advertiser_idFixnum

The unique ID of the relevant advertiser. Corresponds to the JSON property advertiserId

Returns:

  • (Fixnum)


6009
6010
6011
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 6009

def advertiser_id
  @advertiser_id
end

#readiness_stateString

The readiness state of custom bidding model. Corresponds to the JSON property readinessState

Returns:

  • (String)


6014
6015
6016
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 6014

def readiness_state
  @readiness_state
end

#suspension_stateString

Output only. The suspension state of custom bidding model. Corresponds to the JSON property suspensionState

Returns:

  • (String)


6019
6020
6021
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 6019

def suspension_state
  @suspension_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6026
6027
6028
6029
6030
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 6026

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