Re: PHP Get First Page Cpc Micros

2023-04-05 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello, Thank you for getting back to us. The reason why you're not getting all keywords when using the condition ad_group_criterion.position_estimates.first_page_cpc_micros > 0 is because this condition will not return first_page_cpc_micros that is equal to 0. As per the FATAL error due to nul

Re: PHP Get First Page Cpc Micros

2023-04-05 Thread ma...@sumer.me
I think you misunderstood me. My problem is: If I don't use this with WHERE ad_group_criterion.position_estimates.first_page_cpc_micros > 0, PHP returns "null" for some words and gives a Fatal Error and the process is interrupted. ad_group_criterion.position_estimates.first_page_cpc_micros > 0

Re: PHP Get First Page Cpc Micros

2023-04-04 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello, Thank you for getting back to us. I understand that in this case, with your current query, you want to obtain keyword. I can see that the in the query “ad_group_criterion.keyword.text” is not present in the Select clause. Please try using the sample query and substituting some of the va

Re: PHP Get First Page Cpc Micros

2023-04-04 Thread ma...@sumer.me
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="XX

Re: PHP Get First Page Cpc Micros

2022-07-07 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
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 hos

Re: PHP Get First Page Cpc Micros

2022-07-07 Thread Anil
Hello Anthony, Attached is the log with the request Id [2022-07-06T13:48:09.967873+01:00] google-ads.INFO: Request made: Host: "googleads.googleapis.com", Method: "/google.ads.googleads.v10.services.GoogleAdsService/Search", CustomerId: 3087510920, RequestId: "ALPK8bpVCLadrFjySei31A", IsFault:

Re: PHP Get First Page Cpc Micros

2022-06-30 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Shobha, Thank you for that information. To help you with your further, could you please provide the complete request and response logs, with the request-id? If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentat

Re: PHP Get First Page Cpc Micros

2022-06-30 Thread Shobha Solanki
Hi, When we fetch the ad_group_criterion.position_estimates.first_page_cpc_micros we are also getting the same error, can you please let us know how do we fetch the value as it is important. Is there some alternate way. Thanks, Shobha On Wednesday, 13 April 2022 at 08:08:03 UTC+5:30 adsapi wro

PHP Get First Page Cpc Micros

2022-04-12 Thread ma...@sumer.me
I am using Google Ads API V10 PHP Libray. I'm trying to get the "ad_group_criterion.position_estimates.first_page_cpc_micros," metric. But I am getting null error. Where am I doing wrong? Sample Query: SELECT campaign.id, campaign.name, ad_group_criterion.keyword.text, ad_group_criterion.positi