Hi Gareth,

If you perform 100 operations and 1 fails due to a policy error or
something similar, then all the 100 operations will fail. Also, if you
need to check for policy violations without actually adding the ads,
then you can specify validateOnly header as true and make the calls.
If your ads have policy errors then a PolicyViolationError is thrown,
but if all ads are fine, then the ads won't be created. You can use
this to test your ads for policy violation and remove the ads with
errors before actually adding the Ads. See
http://adwordsapi.blogspot.com/2009/12/discover-v2009-validateonly-header.html
for details on how to use the validateOnly headers.

Cheers,
Anash P. Oommen,
AdWords API Advisor

On Aug 2, 2:20 pm, GarethFuller <gareth...@googlemail.com> wrote:
> Hi,
>
> This is just a question regarding soap request failures due to things
> like policy errors.
>
> The system I have currently built builds and array of operations for
> each type of mutate (ad texts array, keywords array etc) then I
> perform these operations and handle any errors. This is all fine and
> working but our system is dependent on client feeds and as with
> anything that comes from a client it is more than likely going to fail
> due to policy errors, incorrect keywords etc etc.
>
> So my question is if these operations have been sent (say for
> arguments sake 100 ad text operations) and 1 of them fails on a policy
> error will the other 99 operations be processed or will all be refused
> due to the error?
>
> I am pretty sure they will all fail but just need confirmation as to
> fix this I will have to make my code allot less efficient and do each
> operation one by one to make sure at least most of them get done.
>
> Many thanks
>
> Gareth Fuller.

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