Hello Ranjit,
For some combinations multiple reports are required. Please see if Criteria performance report matches your requirements: https://developers.google.com/adwords/api/docs/appendix/reports#criteria -Danial, AdWords API Team. On Monday, February 17, 2014 3:05:34 PM UTC+4, Ranjit Behera wrote: > > Hello Danial > > Thanks for the reply. > Is there anyway we can get the keyword and keyword match type directly as > we get from adwords (In the adcopy report after we get apply > *"Keyword/Placement"* segment). Can we replicate the exact report via APIs > > Regards > Ranjit > > On Friday, February 14, 2014 5:17:08 PM UTC+5:30, Ranjit Behera wrote: >> >> >> >> On Thursday, February 13, 2014 6:44:07 PM UTC+5:30, Ranjit Behera wrote: >>> >>> Hi, >>> >>> Am using "googleads-php-lib-master" Adwords API. >>> >>> I want to do *"Keyword/Placement"* segmentation while donwloading the >>> AD_PERFORMANCE_REPORT report. >>> >>> Can anyone pls assist me how could acheive this using PHP. >>> >>> Below is my related code : >>> >>> $reportType = 'AD_PERFORMANCE_REPORT'; >>> $selector->fields = array( >>> 'keyword', >>> 'Impressions' >>> ); >>> >>> $reportDefinition = new ReportDefinition(); >>> $reportDefinition->selector = $selector; >>> $reportDefinition->reportName = $reportType.'#' . uniqid(); >>> $reportDefinition->dateRangeType = 'YESTERDAY'; >>> $reportDefinition->reportType = $reportType; >>> $reportDefinition->downloadFormat = 'CSV'; >>> >>> // Exclude criteria that haven't recieved any impressions over the date >>> range. >>> $reportDefinition->includeZeroImpressions = FALSE; >>> >>> $options = array('version' => 'v201309', 'returnMoneyInMicros' => TRUE); >>> >>> // Download report. >>> ReportUtils::DownloadReport($reportDefinition, $filePath, $user, >>> $options); >>> >>> Thanks .... >>> >> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.