class CreativeFields extends Resource (View source)

The "creativeFields" collection of methods.

Typical usage is:

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

Methods

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

Deletes an existing creative field. (creativeFields.delete)

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

Gets one creative field by ID. (creativeFields.get)

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

Inserts a new creative field. (creativeFields.insert)

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

Retrieves a list of creative fields, possibly filtered. This method supports paging. (creativeFields.listCreativeFields)

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

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

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

Updates an existing creative field. (creativeFields.update)

Details

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

Deletes an existing creative field. (creativeFields.delete)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Creative Field ID

array $optParams

Optional parameters.

Exceptions

Exception

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

Gets one creative field by ID. (creativeFields.get)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Creative Field ID

array $optParams

Optional parameters.

Return Value

CreativeField

Exceptions

Exception

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

Inserts a new creative field. (creativeFields.insert)

Parameters

string $profileId

User profile ID associated with this request.

CreativeField $postBody
array $optParams

Optional parameters.

Return Value

CreativeField

Exceptions

Exception

CreativeFieldsListResponse listCreativeFields(string $profileId, array $optParams = [])

Retrieves a list of creative fields, possibly filtered. This method supports paging. (creativeFields.listCreativeFields)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

CreativeFieldsListResponse

Exceptions

Exception

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

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

(creativeFields.patch)

Parameters

string $profileId

User profile ID associated with this request.

string $id

CreativeField ID.

CreativeField $postBody
array $optParams

Optional parameters.

Return Value

CreativeField

Exceptions

Exception

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

Updates an existing creative field. (creativeFields.update)

Parameters

string $profileId

User profile ID associated with this request.

CreativeField $postBody
array $optParams

Optional parameters.

Return Value

CreativeField

Exceptions

Exception