Keywords info

21 views
Skip to first unread message

fabiosil...@gmail.com

unread,
Apr 15, 2019, 7:00:44 AM4/15/19
to AdWords API and Google Ads API Forum

I'm using the Java client library.

My question is: how can I get all the keywords? The java library comes with some examples and one of them is 'Get Keywords in an ad group' but since I have a lot of keywords and Ad groups it takes me a long time to request to the API all the info I need because I have to iterate over all the Ad groups to be able to get all the info.

Is there a specific selector which gives you all the keywords without need to iterate over all the Ad groups?

Thanks!

googleadsapi...@google.com

unread,
Apr 15, 2019, 10:30:02 AM4/15/19
to fabiosil...@gmail.com, AdWords API and Google Ads API Forum
Hi,

You can use this example which returns all keywords. The adGroupId variable here is optional so if you leave it null, it will return all keywords.

Cheers,
Anthony
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2c05f4f5-ba95-44a8-a798-35e1785e7a80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages