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,
Xiaoming, Google Ads API Team

Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2B28z6:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/J-LqM0QNAXYX00lB5yK7pTQLey_tUuiYxXRA%40sfdc.net.


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 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 = $Element->GetCampaign();
>
> $ResourceName = $campaign->getResourceName(),
> $id = $campaign->getId(),
> $name = $campaign->GetName(),
> $status = $campaign->GetStatus(),
> }
>
> you can find the Functions in 
> google-ads-php -> src -> V6 -> Recources -> Campaign.php
>
>
> Op donderdag 21 januari 2021 om 12:12:39 UTC+1 schreef 
> muthukuma...@gmail.com:
>
>>
>> How to get the reports in google ads api in php
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/540633ec-803b-4c84-9daa-a072f57b2622n%40googlegroups.com.


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 = $Element->GetCampaign();

$ResourceName = $campaign->getResourceName(),
$id = $campaign->getId(),
$name = $campaign->GetName(),
$status = $campaign->GetStatus(),
}

you can find the Functions in 
google-ads-php -> src -> V6 -> Recources -> Campaign.php


Op donderdag 21 januari 2021 om 12:12:39 UTC+1 schreef 
muthukuma...@gmail.com:

>
> How to get the reports in google ads api in php

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b1b5c842-ffad-4c79-b987-a5504ae6c316n%40googlegroups.com.