DynamicTargetingKeys: insert

Requires authorization

Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement. Try it now.


HTTP request

POST https://www.googleapis.com/dfareporting/v3.3/userprofiles/profileId/dynamicTargetingKeys


Parameter name Value Description
Path parameters
profileId long User profile ID associated with this request.


This request requires authorization with the following scope (read more about authentication and authorization).


Request body

In the request body, supply a DynamicTargetingKeys resource.


If successful, this method returns a DynamicTargetingKeys resource in the response body.

Try it!

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