Traffic for the seed keyword is not returned by TargetingIdeaService

28 views
Skip to first unread message

Ildar Khakimov

unread,
Dec 5, 2017, 7:10:06 PM12/5/17
to AdWords API Forum
Good day

There was a similar issue discussed here, but no solution was provided:
https://groups.google.com/forum/#!searchin/adwords-api/seed$20keyword$20traffic|sort:date/adwords-api/WWzVcKlvpMA/vKv4QidXOQEJ

It's a very simple issue. Let's say the seed keyword is "mars cruise", it will return keyword ideas and monthly search volumes for related keywords, but not for the keyword "mars cruise" itself.

It does this in the Google keyword tool itself, but not when we use the API. 

Do I need to add an additional search parameter somewhere?
Screen Shot 2017-12-05 at 7.08.00 PM.png

Vincent Racaza (AdWords API Team)

unread,
Dec 6, 2017, 2:47:57 AM12/6/17
to AdWords API Forum
Hi Ildar,

For the TargetingIdeaService, the seed keyword will not be returned in an IDEAS requestType. You need to create a separate request with STATS requestType and you will see that the statistics of the seed keyword will be returned.

Let me know if you have further clarifications.

Thanks,
Vincent
AdWords API Team

Ildar Khakimov

unread,
Dec 6, 2017, 11:37:50 AM12/6/17
to AdWords API Forum
Hello

I'll try it and report back, thank you
Message has been deleted

Ildar Khakimov

unread,
Dec 7, 2017, 3:12:26 PM12/7/17
to AdWords API Forum
Hello

Just to confirm I have the following line in the PHP script

    $selector->setRequestType(RequestType::IDEAS);

I would need to replace IDEAS with STATS, so it would become

    $selector->setRequestType(RequestType::STATS);

Is that correct?

Are there any example scripts where this type request is shown? I couldn't locate one in the examples folder.

On Wednesday, December 6, 2017 at 2:47:57 AM UTC-5, Vincent Racaza (AdWords API Team) wrote:

Vincent Racaza (AdWords API Team)

unread,
Dec 7, 2017, 10:06:02 PM12/7/17
to AdWords API Forum
Hi Ildar,

Yes, your code snippet is correct. Particularly, you can change this line of code in this PHP example to get the statistics of your seed keyword.

Let me know if this works on your end.
Reply all
Reply to author
Forward
0 new messages