Hi John,

You could use the TrafficEstimatorService 
<https://developers.google.com/adwords/api/docs/reference/v201809/TrafficEstimatorService>
 to 
retrieve the traffic estimates of your desired keywords. To get more 
accurate result based on location, you could add the Location 
<https://developers.google.com/adwords/api/docs/reference/v201809/TrafficEstimatorService.Location>
 criterion 
in your request. For more information on this you may visit our Estimating 
Traffic guide 
<https://developers.google.com/adwords/api/docs/guides/traffic-estimator-service>
 which 
also includes complete sample code 
<https://developers.google.com/adwords/api/docs/samples/php/optimization#estimate-keyword-traffic>
 in 
PHP.

With regards to the endpoint, if you set up the AdWords API using our PHP 
client library <https://github.com/googleads/googleads-php-lib>, you don't 
have to worry about the endpoint as this is already configured in the 
library. All you have to do is to set up your OAuth2 credentials 
<https://developers.google.com/adwords/api/docs/guides/authentication> (client 
ID, client secret and refresh token), developer token and client customer 
ID in your *adsapi_php.ini* file.

Let me know if this is what you're looking for.

Thanks and regards.
Luis
AdWords API Team

On Tuesday, December 11, 2018 at 7:01:46 AM UTC+8, John Yfain wrote:
>
> Hello,
>
> what is the correct way to get the following done over the Google Ads API:
>
> I want to reach estimate (like Facebook does) by keywords and budget. (And 
> Geolocation, such as cities and countries). What endpoints I have to use?
>
> I want to do this with PHP. I've set up the api with composer and I have a 
> working developer key.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2a88eb78-8fb9-400a-a98d-83e489733511%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... John Yfain
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... John Yfain
        • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... John Yfain
          • ... John Yfain
          • ... John Yfain
            • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to