Re: Iteration of metrics [PHP]

2021-02-01 Thread Google Ads API Forum Advisor Prod
Hi Floyd,

Thank you for reaching out. Glad you found it out. Please let us know if you 
have any further questions or concerns.

Thanks and regards,
Xiaoming, Google Ads API Team

Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2B28RT: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/Zfnyg0QNVA5P00nNumiGM1SfiEOoGDEx9bcw%40sfdc.net.


Re: Iteration of metrics [PHP]

2021-01-31 Thread Floyd van der weij
uhm after a weekend taking a break. 
i just figured it out.

it was simple, in my previous questions i asked if there was something like 
a metrics file in the libary.
but neither this forum or the API libary gave me a straight answer.

But in the Libary there is a metrics.php that uses 
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
and ofcourse its own namespace : namespace Google\Ads\GoogleAds\V6\Common;

the sollution was just to include these and it was good.
and find the metrics.php file.


im sorry if i come over a little agitated but its just something, i diddnt 
think of before.
anyhow i found it.

ill create a new post if i need help. so you can close this one
Op vrijdag 29 januari 2021 om 07:12:46 UTC+1 schreef adsapiforumadvisor:

> Hi Floyd,
>
> Could you confirm if the main concern is about accessing the metrics you 
> included in your query using PHP? If yes, then you may continue your 
> discussion with the PHP client library owners 
>  instead.
>
> In addition, to ensure as well that you are not encountering issues with 
> the API's reporting, could you confirm if your requests are not returning 
> any errors?
>
> If errors are being returned or if there are no data being returned at 
> all, or if there are discrepancies, you may provide the complete request 
> and response logs so our API team can investigate further.
>
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2B28RT: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/73895fa2-91c9-401d-aacd-b81e08628100n%40googlegroups.com.


Re: Iteration of metrics [PHP]

2021-01-28 Thread Google Ads API Forum Advisor Prod
Hi Floyd,

Could you confirm if the main concern is about accessing the metrics you 
included in your query using PHP? If yes, then you may continue your discussion 
with the PHP client library owners instead.

In addition, to ensure as well that you are not encountering issues with the 
API's reporting, could you confirm if your requests are not returning any 
errors?

If errors are being returned or if there are no data being returned at all, or 
if there are discrepancies, you may provide the complete request and response 
logs so our API team can investigate further.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2B28RT: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/_kGyF0QNOMKS00O-INfe2kR5uGruLjsMJQaQ%40sfdc.net.


Re: Iteration of metrics [PHP]

2021-01-28 Thread Floyd van der weij
The Metrics works,
but i have went to the PHP Libary to ask about the Metrics.

only i dont exactly know what im probably asking
but i want to call ALL the metrics

I know thats with $Element ->GetMetrics()
But i get Protected Objects Returned that i want to call.
only i cant figure out where the functions are where to call those functions

i have seen examples with only 3  examples
$metrics->getImpressions();
$metrics->getClicks();
$metrics->getCostMicros();
BUT where are the other ones.




Op donderdag 28 januari 2021 om 04:53:28 UTC+1 schreef adsapiforumadvisor:

> Hi Floyd,
>
> Could you confirm if you have already enabled logging 
> ? 
> If yes, could you retry your request and also share the generated request 
> and response logs? Requesting these details so our team can also 
> investigate the issue on our end.
>
> You may send the requested details using the *Reply privately to author* 
> option. Should this option be unavailable, you may send the details to our (
> *googleadsa...@google.com*) alias instead.
>
>
> Best regards,
>
> [image: Google Logo] 
> Peter Laurence Napa Oliquino 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2B28RT: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/318e97e6-7f93-4cf7-9ce7-2a009b381802n%40googlegroups.com.


Re: Iteration of metrics [PHP]

2021-01-27 Thread Google Ads API Forum Advisor Prod
Hi Floyd,

Could you confirm if you have already enabled logging? If yes, could you retry 
your request and also share the generated request and response logs? Requesting 
these details so our team can also investigate the issue on our end.

You may send the requested details using the Reply privately to author option. 
Should this option be unavailable, you may send the details to our 
(googleadsapi-supp...@google.com) alias instead.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2B28RT: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/7Vbz80QNMLGN00uvSKMb10Sdiuvn19wmFlMQ%40sfdc.net.


Re: Iteration of metrics [PHP]

2021-01-25 Thread Google Ads API Forum Advisor Prod
Hi Floyd,

You can reach out to the PHP client library owners, via this link, for further 
assistance on how to generate a report using PHP.

Once your PHP code is ready, you can enable logging and run your query. You may 
also note that you would need to use a client account ID as the customer-id 
when running reports.

If you are still unable to retrieve results, you may provide your customer ID, 
and the complete request and response logs, so our team can investigate 
further. You may then send the requested details using the Reply privately to 
author option.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2B28RT: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/mGKHB0QNJ7HR00ow_GN0Z9R4iQ5aZJ6emg1g%40sfdc.net.


Re: Iteration of metrics [PHP]

2021-01-25 Thread Floyd van der weij
Hey, i just wanted to say that i have been stupid and diddnt even call the 
function that the method was in.

i already found it super strange nothing got returned.
if i have any other questions ill ask it here.



Op maandag 25 januari 2021 om 16:04:29 UTC+1 schreef Floyd van der weij:

> After Trying that one, i diddnt get any result out of this.
>
> Did i do something wrong with my query or do i need to add more
> Op vrijdag 22 januari 2021 om 22:00:46 UTC+1 schreef adsapiforumadvisor:
>
>> Hi Floyd,
>>
>> Thank you for reaching out. To get the metrics you are supposed to use 
>> $googleAdsRow->getMetrics()->getImpressions() 
>> 
>> .
>>
>>
>>
>> Thanks and regards,
>> Xiaoming, Google Ads API Team
>>
>>  
>>
>>  
>>
>>
>> ref:_00D1U1174p._5004Q2B28RT: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/669f133b-9551-4df6-a40b-60f5e2ef3e00n%40googlegroups.com.


Re: Iteration of metrics [PHP]

2021-01-25 Thread Floyd van der weij
After Trying that one, i diddnt get any result out of this.

Did i do something wrong with my query or do i need to add more
Op vrijdag 22 januari 2021 om 22:00:46 UTC+1 schreef adsapiforumadvisor:

> Hi Floyd,
>
> Thank you for reaching out. To get the metrics you are supposed to use 
> $googleAdsRow->getMetrics()->getImpressions() 
> 
> .
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>  
>
>  
>
>
> ref:_00D1U1174p._5004Q2B28RT: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/384325c4-856b-4da6-a03a-64db07ae5dd7n%40googlegroups.com.


Re: Iteration of metrics [PHP]

2021-01-22 Thread Google Ads API Forum Advisor Prod
Hi Floyd,

Thank you for reaching out. To get the metrics you are supposed to use 
$googleAdsRow->getMetrics()->getImpressions().

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5004Q2B28RT: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/4UK2k0QNCT0U00cpd5eHNJQYKU_ww3U6DfcQ%40sfdc.net.


RE: Iteration of metrics [PHP]

2021-01-21 Thread Google Ads API Forum Advisor Prod
Hi Floyd,

Thank you for reaching out. The statistical metrics are only available via the 
reporting when you query on a specific resource such as the campaign resource. 
These data are not retrievable by directly calling methods of the services.

Thanks and regards,
Xiaoming, Google Ads API Team

Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q2B28RT: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/63xhN0QNAWAP00bONGrbCnQh-KwkBL-cMoBA%40sfdc.net.


Iteration of metrics [PHP]

2021-01-21 Thread Floyd van der weij
I have ran into an issue where i have am able to get the Data out of 
Campaigns and adgroups

But i cannot seem to figure out where the functions of metrics are stored.

I know that for campaign, its like Campaign.php
Ads adgroups.php

but there are not any for metrics or atleast in general


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/556c638f-e69e-4541-8f4a-e5fb385914c9n%40googlegroups.com.