Hi. I was trying to delete keyword from AdGroup. So what I did was request : $request_xml = '<updateCriteria>' . '<criteria>' . '<adGroupId>' . $group_id . '</adGroupId>' . '<id>' . $keyword_id . '</id>' . '<status>Deleted</status>' . '</criteria>' . '</updateCriteria>';
I've checked group id and keyword id is correct and I got Fault: 1 Code: soapenv:Server.userException String: java.lang.RuntimeException: Abstract keyValue without superclass. Detail: Error: soapenv:Server.userException: java.lang.RuntimeException: Abstract keyValue without superclass. HTTP/1.1 500 Internal Server Error Content-Type: text/xml; charset=iso-8859-1 Date: Thu, 17 Sep 2009 19:50:39 GMT Expires: Thu, 17 Sep 2009 19:50:39 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff Content-Length: 4528 Server: GFE/2.0 >From what I've read is that we can only use * destinationUrl * maxCpc * maxCpm * paused for updateCriteria , so I've changed '<status>Deleted</ status>' to '<paused>True</paused>' .. but same error appeared.. what am i doing wrong? Regards --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---