1

我正在使用 Facebook Marketing API 的 SDK ( python ) 实现一个应用程序,我是一个新手,但我阅读了文档并且能够创建活动和广告集。但不适用于广告素材。错误是我的应用程序处于开发模式,我需要将其切换为公开。

Status:  400
  Response:
    {
      "error": {
        "message": "Invalid parameter",
        "type": "OAuthException",
        "code": 100,
        "error_subcode": 1885183,
        "is_transient": false,
        "error_user_title": "Ads creative post was created by an app that is in development mode",
        "error_user_msg": "Ads creative post was created by an app that is in development mode. It must be in public to create this ad.",
        "fbtrace_id": "Dxgr83ugqSu"
      }
    }

一旦我这样做了,就会发生另一个错误,指出应该授予扩展权限:

Status:  403
 Response:
   {
     “error”: {
       “message”: “(#294) Managing advertisements requires an access token with the extended permission for ads_management”,
       “type”: “OAuthException”,
       “code”: 294,
       “fbtrace_id”: “HZ8N55VciZg”
     }
   }

我所理解的是,在尝试推送广告之前,我需要提交我的应用程序以供审核。但是,我想知道是否有可能在不这样做的情况下推送广告?为了测试我的脚本?

注意:沙盒模式也是如此。

如果这听起来像一个幼稚的问题,请道歉。

4

0 回答 0