Hi,
I am running my application which uses adwords api "*google-ads-api-1.38.0*".
While trying to get the product group tree for a given adgroup-id using
following code,
partitionTree =
ProductPartitionTree.createAdGroupTree(
new AdWordsServices(),
SessionStore.getSession(),
adGroupId
);
There is an error being received in logs which seems to be from google api.
The logs is as follows :
Exception in thread "main" java.lang.NoSuchMethodError:
com.google.common.collect.Ordering.allEqual()Lcom/google/common/collect/Ordering;
at
com.google.api.ads.adwords.axis.utils.v201502.shopping.ProductDimensionComparator.<clinit>(ProductDimensionComparator.java:66)
at
com.google.api.ads.adwords.axis.utils.v201502.shopping.ProductPartitionTree.createEmptyAdGroupTree(ProductPartitionTree.java:323)
at
com.google.api.ads.adwords.axis.utils.v201502.shopping.ProductPartitionTree.createAdGroupTree(ProductPartitionTree.java:219)
at
com.sokrati.offlineGoogleSearchUploader.communicator.GoogleCommunicatorLookup.getProductGroupTree(Unknown
Source)
at
com.sokrati.offlineGoogleSearchUploader.processor.ProductGroupProcessor.processProductGroup(Unknown
Source)
at
com.sokrati.offlineGoogleSearchUploader.processor.GooglePLACreateProcessor.process(Unknown
Source)
at
com.sokrati.offlineGoogleSearchUploader.processor.GoogleSearchProcessor.process(Unknown
Source)
at
com.sokrati.offlineGoogleSearchUploader.OfflineGoogleSearchUploader.main(Unknown
Source)
*The problem is I tried using both the ads api versions i.e. the version
having guava jdk and one without guava jdk. In one of the servers, the app
that uses ads api with guava jdk works fine and in one of the servers app
that uses ads api without guava version works fine but vice versa is not
possible. *
*Which ads api version should I use so that my app can work on both boxes?*
Please let me know if more information is required.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/b5d57db0-e2dc-4218-9bdb-9fc5d8d748e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.