Hello i ned to retrieve the global monthly searches from the keyword tool in the adwords api example : http://postimage.org/image/300xck46c/ Shows around 68,000,000 global monthly searches...
Here is my python script that is supposed to do the same which gives the output {'Attribute_Type': 'LongAttribute', 'value': '301000'} which is 301,000 .. may i know why this is happening ? targeting_idea_service = client.GetTargetingIdeaService( 'https://adwords-sandbox.google.com', 'v201101') # Construct selector object and retrieve related keywords. keyword = 'madmax' selector = { 'searchParameters': [{ 'xsi_type': 'RelatedToKeywordSearchParameter', 'keywords': [{ 'text': keyword, 'matchType': 'PHRASE' }] }], 'ideaType': 'KEYWORD', 'requestType': 'STATS', 'requestedAttributeTypes': ['GLOBAL_MONTHLY_SEARCHES'], 'paging': { 'startIndex': '0', 'numberResults': '10' } } page = targeting_idea_service.Get(selector)[0] # Display results. if 'entries' in page: for result in page['entries']: result = result['data'][0]['value'] print result -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en