facebook's java apiを使用してカスタムオーディエンスを作成し、android mobile_adv_idsで構成されるデータをアップロードしました。fbのJava SDKを使用してユーザーを作成し追加した後のカスタムオーディエンスの統計情報
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/audience-insights/people?act=xxxxxxx&age=18- 上
https://www.facebook.com/ads/manager/audiences/manage/?act=xxxxxxx&pid=p1
や洞察にアップロードされたデータを見ることができますが、私はコード内の洞察を読むためのAPIを見つけることができません。
これはhttps://developers.facebook.com/docs/marketing-api/reference/custom-audience/のコードです。
しかし、視聴者の洞察データを男性/女性などのフィールドの%として読み取るにはどうすればよいですか。
CustomAudience customAudience2 = new CustomAudience("xxxxxxxxx", context).get().execute();
ありがとうございます。