Re: Exact results for keyword search volume

2015-01-27 Thread OMC Ticketsystem
Thank you! The NetworkSearchParameter seems to do the work for me.

Am Montag, 26. Januar 2015 19:25:06 UTC+1 schrieb Josh Radcliff (AdWords 
API Team):

 Hi,

 According to the RelatedToQuerySearchParameter.queries documentation 
 https://developers.google.com/adwords/api/docs/reference/v201409/TargetingIdeaService.RelatedToQuerySearchParameter#queries,
  
 that parameter *will* perform exact match queries.

 You may want to take a look at our Targeting ideas guide 
 https://developers.google.com/adwords/api/docs/guides/targeting-idea-service,
  
 which includes tips on matching results from the service to the *Keyword 
 Planner* UI.

 Thanks,
 Josh, AdWords API Team

 On Monday, January 26, 2015 at 9:38:52 AM UTC-5, OMC Ticketsystem wrote:

 HI,

 I´m using Python to query keyword search volumes.

 The following is the snippet of my source to query the api:

 keywords = ['e-bike herren', 'transportkarre']

 targeting_idea_service = self.client.GetService(
 'TargetingIdeaService', version='v201409')
 
 # Construct selector object and retrieve related keywords.
 offset = 0
 
 selector = {
 'searchParameters': [
 {
 'xsi_type': 'RelatedToQuerySearchParameter',
 'queries': queries
 },
 {
 'xsi_type': 'LanguageSearchParameter',
 'languages': [{'id': '1001'}]
 }
 ],
 'ideaType': 'KEYWORD',
 'requestType': 'STATS',
 'requestedAttributeTypes': ['KEYWORD_TEXT', 
 'TARGETED_MONTHLY_SEARCHES'],
 'paging': {
 'startIndex': str(offset),
 'numberResults': str(self.PAGE_SIZE)
 }
 }
 
 more_pages = True
 while more_pages:
 page = targeting_idea_service.get(selector)
 # ..


 This works but there is a significant difference between the intersection 
 of the resulting search volumes and the search volume from the Google 
 Keyword Planner. (e.g. 8817 vs 170 for e-bike herren and 15217 vs 1300 
 for transportkarre). I´ve come acoss KeywordMatchType which may be set to 
 'EXACT' to fetch better values. However I´am not seeing a way to define 
 that in the above source. I tried defining matchType: 'EXACT' at 
 different places in the selector.

 Can someone please tell how to make this call request exact data?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/92d5759e-2eec-4e00-ba6e-24a3ca677677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Exact results for keyword search volume

2015-01-26 Thread OMC Ticketsystem
HI,

I´m using Python to query keyword search volumes.

The following is the snippet of my source to query the api:

keywords = ['e-bike herren', 'transportkarre']

targeting_idea_service = self.client.GetService(
'TargetingIdeaService', version='v201409')

# Construct selector object and retrieve related keywords.
offset = 0

selector = {
'searchParameters': [
{
'xsi_type': 'RelatedToQuerySearchParameter',
'queries': queries
},
{
'xsi_type': 'LanguageSearchParameter',
'languages': [{'id': '1001'}]
}
],
'ideaType': 'KEYWORD',
'requestType': 'STATS',
'requestedAttributeTypes': ['KEYWORD_TEXT', 
'TARGETED_MONTHLY_SEARCHES'],
'paging': {
'startIndex': str(offset),
'numberResults': str(self.PAGE_SIZE)
}
}

more_pages = True
while more_pages:
page = targeting_idea_service.get(selector)
# ..


This works but there is a significant difference between the intersection 
of the resulting search volumes and the search volume from the Google 
Keyword Planner. (e.g. 8817 vs 170 for e-bike herren and 15217 vs 1300 
for transportkarre). I´ve come acoss KeywordMatchType which may be set to 
'EXACT' to fetch better values. However I´am not seeing a way to define 
that in the above source. I tried defining matchType: 'EXACT' at 
different places in the selector.

Can someone please tell how to make this call request exact data?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8416566a-5e04-4273-a184-c2df033da7f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED on MCC sub account for examples

2015-01-20 Thread OMC Ticketsystem
Thank you for the quick response!
Turns out I confused clientId with customClientId. Now it works for me.

Am Montag, 19. Januar 2015 18:25:15 UTC+1 schrieb tic...@onmacon.de:

 Hi,

 I´m using Python. I finally managed to get the access thing running (in 
 fact I hope so). I filled in the values into my googleads.yaml at the 
 adwords: section. The file is saved in my home path so that 
 adwords.AdWordsClient.LoadFromStorage() should load this file.

 Now I figured out that some offical examples don´t work for me. Instead 
 they throw a suds.WebFault: Server raised fault: 
 '[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; 
 trigger:'null']' at me.

 e.g. calling v201409/basic_operations/get_text_ads.py throws:

 No handlers could be found for logger suds.client
 Traceback (most recent call last):
   File ./get_text_ads.py, line 85, in module
 main(adwords_client, AD_GROUP_ID)
   File ./get_text_ads.py, line 67, in main
 page = ad_group_ad_service.get(selector)
   File /usr/local/lib/python2.7/dist-packages/googleads/common.py, line 
 264, in MakeSoapRequest
 for arg in args])
   File build/bdist.linux-x86_64/egg/suds/client.py, line 542, in __call__
   File build/bdist.linux-x86_64/egg/suds/client.py, line 602, in invoke
   File build/bdist.linux-x86_64/egg/suds/client.py, line 649, in send
   File build/bdist.linux-x86_64/egg/suds/client.py, line 702, in failed
   File build/bdist.linux-x86_64/egg/suds/bindings/binding.py, line 265, 
 in get_fault
 suds.WebFault: Server raised fault: 
 '[AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIRED @ ; trigger:'null']'

 When I´m telling pip to upgrade googleads it tells me that it´s already 
 up-to-date. So this shouldn´t be an old version issue.

 I´ve read https://groups.google.com/forum/#!topic/adwords-api/w1bBf0lFmPY 
 but I don´t know how I am able to include the *clientCustomerId* SOAP 
 header. Besides, is it really necessary to fix the example sources?! I 
 think I´m missing something essential but i have no clue.

 Kind regards


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
AdWords API Forum group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/20c48725-f760-4d82-902e-1ac13b6c51ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.