class Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm
A single custom bidding algorithm.
Attributes
Immutable. The unique ID of the advertiser that owns the custom bidding algorithm. Corresponds to the JSON property `advertiserId` @return [Fixnum]
Output only. The unique ID of the custom bidding algorithm. Assigned by the system. Corresponds to the JSON property `customBiddingAlgorithmId` @return [Fixnum]
Output only. The status of custom bidding algorithm. Corresponds to the JSON property `customBiddingAlgorithmState` @return [String]
Required. Immutable. The type of custom bidding algorithm. Corresponds to the JSON property `customBiddingAlgorithmType` @return [String]
Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes. Corresponds to the JSON property `displayName` @return [String]
Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: * `ENTITY_STATUS_ACTIVE` * ` ENTITY_STATUS_ARCHIVED` Corresponds to the JSON property `entityStatus` @return [String]
Output only. The resource name of the custom bidding algorithm. Corresponds to the JSON property `name` @return [String]
Immutable. The unique ID of the partner that owns the custom bidding algorithm. Corresponds to the JSON property `partnerId` @return [Fixnum]
Public Class Methods
# File lib/google/apis/displayvideo_v1/classes.rb, line 3469 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/displayvideo_v1/classes.rb, line 3474 def update!(**args) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @custom_bidding_algorithm_id = args[:custom_bidding_algorithm_id] if args.key?(:custom_bidding_algorithm_id) @custom_bidding_algorithm_state = args[:custom_bidding_algorithm_state] if args.key?(:custom_bidding_algorithm_state) @custom_bidding_algorithm_type = args[:custom_bidding_algorithm_type] if args.key?(:custom_bidding_algorithm_type) @display_name = args[:display_name] if args.key?(:display_name) @entity_status = args[:entity_status] if args.key?(:entity_status) @name = args[:name] if args.key?(:name) @partner_id = args[:partner_id] if args.key?(:partner_id) @shared_advertiser_ids = args[:shared_advertiser_ids] if args.key?(:shared_advertiser_ids) end