Resource: BiddingFunction
The bidding function to be executed as part of the TURTLEDOVE simulation experiment bidding flow.
JSON representation |
---|
{ "name": string, "biddingFunction": string, "type": enum ( |
Fields | |
---|---|
name |
The name of the bidding function that must follow the pattern: |
biddingFunction |
The raw Javascript source code of the bidding function. |
type |
The type of the bidding function to be created. |
state |
Output only. The state of the bidding function. |
FunctionType
Possible types of functions that can be run in the TURTLEDOVE simulation.
Enums | |
---|---|
FUNCTION_TYPE_UNSPECIFIED |
Default value that should not be used. |
TURTLEDOVE_SIMULATION_BIDDING_FUNCTION |
Bidding function that can be used by Authorized Buyers in the original TURTLEDOVE simulation. See documentation on the TURTLEDOVE simulation at https://developers.google.com/authorized-buyers/rtb/turtledove. The function takes in a Javascript object,
|
FLEDGE_BIDDING_FUNCTION |
Buyer's interest group bidding function that can be used by Authorized Buyers in the FLEDGE simulation. See the FLEDGE explainer at https://github.com/WICG/turtledove/blob/main/FLEDGE.md#32-on-device-bidding. The function takes one argument,
In other words, there must be a match between the buyer domain of the contextual per_buyer_signals and the domain of an interest group.
The function returns the string creative ID of the selected ad, the bid price CPM, and (optionally) selected product IDs. In addition, the bidding function may populate an optional debug string that may be used for remote debugging and troubleshooting of a bidder-provided bidding function. The debug string should not contain a user identifier. The maximum length of the debug string is 200 bytes. This debug string is available in
|
State
Possible states of functions that can be run for the server-side TURTLEDOVE simulations.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value that should not be used. |
ACTIVE |
An active function. Only ACTIVE bidding functions or ad scoring functions are made available for the server-side TURTLEDOVE simulations. Every account is limited to 10 active bidding functions per account. |
ARCHIVED |
A function that is no longer made available for invocation in a simulation and instead archived. An archived function can later be made active by activating the function through biddingFunctions.activate . |
Methods |
|
---|---|
|
Activates an existing bidding function. |
|
Archives an existing bidding function. |
|
Creates a new bidding function. |
|
Lists the bidding functions that a bidder currently has registered. |