Hi Oliver,

The behavior is controlled by an AdWords API SOAP header called 
partialFailure. If you disable partialFailure, then the whole request fails 
if at least one operation fails (this is the default). If you enable 
partial failure, the failed operations will be returned in a separate field 
of the results, and you can look at the error fieldPath to figure out the 
index of the failed operation. 
See 
https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201409/ErrorHandling/HandlePartialFailures.cs
 
for an example.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, January 19, 2015 at 9:53:17 PM UTC+5:30, Oliver wrote:
>
> Assume we want to create 10 new text Ads.
>
> We use *AdGroupAd.mutate()* and pass the 10 *AdGroupAdO**peration *
> objects. The response from the mutate method is an *AdGroupAdReturnValue *
> object.
>
> Assume the creation of 3 out of the 10 Ads failed (Policy violation, etc.)
>
> How long is the *AdGroupAd*[] array that is returned by 
> *AdGroupAdReturnValue,getValue()*?
>
> If it's 10, what is returned for the Ads that failed to be created?
>
> If it's 7, how do we know which Ads these 7 are?
>
>
> Thanks
>
> Oliver
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/036c58cc-d9b7-453d-83cb-23aed9da8b5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to