Ads API: RESOURCE_NOT_FOUND when removing existing AdGroupCriterionOperation

2019-10-04 Thread 'Linas Medžnas' via AdWords API and Google Ads API Forum
Hi, 1. I'm fetching AdGroupCriterion of some *Hotel* with the query: SELECT ad_group_criterion.resource_name FROM ad_group_criterion WHERE ad_group_criterion.listing_group.case_value.hotel_id.value = 'bc1f979e-0d69-4363-80a1-9b3e76c52b35' 2. The query results are: "ad_group_criterion { resou

Re: Ads API: RESOURCE_NOT_FOUND when removing existing AdGroupCriterionOperation

2019-10-08 Thread 'Linas Medžnas' via AdWords API and Google Ads API Forum
Hello, apparently, soft delete is being used for ad_group_criterion resource, and the query that I posted returns already removed criteria. I have found a way to avoid the issue by adding a WHERE condition to my query: ad_group_criterion.status != 'REMOVED' I believe we can consider this closed