Hi John,

Can we have a requestId?, this can be found in the raw SOAP XML logs. I 
need to be able to see the full SOAP request at low level to figure out if 
it an API or a library issue.

Thanks,

- David Torres - AdWords API Team

On Tuesday, October 19, 2010 8:52:00 AM UTC-4, Valentin Kulichenko wrote:
>
> Hi,
>
> I'm trying to get disapproval reasons for a text ad using Java API 
> v200909. I use the following code:
>
> if (ad.getApprovalStatus() == AdApprovalStatus.DISAPPROVED) {
>     System.out.println("Ad " + ad.getId() + " disapproved:");
>
>     for (String reason : ad.getDisapprovalReasons()) {
>         System.out.println(reason);
>     }
> }
>
> And get NullPointerException because ad.getDisapprovalReasons() is always 
> null, even for disapproved ads.
>
> How can I get disapproval reason? Where is my mistake?
>

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to