Remove Enabled Ad Groups from Removed Campaigns
Hello community, first post here,
On these days i am working with the AdWords API, and with so many testing, trial and error, i did create at a start several campaigns and adgroups within. Didn't know at that moment, that i should have removed first the adgroups and then the campaigns. Because it appears that when one removes a campaign, it goes to the history but the adgroups within the removed campaign stay with the Status 'REMOVED'.
So my problem right now is, that i want to retrieve every 'ENABLED' adgroup in my project within my 'ENABLED' campaigns.
Doing that with function : GetAdGroupsExample
With this predicate: $selector->predicates = new Predicate('Status', 'NOT_IN', array('REMOVED'));
Result: every 'ENABLED' adGroup from paused, enabled and removed campaign!!
Go to history can't remove anything...
Don't know what to do right now... any ideas?
Thank you very much
Re: Remove Enabled Ad Groups from Removed Campaigns
Hello @Ignacio N,
Welcome to Advertisers Community and thank you for posting your first question here.
Do you know that there's a dedicated forum for AdWords API? It's here at the following URL -
Posting your question there would make you more likely to get faster and relevant responses.