I am trying to use the new version 201309 or 201402 and now I am getting 
following error./..

Error creating the Web Proxy specified in the 'system.net/defaultProxy' 
configuration section.

I tried adding full trust in System.web in configuration section. but still 
no use... not sure whats wrong?


On Wednesday, April 30, 2014 4:58:27 PM UTC-5, Mahesh Nerlekar wrote:
>
> I think this is the error I am getting while downloading campaign 
> performance report or keyword performance report.
>
> Google.Api.Ads.AdWords.Util.Reports.ReportsException: Report download 
> errors occurred, see errors field for more details.
>    at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadReportToStream(String
>  
> downloadUrl, Boolean returnMoneyInMicros, String postBody, Stream 
> outputStream)
>    at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReportInternal(String
>  
> downloadUrl, String postBody, Boolean returnMoneyInMicros, String path)
>    at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T 
> reportDefinition, Boolean returnMoneyInMicros, String path)
>    at 
> Google.Api.Ads.AdWords.Util.Reports.ReportUtilities.DownloadClientReport[T](T 
> reportDefinition, String path)
>    at Adwords.GetAdwords.DownloadReportFromAdwords(AdWordsUser user, 
> AdsOAuthProviderForApplications oAuth2Provider) in \\ghosn01b\nerlekma$\My 
> Documents\Visual Studio 2012\Projects\Adwords\AdWords\GetAdwords.cs:line 178
>
>
>
> and here is the code I am using for it...
>
>
>
>  ReportDefinition definition = CreateReportDefinition();
>
>                 user.OAuthProvider = oAuth2Provider;
>
>                 //loop through all the accounts we got from database 
> ga_config and download a file for each account.
>                 for (int i = 0; i < NoOfAccounts; i++)
>                 {
>                     (user.Config as AdWordsAppConfig).ClientCustomerId = 
> AccountIds[i].ToString();  
>                     fileName = AccountIds[i].ToString(); //+ "_" + 
>  DateTime.Today.AddDays(Convert.ToInt16(-1)).ToString("yyyy-MM-dd");
>                     filePath = downloadFolderPath + "\\" + fileName;
>                     try
>                     {
>                         (user.Config as AdWordsAppConfig).DeveloperToken = 
> Properties.Settings.Default.DeveloperToken;
>                         ReportUtilities utilities = new 
> ReportUtilities(user);
>                         utilities.User.OAuthProvider = oAuth2Provider;
>                         utilities.ReportVersion = "v201306";
>                         utilities.DownloadClientReport(definition, 
> filePath);
>                         Console.WriteLine("Report was downloaded to 
> '{0}'.", filePath);
>
>
>                     }
>                     catch (Exception ex)
>                     {
>                         Console.WriteLine("Error: Failed to download 
> report. Account ID : {0}. Error: {1}", fileName, ex);
>                     }
>
>                     FileInfo fileToDecompress = new FileInfo(filePath);
>
>                     if (fileToDecompress.Exists)
>                     {
>                         Decompress(fileToDecompress);
>                         fileToDecompress.Delete();
>                     }
>
> Let me know if you can help.
>
>
>
> On Wed, Apr 30, 2014 at 3:02 PM, Ray Tsang (AdWords API Team) <
> adwordsapiadvisor+...@google.com> wrote:
>
>> Mahesh,
>>
>> Could I trouble you to use the reply to author function to send me the 
>> full request/response logs?  Specifically, where exactly are you seeing the 
>> error message?
>>
>> Thanks,
>>
>> Ray
>>
>>
>> On Wednesday, April 30, 2014 2:49:17 PM UTC-4, Mahesh Nerlekar wrote:
>>>
>>> HI,
>>>
>>> I was downloading the reports from Adwords for a few months. Suddenly I 
>>> am getting an error 
>>>
>>> "Logon Failure: the specified account password has expired. "  I 
>>> refreshed the token and tried again thinking need to refresh the token but 
>>> still error persists.
>>>
>>> Not sure what can be the issue, Any help in this is greatly appreciated.
>>>
>>> Thanks,
>>> Mahesh Nerlekar.
>>>
>>  -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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 adwords-api@googlegroups.com
>> To unsubscribe from this group, send email to
>> adwords-api+unsubscr...@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/ZRv2dSH-5qE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> adwords-api+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Thanks,
> Mahesh Nerlekar
> BI Development Manager
> Brady Corporation
> 262-416-7227
>  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@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 the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to