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

Request

  • Base URL: https://displayvideo.googleapis.com
  • URL: https://displayvideo.googleapis.com/v4/customBiddingAlgorithms/{+customBiddingAlgorithmId}/rules
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/display-video) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/display-video)

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

activeboolean

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

createTimestring google-datetime

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

customBiddingAlgorithmIdstring int64

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

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.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status