Hi Kyle,

I don't believe the validateOnly header would catch this particular
issue.  Unfortunately I don't have an ETA on a solution, but for the
mean time I would try to avoid re-adding keywords to an ad group.
Normally an ADD operation like this would be treated like a SET
operation if the keyword already existed in the ad group.

Best,
- Eric

On Feb 4, 10:41 am, Kyle LeNeau <k.len...@gmail.com> wrote:
> Hi Eric,
>
> Thanks for the response.  Is there anyway I can check for this before
> I make the request (like using the validate only flag in the request
> header)?  If not do you know or have an ETA on a solution for the
> engineering team?  Also what are you defining as "handled
> automatically" of the error?
>
> Thanks,
> Kyle LeNeau
>
> On Feb 4, 9:24 am, AdWords API Advisor <adwordsapiadvi...@google.com>
> wrote:
>
>
>
> > Hi Kyle,
>
> > It looks like this error was caused because the keyword you were
> > trying to add was already present in the ad group.  This type of error
> > is normally handled automatically, and I'll work with the core
> > engineering team to resolve this issue.
>
> > Best,
> > - Eric Koleda, AdWords API Team
>
> > On Feb 3, 10:54 am, Kyle LeNeau <k.len...@gmail.com> wrote:
>
> > > Hello,
>
> > > I am getting a very generic error when I try to add new criterion.  I
> > > am trying to add multiple operations at one time except I am getting
> > > an UNEXPECTED_INTERNAL_API_ERROR returned.  I have tried reducing the
> > > number of operations per call all they way down to one and am
> > > consistently getting this error.  Here are my request and responses
> > > that I have traced.
>
> > > Request
> > > -------
>
> > > POST /api/adwords/cm/v200909/AdGroupCriterionService
> > > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
> > > Protocol 2.0.50727.4927)
> > > VsDebuggerCausalityData:
> > > uIDPo43de8ScpjJArhaHqjPGyb0AAAAA3gH8qt6H9kCDw0hbeo1ILfa6k1gts0FBs8B9zzFv/
> > > TcACQAA
> > > Content-Type: text/xml; charset=utf-8
> > > SOAPAction: ""
> > > Host: adwords.google.com
> > > Content-Length: 1217
> > > Expect: 100-continue
> > > Connection: Keep-Alive
>
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> > >     <soap:Header>
> > >         <RequestHeader xmlns="https://adwords.google.com/api/adwords/
> > > cm/v200909">
> > >             <authToken>********</authToken>
> > >             <clientCustomerId>493-624-2678</clientCustomerId>
> > >             <developerToken>********iRFg</developerToken>
> > >             <userAgent>AWAPI DotNetLib 6.2 - WhereToLive.com</
> > > userAgent>
> > >         </RequestHeader>
> > >     </soap:Header>
> > >     <soap:Body>
> > >         <mutate xmlns="https://adwords.google.com/api/adwords/cm/
> > > v200909">
> > >             <operations>
> > >                 <operator>ADD</operator>
> > >                 <operand xsi:type="BiddableAdGroupCriterion">
> > >                     <adGroupId>1044065073</adGroupId>
> > >                     <criterion xsi:type="Keyword">
> > >                         <text>5 Private  Drive 1617</text>
> > >                         <matchType>PHRASE</matchType>
> > >                     </criterion>
> > >                     <userStatus>ACTIVE</userStatus>
> > >                     
> > > <destinationUrl>http://www.coldwellbankerlegacy.com/100174?utm_source=gaw&utm_medium=ppc...</destinationUrl>
> > >                 </operand>
> > >             </operations>
> > >         </mutate>
> > >     </soap:Body>
> > > </soap:Envelope>
>
> > > Response
> > > --------
>
> > > Transfer-Encoding: chunked
> > > X-Content-Type-Options: nosniff
> > > X-XSS-Protection: 0
> > > X-Frame-Options: SAMEORIGIN
> > > Cache-Control: private, max-age=0
> > > Content-Type: text/xml; charset=UTF-8
> > > Date: Wed, 03 Feb 2010 15:50:45 GMT
> > > Expires: Wed, 03 Feb 2010 15:50:45 GMT
> > > Server: GFE/2.0
>
> > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> > >     <soap:Body>
> > >         <soap:Fault>
> > >             <faultcode>soap:Server</faultcode>
>
> > > <faultstring>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </
> > > faultstring>
> > >             <detail>
> > >                 <ApiExceptionFault xmlns="https://adwords.google.com/
> > > api/adwords/cm/v200909">
>
> > > <message>InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ </message>
> > >                     <ApplicationException.Type>ApiException</
> > > ApplicationException.Type>
> > >                     <errors xmlns:xsi="http://www.w3.org/2001/
> > > XMLSchema-instance" xsi:type="InternalApiError">
> > >                         <fieldPath></fieldPath>
> > >                         <trigger></trigger>
> > >                         <ApiError.Type>InternalApiError</
> > > ApiError.Type>
> > >                         <reason>UNEXPECTED_INTERNAL_API_ERROR</reason>
> > >                     </errors>
> > >                 </ApiExceptionFault>
> > >             </detail>
> > >         </soap:Fault>
> > >     </soap:Body>
> > > </soap:Envelope>

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