PHPackages                             marshmallow/adwords-targeting-idea-service - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. marshmallow/adwords-targeting-idea-service

AbandonedArchivedLibrary[API Development](/categories/api)

marshmallow/adwords-targeting-idea-service
==========================================

Laravel wrapper for the AdWords Targeting Idea Service

v1.1.0(3y ago)2381[2 PRs](https://github.com/marshmallow-packages/adwords-targeting-idea-service/pulls)MITPHPPHP ^7.3|^8.0

Since Feb 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/marshmallow-packages/adwords-targeting-idea-service)[ Packagist](https://packagist.org/packages/marshmallow/adwords-targeting-idea-service)[ Docs](https://github.com/schulzefelix/laravel-adwords-targeting-idea-service)[ RSS](/packages/marshmallow-adwords-targeting-idea-service/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (11)Used By (0)

A Laravel API Wrapper For Google AdWords.
=========================================

[](#a-laravel-api-wrapper-for-google-adwords)

[![Latest Version](https://camo.githubusercontent.com/f87d41d7f47431fbb2d66147972e1988bf51d460bbc049c62277ed09fa8da92f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f736368756c7a6566656c69782f6c61726176656c2d6164776f7264732d746172676574696e672d696465612d736572766963652e7376673f7374796c653d666c61742d737175617265)](https://github.com/schulzefelix/laravel-adwords/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/8a436dfa940520da328b99d00c211e85dee36d9c6eb7564b58e82ac8b92c5c86/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736368756c7a6566656c69782f6c61726176656c2d6164776f7264732d746172676574696e672d696465612d736572766963652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/schulzefelix/laravel-adwords-targeting-idea-service)[![Quality Score](https://camo.githubusercontent.com/a9325e8ede32fb88042ae0b16b1042a3e0c254ea945e5e90e64fc1a45d9b19b2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f736368756c7a6566656c69782f6c61726176656c2d6164776f7264732d746172676574696e672d696465612d736572766963652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/schulzefelix/laravel-adwords-targeting-idea-service)[![StyleCI](https://camo.githubusercontent.com/a60fd31b7ebd03691533932f44740f64d23c0ee778967396e57b7508d4326dbf/68747470733a2f2f7374796c6563692e696f2f7265706f732f39323533343135312f736869656c64)](https://styleci.io/repos/92534151)[![Latest Version on Packagist](https://camo.githubusercontent.com/8c282761e5fc28f81493805145a98e3e57ae8f539fc5b3b5b4afd1d5653d4aa5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736368756c7a6566656c69782f6c61726176656c2d6164776f7264732d746172676574696e672d696465612d736572766963652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schulzefelix/laravel-adwords-targeting-idea-service)[![Total Downloads](https://camo.githubusercontent.com/4717f559a3791a744075526f2318770ec876be481860a88ae0ce2db4d55b4147/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736368756c7a6566656c69782f6c61726176656c2d6164776f7264732d746172676574696e672d696465612d736572766963652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schulzefelix/laravel-adwords-targeting-idea-service)

Install
-------

[](#install)

This package can be installed through Composer.

```
$ composer require schulzefelix/laravel-adwords-targeting-idea-service
```

The package will autoregister the service provider. If package discovery is disabled add the following.

```
// config/app.php
'providers' => [
    ...
    SchulzeFelix\AdWords\AdWordsServiceProvider::class,
    ...
];
```

The package will autoregister the facade. If package discovery is disabled add the following.

```
// config/app.php
'aliases' => [
    ...
    'AdWords' => SchulzeFelix\AdWords\AdWordsFacade::class,
    ...
];
```

You can publish the config file of this package with this command:

```
php artisan vendor:publish --provider="SchulzeFelix\AdWords\AdWordsServiceProvider"
```

### Generate Refresh Token

[](#generate-refresh-token)

This requires that the `clientId` and `clientSecret` are from a **native application**.

Google Console:

```
$ php artisan adwords:token
```

Open the authorization url. Grant access to the app and input the access token in the console. Copy the refresh token into your configuration `config/adwords-targeting-idea-service.php`

Usage
-----

[](#usage)

All methods will return an `Illuminate\Support\Collection`-instance.

Here are two basic example to retrieve search volumes for several keywords and new keyword ideas for a given word.

### Search Volumes

[](#search-volumes)

```
$searchVolumes = AdWords::searchVolumes(['cheesecake', 'coffee']);
```

### Keyword Ideas

[](#keyword-ideas)

```
$keywordIdeas = AdWords::keywordIdeas('coffee');
```

Provided fluent configuration
-----------------------------

[](#provided-fluent-configuration)

### Set Location

[](#set-location)

For Criteria ID see

```
AdWords::location(2276)->searchVolumes(['cheesecake', 'coffee']);
```

### Set Language

[](#set-language)

For Criteria ID see

```
AdWords::location(2276)->language(1001)->searchVolumes(['cheesecake', 'coffee']);
```

### Include Targeted Monthly Searches

[](#include-targeted-monthly-searches)

```
AdWords::withTargetedMonthlySearches()->searchVolumes(['cheesecake', 'coffee']);
```

### Convert NULL values to Zero

[](#convert-null-values-to-zero)

```
AdWords::convertNullToZero()->location(2276)->language(1001)->searchVolumes(['cheesecake', 'coffee']);
```

### Include And Exclude Words For Keyword Ideas

[](#include-and-exclude-words-for-keyword-ideas)

```
AdWords::location(2642)->exclude(['iphone'])->include(['apple'])->keywordIdeas('iphone');
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ vendor/bin/phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Felix Schulze](https://github.com/schulzefelix)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 77.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~115 days

Recently: every ~169 days

Total

7

Last Release

1211d ago

PHP version history (2 changes)v1.0.0PHP ^7.3

v1.0.3PHP ^7.3|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/be33d2624e24c516e73892b0929447cc762f3622c024ab8d0d2a59042e5d2c7f?d=identicon)[marshmallow](/maintainers/marshmallow)

---

Top Contributors

[![schulzefelix](https://avatars.githubusercontent.com/u/8378750?v=4)](https://github.com/schulzefelix "schulzefelix (34 commits)")[![stefvanesch](https://avatars.githubusercontent.com/u/46725619?v=4)](https://github.com/stefvanesch "stefvanesch (6 commits)")[![LTKort](https://avatars.githubusercontent.com/u/2412670?v=4)](https://github.com/LTKort "LTKort (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

laraveladwordsschulzefelixLaravel AdWordsTargeting Idea Service

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/marshmallow-adwords-targeting-idea-service/health.svg)

```
[![Health](https://phpackages.com/badges/marshmallow-adwords-targeting-idea-service/health.svg)](https://phpackages.com/packages/marshmallow-adwords-targeting-idea-service)
```

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[schulzefelix/laravel-adwords-targeting-idea-service

Laravel wrapper for the AdWords Targeting Idea Service

272.4k](/packages/schulzefelix-laravel-adwords-targeting-idea-service)[edujugon/laravel-google-ads

Google Adwords API for Laravel

66424.7k](/packages/edujugon-laravel-google-ads)[spotonlive/laravel-google-ads

Google Ads API for Laravel

6391.1k](/packages/spotonlive-laravel-google-ads)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
