无法选择在Facebook API中定位的基于家庭的家庭

在对Facebook API调用使用以下定位规范时:

targeting_spec: {"age_max":65,"age_min":18,"family_statuses":[],"geo_locations":{"custom_locations":[{"distance_unit":"kilometer","latitude":56.68188248174635,"longitude":12.85125732421875,"radius":25.0}],"location_types":["home","recent"]},"household_composition":[{"id":"6024956936183","name":"Family-based Households"}],"life_events":[]}

我得到一个例外:

Caused by: com.facebook.ads.sdk.APIException$FailedRequestException: {"error":{"message":"Invalid parameter","type":"OAuthException","code":100,"error_data":{"blame_field":"targeting"},"error_subcode":1487694,"is_transient":false,"error_user_title":"Kategorin \u00e4r inte l\u00e4ngre tillg\u00e4nglig","error_user_msg":"Kategorin du har valt \u00e4r inte l\u00e4ngre tillg\u00e4nglig.","fbtrace_id":"AQ_kWi67Kfkz8qodRsBjNJS"}}

这曾经与facebook api v3.3一起使用,但是现在Household_composition参数的值有问题。是API的最新版本(v5.0)中已更新的ID或名称吗?如果是这样,我在哪里可以找到这些参数值的新名称和ID:

wd1213 回答:无法选择在Facebook API中定位的基于家庭的家庭

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2907947.html

大家都在问