在开发模式下从应用创建Facebook广告创意

时间:2015-08-25 20:38:48

标签: facebook facebook-graph-api facebook-marketing-api

我正在尝试使用以下请求从我的测试应用在Facebook中创建广告素材(几乎取自Python SDK文档here):

Message: Call was not successful
Method:  POST
Path:     https://graph.facebook.com/v2.4/act_somenumber/adcreatives
Params:  {'object_story_spec': '{"link_data":{"caption":"www.example.com","image_hash":"existing_hash","link":"http://example.com","message":"try it out"},"page_id":"some_page_id"}', 'name': 'AdCreative for Link Ad'}

但是,我收到以下回复:

Status:  500
Response:
{
  "error": {
    "code": 100,
    "is_transient": false,
    "error_subcode": 1885183,
    "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.",
    "error_user_title": "Ads creative post was created by an app that is in development mode",
    "message": "Invalid parameter",
    "type": "FacebookApiException"
  }
}

现在,我看到了一个similar question,其中指出:

  

如果您想要从处于开发模式的应用创建广告,这是可能的,但您要宣传的帖子必须是由未处于开发模式的应用创建的 - 即如果您的应用如果您正在从页面的/ promotable_posts端点推广现有的页面帖子,并且创建这些帖子的应用程序本身不处于开发模式,那么它处于开发模式就可以了。

我不想创建广告;我只是尝试制作广告素材,然后更新广告以使用该广告素材。使用开发应用中的链接数据创建新广告素材的正确方法是什么?我创建与右栏广告相对应的广告素材没有问题,它是目标为“网站点击”的新闻源/ Feed广告。相关广告实际上是通过广告管理系统创建的,而不是通过应用创建的。

0 个答案:

没有答案
相关问题