Hi There,

We've recently been approved for a production environment developer token 
and have thus had to change our credentials within the pickle files. 
However, we are getting an interesting error when trying to do anything:

** failed end: HTTP Error 400: Bad Request <eye3-stackless 
title='AuthServer User Error NOT_ADS_USER'/> 
AuthenticationError.NOT_ADS_USER @ ; trigger:'<null>'; 
errorDetails:message=User with gaiaId [831832285158] does not exist. **


I've tried searching for what this error message specifically means but 
come up short. I'm assuming I've entered something incorrectly or I am 
using the wrong service but the error message is extremely unhelpful. Any 
ideas?

Code that causes error:

def get_account_performance_report(self, client, path):
        if os.path.exists(path):
            os.remove(path)   # remove any pre existing download file
        try:
            report_downloader = 
client.GetReportDownloader('https://adwords.google.com', 'v201206')
            report = {
                'reportName': 'ACCOUNT_PERFORMANCE_REPORT',
                'dateRangeType': 'LAST_MONTH',
                'reportType': 'ACCOUNT_PERFORMANCE_REPORT',
                'downloadFormat': 'CSV',
                'selector': {
                    'fields': ['PrimaryCompanyName', 
'AccountDescriptiveName', 'AccountId','Date', 'Year','Cost']
                    },
                'includeZeroImpressions': 'false'
                }

            *file_path = report_downloader.DownloadReport(report, 
file_path=path)*
            return(True)
        except Exception, e:
            return(False)

Bolded line is what is throwing the error. 

Many thanks,

-Alex

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en



Reply via email to