How to get data from Keyword Planner by using TargetingIdeaService.

290 views
Skip to first unread message

keym

unread,
Mar 19, 2015, 9:18:26 AM3/19/15
to adwor...@googlegroups.com
Hi,

I’ve been using the TargetingIdeaService to get AVERAGE_CPC and SEARCH_VOLUME, but I can't get results of keywords I searched.

For example, when I search keywords “pharmacist jobs”, results of related keywords such as “pharmacist jobs wages” and “pharmacist job change” return, but results of “pharmacist jobs” aren’t included.

In other case, when I search "pharmacist", the results of keywords such as "pharmacist jobs" and "pharmacist wages" return, but results of "pharmacist" aren’t included.

I want to get results of only what I searched and I don't need results of related keywords.

How do I have to do?

Details are below:

OS; CentOS, or MacOS X Yosemite
Language; PHP 5.5.14
Library; Google Ads APIs Client Library for PHP (AdWords, Adx, and DFP)
https://github.com/googleads/googleads-php-lib
API; Google AdWords API
Version; v201409
Service; TargetingIdeaService
Method; get
Parameter when calling get method;
  searchParameters
    LanguageSearchParameter     1005(japanese)
    ideaType              KEYWORD
    requestType            IDEAS
    requestedAttributeTypes     KEYWORD_TEXT
                      CATEGORY_PRODUCTS_AND_SERVICES
                      COMPETITION
                      EXTRACTED_FROM_WEBPAGE
                      IDEA_TYPE
                      SEARCH_VOLUME
                      AVERAGE_CPC
                      TARGETED_MONTHLY_SEARCHES
    localeCode            ja_JP
    currencyCode           JPY
    paging               2000
    relatedToQuerySearchParameter->queries   'pharmacist jobs'   *set in array.
    ideaTextFilterSearchParameter->included  'pharmacist jobs'  *set in array


Note:
-I have authorized Goolge AdWordsAPI and done all of settings for the developerToken and client_id related to OAuth2.
-This problem occurs how many times I try to get results.

Josh Radcliff (AdWords API Team)

unread,
Mar 19, 2015, 5:07:09 PM3/19/15
to adwor...@googlegroups.com
Hi,

I noticed that in your request you are specifying Japanese for the LanguageSearchParameter, but the keyword phrases you mentioned are in English. Are you submitting the keywords in Japanese or English?

I tried queries with the language set to English and RelatedToQuerySearchParameter set to "pharmacist jobs", and I got back both "pharmacist jobs" and related keywords in the response.

Thanks,
Josh, AdWords API Team

keym

unread,
Mar 20, 2015, 2:02:33 AM3/20/15
to adwor...@googlegroups.com
Thanks for the comment!

I'm submitting the keywords in Japanese.
What I want to do is to get data of only what I submit.

Do you know what I have to do?
Or is it impossible to get data of only what I submit?


2015年3月20日金曜日 6時07分09秒 UTC+9 Josh Radcliff (AdWords API Team):

Josh Radcliff (AdWords API Team)

unread,
Mar 20, 2015, 1:09:58 PM3/20/15
to adwor...@googlegroups.com
Hi,

I've run some experiments and I have not been able to get the service to only return the terms I specified. However, this actually makes sense given the purpose of the service. TargetingIdeaService is for generating ideas. As the service description says:

Use this service to generate new keyword and placement ideas based on the parameters specified in the selector

You may want to try the TrafficEstimatorService to see if it's a better fit for your use case. Note, however, that TrafficEstimatorService is for estimating future traffic for a set of criteria.

Thanks,
Josh, AdWords API Team

Kamil R

unread,
Apr 26, 2016, 8:58:28 AM4/26/16
to AdWords API Forum
Hi Keym,
I know that your question is pretty old but I don't see correct answer below so I thougt that I'll write down.
To get keywords that you type to search you should set 'requestType' to 'STATS' - not 'IDEAS' as example has in default.Then you get only words that you searched for.
This is just for future user who will be search for something like this.
Cheers,
Kamil
Reply all
Reply to author
Forward
0 new messages