Get ads by several AdGroups in one request

8 views
Skip to first unread message

Дмитрий Швецов

unread,
May 14, 2019, 5:34:06 PM5/14/19
to AdWords API and Google Ads API Forum
Hi!
Can I get ads from several AdGroups using one request?

My situation is that I need get all ads from 4700 groups. It's too long to waiting for 4700 requests using filtering by 1 group with field 'AdGroupId'. I'd like to filter by list of groups.

Thank's.

googleadsapi...@google.com

unread,
May 15, 2019, 3:40:06 AM5/15/19
to AdWords API and Google Ads API Forum
Hi,

Thank you for reaching out. In order to get ads from several AdGroups, you could use IN from the SelectorBuilder and use the AdGroupID as EntityField parameter. You would then need to add all the AdGroupID where you want to get the ads from also as a parameter for IN. See attached screenshot for reference.

Let me know if this helps. Feel free to write back if you have further clarifications.

Regards,
Dave
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey

Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@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/cfe3a7c6-7aa7-4326-837d-ac15d73f014b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
sampleAds
Reply all
Reply to author
Forward
0 new messages