BatchJobProcessingError.DEADLINE_EXCEEDED after Upgraded to Batch Job Service

2016-06-09 Thread Liqun Chen
 

After upgraded and switched to Google AdWords BatchJobService, we are 
experiencing the error BatchJobProcessingError.DEADLINE_EXCEEDED with large 
amount of bidding changes (10 threads were used as usual). The API doc says 
this error means Unable to complete a batch in the allotted time. 


Could you please advice how to handle to this error? any setting or try it 
later strategy to be used?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/716348e7-2d7b-44d2-b290-55f02bee6b57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Failed to remove CrmBasedUserList

2015-11-24 Thread Liqun Chen
I tried a few times to remove the existing crm based user lists. but got 
the error OperatorError.OPERATOR_NOT_SUPPORTED.  Is the REMOVE operator 
supported?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a76d231-da20-4613-965f-e887e1b2b244%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to set proxy to the ReportDownloader

2015-04-29 Thread Liqun Chen
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.


How to set proxy to the ReportDownloader

2015-04-28 Thread Liqun Chen
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/07864464-e7f1-46a5-a72c-ce607bcf9f35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: V201409, How to get a full list of accounts via ManagedCustomerService

2014-11-21 Thread Liqun Chen
It does work as you suggested now. thanks!

On Thursday, November 20, 2014 4:49:55 PM UTC-5, Josh Radcliff (AdWords API 
Team) wrote:

 Hi,

 You can get the full list of accounts under an MCC by setting 
 clientCustomerId 
 https://developers.google.com/adwords/api/docs/guides/soap#clientCustomerId 
 to your *MCC*'s customer ID and running the GetAccountHierarchy.java 
 https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201409/accountmanagement/GetAccountHierarchy.java
  example.

 To get the customer ID of the authenticated user (derived from your OAuth 
 credentials) you can use CustomerService.get 
 https://developers.google.com/adwords/api/docs/reference/v201409/CustomerService#get
  -- 
 that's the one service that does not require *clientCustomerId* (see the 
 release 
 notes https://developers.google.com/adwords/api/docs/reference/).

 Cheers,
 Josh, AdWords API Team

 On Thursday, November 20, 2014 10:01:52 AM UTC-5, Liqun Chen wrote:

 After upgraded to V201409, for all request, we need to provide customer 
 id, otherwise you get CLIENT_CUSTOMER_ID_IS_REQUIRED, but you provided a 
 valid customer id, only return this customer/account. 
 Now I am not able to get a full list of accounts, please advise.





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/27f89a66-f4b4-4a78-9217-a3b6951ca7e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


V201409, How to get a full list of accounts via ManagedCustomerService

2014-11-20 Thread Liqun Chen
After upgraded to V201409, for all request, we need to provide customer id, 
otherwise you get CLIENT_CUSTOMER_ID_IS_REQUIRED, but you provided a valid 
customer id, only return this customer/account. 
Now I am not able to get a full list of accounts, please advise.



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3cbd6bf3-9b00-4940-b127-d80dd8d27fe1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Didn't see the package v201302 within adwords-axis-1.12.4-sources.jar

2013-03-05 Thread Liqun Chen
Today, I tried to upgraded to v201302, but I didn't see the package v201302 
within adwords-axis-1.12.4-sources.jar. is there an issue here?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.