try{
accountChanges = customerSyncService.get(customerSyncSelector);
}catch (ApiException e) {
for (ApiError error : e.getErrors()) {
if (error instanceof CustomerSyncError && ((CustomerSyncError) error).getReason().equals(CustomerSyncErrorReason.INVALID_CAMPAIGN_ID)) {
CustomerSyncError customerSyncError = (CustomerSyncError) error;
//System.out.println("Catching CustomerSyncError.INVALID_CAMPAIGN_ID");
}
}
}
Umesh, AdWords API Team.