You didn't say what language you are using, but that looks like PHP.  
That is a PHP object, so you should be able to do treat it as a 
standard PHP array.  No need to parse it.

j

On Thursday 15 April 2010, jakov34 elucidated thus:
> Hi,
> Is there any example, how to parse AdWords API Error.
> Lets say that I have error like this:
>
> [message:protected] => [BiddingError.NON_POSITIVE_BID @
> operations[0].operand.bids.keywordMaxCpc]
>     [string:private] =>
>     [code:protected] => 0
>     [file:protected] => ...../src/Google/Api/Ads/Common/Lib/
> AdsSoapClient.php
>     [line:protected] => 160
>     [trace:private] => Array
>         (
>             [0] => Array
>                 (
>                     [file] => ...../src/Google/Api/Ads/Common/Lib/
> AdsSoapClient.php
>                     [line] => 160
>                     [function] => __soapCall
>                     [class] => SoapClient
>                     [type] => ->
>                     [args] => Array
>                         (
>                             [0] => mutate
>                             [1] => Array
> etc...
>
>      Bid Object
>           [microAmount] => asdfasdf
>
> etc...
> Well, I see what is an error, and which operand causes an error.
> But is there any parser for this error, or I have to write my own
> functions..
> If is, can someone provide me an example, how to do it..
>
> Thanks a lot!!!
> Jakov



-- 
Joshua Kugler
Part-Time System Admin/Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0x73B13B6A

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to