Hi Edward,

To get the removed AdGroups, Keywords and Ads, you can use the 
AdGroupService 
<https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201710-AdGroupService>
, AdGroupCriterionService 
<https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201710-AdGroupCriterionService>
 and AdGroupAdService 
<https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201710-AdGroupAdService>
 respectively. 
Then, use the selector 
<https://developers.google.com/adwords/api/docs/appendix/selectorfields#top_of_page>
 fields 
to filter by *status* for AdGroups and Ads; and by *userStatus* for 
keywords.

Sample code snippet in java for AdGroup is as below:
Selector selector = builder
        .fields(AdGroupField.Id, AdGroupField.Name, AdGroupField.Status)
        .orderAscBy(AdGroupField.Name)
        .offset(offset)
        .limit(PAGE_SIZE)
        .equals(AdGroupField.Status,"REMOVED")
        .build();

Please let me know if you have further questions.

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/90bb2cb6-c72d-4b86-ad72-ced65a1c1e4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Skip Removed... Edward Bernays
    • Re: Ski... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum
      • Re:... Edward Bernays
        • ... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum

Reply via email to