Hi Joe,

Which part of the code returns null?  It seems like you have the basic
idea, although I think you need to cast adGroup.getBids() to
ManualCPCAdGroupBids to get access to the fields.

Best,
- Eric Koleda, AdWords API Team

On Oct 8, 12:28 am, Joe <jdvera...@gmail.com> wrote:
> Hi,
>
> I'm trying to get the bid values like keywordMaxCpc,
> keywordContentMaxCpc and siteMaxCpc from ManualCPCAdGroupBids.
>  Code:
>
> System.out.println(adGroup.getBids().getAdGroupBidsType()); // it
> displays ManualCPCAdGroupBids
>
> ManualCPCAdGroupBids test = adGroup.getBids();
>   System.out.println ("test" +test.getSiteMaxCpc()
> +"test1"+test.getKeywordContentMaxCpc()+"test2"+test.getSiteMaxCpc());
>
> Please give me a logic sample on how to get AdgroupsBids type and
> their bid values from Adgroup list.
>
> Thanks,
> - Joe

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

Reply via email to