Hi, To get the campaign stats you need to set the CampaignSelector field statsSelector to an instance of StatsSelector:
http://code.google.com/apis/adwords/v2009/docs/reference/CampaignService.StatsSelector.html Best, - Eric Koleda, AdWords API Team On Dec 30, 6:37 am, "[email protected]" <[email protected]> wrote: > Hi All, > Please help me to know that how we can get the StatsRecord in v200909. > In v13 we have it like > > CampaignInterface service = Helper.createCampaignService( > accountID, isUseEndPointForEnv() ); > > StatsRecord[] statsRecords = service.getCampaignStats( > campaignIDs, dateFrom, dateTo ); > > But in v200909 we have the return type as CampaignPage > > CampaignServiceInterface campaignService = > Helper.createCampaignService(accountID, isUseEndPointForEnv()); > > CampaignPage campaignPage = campaignService.get(selector); > > So what we need to pass in selector and how to get the StatsRecord. > it will be very helpful if the code snippet will be provided. > > Thanks in advance. -- 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.
