Selector fields for both TextAd, ExpandedTextAd

2017-01-06 Thread Andy Lin
Can we have both TextAd and ExpandedTextAd in Adgroup? If yes, can I use one selector to get all the ads (Both TextAd, ExpandedTextAd) for the adgroup, avoid to make 2 remote calls? Selector selector = builder.fields(AdGroupAdField.Id, AdGroupAdField. AdGroupId,AdGroupAdField.Headline, AdGroupA

Re: can I use validateOnly=true in BatchJobService

2016-01-05 Thread Andy Lin
I understand this, but if I don't set validationOnly=true, the polling return me a batchJob object, if I set it to validationOnly=true, the polling return me null. I am wondering if this is a bug ? My polling method is a standard method from your web site documentation. On Monday, January 4,

can I use validateOnly=true in BatchJobService

2016-01-04 Thread Andy Lin
I want to test my mutate requests in BatchJobService using validateOnly=true before submitting. but I couldn't poll the job result using the batchId, it returns null from the following statement, is it possible to use validateOnly=true and test the mutate operations, and how can I poll the res

Re: adwords-axis-2.8.0.jar transitive dependencies cause Caused by: java.lang.ClassCastException: com.google.common.io.ByteSource$ByteArrayByteSource cannot be cast to com.google.common.io.InputSuppli

2015-12-28 Thread Andy Lin
('com.google.apis:google-api-services-drive:v2-rev170-1.20.0'){ exclude group: 'com.google.guava', module: 'guava-jdk5' } On Monday, December 14, 2015 at 8:58:24 AM UTC-5, Andy Lin wrote: > > In my build.gradle, I have those 2 adword api jars as dependencies, whe

adwords-axis-2.8.0.jar transitive dependencies cause Caused by: java.lang.ClassCastException: com.google.common.io.ByteSource$ByteArrayByteSource cannot be cast to com.google.common.io.InputSupplier

2015-12-14 Thread Andy Lin
In my build.gradle, I have those 2 adword api jars as dependencies, when I pool the results from the batchJobs, I get the following execptions, which versions of guava-#.jar and guava-jdk5-#.jar I should explicit specify in my build.gradle? It seems like transitive jar dependencies' version co