Update Creative


                https://api.ocamba.com/api/v1/adex/creatives/{id}
            

Updates the specific Creative by setting the values of the parameters passed


Name
Description
idstringrequired
Unique identifier for the object defined as a path parameter.


Example: 12345

note
1 At least one of the updatable fields should be sent via HTTP body in order to change the current state of the creative.

2 Field campaign_id is required in request body but it is not updateable.
tip
1 If you don't know the creative id, list the creatives to find it.

dynamic-native Arrow
{   
    "campaign_id": "1009383",
    "name": "Update dynamic native",
    "status": "active",
    "type": "dynamic-native",
    "landing_url":"https://www.example.com"
}
{   
    "campaign_id": "1010886",
    "name": "Update dynamic native external",
    "status": "inactive",
    "type": "dynamic-native-external-demand",
    "landing_url":"https://www.example.com",
    "override":{
       "body":1,
       "image":1,
       "target":1
    } 
}
{   
    "campaign_id": "1009378",
    "name": "Update web push",
    "status": "inactive",
    "type": "web-push-object",
    "title" : {
    	"en" : "Samsung J6"
    },
    "body" : {
    	"en" : "Samsung Galaxy J6 smartphone was launched in June 2018."
    },
    "landing_url":"https://www.example.com",
    "vibration" : "20,600,400"
}
{
    "campaign_id":"1009371",
    "name":"Update web push exchange",
    "status":"inactive",
    "type":"web-push-exchange",
    "title":{
       "en":"Important Message"
    },
    "body":{
       "en":"Click Me",
       "sr":"Klikni"
    },
    "landing_url":"https://www.example.com",
    "language_direction":"ltr",
    "renotify":1,
    "tag":"test-tag",
    "silent":0,
    "require_interaction":1,
    "postback":0,
    "vibration":"20,400,600",
    "override":{
       "body":1,
       "icon":0,
       "image":0,
       "landing_url":1,
       "title":0
    },
    "actions":[
       {
          "title":{
             "en":"Read Message",
             "sr":"Procitaj"
          }
       }
    ]
}