Re: Duplicate Element

2010-09-27 Thread AdWords API Advisor
Hi Javeed,

I looked up your request xml from the requestId. Looks like the error
is exactly what is says in the fault string, i.e.
DistinctError.DUPLICATE_ELEMENT
@ operations[3].operand.targets[1]]. The sanitized xml for your
request's 4th operation is pasted below:


SET

XX


SEARCH_NETWORK



SEARCH_NETWORK



CONTENT_NETWORK


GOOGLE_SEARCH




As you can see, SEARCH_NETWORK target is repeated twice, which causes
the server to raise a DistinctError on the second target.

Hope this helps. Let me know if you have more questions.

Cheers,
Anash P. Oommen,
AdWords API Advisor.



On Sep 26, 7:27 pm, Syed Javeed  wrote:
> There is the soap log msg. Please reply me soon. as its urgent. Is there
> anything am doing wrong.
>
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";> xmlns="https://adwords.google.com/api/adwords/cm/v200909";>fbe52866b9d0f9660841756d38a88ba11  rations>5251 soap:Header>soap:Server string>[DistinctError.DUPLICATE_ELEMENT
> @ operations[3].operand.targets[1]] xmlns="https://adwords.google.com/api/adwords/cm/v200909";>[DistinctError.DUPLICATE_ELEMENT
> @
> operations[3].operand.targets[1]]ApiEx 
> ception xsi:type="DistinctError" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> ">operations[3].operand.targets[1] r.Type>DistinctErrorDUPLICATE_ELEMENT ors>
>
> thanking you,
> /javeed
>
> On Fri, Sep 24, 2010 at 5:53 PM, AdWords API Advisor <
>
>
>
> adwordsapiadvi...@google.com> wrote:
> > Hi Javeed,
>
> > Can you please post the requestId so I may check it?
>
> > Cheers,
> > Anash P. Oommen,
> > AdWords API Advisor.
>
> > On Sep 24, 6:44 pm, Syed  wrote:
> > > Hi,
>
> > >     I was trying to add Campaign. When i do that am getting this
> > > following error. I used the same code some times back(one or two weeks
> > > back), it works fine. I have made no changes to the code.
>
> > > But still am getting this error.
>
> > > This exception occurs when i try to save the changes made to existing
> > > campaign.
>
> > >  [DistinctError.DUPLICATE_ELEMENT @ operations[3].operand.targets[2]]
>
> > > Can you please tell me what does this error exactly means.
>
> > > Urgent please
>
> > > Thanks
>
> > > /javeed
>
> > --
> > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> > 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 > oups.com>
> > For more options, visit this group at
> >http://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


Re: Duplicate Element

2010-09-26 Thread Syed Javeed
There is the soap log msg. Please reply me soon. as its urgent. Is there
anything am doing wrong.


http://schemas.xmlsoap.org/soap/envelope/";>https://adwords.google.com/api/adwords/cm/v200909";>fbe52866b9d0f9660841756d38a88ba115251soap:Server[DistinctError.DUPLICATE_ELEMENT
@ operations[3].operand.targets[1]]https://adwords.google.com/api/adwords/cm/v200909";>[DistinctError.DUPLICATE_ELEMENT
@
operations[3].operand.targets[1]]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance
">operations[3].operand.targets[1]DistinctErrorDUPLICATE_ELEMENT


thanking you,
/javeed



On Fri, Sep 24, 2010 at 5:53 PM, AdWords API Advisor <
adwordsapiadvi...@google.com> wrote:

> Hi Javeed,
>
> Can you please post the requestId so I may check it?
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.
>
> On Sep 24, 6:44 pm, Syed  wrote:
> > Hi,
> >
> > I was trying to add Campaign. When i do that am getting this
> > following error. I used the same code some times back(one or two weeks
> > back), it works fine. I have made no changes to the code.
> >
> > But still am getting this error.
> >
> > This exception occurs when i try to save the changes made to existing
> > campaign.
> >
> >  [DistinctError.DUPLICATE_ELEMENT @ operations[3].operand.targets[2]]
> >
> > Can you please tell me what does this error exactly means.
> >
> > Urgent please
> >
> > Thanks
> >
> > /javeed
>
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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
>

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


Re: Duplicate Element

2010-09-24 Thread AdWords API Advisor
Hi Javeed,

Can you please post the requestId so I may check it?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Sep 24, 6:44 pm, Syed  wrote:
> Hi,
>
>     I was trying to add Campaign. When i do that am getting this
> following error. I used the same code some times back(one or two weeks
> back), it works fine. I have made no changes to the code.
>
> But still am getting this error.
>
> This exception occurs when i try to save the changes made to existing
> campaign.
>
>  [DistinctError.DUPLICATE_ELEMENT @ operations[3].operand.targets[2]]
>
> Can you please tell me what does this error exactly means.
>
> Urgent please
>
> Thanks
>
> /javeed

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


Duplicate Element

2010-09-24 Thread Syed
Hi,

I was trying to add Campaign. When i do that am getting this
following error. I used the same code some times back(one or two weeks
back), it works fine. I have made no changes to the code.

But still am getting this error.

This exception occurs when i try to save the changes made to existing
campaign.

 [DistinctError.DUPLICATE_ELEMENT @ operations[3].operand.targets[2]]

Can you please tell me what does this error exactly means.

Urgent please

Thanks

/javeed

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