RE: How to get the reports in google ads api in php

2021-01-21 Thread Google Ads API Forum Advisor Prod
Hi Muthu, Thank you for reaching out. Please note that the predefined date ranges in the Google Ads API are not identical to those in the AdWords API. For instance, the ALL_TIME date range does not exist in the GAQL. Please try to use date ranges described in this guide. Thanks and regards, Xi

Re: How to get the reports in google ads api in php

2021-01-21 Thread muthu kumar
When Run GetHotelAdsPerformance.php Request with ID 'AEp8djBiRMla34bfjTgJ1A' has failed. Google Ads failure details: query_error: Invalid date literal supplied for DURING operator: ALL_TIME. On Thursday, January 21, 2021 at 4:51:44 PM UTC+5:30 floy...@gmail.com wrote: > (im not a google h

Re: How to get the reports in google ads api in php

2021-01-21 Thread Floyd van der weij
(im not a google helper but) Did you check out the Campaign.php Runexample()? If yes then make sure you have : CustomerID Connection with google (googleAdsClient) Query for the kind of data you want to ask in the foreach : foreach ($Stream->iterateAllElements() as $Element) { $campaign =