Hi Eric, thanks for your reply. Concerning my error I think it comes from Java.
Here is my error information : WARNING: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException faultSubcode: faultString: org.xml.sax.SAXException: Invalid element in com.google.api.adwords.v200906.BiddableAdGroupCriterion - stats faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: Invalid element in com.google.api.adwords.v200906.BiddableAdGroupCriterion - stats at org.apache.axis.encoding.ser.BeanDeserializer.onStartChild (BeanDeserializer.java:258) at org.apache.axis.encoding.DeserializationContext.startElement (DeserializationContext.java:1035) at org.apache.axis.message.SAX2EventRecorder.replay (SAX2EventRecorder.java:165) at org.apache.axis.message.MessageElement.publishToHandler (MessageElement.java:1141) at org.apache.axis.message.RPCElement.deserialize(RPCElement.java: 236) at org.apache.axis.message.RPCElement.getParams(RPCElement.java:384) at org.apache.axis.client.Call.invoke(Call.java:2467) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.google.api.adwords.v200906.AdGroupCriterionServiceSoapBindingStub.get (AdGroupCriterionServiceSoapBindingStub.java:840) Cheers. Qmeapi On Sep 16, 8:05 am, AdWords API Advisor <adwordsapiadvi...@google.com> wrote: > Hi Qmeapi, > > I tried using your exact code, and it worked correctly for me, as did > GetActiveCriteriaDemo. Is the error coming in through the SOAP XML > response or being generated by Java? > > Best, > - Eric Koleda, AdWords API Team > > On Sep 15, 4:14 am, Qmeapi <qme...@gmail.com> wrote: > > > > > Hi adwords team, > > > I have a problem with the Keyword Approval Status. I need to get this > > value from the adwords api. I'm using the v200906 with Java. > > > I defined an AdGroupCriterionSelector and I set an IdFilter and a > > CriterionUse. However I always get an error like : > > "Invalid element in > > com.google.api.adwords.v200906.BiddableAdGroupCriterion - stats". > > > Here is my code : > > // Set the selector > > AdGroupCriterionSelector selector = new AdGroupCriterionSelector(); > > AdGroupCriterionIdFilter adGroupCriterion = new > > AdGroupCriterionIdFilter(); > > adGroupCriterion.setAdGroupId(adGroupId); > > adGroupCriterion.setCriterionId(keywordId); > > selector.setIdFilters(new AdGroupCriterionIdFilter[] > > { adGroupCriterion }); > > selector.setCriterionUse(CriterionUse.BIDDABLE); > > > // Get the keyword. > > AdGroupCriterionPage adGroupCriterionPage = adGroupCriterionService.get > > (selector); > > BiddableAdGroupCriterion biddableAdGroupCriterion = > > (BiddableAdGroupCriterion) adGroupCriterionPage.getEntries(0); > > > I tried to use the sample GetActiveCriteriaDemo from your samples code > > but without success. I've got the same error : "Invalid element in > > com.google.api.adwords.v200906.BiddableAdGroupCriterion - stats". > > > Is there anything wrong I did or I missed ? or is it coming from > > v200906 services ? > > > Let me know please, this is important for my project. > > > Cheers, > > Qmeapi- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---