oAuth v201506 cannot download the report

22 views
Skip to first unread message

spv...@gmail.com

unread,
Aug 11, 2015, 3:42:21 PM8/11/15
to AdWords API Forum
Hi:

I am using the following code in the examples code and running it on a production Adwords account.

adwords_dotnet_lib_v18.15.0\examples\AdWords\CSharp\OAuth\Deafult.aspx

I was able to run the OnGetCampaignsButtonClick() and get the Get Campaigns for a given Client ID.

But, I am unable to run OnDownloadReportButtonClick()

It is throwing exception  throw new System.ApplicationException("Failed to download report.", ex);


 <add key="DeveloperToken" value="xxxxxxx"/>
  <add key='OAuth2ClientId' value='xxxxxxx' />
   <add key='OAuth2ClientSecret' value='xxxx' />
 <add key="OAuth2Mode" value="APPLICATION" />


Could you please help me on this. I have been running this code for a week now and not able to run it.

Thanks



Umesh Dengale

unread,
Aug 12, 2015, 9:26:10 AM8/12/15
to AdWords API Forum
Hello,

Could you enable the SOAP logs for the .NET client library and see the inner exception? If you are not able to fix the above issue by going over the SOAP request and response then please provide us the SOAP request and response logs. Just click Reply privately to author in the forum when responding. Don't forget to remove the developer token in the output.

Cheers,
Umesh, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages