Hi

I am trying to catch errors returned back from Adwords in my program, but 
am unsure how to do it.

With an expired authentication tekon in the client, the lines:
$page = $adClient->CampaignService()->get({
serviceSelector => $selector,
});

which output:

Error deserializing message: A fault was returned by the server:
AuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALID @  
Service[CampaignService.get]
. 
Message was...


to the browser. I have tried using eval, which lets the code carry on, but 
doesn't give me any indication as to what the error is.

How do a catch Adwords errors, in my code, so that I can deal with them 
appropriately?

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