class CustomBiddingAlgorithmsRules extends Resource (View source)

The "rules" collection of methods.

Typical usage is:

 $displayvideoService = new Google\Service\DisplayVideo(...);
 $rules = $displayvideoService->customBiddingAlgorithms_rules;

Methods

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

Creates a new rules resource. Returns the newly created rules resource if successful. (rules.create)

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

Retrieves a rules resource. (rules.get)

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

Lists rules resources that belong to the given algorithm. The order is defined by the order_by parameter. (rules.listCustomBiddingAlgorithmsRules)

Details

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

Creates a new rules resource. Returns the newly created rules resource if successful. (rules.create)

Parameters

string $customBiddingAlgorithmId

Required. The ID of the custom bidding algorithm that owns the rules resource.

CustomBiddingAlgorithmRules $postBody
array $optParams

Optional parameters.

Return Value

CustomBiddingAlgorithmRules

Exceptions

Exception

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

Retrieves a rules resource. (rules.get)

Parameters

string $customBiddingAlgorithmId

Required. The ID of the custom bidding algorithm that owns the rules resource.

string $customBiddingAlgorithmRulesId

Required. The ID of the rules resource to fetch.

array $optParams

Optional parameters.

Return Value

CustomBiddingAlgorithmRules

Exceptions

Exception

ListCustomBiddingAlgorithmRulesResponse listCustomBiddingAlgorithmsRules(string $customBiddingAlgorithmId, array $optParams = [])

Lists rules resources that belong to the given algorithm. The order is defined by the order_by parameter. (rules.listCustomBiddingAlgorithmsRules)

Parameters

string $customBiddingAlgorithmId

Required. The ID of the custom bidding algorithm that owns the rules resource.

array $optParams

Optional parameters.

Return Value

ListCustomBiddingAlgorithmRulesResponse

Exceptions

Exception