Can someone please explain to me how instead of the logic in the script linked at the top, i write code to query the above field to find all ads in active ad groups and campaigns where combinedApprovalStatus in [Disapproved,Approved_Limited]
Thanks very much
Garry
Dhanya Sundararaju (AdWords API Team)
unread,
Apr 20, 2018, 11:46:07 AM4/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API Forum
Hi Garry,
From AdWords API perspective, you may use this sample code in Java, to get Disapproved Ads. You would need to give AdGroupId of an active AdGroup. To include Approved_Limited ads you would need to use the code snippet below : List<String> status = new ArrayList<String>(); status.add(PolicyApprovalStatus.DISAPPROVED.toString()); status.add(PolicyApprovalStatus.APPROVED_LIMITED.toString());
Please let me know if you have further questions. Also, you may want to post in the Scripts Community Forum to check with Scripts team if this indeed is possible via scripts.