Hi Eric

I've sort of got an answer to my issue, but (as is often the case) it
raises another issue

It seems as though the reason i couldn't remove the keyword criterion
is because I corrupted the keyword by removing the destination url
during testing because all our other (correctly defined) keyword
criterions behave as expected.
I have a few criterions like this and none of them are either visible
in the adwords front end or mutatable via API calls although it is
possible to obtain information on these items using a GET call.
An example of a corrupted keyword criterion would be adgroup id :
1274081242, criterion id 12034820

We would ideally like to be able to add a destination url to this
criteria (and several other similarly corrupted keywords like it) or
failing that remove it ourselves.  Is this possible?  If not, would
you be able to remove the keywords for us if we send you a list?

Please let me know if you require any further clarification

  Kind Regards

Tam

On Feb 8, 3:59 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> HiTam,
>
> Your request appears to be structured correctly, and the error is
> merely saying that the criterion ID you have specified doesn't exist,
> or at least doesn't existing within that ad group.  Please double-
> check your IDs and try again.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Feb 8, 6:33 am,Tam<tam.lani...@tradedoubler.com> wrote:
>
> > Hi there
>
> > I’m having problems generating the correct xml to remove an adgroup
> > criterion.
>
> > The request xml we’re currently using can be seen below.  Note that
> > I'm not specifying whether the criteria is a keyword or a placement,
> > (although we have tried this but it still didn’t seem to work) because
> > presumably this doesn’t matter when you’re trying to delete it?
>
> > Either way, i keep getting the error response that can be seen below
>
> > Could you please tell me where i’m going wrong and provide an example
> > of a correctly formed request to remove an adgroup criterion?
>
> > Kind regards
>
> >Tam
>
> > <PRE>REQUEST:
> > <?xml version="1.0" encoding="UTF-8"?>
> > <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
> > envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/
> > v200909">
> > <SOAP-ENV:Header><ns1:RequestHeader>
> > <ns1:applicationToken>********</ns1:applicationToken>
> > <ns1:authToken>****</ns1:authToken>
> > <ns1:clientEmail>*****</ns1:clientEmail>
> > <ns1:developerToken>********</ns1:developerToken>
> > <ns1:userAgent>*****</ns1:userAgent></ns1:RequestHeader>
> > </SOAP-ENV:Header><SOAP-ENV:Body>
> > <ns1:mutate>
> > <ns1:operations>
> > <ns1:operator>REMOVE</ns1:operator>
> > <ns1:operand>
> > <ns1:adGroupId>1274081152</ns1:adGroupId>
> > <ns1:criterion>
> > <ns1:id>106745635</ns1:id>
> > </ns1:criterion>
> > </ns1:operand>
> > </ns1:operations>
> > </ns1:mutate>
> > </SOAP-ENV:Body>
> > </SOAP-ENV:Envelope>
> > </PRE>
> > <PRE>RESPONSE:
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> > <soap:Header>
> > <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
> > v200909">
> > <requestId>34b4feb0e1f99f5ef7eab7c35ab830dd</requestId>
> > <operations>1</operations>
> > <responseTime>424</responseTime>
> > <units>1</units></ResponseHeader>
> > </soap:Header>
> > <soap:Body>
> > <soap:Fault>
> > <faultcode>soap:Server</faultcode>
> > <faultstring>[EntityNotFound.INVALID_ID @
> > operations[0].operand.criterion.id; trigger:'106745635']</faultstring>
> > <detail>
> > <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/cm/
> > v200909">
> > <message>[EntityNotFound.INVALID_ID @
> > operations[0].operand.criterion.id; trigger:'106745635']</message>
> > <ApplicationException.Type>ApiException</ApplicationException.Type>
> > <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:type="EntityNotFound">
> > <fieldPath>operations[0].operand.criterion.id</fieldPath>
> > <trigger>106745635</trigger>
> > <ApiError.Type>EntityNotFound</ApiError.Type>
> > <reason>INVALID_ID</reason>
> > </errors></ApiExceptionFault>
> > </detail>
> > </soap:Fault>
> > </soap:Body>
> > </soap:Envelope>
> > </PRE><PRE>REQUEST:
> > <?xml version="1.0" encoding="UTF-8"?>

-- 
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-...@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.

Reply via email to