AI-generated Key Takeaways
-
This page details how to delete an existing dynamic targeting key.
-
The deletion is performed via a
DELETEHTTP request to a specified URL. -
The request requires both path parameters (
profileId,objectId) and query parameters (name,objectType). -
The request body must be empty, and a successful response will be an empty JSON object.
-
Deleting a dynamic targeting key requires the
https://www.googleapis.com/auth/dfatraffickingauthorization scope.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Deletes an existing dynamic targeting key.
HTTP request
DELETE https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/dynamicTargetingKeys/{objectId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
objectId |
ID of the object of this dynamic targeting key. This is a required field. |
Query parameters
| Parameters | |
|---|---|
name |
Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase. |
objectType |
Required. Type of the object of this dynamic targeting key. This is a required field. |
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