<?xml version="1.0" encoding="UTF-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/"><soap:Header><ResponseHeader xmlns="https://
adwords.google.com/api/adwords/cm/
v200909"><requestId>91eab249e2fd5f5320ed042bc0303c30</
requestId><operations>770</operations><responseTime>17625</
responseTime><units>770</units></ResponseHeader></
soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
faultcode><faultstring>Cannot construct an instance of
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.TargetList
because it is abstract. You are probably missing an @Uses annotation
while invoking public abstract
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetPage
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetSelector)
throws
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.ApiException_Exception
with params
[com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetSelector@9abd99].</
faultstring></soap:Fault></soap:Body></soap:Envelope>
I'm also getting this error and I'm using .Net, but not using the
client library. Is this a bug in the API?
Cheers
David
On Feb 10, 12:31 pm, Athos <daniel.bergh...@gmail.com> wrote:
> I get the following error when trying to get campaignTargets using the
> 200909 version of CampaignTargetService through the Java Client
> Library (v6.4.0):
>
> <?xml version="1.0" encoding="UTF-8"?><soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/
> envelope/"><soap:Header><ResponseHeader xmlns="https://
> adwords.google.com/api/adwords/cm/
> v200909"><requestId>91eab249e2fd5f5320ed042bc0303c30</
> requestId><operations>770</operations><responseTime>17625</
> responseTime><units>770</units></ResponseHeader></
> soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
> faultcode><faultstring>Cannot construct an instance of
> com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.TargetList
> because it isabstract. Youareprobablymissingan @Usesannotationwhileinvokingpublicabstract
> com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetPage
> com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetSelector)
> throws
> com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.ApiException_Exception
> with params
> [com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetSelector@9abd99].</
I am also using Java Client Library (v6.4.0):
I have noticed the error does not always occur, but does occur
frequently. It seems like if my client keeps retrying, the request
will eventually succeed.
campaignTargetService.get(new long[] {campaignId}).getEntries();
15:10:58,995 ERROR [STDERR] Caused by: Cannot construct an instance of
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.TargetList
because it is abstract. You are probably missing an @Uses annotation
while invoking public abstract
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetPage
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetServiceInterface.get(com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetSelector)
throws
com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.ApiException_Exception
with params
[com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.CampaignTargetSelector@1a6b1cb].
15:10:58,995 ERROR [STDERR] at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:
222)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:
129)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:
1087)
15:10:58,995 ERROR [STDERR] at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
15:10:58,995 ERROR [STDERR] at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
15:10:58,995 ERROR [STDERR] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
15:10:58,995 ERROR [STDERR] at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
15:10:58,995 ERROR [STDERR] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
15:10:58,995 ERROR [STDERR] at
org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
15:10:58,995 ERROR [STDERR] at
org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
15:10:58,995 ERROR [STDERR] at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
15:10:58,995 ERROR [STDERR] at org.apache.xerces.jaxp.SAXParserImpl
$JAXPSAXParser.parse(Unknown Source)
15:10:58,995 ERROR [STDERR] at
javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:
227)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:
796)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:
32)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.client.Call.invoke(Call.java:2767)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.client.Call.invoke(Call.java:2443)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.client.Call.invoke(Call.java:2366)
15:10:58,995 ERROR [STDERR] at
org.apache.axis.client.Call.invoke(Call.java:1812)
15:10:58,995 ERROR [STDERR] at
com.google.adwords.api.v2009.CampaignTargetServiceSoapBindingStub.get(CampaignTargetServiceSoapBindingStub.java:
808)
Thank you for reporting this issue. The core engineering team is
aware of the problem and should be rolling out a fix soon. At this
point there is no workaround for this error.
Best,
- Eric Koleda, AdWords API Team
A fix for this problem was pushed out last night. Let us know if you
continue to see this problem.
Best,
- Eric
On Feb 11, 5:51 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote: