Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_AdExchangeBuyer_Budget_Resource Class Reference

The "budget" collection of methods. More...

Inheritance diagram for Google_Service_AdExchangeBuyer_Budget_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($accountId, $billingId, $optParams=array())
 Returns the budget information for the adgroup specified by the accountId and billingId.
 
 patch ($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams=array())
 Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.
 
 update ($accountId, $billingId, Google_Service_AdExchangeBuyer_Budget $postBody, $optParams=array())
 Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "budget" collection of methods.

Typical usage is: $adexchangebuyerService = new Google_Service_AdExchangeBuyer(...); $budget = $adexchangebuyerService->budget;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ get()

Google_Service_AdExchangeBuyer_Budget_Resource::get ( $accountId,
$billingId,
$optParams = array() )

Returns the budget information for the adgroup specified by the accountId and billingId.

(budget.get)

Parameters
string$accountIdThe account id to get the budget information for.
string$billingIdThe billing id to get the budget information for.
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_Budget

◆ patch()

Google_Service_AdExchangeBuyer_Budget_Resource::patch ( $accountId,
$billingId,
Google_Service_AdExchangeBuyer_Budget $postBody,
$optParams = array() )

Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.

This method supports patch semantics. (budget.patch)

Parameters
string$accountIdThe account id associated with the budget being updated.
string$billingIdThe billing id associated with the budget being updated.
Google_Budget$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_Budget

◆ update()

Google_Service_AdExchangeBuyer_Budget_Resource::update ( $accountId,
$billingId,
Google_Service_AdExchangeBuyer_Budget $postBody,
$optParams = array() )

Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.

(budget.update)

Parameters
string$accountIdThe account id associated with the budget being updated.
string$billingIdThe billing id associated with the budget being updated.
Google_Budget$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_Budget

The documentation for this class was generated from the following file: