2 messages in com.googlegroups.adwords-apioperation description is missing para...
FromSent OnAttachments
StupidScript19 May 2005 15:35 
StupidScript20 May 2005 13:37 
Subject:operation description is missing parameter description!
From:StupidScript (stup@hotmail.com)
Date:05/19/2005 03:35:41 PM
List:com.googlegroups.adwords-api

What exactly does this SAX error mean?

Is it trying to tell me I have left out a required parameter?

I'm getting it when trying to addKeyword. The campaign is being added and the AdGroup is being added, but then I get this error. No keyword has been added nor has its creative, in the intended subsequent operation.

As far as I can tell, $adgroupid, <text> and <type> are the only required addKeyword parameters. I wanted to include the optional destinationUrl, but I get this error with or without that parameter.

Here's what I'm trying to send (without destinationUrl). $listarray[$x][0] was successfully used in the campaign name and AdGroup name, so I can't see how it would be an issue here.

$keyword = "<newKeyword><text> $listarray[$x][0] </text><type>Broad</type></newKeyword>"; $keywordparamsxml = "<addKeyword> $adgroupid $keyword </addKeyword>"; $keywordadd = $keywordclient->call("addKeyword", $keywordparamsxml);

In the course of troubleshooting this, I realize that I have no idea where I would see the error codes listed on the API site.

I included a full dump of the various $client elements in the error reporting function. Looking at the debug_str element, there are two things that jump out at me.

First, there are a lot of XMLSchema entries that begin processing an element which is identified, and then when it indicates its "done" entry for that item it states "done processing element (unknown)". For example:

629346 XMLSchema: processing untyped element addKeyword 630021 XMLSchema: processing unnamed complexType for element addKeyword

631460 XMLSchema: processing typed element newKeyword of type https://adwords.google.com/api/adwords/v2:Keyword 632074 XMLSchema: done processing element newKeyword 632641 XMLSchema: done processing complexType addKeyword_ContainedType 633011 XMLSchema: done processing element (unknown)

Lastly, it seems to have not finished. The last little nested tree begins "696732 XMLSchema: processing named complexType StatsRecord" and then ends without indicating that that process is "done". The last XMLSchema entry is "716873 XMLSchema: processing typed element impressions of type http://www.w3.org/2001/XMLSchema:long" before going to "718572 wsdl: Parsing WSDL schema done". I count two open processes, at that point.

Any thoughts are appreciated.