Cannot Match Search Volume from Adwords TargetingIdeaService to Web UI

28 views
Skip to first unread message

Yang Yu

unread,
Dec 13, 2018, 6:07:32 PM12/13/18
to AdWords API and Google Ads API Forum
Hello,
I'm having some issues matching the output from AdwordsAPI TargetingIdeaService to the Keyword planner UI in Adwords.

I played around with Network search parameter and location/language, but it doesn't seem to be matching either.

Can you please take a look at my code? I've also attached the output for both code and web UI.
The API output is showing kitchenaid with 673k search volume. However, the Web keyword planner is showing 393k impression

Thank you

Code:
from googleads import adwords

PAGE_SIZE = 100

adwords_client = adwords.AdWordsClient.LoadFromStorage()

targeting_idea_service = client.GetService(
      'TargetingIdeaService', version='v201806')

selector = {
    'ideaType': 'KEYWORD',
    'requestType': 'STATS'
}

selector['requestedAttributeTypes'] = [
    'KEYWORD_TEXT', 'SEARCH_VOLUME',]

offset = 0

selector['paging'] = {
    'startIndex': str(offset),
    'numberResults': str(PAGE_SIZE)
}


selector['searchParameters'] = [{
    'xsi_type': 'RelatedToQuerySearchParameter',
    'queries': ['kitchenaid','beverage-air']
}]

selector['searchParameters'].append({
    'xsi_type': 'NetworkSearchParameter',
    'networkSetting': {
        'targetGoogleSearch': True,
        'targetSearchNetwork': False,
        'targetContentNetwork': False,
        'targetPartnerSearchNetwork': False
    }
})

page = targeting_idea_service.get(selector)

for result in page['entries']:
    attributes = {}
    for attribute in result['data']:
        attributes[attribute['key']] = getattr(attribute['value'], 'value', '0')
    print(attributes)  
api_output.PNG
web_ui_output.PNG

Dannison Yao (AdWords API Team)

unread,
Dec 14, 2018, 1:03:42 AM12/14/18
to AdWords API and Google Ads API Forum
Hi Yang,

Could you confirm if you have applied the same filters on your TargetingIdeaService and your Keyword Planner? You could refer to this mapping guide to confirm this as this is usually the reason on why the results don't return the same with the UI. It seems that you did not set the filters for location and language in your code. Could you apply this and check if it would already retrieve the same results?

If not, could you provide the complete SOAP request and response logs of the TargetingIdeaService so I could better investigate this? You may use the Reply privately to author option.

Regards,
Dannison
AdWords API Team

Yang Yu

unread,
Dec 14, 2018, 8:30:17 AM12/14/18
to AdWords API and Google Ads API Forum
Aha, there we go.

Yes all I had to do was add in both location/language, and change attribute type to TARGETED_MONTHLY_SEARCHES, and the results matched.
It looks like to get the forecast impression, I'd have to create the mock campaigns and adgroups, specified here.

But for our purpose, the search volume will work just fine.

Thank you!

I was 
Reply all
Reply to author
Forward
0 new messages