2017 © Pedro Peláez
 

library laravel-adwords-targeting-idea-service

Laravel wrapper for the AdWords Targeting Idea Service; Taken from Felix Schulze, this version removes 5.5 requirement

image

quesofat/laravel-adwords-targeting-idea-service

Laravel wrapper for the AdWords Targeting Idea Service; Taken from Felix Schulze, this version removes 5.5 requirement

  • Wednesday, June 20, 2018
  • by quesofat
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

A Laravel API Wrapper For Google AdWords.

Latest Version ![Software License][ico-license] Build Status Quality Score StyleCI Latest Version on Packagist ![Total Downloads][ico-downloads], (*1)

Install

This package can be installed through Composer., (*2)

``` bash $ composer require schulzefelix/laravel-adwords-targeting-idea-service, (*3)


In Laravel 5.5 the package will autoregister the service provider. If package discovery is disabled add the following. ```php // config/app.php 'providers' => [ ... SchulzeFelix\AdWords\AdWordsServiceProvider::class, ... ];

In Laravel 5.5 the package will autoregister the facade. If package discovery is disabled add the following., (*4)

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

You can publish the config file of this package with this command:, (*5)

``` bash php artisan vendor:publish --provider="SchulzeFelix\AdWords\AdWordsServiceProvider", (*6)


### Generate Refresh Token This requires that the `clientId` and `clientSecret` are from a **native application**. Google Console: [https://console.developers.google.com/apis/credentials](https://console.developers.google.com/apis/credentials) ``` bash $ 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, (*7)

Usage

All methods will return an Illuminate\Support\Collection-instance., (*8)

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

Search Volumes

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

Keyword Ideas

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

Provided fluent configuration

Set Location

For Criteria ID see https://developers.google.com/adwords/api/docs/appendix/geotargeting, (*10)

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

Set Language

For Criteria ID see https://developers.google.com/adwords/api/docs/appendix/codes-formats#languages, (*11)

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

Include Targeted Monthly Searches

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

Convert NULL values to Zero

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

Include And Exclude Words For Keyword Ideas

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

Change log

Please see CHANGELOG for more information what has changed recently., (*12)

Testing

bash $ vendor/bin/phpunit, (*13)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*14)

Security

If you discover any security related issues, please email githubissues@schulze.co instead of using the issue tracker., (*15)

Credits

License

The MIT License (MIT). Please see License File for more information., (*16)

The Versions

20/06 2018

dev-master

9999999-dev https://github.com/schulzefelix/laravel-adwords-targeting-idea-service

Laravel wrapper for the AdWords Targeting Idea Service; Taken from Felix Schulze, this version removes 5.5 requirement

  Sources   Download

MIT

The Requires

 

laravel adwords schulzefelix laravel adwords targeting idea service

20/06 2017

dev-analysis-zOAeoJ

dev-analysis-zOAeoJ https://github.com/SchulzeFelix/laravel-adwords-targeting-idea-service

Laravel wrapper for the AdWords Targeting Idea Service

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel adwords schulzefelix laravel adwords targeting idea service

04/06 2017

1.0.0

1.0.0.0 https://github.com/SchulzeFelix/laravel-adwords-targeting-idea-service

Laravel wrapper for the AdWords Targeting Idea Service

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel adwords schulzefelix laravel adwords targeting idea service