原子地更新多个广告系列预算 [英] Update multiple campaign budgets atomically

查看:78
本文介绍了原子地更新多个广告系列预算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

Hi.




有没有办法以原子方式更新多个广告系列的预算,以便所有更新都成功或所有更新都失败。

Is there a way to update the budgets of multiple campaigns atomically, such that either all update succeeds or all update fails.




我有一个用例,我希望能够同时更新多个广告系列的预算(每个广告系列都有自己的特定预算,即没有共享预算),重要的是,如果某些广告系列无法更新,其他广告系列的更新不会通过
。有没有办法通过API做到这一点?

I have a use case where I want to be able to update the budget of multiple campaigns(each with their own specific budget, i.e. no shared budget) simultaneously, and it's important that if some of the campaign fail to update, the update doesn't go through for other campaigns. Is there a way to do that through the API?




否则,另一种方法是发送'rollback'更新到恢复那些成功的upadtes,但如果回滚本身失败,这可能会变得棘手。

Otherwise, the alternative is to send 'rollback' updates to revert those upadtes that succeeded, but this can become tricky if the rollback itself fails.




在这种情况下,是否有任何关于如何帮助保证一致性的建议?

Is there any suggestion on how to help guarantee consistency in such a situation?




谢谢。

Thanks.

推荐答案

很棒的问题。不支持此方案。我会向团队提及。我还建议您提交功能请求

here

在实际拨打电话之前,'dryrun'选项可能有助于您测试所有更新是否成功。之前已针对其他方案提出过此建议,此处也可能适用。据我所知,这不是
近期路线图,但如果我发现其他情况,我会通知您。

A 'dryrun' option might help where you could test to see if all updates would succeed, prior to actually making the call. This has been suggested previously for other scenarios, and it might be applicable here as well. As far as I know this is not on the near term road map, but I will let you know if I find otherwise.

在此期间,如果有,请联系我们关于当前观察到的错误以及如何/是否可以通过更新避免这些错误的任何未解决的问题。(虽然我假设您已经在此方面做了一些努力。) 

In the meantime please reach out if there are any open questions about the current observed errors, and how / whether they might be avoided via updates. (Although I assume you have already made every effort on this front already.) 

最好的问候,

Eric


这篇关于原子地更新多个广告系列预算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆