How do Removed Ads Work With the API?

403 views
Skip to first unread message

Chad Wood

unread,
Jun 1, 2023, 6:58:35 PM6/1/23
to Google Ads API and AdWords API Forum
Hello, I just have a question regarding the API and how it handles REMOVED ads.
It seems REMOVED ads can not be recovered.

So if I remove an ad, and then I query for a record of my REMOVED ads every day, how many days with the ad I removed continue to show up as a REMOVED ad?

(example):
SELECT
  segments.date,
  ad_group_ad.ad.id
FROM ad_group_ad
WHERE
  ad_group_ad.status = 'REMOVED'

What's the expected behavior here? If I removed an ad 10 years ago, will it show up as a REMOVED ad today in 2023? Is it cumulative?
If not, what rules does it follow?


Ref: https://support.google.com/google-ads/answer/1722131?hl=en
Removed
: Inactive because you removed it. Removing a campaign permanently deletes it. You cannot resume a campaign after you remove it.

Ref: https://developers.google.com/google-ads/api/fields/v13/ad_group_ad
ad_group_ad.status

Field description
: The status of the ad.

Category
: ATTRIBUTE

Data Type:
ENUM ( ENABLEDPAUSED,  REMOVED, UNKNOWN)

Chad Wood

unread,
Jun 1, 2023, 7:02:45 PM6/1/23
to Google Ads API and AdWords API Forum
I count the number of ads in each day, and it fluctuates.
Some days are higher than others, so it must be possible for an ad to leave the REMOVED state.

What happens to ads when they are no longer REMOVED? Where'd they go?

Chad Wood

unread,
Jun 1, 2023, 7:34:14 PM6/1/23
to Google Ads API and AdWords API Forum
I think I found the issue.

Sometimes, I use the Google Ads Report Editor (from the UI) as a sandbox zone for building proof of concept reports.
Then I will download the data as CSV and work with that.

It seems my query resulted in ~2million rows, but the downloads csv only contains ~200000 rows (16.4MB).
So for whatever reason, the UI just silently doesn't download all the data.

I'll try querying the API directly for the data. Hopefully it works.

Google Ads API Forum Advisor

unread,
Jun 6, 2023, 8:10:42 AM6/6/23
to chadwo...@gmail.com, adwor...@googlegroups.com
Hi Chad,

Thank you for reaching out to the Google Ads API Forum. I hope that you are doing well today.

Please note that our team can only provide support and assistance for Google Ads API-related concerns and technical implementations. The data accumulation is more product-related. That being said, if you want further insights on how many days the ad removed continues to show up as a REMOVED ad and what happens to ads when they are no longer REMOVED," Where did they go? , then I would suggest you reach out instead to the Product team via this link (https://support.google.com/google-ads/gethelp), as they are the appropriate team to provide guidance on this matter.

Additionally, you may also check this article (https://support.google.com/google-ads/answer/2375362?hl=en-GB&sjid=5142733355221048993-AP) for more information. It also mentioned that "Once your ad has been removed, you won't be able to re-enable it. However, you can still review the performance of your removed ad by clicking the three dot menu to the top right of the table and selecting ‘Show removed’. Removed ads will now appear in your statistics table."

For this type of request in the future, please use this link https://developers.google.com/google-ads/api/support to file your issue directly.
 
This message is in relation to case "ref:_00D1U1174p._5004Q2lvw6N:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages