Hi Dhanya,

I was wondering if it was possible for the API to ignore removed keywords & 
adgroups. I have over 100,000 removed keywords and it's slowing down my 
script.

On Tuesday, February 13, 2018 at 3:56:02 PM UTC-5, Dhanya Sundararaju 
(AdWords API Team) wrote:
>
> 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/fa294ef7-b8bd-4388-b444-4dd5d668cad0%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