Update a campaign

Request URI for Sub Account
PATCH /accounts/40505/campaigns/15

Request Format

{
  "campaigns" : {
     "name" : "New name",
     "globalCode":{
        "js": {
            "pre": "console.log(\"Pre JS\");",
            "post": "console.log(\"Post JS\");"
        },
       "css": "body {display: block;}"
     }
  }
}

Update a campaign

🚧

Note:

The "globalCode" section allows you to add Pre/Post-Campaign JS/CSS snippets within the editor. This globalCode block is optional and can be omitted if not needed.

Language
Credentials
Header
Click Try It! to start a request and see the response here!