Adwords Report HTTP Error 400

418 views
Skip to first unread message

Paulo Fernandes

unread,
Feb 11, 2012, 8:50:48 AM2/11/12
to AdWords API Forum
Hi

I

Paulo Fernandes

unread,
Feb 11, 2012, 8:53:55 AM2/11/12
to AdWords API Forum
Hi

I'm getting the respondeCode 400 when I generate a report, but I
didn't change anything in my application.

Can someone help me with anything?

My authToken is Ok.
Is it possible to check if my adwords api account is blocked?

Thanks

ewan

unread,
Feb 12, 2012, 4:47:49 AM2/12/12
to AdWords API Forum
Maybe it's got something to do with the new requirement that you now
need to send your token when downloading a report? I think that the
change was scheduled to go live on the 7th of February:
http://googleadsdeveloper.blogspot.com/2012/01/developertoken-in-reports-rollback.html

Regards,

Ewan

On Feb 11, 9:53 pm, Paulo Fernandes <paulofernande...@gmail.com>
wrote:

Anash P. Oommen

unread,
Feb 13, 2012, 1:05:47 AM2/13/12
to adwor...@googlegroups.com
Hi Paulo,

The easiest thing to do is to set a web proxy for your request, and see if you are sending authorization header (authToken), clientCustomerId header and developerToken header as part of your requests.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

Paulo Fernandes

unread,
Feb 13, 2012, 7:44:52 AM2/13/12
to AdWords API Forum
How can I set a web proxy for my request?



On 13 fev, 04:05, "Anash P. Oommen" <anash.p.oommen+fo...@google.com>
wrote:

Anash P. Oommen

unread,
Feb 13, 2012, 9:57:46 PM2/13/12
to adwor...@googlegroups.com
Hi Paulo,

That depends on the language you are using. For .NET, I'd recommend Fiddler2 (http://fiddler2.com/fiddler2/) as the proxy, and then the code to set proxy would look like:

WebRequest webRequest = HttpWebRequest.Create(URL);

WebProxy proxy = new WebProxy();
proxy.Address = new Uri("http://localhost:8888");

webRequest.Proxy = proxy;

Fiddler is configured to run as proxy on port 8888, and allowed to decrypt https traffic.

Paulo Fernandes

unread,
Feb 14, 2012, 6:37:28 AM2/14/12
to AdWords API Forum
I'm using Java

On 14 fev, 00:57, "Anash P. Oommen" <anash.p.oommen+fo...@google.com>
wrote:

Paulo Fernandes

unread,
Feb 14, 2012, 8:36:37 AM2/14/12
to AdWords API Forum
I solved that problem

Some of my accounts are MCC accounts under a Global MCC Account

So a MCC account didn't have data to be downloaded

Thanks for the support :)
Reply all
Reply to author
Forward
0 new messages