customBiddingAlgorithms

PATCH /v4/customBiddingAlgorithms/{customBiddingAlgorithmsId}

Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. Requests updating a custom bidding algorithm assigned to a line item will return an error.

Request

  • Base URL
    https://displayvideo.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/display-video
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/display-video

Path parameters

customBiddingAlgorithmsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

updateMask, string google-fieldmask

Required. The mask to control which fields to update.

Request body

CustomBiddingAlgorithm required

A single custom bidding algorithm.

advertiserId, string int64

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

customBiddingAlgorithmId, string int64

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

customBiddingAlgorithmType, 'CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED' | 'SCRIPT_BASED' | 'RULE_BASED'

Required. Immutable. The type of custom bidding algorithm.

displayName, string

Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.

entityStatus, 'ENTITY_STATUS_UNSPECIFIED' | 'ENTITY_STATUS_ACTIVE' | 'ENTITY_STATUS_ARCHIVED' | 'ENTITY_STATUS_DRAFT' | 'ENTITY_STATUS_PAUSED' | 'ENTITY_STATUS_SCHEDULED_FOR_DELETION'

Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: * ENTITY_STATUS_ACTIVE * ENTITY_STATUS_ARCHIVED

modelDetails, CustomBiddingModelDetails[]

Output only. The details of custom bidding models for each advertiser who has access. This field may only include the details of the queried advertiser if the algorithm owner is a partner and is being retrieved using an advertiser accessor.

name, string

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

partnerId, string int64

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

sharedAdvertiserIds, string[]

The IDs of the advertisers who have access to this algorithm. If advertiser_id is set, this field will only consist of that value. This field will not be set if the algorithm owner is a partner and is being retrieved using an advertiser accessor.

thirdPartyOptimizationPartner, 'UNKNOWN' | 'SCIBIDS' | 'ADELAIDE'

Optional. Immutable. Designates the third party optimization partner that manages this algorithm.

Response

Successful response

CustomBiddingAlgorithm required

A single custom bidding algorithm.

advertiserId, string int64

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

customBiddingAlgorithmId, string int64

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

customBiddingAlgorithmType, 'CUSTOM_BIDDING_ALGORITHM_TYPE_UNSPECIFIED' | 'SCRIPT_BASED' | 'RULE_BASED'

Required. Immutable. The type of custom bidding algorithm.

displayName, string

Required. The display name of the custom bidding algorithm. Must be UTF-8 encoded with a maximum size of 240 bytes.

entityStatus, 'ENTITY_STATUS_UNSPECIFIED' | 'ENTITY_STATUS_ACTIVE' | 'ENTITY_STATUS_ARCHIVED' | 'ENTITY_STATUS_DRAFT' | 'ENTITY_STATUS_PAUSED' | 'ENTITY_STATUS_SCHEDULED_FOR_DELETION'

Controls whether or not the custom bidding algorithm can be used as a bidding strategy. Accepted values are: * ENTITY_STATUS_ACTIVE * ENTITY_STATUS_ARCHIVED

modelDetails, CustomBiddingModelDetails[]

Output only. The details of custom bidding models for each advertiser who has access. This field may only include the details of the queried advertiser if the algorithm owner is a partner and is being retrieved using an advertiser accessor.

name, string

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

partnerId, string int64

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

sharedAdvertiserIds, string[]

The IDs of the advertisers who have access to this algorithm. If advertiser_id is set, this field will only consist of that value. This field will not be set if the algorithm owner is a partner and is being retrieved using an advertiser accessor.

thirdPartyOptimizationPartner, 'UNKNOWN' | 'SCIBIDS' | 'ADELAIDE'

Optional. Immutable. Designates the third party optimization partner that manages this algorithm.

Changes

No recorded changes to this operation across all 9 revisions of this API.