Question about adding Items/Bundles to a Promotion via Cloud Code API
-
Hello. @Paul-Winterhalder
I have question regarding Promotions.When creating a new Promotion via the Web Console, I can easily attach Items and Bundles to it. I am wondering if there is a way to achieve this programmatically via a Cloud Code API?
I have looked into SysCreatePromotion and SysUpdatePromotion, but it seems neither of them supports adding Items or Bundles.
If this is currently not possible via API, could you explain the reasoning behind restricting this configuration solely to the Web Console?
Thank you!
-
- Has the LiveOps feature been removed or deprecated? I can no longer find any documentation for it, and it seems to be missing from the dashboard as well.
Could you please clarify its current status?
-
@moondory77 Hello,
Regarding your question: " I can easily attach Items and Bundles to it. I am wondering if there is a way to achieve this programmatically via a Cloud Code API?"
The calls you referred to (SysCreatePromotion and SysUpdatePromotion) can be used to attach Items and Bundles to promotions.Could you to check the example script in API explorer to see if it provides what you need?

The devs use the API Explorer to test the new/updated calls during development - and so the JSON there is always up-to-date.
-
Regarding your question: "Has the LiveOps feature been removed or deprecated? I can no longer find any documentation for it, and it seems to be missing from the dashboard as well."
I am not 100% sure which feature you are referring to. But maybe you are referring to a feature in our upcoming 6.0 release?
In brainCloud6.0, we will be moving Promotions and Redemptions to a new Braincloud Category called Live Ops.

We will also be introducing a new feature called Campaigns. (In some previews we may have described it as Live Ops Campaigns).
Campaigns are a major showcase of the 6.0 release and will enable Scheduled Limited-Time Game Modes and A/B Scenarios (w/ built-in promotions)
Additional features being released in 6.0 will compliment the development of Promotions and Campaigns making them incredibly easy to develop and powerful.
Could it be possible you saw a sneak peek at the Live Ops Campaigns feature?
Let me know,
Thanks
JH