【发布时间】:2017-05-18 06:47:17
【问题描述】:
我使用facebook's java api 创建了自定义受众并上传了包含 android mobile_adv_ids 的数据。
CustomAudience customAudience = new AdAccount(ACCOUNT_ID, context).createCustomAudience()
.setName("My new CA")
.setSubtype(CustomAudience.EnumSubtype.VALUE_CUSTOM)
.setDescription("People who bought from my website")
.execute();
User user = new CustomAudience(customAudience.getId(), context).createUser()
.setPayload("{\"schema\":\"MOBILE_ADVERTISER_ID\"," + payload.toString().substring(1, payload.toString().length()))
.execute();
我可以看到数据上传成功了
https://www.facebook.com/ads/manager/audiences/manage/?act=xxxxxxx&pid=p1
以及对
的见解https://www.facebook.com/ads/audience-insights/people?act=xxxxxxx&age=18- 但我找不到 api 来阅读代码中的见解。
这是https://developers.facebook.com/docs/marketing-api/reference/custom-audience/ 上可供阅读的代码。
但我如何才能将受众洞察数据解读为男性/女性和其他领域的百分比?
CustomAudience customAudience2 = new CustomAudience("xxxxxxxxx", context).get().execute();
谢谢。
【问题讨论】:
标签: java facebook facebook-graph-api