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.
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, "samarsoo...@yahoo.com" <samarsoo...@yahoo.com>
wrote: