Hi.

Unfortunately, that does not appear to be the case.  The names we are
trying use will not work when using the API, but do work when we
modify them through the Google interface.  Do you know why that would
be the case?  Do you have any other suggestions?

On May 14, 8:24 am, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hi Sidd,
>
> Ad group names need to be unique across all ad groups in the campaign,
> even deleted ones.  In your case there is a deleted ad group in the
> same campaign with that name, which is why you are getting the error.
> It is often a best practice to rename your ad groups as you delete
> them, such as appending a time stamp, to ensure that you don't run
> into a name uniqueness problem.
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On May 13, 5:43 pm, sidd <sidd.da...@gmail.com> wrote:
>
>
>
>
>
> > Hello.
>
> > I am consistently getting duplicate ad group name errors when I
> > attempt to modify the name of an existing ad group.  The name I am
> > updating the ad group to is different than the one that is already
> > there.  This is happening for most of our records and only happens
> > when making modifications using the API.  It also happens consistently
> > in the BMJS as well.
>
> > Here is my request:
>
> >         <mutate xmlns="https://adwords.google.com/api/adwords/cm/v200909";>
> >                 <operations>
> >                 <operator>SET</operator>
> >                 <operand><id>1295207553</id>
> >                         <campaignId>4974273</campaignId>
> >                         <name>Honda CRV - Trial</name>
> >                 </operand>
> >                 </operations>
> >         </mutate>
>
> > Here is the response:
>
> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> > <soap:Header>
> >         <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
> > v200909">
> >                 <requestId>11f0875edeca4dc287bcb0491bb3dbb7</requestId>
> >                 <operations>1</operations>
> >                 <responseTime>554</responseTime>
> >                 <units>5</units>
> >         </ResponseHeader>
> > </soap:Header>
> > <soap:Body>
> > <soap:Fault>
> >         <faultcode>soap:Server</faultcode>
> >         <faultstring>[AdGroupServiceError.DUPLICATE_ADGROUP_NAME @
> > operations[0].operand.name]</faultstring>
> >         <detail>
> >                 <ApiExceptionFault 
> > xmlns="https://adwords.google.com/api/adwords/cm/
> > v200909">
> >                 <message>[AdGroupServiceError.DUPLICATE_ADGROUP_NAME @
> > operations[0].operand.name]</message>
> >                 
> > <ApplicationException.Type>ApiException</ApplicationException.Type>
> >                 <errors 
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:type="AdGroupServiceError">
> >                         <fieldPath>operations[0].operand.name</fieldPath>
> >                         <trigger></trigger>
> >                         <ApiError.Type>AdGroupServiceError</ApiError.Type>
> >                         <reason>DUPLICATE_ADGROUP_NAME</reason>
> >                 </errors>
> >                 </ApiExceptionFault>
> >         </detail>
> >         </soap:Fault>
> > </soap:Body>
> > </soap:Envelope>
>
> > I'd appreciate any insight.
>
> > --Sidd
>
> > --
> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> > Also find us on our blog and discussion 
> > group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api
> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> > 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 
> > athttp://groups.google.com/group/adwords-api?hl=en
>
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion 
> group:http://adwordsapi.blogspot.comhttp://groups.google.com/group/adwords-api
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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 
> athttp://groups.google.com/group/adwords-api?hl=en

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to