Hi, I'm using a simple query to find out the stats across my campaigns and it is working well. The code below gives me a dictionary of all the stats I need _except_ the network type. I need to be able to differentiate between the content network and the search network but regardless of how I have the campaigns set up in the MCC, the network type is coming out as ALL.
Any advice on how to differentiate between the networks would be very much appreciated. The code I have is: import os import sys from adspygoogle.adwords.AdWordsClient import AdWordsClient sys.path.append(os.path.join('.')) client = AdWordsClient(path=os.path.join('.')) client.SetClientEmail('em...@address.com') selector = { 'statsSelector': { 'dateRange': { 'max':"20100101", 'min':"20100101" } } } cs = client.GetCampaignService('https://adwords.google.com', 'v201003') campaigns = cs.Get(selector)[0] for entry in campaigns['entries']: print entry['campaignStats'] -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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