Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Service_AdExchangeBuyer_Creatives_Resource Class Reference

The "creatives" collection of methods. More...

Inheritance diagram for Google_Service_AdExchangeBuyer_Creatives_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($accountId, $buyerCreativeId, $optParams=array())
 Gets the status for a single creative.
 
 insert (Google_Service_AdExchangeBuyer_Creative $postBody, $optParams=array())
 Submit a new creative.
 
 listCreatives ($optParams=array())
 Retrieves a list of the authenticated user's active creatives.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "creatives" collection of methods.

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

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_Creatives_Resource::get ( $accountId,
$buyerCreativeId,
$optParams = array() )

Gets the status for a single creative.

A creative will be available 30-40 minutes after submission. (creatives.get)

Parameters
int$accountIdThe id for the account that will serve this creative.
string$buyerCreativeIdThe buyer-specific id for this creative.
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_Creative

◆ insert()

Google_Service_AdExchangeBuyer_Creatives_Resource::insert ( Google_Service_AdExchangeBuyer_Creative $postBody,
$optParams = array() )

Submit a new creative.

(creatives.insert)

Parameters
Google_Creative$postBody
array$optParamsOptional parameters.
Return values
Google_Service_AdExchangeBuyer_Creative

◆ listCreatives()

Google_Service_AdExchangeBuyer_Creatives_Resource::listCreatives ( $optParams = array())

Retrieves a list of the authenticated user's active creatives.

A creative will be available 30-40 minutes after submission. (creatives.listCreatives)

Parameters
array$optParamsOptional parameters.

@opt_param string openAuctionStatusFilter When specified, only creatives having the given open auction status are returned. @opt_param string maxResults Maximum number of entries returned on one result page. If not set, the default is 100. Optional. @opt_param string pageToken A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. Optional. @opt_param string buyerCreativeId When specified, only creatives for the given buyer creative ids are returned. @opt_param string dealsStatusFilter When specified, only creatives having the given direct deals status are returned. @opt_param int accountId When specified, only creatives for the given account ids are returned.

Return values
Google_Service_AdExchangeBuyer_CreativesList

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