Predicate approvalStatusPredicate = new Predicate(
"AdGroupCreativeApprovalStatus", PredicateOperator.IN, new String[] {"DISAPPROVED"});
selector.setPredicates(new Predicate[] {adGroupIdPredicate, approvalStatusPredicate});
// Get all disapproved ads.
AdGroupAdPage page = adGroupAdService.get(selector);
// Display ads.
if (page.getEntries() != null && page.getEntries().length > 0) {
for (AdGroupAd adGroupAd : page.getEntries()) {
System.out.println("Ad with id \"" + adGroupAd.getAd().getId() + "\"" + " and type \""
+ adGroupAd.getAd().getAdType() + "\" was disapproved for the following reasons:");
for (String reason : adGroupAd.getAd().getDisapprovalReasons()) {
System.out.println(" \"" + reason + "\"");
}