Hi Sreelakshmi, Thank you for the help. My previous issue is resolved.
I am stuck some where else right now. AS you see in the code section $reportDefinition->setDateRangeType( ReportDefinitionDateRangeType:: LAST_7_DAYS); I created a variable name $date which is having value LAST_7_DAYS When i call it as mentioned below it will display an error Code : $reportDefinition->setDateRangeType( ReportDefinitionDateRangeType:: $_GET['date']); Error : *Fatal error*: Uncaught Error: Access to undeclared static property: Google\AdsApi\AdWords\Reporting\v201609\ReportDefinitionDateRangeType::$_GET in E:\server\htdocs\adwards\examples\AdWords\v201609\Reporting\CampaignsPerformancereport.php:81 Stack trace: #0 E:\server\htdocs\adwards\examples\AdWords\v201609\Reporting\CampaignsPerformancereport.php(230): Google\AdsApi\Examples\AdWords\v201609\Reporting\ParallelReportDownload::runExample(Object(Google\AdsApi\AdWords\AdWordsServices), Object(Google\AdsApi\AdWords\AdWordsSessionBuilder), 'C:\\Users\\Tech\\A...') #1 E:\server\htdocs\adwards\examples\AdWords\v201609\Reporting\CampaignsPerformancereport.php(234): Google\AdsApi\Examples\AdWords\v201609\Reporting\ParallelReportDownload::main() #2 {main} thrown in *E:\server\htdocs\adwards\examples\AdWords\v201609\Reporting\CampaignsPerformancereport.php* on line *81* Kindly help me to FIX. On Friday, September 8, 2017 at 8:13:15 PM UTC+5:30, Pradeep Kumar wrote: > > Hi Everyone, > > This is Pradeep ( Web Programmer - PHP ). I am using google adwords api to > get campaigns reports. While i am accessing the reports > from ParallelReportDownload.php then i can see the report is being > downloaded into excel format. > > I don't want an report to be download. I want the result in an array > format after searching a lot on google.com i found a method which > is getAsString() that is returning the result in a string format it is not > useful for me till now. > > Can you please help me to fix this issues. > > Thank You > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/462135b6-f2cb-429e-9d25-37efe17c966d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.