class Creatives extends Resource (View source)

The "creatives" collection of methods.

Typical usage is:

 $dfareportingService = new Google\Service\Dfareporting(...);
 $creatives = $dfareportingService->creatives;

Methods

get(string $profileId, string $id, array $optParams = [])

Gets one creative by ID. (creatives.get)

insert(string $profileId, Creative $postBody, array $optParams = [])

Inserts a new creative. (creatives.insert)

listCreatives(string $profileId, array $optParams = [])

Retrieves a list of creatives, possibly filtered. This method supports paging. (creatives.listCreatives)

patch(string $profileId, string $id, Creative $postBody, array $optParams = [])

Updates an existing creative. This method supports patch semantics.

update(string $profileId, Creative $postBody, array $optParams = [])

Updates an existing creative. (creatives.update)

Details

Creative get(string $profileId, string $id, array $optParams = [])

Gets one creative by ID. (creatives.get)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Creative ID.

array $optParams

Optional parameters.

Return Value

Creative

Exceptions

Exception

Creative insert(string $profileId, Creative $postBody, array $optParams = [])

Inserts a new creative. (creatives.insert)

Parameters

string $profileId

User profile ID associated with this request.

Creative $postBody
array $optParams

Optional parameters.

Return Value

Creative

Exceptions

Exception

CreativesListResponse listCreatives(string $profileId, array $optParams = [])

Retrieves a list of creatives, possibly filtered. This method supports paging. (creatives.listCreatives)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

CreativesListResponse

Exceptions

Exception

Creative patch(string $profileId, string $id, Creative $postBody, array $optParams = [])

Updates an existing creative. This method supports patch semantics.

(creatives.patch)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Required. Creative ID.

Creative $postBody
array $optParams

Optional parameters.

Return Value

Creative

Exceptions

Exception

Creative update(string $profileId, Creative $postBody, array $optParams = [])

Updates an existing creative. (creatives.update)

Parameters

string $profileId

User profile ID associated with this request.

Creative $postBody
array $optParams

Optional parameters.

Return Value

Creative

Exceptions

Exception