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.
Request
HTTP request
POST https://www.googleapis.com/dfareporting/v3.3/userprofiles/profileId/dynamicTargetingKeys
Parameters
Parameter name | Value | Description |
---|---|---|
Path parameters | ||
profileId |
long |
User profile ID associated with this request. |
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
In the request body, supply a DynamicTargetingKeys resource.
Response
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.