Google Adwords Reach Estimate For Keywords And Budget

96 views
Skip to first unread message

John Yfain

unread,
Dec 10, 2018, 6:01:46 PM12/10/18
to AdWords API and Google Ads API Forum
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.

Luis Xander Talag (AdWords API Team)

unread,
Dec 10, 2018, 8:51:12 PM12/10/18
to AdWords API and Google Ads API Forum
Hi John,

You could use the TrafficEstimatorService to retrieve the traffic estimates of your desired keywords. To get more accurate result based on location, you could add the Location criterion in your request. For more information on this you may visit our Estimating Traffic guide which also includes complete sample code in PHP.

With regards to the endpoint, if you set up the AdWords API using our PHP client library, 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 (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

John Yfain

unread,
Dec 11, 2018, 2:38:49 AM12/11/18
to AdWords API and Google Ads API Forum
HelloLuis Xander Talag,

thanks for your reply.

I already have the OAuth2 credentials. No worry about that ;)

I've found the site with the estimates you linked in your post. But this endpoint do not considered the budget amount.

You have some suggestions for using the Estimate Traffic guide with a budget?

Luis Xander Talag (AdWords API Team)

unread,
Dec 11, 2018, 3:18:59 AM12/11/18
to AdWords API and Google Ads API Forum
Hi John,

With TrafficEstimatorService, you can simulate proposed campaigns and ad groups by using daily budgets. A dailyBudget is part of the CampaignEstimateRequest, and the bid amount, called maxCpc, can be set either in the AdGroupEstimateRequest or the KeywordEstimateRequest.

Regards,
Luis
AdWords API Team
Message has been deleted
Message has been deleted

John Yfain

unread,
Dec 11, 2018, 8:02:08 AM12/11/18
to AdWords API and Google Ads API Forum
Hello,

I've tried something but the budget make no changes to the result in my request. I set the micriAmount on the AdGroupEstimateRequest and then set the setDailyBudget on the CampaignEstimateRequest. But no effect to the results being shown.


But added the line:

$campaignEstimateRequest->setDailyBudget('10'); 

Luis Xander Talag (AdWords API Team)

unread,
Dec 11, 2018, 8:42:15 PM12/11/18
to AdWords API and Google Ads API Forum
Hi John,

To better investigate this, could you provide the complete SOAP request and response logs when you're running the keyword estimates with different dailyBudget? Please reply via Reply privately to author.

If you haven't enabled your logging yet, you may refer to this guide as to how.

Regards,
Luis
AdWords API Team

Reply all
Reply to author
Forward
0 new messages