Skip to main content

scripts

Overview

Namescripts
TypeResource
Idgoogledevelopers.displayvideo.scripts

Fields

NameDatatypeDescription
namestringOutput only. The resource name of the custom bidding script.
customBiddingScriptIdstringOutput only. The unique ID of the custom bidding script.
errorsarrayOutput only. Error details of a rejected custom bidding script. This field will only be populated when Script.state is REJECTED.
scriptobjectThe reference to the uploaded custom bidding script file.
statestringOutput only. The state of the custom bidding script.
activebooleanOutput only. Whether the script is currently being used for scoring by the parent algorithm.
createTimestringOutput only. The time when the script was created.
customBiddingAlgorithmIdstringOutput only. The unique ID of the custom bidding algorithm the script belongs to.

Methods

NameAccessible byRequired ParamsDescription
customBiddingAlgorithms_scripts_getSELECTcustomBiddingAlgorithmsId, scriptsIdGets a custom bidding script.
customBiddingAlgorithms_scripts_listSELECTcustomBiddingAlgorithmsIdLists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter.
customBiddingAlgorithms_scripts_createINSERTcustomBiddingAlgorithmsIdCreates a new custom bidding script. Returns the newly created script if successful.