Facebook ads 1634011错误:“给定操作类型的属性选择器无效”

2024-04-25 14:27:33 发布

您现在位置:Python中文网/ 问答频道 /正文

当我试图使用facebook ads python sdk创建一个广告(adgroup)时,总是会遇到这个错误。以下是我的设置和我想要达到的结果:

  • 我已经有一个活动(活动组)
  • 我已经有一个adset了
  • 我想要的投标类型是注册会计师
  • 我可以在未发表的帖子上创造出创意
  • 但是当我想创建绑定到creative的adgroup时,我收到错误消息:给定操作类型的属性选择器无效。属性选择器不会根据规范中的操作类型映射到任何已知对象。

我首先认为某些东西的创建方式不正确(例如帖子不存在)。但是我检查了三倍却没有成功。。。在

以下是python客户机的整个回溯:

FacebookRequestError: Call was not successful 
Request:
    {'files': {}, 'path': 'https://graph.facebook.com/v2.2/act_xxxxxxx/adgroups', 'params': {'name': 'SDK ad name', 'adgroup_status': 'ACTIVE', 'objective': 'WEBSITE_CLICKS', 'creative': '{"creative_id":"xxxxxxx"}', 'conversion_specs': '[{"action.type":"link_click","post.wall":xxxxxxxx,"post_id":"xxxxxxx"}]', 'campaign_id': u'xxxxxxxx'}, 'method': 'POST', 'headers': {'User-Agent': 'fb-python-ads-api-sdk-2.2.5'}}
Response:
    HTTP Status: 500
    Headers:{'content-length': '307', 'facebook-api-version': 'v2.2', 'expires': 'Sat, 01 Jan 2000 00:00:00 GMT', 'x-fb-debug': 'xxxxxxx', 'x-fb-rev': '1604454', 'connection': 'keep-alive', 'pragma': 'no-cache', 'cache-control': 'no-store', 'date': 'Thu, 19 Feb 2015 01:16:54 GMT', 'access-control-allow-origin': '*', 'content-type': 'application/json; charset=UTF-8', 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "Invalid parameter"'}
    Body: {"error":{"message":"Invalid parameter","type":"FacebookApiException","code":100,"error_subcode":1634011,"is_transient":false,"error_user_title":"Invalid property selector given action types","error_user_msg":"The property selectors don't map to any known objects based on the action type(s) in the spec."}}

我有点困在这里,有人知道吗?在

谢谢:-)


Tags: id类型facebookfbtype错误sdkaction

热门问题