aimeos/laravel-keywords-google is a Laravel package for google ads driver for laravel keywords bridge.
It currently has 1 GitHub stars and 0 downloads on Packagist.
Install it with composer require aimeos/laravel-keywords-google.
Discover more Laravel packages by aimeos
or browse all Laravel packages to compare alternatives.
Last updated
Google Ads Keyword Planner driver for the
Laravel Keywords Bridge.
It uses the REST API of the Google Ads KeywordPlanIdeaService and needs no
Google SDK.
composer require aimeos/laravel-keywords-google
Add these settings to your .env file and set KEYWORDS_DRIVER=google:
GOOGLEADS_CUSTOMER_ID=123-456-7890
GOOGLEADS_LOGIN_CUSTOMER_ID=
GOOGLEADS_DEVELOPER_TOKEN=...
GOOGLEADS_CLIENT_ID=...
GOOGLEADS_CLIENT_SECRET=...
GOOGLEADS_REFRESH_TOKEN=...
GOOGLEADS_CUSTOMER_ID: ID of the Google Ads account used for the requestsGOOGLEADS_LOGIN_CUSTOMER_ID: ID of the manager account if the account above is accessed through itGOOGLEADS_DEVELOPER_TOKEN: Developer token from the API Center of your manager account (at least basic access)GOOGLEADS_CLIENT_ID/GOOGLEADS_CLIENT_SECRET: OAuth client of your Google Cloud project with the Google Ads API enabledGOOGLEADS_REFRESH_TOKEN: OAuth refresh token of a user with access to the account for the https://www.googleapis.com/auth/adwords scopeThe access token is fetched using the refresh token and cached in the Laravel cache until shortly before it expires.
Optional settings in the google section of ./config/keywords-bridge.php:
version: Google Ads API version (default: v26)timeout: Request timeout in seconds (default: 30)geo: Additional or different geo target constant IDs by country code, e.g. ['xk' => 9999]use Aimeos\KeywordsBridge\Facades\Keywords;
// worldwide search volume
$result = Keywords::volume(['laravel cms', 'headless cms']);
// related keywords in Germany
$result = Keywords::related('laravel cms', 'de', 100);
null volume.This package is released under the LGPL-2.1+ License.