Class: Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::CustomBiddingAlgorithm
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Overview
A single custom bidding algorithm.
Instance Attribute Summary collapse
-
#advertiser_id ⇒ Fixnum
Immutable.
-
#custom_bidding_algorithm_id ⇒ Fixnum
Output only.
-
#custom_bidding_algorithm_state ⇒ String
Output only.
-
#custom_bidding_algorithm_type ⇒ String
Required.
-
#display_name ⇒ String
Required.
-
#entity_status ⇒ String
Controls whether or not the custom bidding algorithm can be used as a bidding strategy.
-
#name ⇒ String
Output only.
-
#partner_id ⇒ Fixnum
Immutable.
-
#shared_advertiser_ids ⇒ Array<Fixnum>
The IDs of the advertisers who have access to this algorithm.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CustomBiddingAlgorithm
constructor
A new instance of CustomBiddingAlgorithm.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CustomBiddingAlgorithm
Returns a new instance of CustomBiddingAlgorithm.
3613 3614 3615 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3613 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advertiser_id ⇒ Fixnum
Immutable. The unique ID of the advertiser that owns the custom bidding
algorithm.
Corresponds to the JSON property advertiserId
3561 3562 3563 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3561 def advertiser_id @advertiser_id end |
#custom_bidding_algorithm_id ⇒ Fixnum
Output only. The unique ID of the custom bidding algorithm. Assigned by the
system.
Corresponds to the JSON property customBiddingAlgorithmId
3567 3568 3569 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3567 def custom_bidding_algorithm_id @custom_bidding_algorithm_id end |
#custom_bidding_algorithm_state ⇒ String
Output only. The status of custom bidding algorithm.
Corresponds to the JSON property customBiddingAlgorithmState
3572 3573 3574 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3572 def custom_bidding_algorithm_state @custom_bidding_algorithm_state end |
#custom_bidding_algorithm_type ⇒ String
Required. Immutable. The type of custom bidding algorithm.
Corresponds to the JSON property customBiddingAlgorithmType
3577 3578 3579 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3577 def custom_bidding_algorithm_type @custom_bidding_algorithm_type end |
#display_name ⇒ 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
3583 3584 3585 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3583 def display_name @display_name end |
#entity_status ⇒ 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
3590 3591 3592 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3590 def entity_status @entity_status end |
#name ⇒ String
Output only. The resource name of the custom bidding algorithm.
Corresponds to the JSON property name
3595 3596 3597 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3595 def name @name end |
#partner_id ⇒ Fixnum
Immutable. The unique ID of the partner that owns the custom bidding algorithm.
Corresponds to the JSON property partnerId
3600 3601 3602 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3600 def partner_id @partner_id end |
#shared_advertiser_ids ⇒ Array<Fixnum>
3611 3612 3613 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3611 def shared_advertiser_ids @shared_advertiser_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 3618 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 |