REST Resource: customBiddingAlgorithms

Resource: CustomBiddingAlgorithm

A single custom bidding algorithm.

JSON representation
{
  "name": string,
  "customBiddingAlgorithmId": string,
  "displayName": string,
  "entityStatus": enum (EntityStatus),
  "customBiddingAlgorithmType": enum (CustomBiddingAlgorithmType),

  // Union field owner can be only one of the following:
  "partnerId": string,
  "advertiserId": string
  // End of list of possible types for union field owner.
}
Fields
name

string

Output only. The resource name of the custom bidding algorithm.

customBiddingAlgorithmId

string (int64 format)

Output only. The unique ID of the custom bidding algorithm. Assigned by the system.

displayName

string

Required. The display name of the custom bidding algorithm.

Must be UTF-8 encoded with a maximum size of 240 bytes.

entityStatus

enum (EntityStatus)

Controls whether or not the custom bidding algorithm can be used as a bidding strategy.

Accepted values are:

  • ENTITY_STATUS_ACTIVE
  • ENTITY_STATUS_ARCHIVED
customBiddingAlgorithmType

enum (CustomBiddingAlgorithmType)

Required. Immutable. The type of custom bidding algorithm.

Union field owner. Identifies the DV360 entity that owns the custom bidding algorithm. It can be either a partner or an advertiser. owner can be only one of the following:
partnerId

string (int64 format)

Immutable. The unique ID of the partner that owns the custom bidding algorithm.

advertiserId

string (int64 format)

Immutable. The unique ID of the advertiser that owns the custom bidding algorithm.

CustomBiddingAlgorithmType

Possible types of custom bidding algorithms.

Enums
CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED Algorithm type is not specified or is unknown in this version.
SCRIPT_BASED Algorithm generated through customer-uploaded custom bidding script files.
ADS_DATA_HUB_BASED Algorithm created through Ads Data Hub product.

Methods

get

Gets a custom bidding algorithm.

list

Lists custom bidding algorithms that are accessible to the current user and can be used in bidding stratgies.