Method: contentCategories.delete

  • This document outlines how to delete an existing content category using a DELETE HTTP request.

  • The request URL requires both a user profile ID and a content category ID as path parameters.

  • The request body for deleting a content category must be empty.

  • A successful deletion will result in an empty JSON object as the response body.

  • The request requires the https://www.googleapis.com/auth/dfatrafficking OAuth scope for authorization.

Deletes an existing content category.

HTTP request

DELETE https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/contentCategories/{id}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

id

string (int64 format)

Content category ID.

Request body

The request body must be empty.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/dfatrafficking