- Resource: CustomBiddingAlgorithmRules
- State
- CustomBiddingAlgorithmRulesError
- ErrorCode
- CustomBiddingAlgorithmRulesRef
- Methods
Resource: CustomBiddingAlgorithmRules
A single custom bidding algorithm rules.
JSON representation |
---|
{ "name": string, "customBiddingAlgorithmId": string, "customBiddingAlgorithmRulesId": string, "createTime": string, "active": boolean, "state": enum ( |
Fields | |
---|---|
name |
Output only. The resource name of the rules resource. |
custom |
Output only. The unique ID of the custom bidding algorithm that the rules resource belongs to. |
custom |
Output only. The unique ID of the rules resource. |
create |
Output only. The time when the rules resource was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
active |
Output only. Whether the rules resource is currently being used for scoring by the parent algorithm. |
state |
Output only. The state of the rules resource. |
error |
Output only. Error code of the rejected rules resource. This field will only be populated when the state is |
rules |
Required. Immutable. The reference to the uploaded |
State
Possible states of a CustomBiddingAlgorithmRules
resource.
Enums | |
---|---|
STATE_UNSPECIFIED |
The rules state are unspecified or unknown in this version. |
ACCEPTED |
The rules have been accepted for scoring impressions. |
REJECTED |
The rules have been rejected by backend pipelines. They may have errors. |
CustomBiddingAlgorithmRulesError
An error message for a CustomBiddingAlgorithmRules
resource.
JSON representation |
---|
{
"errorCode": enum ( |
Fields | |
---|---|
error |
The type of error. |
ErrorCode
Possible error codes of a CustomBiddingAlgorithmRules
resource.
Enums | |
---|---|
ERROR_CODE_UNSPECIFIED |
The error is not specified or is unknown in this version. |
SYNTAX_ERROR |
The rules have a syntax error. |
CONSTRAINT_VIOLATION_ERROR |
The rules have a constraint violation error. |
INTERNAL_ERROR |
Internal errors were thrown while processing the rules. |
CustomBiddingAlgorithmRulesRef
The reference to the uploaded AlgorithmRules
file. Retrieve the location to upload new AlgorithmRules
file to using customBiddingAlgorithms.uploadRules
.
JSON representation |
---|
{ "resourceName": string } |
Fields | |
---|---|
resource |
A resource name to be used in |
Methods |
|
---|---|
|
Creates a new rules resource. |
|
Retrieves a rules resource. |
|
Lists rules resources that belong to the given algorithm. |