Hi,

There are a few options here, depending on which services you are calling 
in your script. If the services support the partialFailure 
feature<https://developers.google.com/adwords/api/docs/guides/soap#partialFailure>
 then 
you can use the approach outlined in the HandlePartialFailures.php 
example<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201402/ErrorHandling/HandlePartialFailures.php>.
 
If the services do not support partialFailure then you'll have to submit 
one request per customer ID and handle the failures in a try/catch block.

Cheers,
Josh, AdWords API Team

On Thursday, May 22, 2014 8:01:57 AM UTC-4, Mike Young wrote:
>
> I have a simple script that calls multiple $clientCustomerId's in an 
> array. (25 clients and all the campaigns)
> Its been working for 1 year. 
> Someone revoked access to the second client in the list by accident, 
> therefore knocking it out of the MCC.
>
> It now gets data for the first client but then stops the rest of the 
> clients processing. It breaks the script!
> The clients are in a PHP array, that uses a 'for each()' loop.
>
> Question.....
> How can, if one of the clients is causing an error skip and go onto the 
> next without stopping.......
>
> Maybe there's an error that comes back?
>
>
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to