Re: AdWords Reporting - PHP

2017-08-23 Thread ejay . opiniano
Hi Vincent, It worked! Cool! Cheers, Ejay On Wednesday, August 23, 2017 at 6:52:30 PM UTC+8, Vincent Racaza (AdWords API Team) wrote: > > Hi Ejay, > > Yes, you can filter by CampaignId > >

Re: AdWords Reporting - PHP

2017-08-23 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Ejay, Yes, you can filter by CampaignId in the WHERE clause for the Criteria Performance Report. You can refer to the code snippet below: 'WHERE CampaignId = "INSERT_CAMPAIGN_ID_HERE" '

Re: AdWords Reporting - PHP

2017-08-23 Thread ejay . opiniano
Hi Vincent, It worked! Perfect! Last question, can i select or query a report via campaign ID? so that it would not generate all reports. I tried adding "CampaignId = (campaignid)" in "WHERE" of $reportQuery but it didn't work. Cheers, Ejay On Wednesday, August 23, 2017 at 4:40:44 PM UTC+8

Re: AdWords Reporting - PHP

2017-08-23 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Ejay, For test accounts, all statistics like impressions and clicks would have 0 as value as the ads doesn't really serve. You can get a report with these two campaigns but with no impressions and clicks. Just ensure that the includeZeroImpressions

Re: AdWords Reporting - PHP

2017-08-22 Thread ejay . opiniano
Hi Vincent, Thank you for the response. Another question, Upon executing the sample codes of reporting. It gives me 0 result though i have 2 sample campaigns but have no impressions and clicks because this is under by test client account. Do I have to create reporting table/charts in "Reports"

Re: AdWords Reporting - PHP

2017-08-22 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
Hi Ejay, Aside from downloading the report file, you can also get the report data as String object: // $reportDownloadResult->saveToFile($filePath); *print $reportDownloadResult->getAsString();* >From the String object, you can then do a post-processing on your end to transform the value of the