Error response from CampaignTargetService (200909)

15 views
Skip to first unread message

Athos

unread,
Feb 10, 2010, 7:31:44 AM2/10/10
to AdWords API Forum
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 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>

DavM

unread,
Feb 10, 2010, 12:53:17 PM2/10/10
to AdWords API Forum
Hi

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.Tar­getList

> because it isabstract.  Youareprobablymissingan @Usesannotationwhileinvokingpublicabstract
> com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.Cam­paignTargetPage
> com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.Cam­paignTargetServiceInterface.get(com.google.ads.api.services.campaignmgmt.ca­mpaigntarget.v200909.jaxbgen.CampaignTargetSelector)
> throws
> com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.Api­Exception_Exception
> with params
> [com.google.ads.api.services.campaignmgmt.campaigntarget.v200909.jaxbgen.Ca­mpaignTargetSelector@9abd99].</

doug s

unread,
Feb 10, 2010, 1:44:14 PM2/10/10
to AdWords API Forum
FYI, I started getting the same error as well, and was just about to
post to this group.

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.

PHP Developer

unread,
Feb 10, 2010, 1:44:41 PM2/10/10
to AdWords API Forum
I am seeing this problem too. And it doesnt happen all the time.

Maxim

unread,
Feb 10, 2010, 6:28:12 PM2/10/10
to AdWords API Forum
We are having this problem today also for our Axis client.

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)

Maxim

unread,
Feb 10, 2010, 7:48:34 PM2/10/10
to AdWords API Forum
I have a theory that it only happens if your campaign's GEO target is
set to something other then Country:USA.

AdWords API Advisor

unread,
Feb 11, 2010, 5:51:42 PM2/11/10
to AdWords API Forum
Hi All,

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

AdWords API Advisor

unread,
Feb 12, 2010, 10:22:47 AM2/12/10
to AdWords API Forum
Hi All,

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:

Reply all
Reply to author
Forward
0 new messages