DynamicTargetingKeys: delete

Deletes an existing dynamic targeting key. Try it now.

Request

HTTP request

DELETE https://www.googleapis.com/dfareporting/v3.4/userprofiles/profileId/dynamicTargetingKeys/objectId

Parameters

Parameter name Value Description
Path parameters
objectId long ID of the object of this dynamic targeting key. This is a required field.
profileId long User profile ID associated with this request.
Required query 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 string Type of the object of this dynamic targeting key. This is a required field.

Acceptable values are:
  • "OBJECT_AD"
  • "OBJECT_ADVERTISER"
  • "OBJECT_CREATIVE"
  • "OBJECT_PLACEMENT"

Authorization

This request requires authorization with the following scope:

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

For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.

Response

If successful, this method returns an empty response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.