The Campaign Manager 360 API v3.4 is deprecated and will be sunset on Dec 24th, 2021. All users must migrate to a newer API version by that date.

REST Resource: dynamicTargetingKeys

Resource: DynamicTargetingKey

Contains properties of a dynamic targeting key. Dynamic targeting keys are unique, user-friendly labels, created at the advertiser level in DCM, that can be assigned to ads, creatives, and placements and used for targeting with Studio dynamic creatives. Use these labels instead of numeric Campaign Manager IDs (such as placement IDs) to save time and avoid errors in your dynamic feeds.

JSON representation
{
  "name": string,
  "objectType": enum (ObjectType),
  "objectId": string,
  "kind": string
}
Fields
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

enum (ObjectType)

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

objectId

string (int64 format)

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

kind

string

Identifies what kind of resource this is. Value: the fixed string

"dfareporting#dynamicTargetingKey"

.

ObjectType

Enums
OBJECT_ADVERTISER
OBJECT_AD
OBJECT_CREATIVE
OBJECT_PLACEMENT

Methods

delete

Deletes an existing dynamic targeting key.

insert

Inserts a new dynamic targeting key.

list

Retrieves a list of dynamic targeting keys.