TargetingIdeaService (STATS) Results Less Than Input

54 views
Skip to first unread message

Charles Michael

unread,
Feb 4, 2016, 9:05:30 AM2/4/16
to AdWords API Forum
I'm building my code based on the recent Perl implementation of AdwordsAPI 201601 and I'm noticing that output returned by TargetingIdeaService (<requestType>STATS</requestType>) doesn't match the input count. All keywords have active search volumes via the web UI (KeywordPlanner), but the TargetingIdeaService seems to not be returning all results for my keywords. I have enabled IncludeAdultContentSearchParameter even though this hasn't helped as the keywords through the KeywordPlanner on the webUI are not flagged as adult to begin with. A small example I'm trying to diagnose involves these keywords:
d4 dwing
d4 swig
d4 swimg
d4 swin

I always only get results back for just "d4 swin", the other 3 keywords never get returned. Any suggestions on why the API isn't returning the full keyword set I'm submitting?


Yin Niu

unread,
Feb 4, 2016, 10:51:02 AM2/4/16
to AdWords API Forum
Hello, 

Could you please send the SOAP logs? Please include your clientCustomerID as well. Click Reply privately to author in the forum when responding.

Thanks,
Yin, AdWords API Team. 

Charles Michael

unread,
Feb 4, 2016, 12:52:59 PM2/4/16
to AdWords API Forum
Thank you, I just replied to you privately. 

Charles Michael

unread,
Feb 4, 2016, 10:40:23 PM2/4/16
to AdWords API Forum
Hello again, I was able to resolve this on my own. For those experiencing similar issues, I had 2 errors. First I was not reading my input as UTF-8, which evidently is necessary (I knew the results were returned in UTF-8, but apparently I have to submit it as well in this encoding). Second, I had the language flag set to english (the default setting which was provided in the example scripts for optimizations) which seemed logical, but when I disabled it, all the results I sent came through. Even though the keywords were english, disabling the language made the difference.


Message has been deleted

Yin Niu

unread,
Feb 5, 2016, 9:36:54 AM2/5/16
to AdWords API Forum
Hello, 

Thanks for posting your solution so that other developers can get help when they run into the same esituation. Let us know if you have other issues. 

Regards,
Yin, AdWords API Team.  
Reply all
Reply to author
Forward
0 new messages