The Campaign Manager 360 API v3.5 is deprecated and will be sunset on Apr 20, 2023. All users must migrate to a newer API version by that date.

Method: dynamicTargetingKeys.delete

Stay organized with collections Save and categorize content based on your preferences.

Deletes an existing dynamic targeting key.

HTTP request

DELETE https://dfareporting.googleapis.com/dfareporting/v3.5/userprofiles/{profileId}/dynamicTargetingKeys/{objectId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
profileId

string (int64 format)

User profile ID associated with this request.

objectId

string (int64 format)

ID of the object of this dynamic targeting key. This is a required field.

Query parameters

Parameters
name

string

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

enum (ObjectType)

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 empty.

Authorization Scopes

Requires the following OAuth scope:

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

ObjectType

Enums
OBJECT_ADVERTISER
OBJECT_AD
OBJECT_CREATIVE
OBJECT_PLACEMENT