v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13217260568.5 KB
dynamicTargetingKeys

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.

post/userprofiles/{+profileId}/dynamicTargetingKeys

Path parameters

profileIdstring required

User profile ID associated with this request.

Request body

objectType'OBJECT_ADVERTISER' | 'OBJECT_AD' | 'OBJECT_CREATIVE' | 'OBJECT_PLACEMENT'

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

kindstring

Identifies what kind of resource this is. Value: the fixed string "dfareporting#dynamicTargetingKey".

objectIdstring int64

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

namestring

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.

Response

Successful response