Created
May 15, 2017 14:46
-
-
Save biodunalfet/c965be1c6dcb5d177ec1364fbb0f51d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tagmanager.accounts.containers.triggers.create( | |
{ | |
accountId : accountId, | |
containerId : containerId, | |
name : "First Trigger", | |
type : "customEvent", | |
eventName: { | |
type: "template", | |
value: "firstTrigger" | |
} | |
}, function(err){ | |
if (err) { | |
res.json({error : err}); | |
} | |
else { | |
res.json({message : "success!"}); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment