Forum Moderators: open

Message Too Old, No Replies

Google API: SAXException

operation description is missing parameter description!

         

StupidScript

8:53 pm on May 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



operation description is missing parameter description!

What does this mean, exactly?

My guess was that it is saying there is a missing required parameter, but I can't see what's missing.

Using the addKeyword client (not copy and paste):

<addKeyword> $adgroupid <newKeyword><text>search term</text><type>Broad</type><destinationUrl>[destination URI]</destinationUrl></newKeyword></addKeyword>

I've tried it both with destinationUrl (which is what I really want) and without. Same error.

It looks like only $adgroupid, <text> and <type> are required and <destinationUrl> is optional.

StupidScript

10:11 pm on May 20, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I don't know what the problem was, but as long as I send an array (even an array with only one element) and use addKeywordList instead of addKeyword ... I don't get the error.

bird

10:54 am on May 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It seems that you will get this error when you supply arguments that aren't defined for the operation. You'll have to check the exact specification of the operation you're trying to execute.

StupidScript

9:37 pm on May 24, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks, bird! That's the first decent answer I've gotten to a Google API question, even in the Google Groups API forum! So far I've been figuring out undocumented issues for myself! (Like PHP needs to be compiled with cURL AND OpenSSL in order for it to contact the https:// wsdl address.)

Did you note anything out of order in the stuff I was sending to SOAP, in my first post? It's pretty basic.

Have you successfully added one keyword to a new campaign and adgroup w/creative, all during the same operation? I haven't. I ended up using the addKeywordList array with a single element, but even without errors, no keyword is created (the campaign and adgroup(s) are, tho'), and even though my output shows successful dumping of one-keyword-and-one-creative into each of three test campaigns/adgroups, there are no keywords when I go to the account, and all of the creatives got created in the first adgroup ... not one-for-each, as the output indicated had happened.

Anyway ... I'll keep trying the script every few days, and see what gets fixed on the back end.

Thanks again!

StupidScript

7:39 pm on Jun 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



While addKeyword continues to generate errors, I have discovered that addKeywordList does NOT use an array ... actually the entire API doesn't even know what an array is.

addKeywordList is a string.