v1

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

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

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

Path parameters

customBiddingAlgorithmIdstring required

Required. The ID of the custom bidding algorithm that owns the rules resource.

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 rules resource.

Request body

customBiddingAlgorithmIdstring int64

Output only. The unique ID of the custom bidding algorithm that the rules resource belongs to.

createTimestring google-datetime

Output only. The time when the rules resource was created.

customBiddingAlgorithmRulesIdstring int64

Output only. The unique ID of the rules resource.

namestring

Output only. The resource name of the rules resource.

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

Output only. The state of the rules resource.

activeboolean

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

Response

Successful response