Class: Google::Apis::DisplayvideoV3::CustomBiddingModelDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/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.



4801
4802
4803
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4801

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)


4789
4790
4791
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4789

def advertiser_id
  @advertiser_id
end

#readiness_stateString

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

Returns:

  • (String)


4794
4795
4796
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4794

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)


4799
4800
4801
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4799

def suspension_state
  @suspension_state
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4806
4807
4808
4809
4810
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 4806

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