Submitted an issue: 
https://github.com/googleads/googleads-java-lib/issues/43

On Tuesday, April 28, 2015 at 4:19:58 PM UTC-4, Anash P. Oommen (AdWords 
API Team) wrote:
>
> Hi,
>
> I don't think this is supported today, could you file a feature request on 
> https://github.com/googleads/googleads-java-lib/issues? I'll ask the Java 
> library maintainer to follow up with you.
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Tuesday, April 28, 2015 at 9:10:01 AM UTC-4, Liqun Chen wrote:
>>
>> I don't want to set the VM/System level proxy.
>>
>> So I set Axis proxy as below:
>>
>>             AxisProperties.getProperties().put("proxySet", "true");
>>             AxisProperties.setProperty("http.proxyHost", 
>> Config.getStr(apiClient, "ProxyHost"));
>>             AxisProperties.setProperty("http.proxyPort", 
>> Config.getStr(apiClient, "ProxyPort"));
>>             AxisProperties.setProperty("https.proxyHost", 
>> Config.getStr(apiClient, "ProxyHost"));
>>             AxisProperties.setProperty("https.proxyPort", 
>> Config.getStr(apiClient, "ProxyPort"));
>>
>> And Also I set proxy for OfficeCredentials:
>>
>>         NetHttpTransport httpTransport = new 
>> NetHttpTransport.Builder().setProxy(proxy).build();
>>         Credential oAuth2Credential = new 
>> OfflineCredentials.Builder().forApi(OfflineCredentials.Api.ADWORDS).from(config).withHttpTransport(httpTransport).build().generateCredential();
>>
>>
>> But I have no idea how to set proxy for the ReportDownloader. Would you 
>> please enlighten me, or is there an easier to set proxy in one place?
>> ReportDownloadResponse response = new 
>> ReportDownloader(adWordsSession).downloadReport(reportDefinition);
>>
>> Thanks.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e1a24ac5-aa93-4b45-a055-5c24a3fd9092%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to