I have problem with getting more information about Custom Audience. I'm setting the id that I have from first request but I need more information.
I use java code:
APINodeList<CustomAudience> customAudiences = CustomAudience.fetchByIds(Collections.singletonList(customAudience.getId()),
Arrays.asList(CustomAudience.APIRequestGet.FIELDS), apiContext);
And I'm getting:
com.facebook.ads.sdk.APIException$FailedRequestException: {"error":{"message":"(#100) Policy ID is not available for Ad Account.","type":"OAuthException","code":100,"fbtrace_id":"--------"}}
The same error I have when i use facebook Graph Explorer.
This problem I have when I upgrade the facebook api to v3.2 Old version was ok.
I have changed CustomAudience.APIRequestGet.FIELDS to specify fields that I really need then it works fine.
the same problem is with CustomAudience.fetchById -> change to CustomAudience.fetchByIds