class ContentCategories extends Resource (View source)

The "contentCategories" collection of methods.

Typical usage is:

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

Methods

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

Deletes an existing content category. (contentCategories.delete)

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

Gets one content category by ID. (contentCategories.get)

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

Inserts a new content category. (contentCategories.insert)

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

Retrieves a list of content categories, possibly filtered. This method supports paging. (contentCategories.listContentCategories)

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

Updates an existing content category. This method supports patch semantics.

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

Updates an existing content category. (contentCategories.update)

Details

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

Deletes an existing content category. (contentCategories.delete)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Content category ID.

array $optParams

Optional parameters.

Exceptions

Exception

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

Gets one content category by ID. (contentCategories.get)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Content category ID.

array $optParams

Optional parameters.

Return Value

ContentCategory

Exceptions

Exception

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

Inserts a new content category. (contentCategories.insert)

Parameters

string $profileId

User profile ID associated with this request.

ContentCategory $postBody
array $optParams

Optional parameters.

Return Value

ContentCategory

Exceptions

Exception

ContentCategoriesListResponse listContentCategories(string $profileId, array $optParams = [])

Retrieves a list of content categories, possibly filtered. This method supports paging. (contentCategories.listContentCategories)

Parameters

string $profileId

User profile ID associated with this request.

array $optParams

Optional parameters.

Return Value

ContentCategoriesListResponse

Exceptions

Exception

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

Updates an existing content category. This method supports patch semantics.

(contentCategories.patch)

Parameters

string $profileId

User profile ID associated with this request.

string $id

Required. ContentCategory ID.

ContentCategory $postBody
array $optParams

Optional parameters.

Return Value

ContentCategory

Exceptions

Exception

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

Updates an existing content category. (contentCategories.update)

Parameters

string $profileId

User profile ID associated with this request.

ContentCategory $postBody
array $optParams

Optional parameters.

Return Value

ContentCategory

Exceptions

Exception