That's the issue, These adGroups DON'T exist when I attempt to add
them. Then I get the error I look in my campaign and it exists AFTER I
run my application. I have a batch add system that i developed that
doesn't post twice to it but it's acting like it is. I have tried to
debug it on my end but it's pretty straight forward 4 keywords in a
text field, it creates a call to a function which goes through the
addition of the ad's step by step, addAdGroup, addAds, then
addCriteria. Unfortunately, I get that error back when I add in my
keywords to this, and I can 100% garuntee they do not exist before I
add them as I create a campaign manually (it is empty at this time)
they batch add my keywords and I produce this error. I have checked
the logic and it doesn't appear to be a logic flaw, It just returns
the error as if my system tries to post it twice(which it can't in a
single run). Which is why I posted here, if you check the API logs I
am sure you can see anything more than I can because it's hard to
debug this when on my end I see one post and an error returned saying
duplicate addGroup and then the keyword it says it duped on is added
properly.

On Mar 3, 11:16 am, AdWords API Advisor <[email protected]>
wrote:
> Hello,
>
>  The error you sent in is associated with a call to addAdGroup(). It's
> not related to ads at all (ads don't have name attributes).
>
>  The error appears to be legitimate--there's already an ad group in
> the campaign that has the same name as the ad group you're trying to
> add. You need to pick a unique name for ad groups within the same
> campaign.
>
> Cheers,
> -Jeff Posnick, AdWords API Team
>
> On Mar 3, 12:28 pm, xorl <[email protected]> wrote:
>
> > Let me rephrase that, When I create a 'unique' ad, I get this error
> > 50/50. Even if the adGroup is not already in there, yet it still
> > creates it all with that error returned.
>
> > On Mar 2, 10:11 pm, xorl <[email protected]> wrote:
>
> > > I keep receiving this error when I try to add an ad, I created an ad
> > > "UETest 201", weird thing is, it gives me this error back, when I
> > > login to the adwords campaign manager, I see it in there, with the Ad
> > > AND the keywords, it's really strange and I have not been able to yet
> > > figure it out. Below is the response, I can message the request if
> > > needed.
>
> > >   <responsetime soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> > > next" soapenv:mustunderstand="0" xmlns="https://adwords.google.com/api/
> > > adwords/v13">246</responsetime>
> > >   <operations soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> > > next" soapenv:mustunderstand="0" xmlns="https://adwords.google.com/api/
> > > adwords/v13">1</operations>
> > >   <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
> > > soapenv:mustunderstand="0" xmlns="https://adwords.google.com/api/
> > > adwords/v13">1</units>
> > >   <requestid soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
> > > next" soapenv:mustunderstand="0" xmlns="https://adwords.google.com/api/
> > > adwords/v13">a81a84441d1a33630e0b044df10a897d</requestid>
> > >  </soapenv:header>
> > >  <soapenv:body>
> > >   <soapenv:fault>
> > >      <faultcode>soapenv:Server.userException</faultcode>
> > >      <faultstring>One or more input elements failed validation.</
> > > faultstring>
> > >      <detail>
> > >       <ns1:fault xmlns:ns1="https://adwords.google.com/api/adwords/
> > > v13">
> > >        <ns1:code>122</ns1:code>
> > >        <ns1:message>One or more input elements failed validation.</
> > > ns1:message>
> > >        <ns1:errors>
> > >         <ns1:index>0</ns1:index>
> > >         <ns1:field>name</ns1:field>
> > >         <ns1:trigger>UETest 201</ns1:trigger>
> > >         <ns1:code>10</ns1:code>
> > >         <ns1:isexemptable>false</ns1:isexemptable>
> > >         <ns1:detail>This name is already in use.</ns1:detail>
> > >      </ns1:errors>
> > >     </ns1:fault>
> > >    </detail>
> > >   </soapenv:fault>
> > >  </soapenv:body>
> > > </soapenv: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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/adwords-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to