You should filter on the field Status: status "removed" means that the 
campaign/group/ad/keyword/etc. is removed.

Background: One would think that when deleting a campaign after spending 
1000 Euro on it, Google forgets about the money. But... too bad, you still 
owe Google the money. Now, to prevent people complaining that the totals 
don't match, the campaign is not actually deleted. It just gets the status 
"removed" and becomes read-only. 

In the UI you can also toggle that filter. The difference is, in the UI the 
(first-time) default is just "active", in the API the default is "active" 
plus "paused" plus "removed".

On Monday, March 18, 2024 at 4:30:07 PM UTC+1 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> After reviewing your concern, I understand that when you are trying to 
> delete campaigns via the API, along with the campaign, it also returns ad 
> groups and audience. Please take note that the removal of a campaign 
> <https://developers.google.com/google-ads/api/reference/rpc/v16/CampaignOperation>
>  
> will return campaign resources in the format of 
> "customers/{customer_id}/campaigns/{campaign_id}," as per the API 
> documentation.
>
> If an audience or ad group is included in a campaign that is going to be 
> deleted, that audience or ad group is also removed from the campaign. 
> Restricting the removal of an audience or ad group under a campaign that is 
> being removed is not possible. 
>
> I hope it helps.
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02s00xH:ref" (ADR-00227637)
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/95526990-b10b-4a15-add7-9f49eabb3255n%40googlegroups.com.

Reply via email to