Google_Service_RealTimeBidding_Resource_BiddersCreatives
extends Google_Service_Resource
in package
The "creatives" collection of methods.
Typical usage is:
$realtimebiddingService = new Google_Service_RealTimeBidding(...);
$creatives = $realtimebiddingService->creatives;
Table of Contents
- $client : Google_Client
- $methods : array<string|int, mixed>
- $resourceName : string
- $rootUrl : string
- $serviceName : string
- $servicePath : string
- $stackParameters : mixed
- __construct() : mixed
- call() : Google_Http_Request|expectedClass
- TODO: This function needs simplifying.
- createRequestUri() : string
- Parse/expand request parameters and create a fully qualified request uri.
- listBiddersCreatives() : Google_Service_RealTimeBidding_ListCreativesResponse
- Lists creatives. (creatives.listBiddersCreatives)
- watch() : Google_Service_RealTimeBidding_WatchCreativesResponse
- Watches all creatives pertaining to a bidder. It is sufficient to invoke this endpoint once per bidder. A Pub/Sub topic will be created and notifications will be pushed to the topic when any of the bidder's creatives change status.
- convertToArrayAndStripNulls() : mixed
Properties
$client
private
Google_Client
$client
$methods
private
array<string|int, mixed>
$methods
$resourceName
private
string
$resourceName
$rootUrl
private
string
$rootUrl
$serviceName
private
string
$serviceName
$servicePath
private
string
$servicePath
$stackParameters
private
mixed
$stackParameters
= array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))
Methods
__construct()
public
__construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
- $service : mixed
- $serviceName : mixed
- $resourceName : mixed
- $resource : mixed
Return values
mixed —call()
TODO: This function needs simplifying.
public
call( $name, $arguments[, $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
Tags
Return values
Google_Http_Request|expectedClass —createRequestUri()
Parse/expand request parameters and create a fully qualified request uri.
public
createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
- $restPath : string
- $params : array<string|int, mixed>
Tags
Return values
string —$requestUrl
listBiddersCreatives()
Lists creatives. (creatives.listBiddersCreatives)
public
listBiddersCreatives(string $parent[, array<string|int, mixed> $optParams = array() ]) : Google_Service_RealTimeBidding_ListCreativesResponse
Parameters
- $parent : string
-
Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either
buyers/{buyerAccountId}orbidders/{bidderAccountId}. Forbuyers/{buyerAccountId}, thebuyerAccountIdcan be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (456) under bidder account (123), you would use the pattern:buyers/456. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (123), you would usebuyers/123. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would usebidders/{bidderAccountId}, e.g., for all creatives pertaining to bidder (123), usebidders/123. - $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_RealTimeBidding_ListCreativesResponse —watch()
Watches all creatives pertaining to a bidder. It is sufficient to invoke this endpoint once per bidder. A Pub/Sub topic will be created and notifications will be pushed to the topic when any of the bidder's creatives change status.
public
watch(string $parent, Google_Service_RealTimeBidding_WatchCreativesRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_RealTimeBidding_WatchCreativesResponse
All of the bidder's service accounts will have access to read from the topic. Subsequent invocations of this method will return the existing Pub/Sub configuration. (creatives.watch)
Parameters
- $parent : string
-
Required. To watch all creatives pertaining to the bidder and all its child seat accounts, the bidder must follow the pattern
bidders/{bidderAccountId}. - $postBody : Google_Service_RealTimeBidding_WatchCreativesRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_RealTimeBidding_WatchCreativesResponse —convertToArrayAndStripNulls()
protected
convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
- $o : mixed