CustomBiddingAlgorithms
class CustomBiddingAlgorithms extends Resource (View source)
The "customBiddingAlgorithms" collection of methods.
Typical usage is:
$displayvideoService = new Google\Service\DisplayVideo(...);
$customBiddingAlgorithms = $displayvideoService->customBiddingAlgorithms;
Methods
Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful. (customBiddingAlgorithms.create)
Gets a custom bidding algorithm. (customBiddingAlgorithms.get)
Lists custom bidding algorithms that are accessible to the current user and can be used in bidding stratgies. The order is defined by the order_by parameter. (customBiddingAlgorithms.listCustomBiddingAlgorithms)
Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. (customBiddingAlgorithms.patch)
Creates a rules reference object for an AlgorithmRules file. The resulting reference object provides a resource path where the AlgorithmRules file should be uploaded. This reference object should be included when creating a new CustomBiddingAlgorithmRules resource.
Creates a custom bidding script reference object for a script file. The resulting reference object provides a resource path to which the script file should be uploaded. This reference object should be included in when creating a new custom bidding script object. (customBiddingAlgorithms.uploadScript)
Details
CustomBiddingAlgorithm
create(CustomBiddingAlgorithm $postBody, array $optParams = [])
Creates a new custom bidding algorithm. Returns the newly created custom bidding algorithm if successful. (customBiddingAlgorithms.create)
CustomBiddingAlgorithm
get(string $customBiddingAlgorithmId, array $optParams = [])
Gets a custom bidding algorithm. (customBiddingAlgorithms.get)
ListCustomBiddingAlgorithmsResponse
listCustomBiddingAlgorithms(array $optParams = [])
Lists custom bidding algorithms that are accessible to the current user and can be used in bidding stratgies. The order is defined by the order_by parameter. (customBiddingAlgorithms.listCustomBiddingAlgorithms)
CustomBiddingAlgorithm
patch(string $customBiddingAlgorithmId, CustomBiddingAlgorithm $postBody, array $optParams = [])
Updates an existing custom bidding algorithm. Returns the updated custom bidding algorithm if successful. (customBiddingAlgorithms.patch)
CustomBiddingAlgorithmRulesRef
uploadRules(string $customBiddingAlgorithmId, array $optParams = [])
Creates a rules reference object for an AlgorithmRules file. The resulting reference object provides a resource path where the AlgorithmRules file should be uploaded. This reference object should be included when creating a new CustomBiddingAlgorithmRules resource.
(customBiddingAlgorithms.uploadRules)
CustomBiddingScriptRef
uploadScript(string $customBiddingAlgorithmId, array $optParams = [])
Creates a custom bidding script reference object for a script file. The resulting reference object provides a resource path to which the script file should be uploaded. This reference object should be included in when creating a new custom bidding script object. (customBiddingAlgorithms.uploadScript)