尝试通过Marketing API创建广告时,出现以下错误:
error_subcode: 1359101
error_user_msg: "You need to have a valid payment method associated with your ad account before you can create ads."
error_user_title: "Add Payment Method"
我在https://developers.facebook.com/docs/marketing-api/error-reference上找不到有关此error_subcode的任何其他信息,并且主要错误代码“ 100-无效参数”几乎没有帮助。
注意:我不希望手动将付款方式添加到“ ... facebook.com/ads/manager/billing/transactions / ...”上的帐户中,以实现此目的。
编辑:有没有一种方法可以检查用户是否在广告帐户上设置了付款方式?
有没有办法检查用户是否在广告帐户上设置了付款方式?
查看“广告帐户”对象的字段,funding_source
然后funding_source_details
-使用这些字段,您可以确定是否为该帐户设置了付款方式(如有必要,还可以添加其他详细信息)。
https://developers.facebook.com/docs/marketing-api/reference/ad-account
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句