Hi Jose, My guess is that the adgroup under question doesn't have a bid set on it. It might be inheriting the bid from its parent campaign. Can you confirm from the AdWords front end if this is the case?
Cheers, Anash P. Oommen, AdWords API Advisor. On Oct 14, 1:24 pm, Joe <[email protected]> wrote: > Hi again Anash, > > if (adGroup.getBids() instanceof ManualCPCAdGroupBids) { > ManualCPCAdGroupBids manualCpcBids = > (ManualCPCAdGroupBids)adGroup.getBids(); > System.out.println ("test" +manualCpcBids.getSiteMaxCpc() > +"test1"+manualCpcBids.getKeywordContentMaxCpc()+"test2"+manualCpcBids.getS > iteMaxCpc());} else if (adGroup.getBids() instanceof ManualCPMAdGroupBids) { > > ManualCPMAdGroupBids test = (ManualCPMAdGroupBids)adGroup.getBids(); > System.out.println ("test" +test.getMaxCpm()); > > } > > The ManualCPCAdGroupBids gets in condition but the bids fields returns > NULL. Is there code missing or what code did do wrong? > > Thanks, > Jose -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
