Hi Umesh
Thanks for getting back to me!
Maybe if I told you the problem I'm trying to solve you could help find a solution?
I'd like to create an automated system to delete zero impressions keywords over a specified period of time with one important condition: the keyword must have been enabled during this period (ie not paused) - this means we need to know whether the parent campaign and adgroup (as well as the keyword) were live and that there were active ads during this time (ideally this could also be configurable).
I can see there is a problem that the AdWords API doesn't tell you the historical status (enabled/paused) of a campaign, adgroup or keyword.
There are a few workarounds I can think of which can address elements of the problem:
- As you mentioned, discover when the campaign/adgroup/keyword was added and assume they were enabled the entire time
- Ask the customer to mark new (or recently unpaused) campaigns/adgroups with a label ensuring the application does not delete anything within these campaign/adgroups
- Check the historical impressions of campaigns/adgroups and if the number is greater than zero for any keyword in the container, assume it was live on that day
We've seen numerous accounts where there are hundreds of thousands of keywords but only a few thousand keywords with impressions but frustratingly we can't know with complete certainty whether a keyword has been live so can't confidently delete keywords without monitoring an account and recording historical status for months.
Is this something Google would consider putting on the API? It's presumably good for Google as accounts with lots of zero impression keywords are a waste of processor cycles on the AdWords system?
It would be great to get your thoughts on this Umesh!
Cheers
David