首页 文章

Facebook广告1487478错误:“无效的地理位置”

提问于
浏览
1

在通过Facebook Ads API创建广告组时,我遇到了“无效的地理位置”错误 . 我正在使用Python SDK . 这是我在身体里发送的东西:

campaign_group_id=xxxxxxx&targeting={"geo_locations":{"custom_locations":[{"distance_unit":"kilometer","latitude":35.933333,"longitude":0.083333,"radius":50}]},"interests":[{"id":"6003252179711","name":"Engineering"}]}&name=My Adset&bid_info={"ACTIONS":50}&end_time=4/20/2015&bid_type=CPA&campaign_status=ACTIVE&daily_budget=100

以下是我从API获得的消息:

{u'is_transient': False, u'error_subcode': 1487478, u'error_user_title': u'Invalid Geo Locations', u'error_data': {u'blame_field': u'targeting'}, u'error_user_msg': u'Invalid Geo Locations', u'code': 100, u'message': u'Invalid parameter', u'type': u'FacebookApiException'}

我没有看到我的定位规范出了什么问题 . 任何的想法?

谢谢!

1 回答

  • 0

    由于bjeavons发布的错误显示,您的定位中需要有一定数量的人 . 如果您的定位受众群体太小,例如对太小/太少人口稠密区域的特定兴趣,则无法创建定位 .

    我执行了以下调用(请注意API版本,而广告集级别现在需要该出价信息和定位)

    curl -v \
      -F 'campaign_group_id=<adcampaign_id>' \
      -F 'targeting={"geo_locations":{"custom_locations":[{"distance_unit":"kilometer","latitude":35.933333,"longitude":0.083333,"radius":50}]},"interests":[{"id":"6003252179711","name":"Engineering"}]}' \
      -F 'name=My Adset' \
      -F 'bid_info={"ACTIONS":50}' \
      -F 'end_time=4/20/2015' \
      -F 'bid_type=CPA' \
      -F 'campaign_status=PAUSED' \
      -F 'daily_budget=100' \
      -F 'access_token=<access_token>' \
    https://graph.facebook.com/v2.2/<ac_id>/adcampaigns
    

    对我来说,这回报:

    {"error":{"message":"Invalid parameter","type":"FacebookApiException","code":100,"error_data":{"blame_field":"targeting"},"error_subcode":1488030,"is_transient":false,"error_user_title":"Radius too small","error_user_msg":"There are too few users living within this radius. Please choose a larger radius."}}
    

    这与bjeavons的错误相同 . 我建议使用其他兴趣来扩大您的受众群体 . 据记载,一些受众类型需要至少20人 .

相关问题