googleads.errors.AdWordsReportBadRequestError: Type: AuthenticationError.CLIENT_CUSTOMER_ID_INVALID

532 views
Skip to first unread message

Monty808

unread,
Mar 18, 2014, 4:53:47 PM3/18/14
to adwor...@googlegroups.com
Whats the deal witythe below error?  This is from the python api.  Is it sayihg my clienht_id in nkt valid?  wow!  I am using mcc.

adwords:
  developer_token: sssssss
  user_agent: test
  client_id: really!!!!!!.apps.googleusercontent.com
  client_secret: cccccccc
  refresh_token: cccc


client = adwords.AdWordsClient.LoadFromStorage(path='/home/ubuntu/googleads.yaml')
report_downloader = client.GetReportDownloader(version='v201402')
        # Create report definition.
        report = {
            'reportName': 'Last 7 days CRITERIA_PERFORMANCE_REPORT',
            'dateRangeType': 'LAST_7_DAYS',
            'reportType': 'CRITERIA_PERFORMANCE_REPORT',
            'downloadFormat': 'CSV',
            'selector': {
                'fields': ['CampaignId', 'AdGroupId', 'Id', 'CriteriaType',
                           'Criteria', 'Impressions', 'Clicks', 'Cost']
            },
            # Enable to get rows with zero impressions.
            'includeZeroImpressions': 'false'
        }
f = open('tewt','w')
report_downloader.DownloadReport(report, f)
f.close()

David Montgomery

unread,
Mar 18, 2014, 6:48:30 PM3/18/14
to AdWords API Forum
I am given a client id.  I am findng the documeation for the python api  lacking on this regards.  Given a mcc account with api access..how do one get a report for all campaigns with a given client id?

Thanks


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/1ivHYEIPVFE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Danial Klimkin

unread,
Mar 19, 2014, 5:08:51 AM3/19/14
to adwor...@googlegroups.com
Hello Monty808,


Do you provide a clientCustomerId in the request? This is an advertiser account ID in the form of "1234-123-123".

If you still receive an error, please provide exact server response.


-Danial, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages