jaxb is a java lib handling xml and axis handles soap (webservice) Am Donnerstag, 8. November 2012 11:26:24 UTC+1 schrieb erob: > > Hi, > > I'm using the Java client and finding some of the dependencies quite > confusing... > > For example, If you're creating a Selector, there are two places you can > import the class from: > > import com.google.api.ads.adwords.axis.v201209.cm.Selector; > import com.google.api.ads.adwords.lib.jaxb.v201209.Selector; > > However, the two classes behave quite differently, for > example axis.v201209.cm.Selector provides a setFields(String[] fields) > method, while the .jaxb.v201209.Selector does not. > > Further, while you can use the .jaxb.v201209.Selector for ad-hoc > reporting, e.g., a KEYWORD_PERFORMANCE_REPORT, if you are using > the AdGroupCriterionService and AdwordsServices then the service object > expects an axis.v201209.cm.Selector > > It's quite confusing... Can I solely rely on one type of library or do I > need the axis and jaxb libraries? >
-- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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