Assign Creatives to Tactics

This endpoint allows you to assign or remove creatives from a tactic. This endpoint supports bulk operations. You can assign more than one tactic creatives in a single call.

Endpoint

Method PUT

https://lifeapi.pulsepoint.com/RestApi/v2/lifecreative/account/{accountId}/creativeassociation

Path Parameter: The accountID of the tactic that you want to assign a creative to

Field List

NameData TypeRequiredNotes
tacticIdIntegerYes
creativesToAssignArray of IntegersNo
creativesToUnassignArray of IntegersNo

Example Request

curl --request PUT \
     --url https://lifeapi.pulsepoint.com/RestApi/v1/lifecreative/account/561939/creativeassociation \
     --header 'accept: application/json' \
     --header 'authorization: Bearer yPj6pG3-XKOIKG5jNiW3jgGXXTk' \
     --header 'content-type: application/json' \
     --data '
[
  {
    "tacticId": 253971,
    "creativesAssign": [
      744560,
      316653
    ]
  },
  {
    "tacticId": 253972,
    "creativesToUnAssign": [
      316653
    ]
  }
]
'