class CustomBiddingAlgorithmsScripts extends Resource (View source)

The "scripts" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $scripts = $displayvideoService->customBiddingAlgorithms_scripts;

Methods

create(string $customBiddingAlgorithmId, CustomBiddingScript $postBody, array $optParams = [])

Creates a new custom bidding script. Returns the newly created script if successful. (scripts.create)

get(string $customBiddingAlgorithmId, string $customBiddingScriptId, array $optParams = [])

Gets a custom bidding script. (scripts.get)

listCustomBiddingAlgorithmsScripts(string $customBiddingAlgorithmId, array $optParams = [])

Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter.

Details

CustomBiddingScript create(string $customBiddingAlgorithmId, CustomBiddingScript $postBody, array $optParams = [])

Creates a new custom bidding script. Returns the newly created script if successful. (scripts.create)

Parameters

string $customBiddingAlgorithmId

Required. The ID of the custom bidding algorithm that owns the script.

CustomBiddingScript $postBody
array $optParams

Optional parameters.

Return Value

CustomBiddingScript

Exceptions

Exception

CustomBiddingScript get(string $customBiddingAlgorithmId, string $customBiddingScriptId, array $optParams = [])

Gets a custom bidding script. (scripts.get)

Parameters

string $customBiddingAlgorithmId

Required. The ID of the custom bidding algorithm owns the script.

string $customBiddingScriptId

Required. The ID of the custom bidding script to fetch.

array $optParams

Optional parameters.

Return Value

CustomBiddingScript

Exceptions

Exception

ListCustomBiddingScriptsResponse listCustomBiddingAlgorithmsScripts(string $customBiddingAlgorithmId, array $optParams = [])

Lists custom bidding scripts that belong to the given algorithm. The order is defined by the order_by parameter.

(scripts.listCustomBiddingAlgorithmsScripts)

Parameters

string $customBiddingAlgorithmId

Required. The ID of the custom bidding algorithm owns the script.

array $optParams

Optional parameters.

Return Value

ListCustomBiddingScriptsResponse

Exceptions

Exception