I want to create CAMPAIGN from Landing Page. All I know is it's impossible with just AMPScript. So, I have to use SSJS.

After looking on SSJS documentation I couldn't find any dedicated CAMPAIGN function. I not sure if it's:

var newObject = Platform.Function.CreateObject("?????");


I believe the only way is via an API call or using an SDK. I can find no documentation on how to do this outside of these instances.

In that vein though, through SSJS or even AMPscript you can make a POST, allowing you to use the REST API. So, if you build your call in these languages, you can make your REST API call to build or manipulate a campaign.

EDIT: Updated link to new SDK link as shown in comment.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.