Thanks a lot Anash! That worked perfectly. Anyone having the same issue, I used the following code to download complete data - search and display:
$user = new AdWordsUser(NULL, $email, $password, $developerToken,$applicationToken , $userAgent, $iSeAccountId, $settingsIniPath, $authToken, $oauthInfo); // Log SOAP XML request and response. $user->LogDefaults(); // Load ReportDefinitionService so that the required classes are available. $user->LoadService('ReportDefinitionService', 'v201109'); // Create selector. $selector = new Selector(); $selector->fields = array('Date', 'Id', 'Criteria', //'KeywordText', keywordtext is for keyword performance report, now using CRITERIA_PERFORMANCE_REPORT 'CampaignId', 'CampaignName', 'AdGroupId', 'AdGroupName', 'AdNetworkType1', 'AdNetworkType2', 'Impressions', 'AveragePosition', 'Clicks', 'Cost', 'Conversions', 'ConversionsManyPerClick', 'CostPerConversionManyPerClick', 'QualityScore' ); $selector->predicates[] = new Predicate('Status', 'IN', 'ACTIVE'); /* $selector->predicates[] = new Predicate('AdGroupStatus', 'IN', 'ENABLED'); $selector->predicates[] = new Predicate('CampaignStatus', 'IN', 'ACTIVE'); */ // Create report definition. $reportDefinition = new ReportDefinition(); $reportDefinition->selector = $selector; $reportDefinition->reportName = 'KW performance report #' . time(); $reportDefinition->dateRangeType = 'LAST_7_DAYS'; $reportDefinition->reportType = 'CRITERIA_PERFORMANCE_REPORT'; $reportDefinition->downloadFormat = 'GZIPPED_CSV'; $reportDefinition->includeZeroImpressions = FALSE; $path = dirname(__FILE__) . '/' . $fileName; $options = array('version' => 'v201109', 'returnMoneyInMicros' => TRUE); // Download report. ReportUtils::DownloadReport($reportDefinition, $path, $user, $options); Cheers, Ed -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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