This problem still continues with V13

I do not receive errors when I use a code sample like below. But in this 
case, I can't get *all the words*.

*SELECT metrics.clicks, metrics.impressions, 
ad_group_criterion.position_estimates.first_page_cpc_micros FROM 
keyword_view WHERE campaign.id="XXXXXX" AND ad_group.id="YYYYYY" AND 
ad_group_criterion.position_estimates.first_page_cpc_micros > 0*

I want to take all the words and not to get errors. (Only with 1 query) how 
to do this?

*Error: *Fatal error: Uncaught Error: Call to a member function 
getFirstPageCpcMicros() on null in...

On Thursday, 7 July 2022 at 16:20:48 UTC+3 Google Ads API Forum Advisor 
wrote:

> Hi Shobha,
>
> Thanks for getting back to us.
>
> I can see that your GAQL is valid, however, your PHP code throws the Fatal 
> error:  Uncaught Error: Call to a member function getFirstPageCpcMicros(). 
> This seems to be more related to PHP code implementation.
>
> You may refer to this *PHP client library* 
> <https://github.com/googleads/google-ads-php/> hosted at GitHub, and this* 
> PHP reporting example * 
> <https://developers.google.com/google-ads/api/docs/reporting/example?hl=en#php>on
>  
> how you can get report data on your end. If you’re using a PHP client 
> library and still encountering said Fatal error, then I recommend you to 
> reach out to PHP client library owners by opening a new issue with their 
> team via *issue tracker* 
> <https://github.com/googleads/google-ads-php/issues>, for further 
> assistance. 
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2a2Tfz: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 
"Google Ads API and AdWords 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/6646e120-766f-4c97-96dd-60caf90130fcn%40googlegroups.com.
  • Re... ma...@sumer.me
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... ma...@sumer.me
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to