I 'm waiting to get developer token and tried to use test account. I read () that test account should be like 'Email++[currencyCode]' (RUB in my case). And I want to get adhoc-report. I perfomed this request using python httplib. I sent:
Headers: 'POST https://adwords.google.com/api/adwords/reportdownload/v201306 HTTP/1.1 Host: adwords.google.com User-Agent: postR Content-type: application/x-www-form-urlencoded\ Content-length: 743 clientCustomerId: xxx-xxx-xxxx developerToken: email++RUB Authorization: GoogleLogin auth=xxx Body: '__rdxml=%3CreportDefinition%3E%0A++%3Cselector%3E%0A++++%3Cfields%3ECampaignId%3C%2Ffields%3E%0A++++%3Cfields%3EI d%3C%2Ffields%3E%0A++++%3Cfields%3EImpressions%3C%2Ffields%3E%0A++++%3Cfields%3EClicks%3C%2Ffields%3E%0A++++%3Cfields%3E Cost%3C%2Ffields%3E%0A++++%3Cpredicates%3E%0A++++++%3Cfield%3EStatus%3C%2Ffield%3E%0A++++++%3Coperator%3EIN%3C%2Foperato r%3E%0A++++++%3Cvalues%3EENABLED%3C%2Fvalues%3E%0A++++++%3Cvalues%3EPAUSED%3C%2Fvalues%3E%0A++++%3C%2Fpredicates%3E%0A++ %3C%2Fselector%3E%0A++%3CreportName%3ETest_Report%3C%2FreportName%3E%0A++%3CreportType%3EADGROUP_PERFORMANCE_REPORT%3C%2 FreportType%3E%0A++%3CdateRangeType%3ELAST_7_DAYS%3C%2FdateRangeType%3E%0A++%3CdownloadFormat%3ECSV%3C%2FdownloadFormat% 3E%0A%3C%2FreportDefinition%3E' And I have 400 Bad Requset: reply: 'HTTP/1.1 400 Bad Request\r\n' header: Content-Type: text/html; charset=UTF-8 header: Date: Thu, 05 Sep 2013 09:15:15 GMT header: Expires: Thu, 05 Sep 2013 09:15:15 GMT header: Cache-Control: private, max-age=0 header: X-Content-Type-Options: nosniff header: X-Frame-Options: SAMEORIGIN header: X-XSS-Protection: 1; mode=block header: Server: GSE header: Transfer-Encoding: chunked Q: What is the problem? Is it with developerToken or incorrect request? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
