class Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm

A single custom bidding algorithm.

Attributes

advertiser_id[RW]

Immutable. The unique ID of the advertiser that owns the custom bidding algorithm. Corresponds to the JSON property `advertiserId` @return [Fixnum]

custom_bidding_algorithm_id[RW]

Output only. The unique ID of the custom bidding algorithm. Assigned by the system. Corresponds to the JSON property `customBiddingAlgorithmId` @return [Fixnum]

custom_bidding_algorithm_state[RW]

Output only. The status of custom bidding algorithm. Corresponds to the JSON property `customBiddingAlgorithmState` @return [String]

custom_bidding_algorithm_type[RW]

Required. Immutable. The type of custom bidding algorithm. Corresponds to the JSON property `customBiddingAlgorithmType` @return [String]

display_name[RW]

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]

entity_status[RW]

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]

name[RW]

Output only. The resource name of the custom bidding algorithm. Corresponds to the JSON property `name` @return [String]

partner_id[RW]

Immutable. The unique ID of the partner that owns the custom bidding algorithm. Corresponds to the JSON property `partnerId` @return [Fixnum]

shared_advertiser_ids[RW]

The IDs of the advertisers who have access to this algorithm. This field will not be set if the algorithm owner is a partner and is being retrieved using an advertiser accessor. Corresponds to the JSON property `sharedAdvertiserIds` @return [Array<Fixnum>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 3469
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

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