Closed nick-sonamine closed 6 years ago
Hi,
Am using java sdk v3.
I'm attempting to obtain all custom audiences and the associated names.
APINodeList audiences = account.getCustomAudiences() .requestAllFields() .execute(); for(CustomAudience audience : audiences) { System.out.println(audience.getFieldId()+":"+audience.getFieldName().toString()); }
Getting NPE, when debugging, discovered that all the non-ID custom audience fields are coming back as null. The IDs are populated and can be accessed.
Thanks
Hi,
Am using java sdk v3.
I'm attempting to obtain all custom audiences and the associated names.
APINodeList audiences = account.getCustomAudiences()
.requestAllFields()
.execute();
for(CustomAudience audience : audiences) {
System.out.println(audience.getFieldId()+":"+audience.getFieldName().toString());
}
Getting NPE, when debugging, discovered that all the non-ID custom audience fields are coming back as null. The IDs are populated and can be accessed.
Thanks