v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13177414729.5 KB
customBiddingAlgorithms

Creates a new custom bidding script. Returns the newly created script if successful. Requests creating a custom bidding script under an algorithm assigned to a line item will return an error.

post/v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}/scripts

Path parameters

customBiddingAlgorithmIdstring required

Required. The ID of the custom bidding algorithm that owns the script.

Query parameters

advertiserIdstring

The ID of the advertiser that owns the parent custom bidding algorithm.

partnerIdstring

The ID of the partner that owns the parent custom bidding algorithm. Only this partner will have write access to this custom bidding script.

Request body

customBiddingAlgorithmIdstring int64

Output only. The unique ID of the custom bidding algorithm the script belongs to.

customBiddingScriptIdstring int64

Output only. The unique ID of the custom bidding script.

createTimestring google-datetime

Output only. The time when the script was created.

activeboolean

Output only. Whether the script is currently being used for scoring by the parent algorithm.

namestring

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

state'STATE_UNSPECIFIED' | 'ACCEPTED' | 'REJECTED' | 'PENDING'

Output only. The state of the custom bidding script.

Response

Successful response