class CreativeGroups extends Resource (View source)

The "creativeGroups" collection of methods.

Typical usage is:

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

Methods

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

Gets one creative group by ID. (creativeGroups.get)

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

Inserts a new creative group. (creativeGroups.insert)

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

Retrieves a list of creative groups, possibly filtered. This method supports paging. (creativeGroups.listCreativeGroups)

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

Updates an existing creative group. This method supports patch semantics.

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

Updates an existing creative group. (creativeGroups.update)

Details

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

Gets one creative group by ID. (creativeGroups.get)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Creative group ID.

array $optParams

Optional parameters.

Return Value

CreativeGroup

Exceptions

Exception

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

Inserts a new creative group. (creativeGroups.insert)

Parameters

string $profileId

User profile ID associated with this request.

CreativeGroup $postBody
array $optParams

Optional parameters.

Return Value

CreativeGroup

Exceptions

Exception

CreativeGroupsListResponse listCreativeGroups(string $profileId, array $optParams = [])

Retrieves a list of creative groups, possibly filtered. This method supports paging. (creativeGroups.listCreativeGroups)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

CreativeGroupsListResponse

Exceptions

Exception

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

Updates an existing creative group. This method supports patch semantics.

(creativeGroups.patch)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Required. Creative Group ID.

CreativeGroup $postBody
array $optParams

Optional parameters.

Return Value

CreativeGroup

Exceptions

Exception

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

Updates an existing creative group. (creativeGroups.update)

Parameters

string $profileId

User profile ID associated with this request.

CreativeGroup $postBody
array $optParams

Optional parameters.

Return Value

CreativeGroup

Exceptions

Exception