The DCM/DFA Reporting and Trafficking API v2.7 is deprecated and will be sunset on November 30th, 2017. All users must migrate to a newer API version by that date.

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.

Request

HTTP request

POST https://www.googleapis.com/dfareporting/v2.8/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 (read more about authentication and authorization).

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

Request body

In the request body, supply a DynamicTargetingKeys resource.

Response

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

Send feedback about...

DoubleClick Campaign Manager
DoubleClick Campaign Manager