Hello, Could you try giving the v200902 code in the Java client library a try?
http://code.google.com/p/google-api-adwords-java/ I'm told by the person who maintains the Java code samples and libraries on our team that the code in the client library might be more up to date than the sample code that was previously published. FYI, we're anticipating one or more releases with breaking changes for the v200902 Sandbox within the next few weeks. We plan on releasing new sample code and client libraries to address these breaking changes soon after they're made on the server. Cheers, -Jeff Posnick, AdWords API Team On May 31, 9:59 pm, "qme...@gmail.com" <qme...@gmail.com> wrote: > I just tried to run the original AddTextAd class with my login details > and the adGroupId which was already created and I've got the same > error : > > --------------------------------------------------------------------------- > ---- > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/} > Server.userException > faultSubcode: > faultString: org.xml.sax.SAXException: Invalid element in > com.google.api.adwords.v200902.AdId - AdId.Type > --------------------------------------------------------------------------- > ---- > > Sometimes I have this error too (same for GetAllAds) : > > AxisFault > faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server > faultSubcode: > faultString: Fault occurred while processing. > > On Jun 1, 10:47 am, "qme...@gmail.com" <qme...@gmail.com> wrote: > > > > > I'm using the v200902 and the java samples. > > > I tried the GetAllAds class and the AddImageAd class. Both don't work > > as well. > > > On May 30, 2:31 am, AdWords API Advisor <adwordsapiadvi...@google.com> > > wrote: > > > > Hello Qmepop, > > > > Which version of the AdWords API are you trying to use? Which client > > > library, if any, are you using? The error message you're getting is > > > associated with v200902 of the AdWords API. I just tried creating an > > > image ad in the v200902 Sandbox environment and it succeeded, so I > > > think there's some underlying issue here. > > > > Cheers, > > > -Jeff Posnick, AdWords API Team > > > > On May 29, 12:55 am, "qme...@gmail.com" <qme...@gmail.com> wrote: > > > > > Hi, > > > > > Since wednesday, I can't create any ImageAd to the Sandbox and even if > > > > to run the GetAllAds class. > > > > > I changed nothing in my classes, so... > > > > > Here is the error message : > > > > "Invalid element in com.google.api.adwords.v200902.AdId - AdId.Type" > > > > > Cheers, > > > > Qmepop --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---