OAuth provider cannot be null when selecting Authorization method as "OAuth"

30 views
Skip to first unread message

Anu V Vivin

unread,
Dec 4, 2014, 6:24:35 AM12/4/14
to adwor...@googlegroups.com
OAuth provider cannot be null when selecting Authorization method as "OAuth"

Danial Klimkin

unread,
Dec 4, 2014, 7:33:25 PM12/4/14
to adwor...@googlegroups.com
Hello Anu,


Please provide more details on the issue. E.g. list of steps you are attempting.


-Danial, AdWords API Team.

Anu V Vivin

unread,
Dec 4, 2014, 11:33:54 PM12/4/14
to adwor...@googlegroups.com
Thanks for your reply.. Yesterday my developer token was approved afterwords it is working.
Now i got the error as below

The remote server returned an error: (400) Bad Request.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote server returned an error: (400) Bad Request.

Source Error:

Line 160:        HttpWebRequest request = BuildRequest(downloadUrl, postBody);
Line 161:        try {
Line 162:          response = request.GetResponse();
Line 163:          return new ReportResponse(response);
Line 164:        } catch (WebException ex) {

Anash P. Oommen (AdWords API Team)

unread,
Dec 11, 2014, 9:30:58 AM12/11/14
to adwor...@googlegroups.com
Hi Anu,

Try picking up the latest client library from https://github.com/googleads/googleads-dotnet-lib/releases/latest. Then catch the AdWordsReportsException that is thrown by the client library.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages