PHPackages                             marshmallow/google-ads-lead-extension - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. marshmallow/google-ads-lead-extension

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

marshmallow/google-ads-lead-extension
=====================================

This package will help you handle leads that come in from Google Ads Leads Extension.

v2.0.2(5y ago)01.0k[3 PRs](https://github.com/marshmallow-packages/google-ads-lead-extension/pulls)MITPHPPHP &gt;=7.0.0

Since Apr 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/marshmallow-packages/google-ads-lead-extension)[ Packagist](https://packagist.org/packages/marshmallow/google-ads-lead-extension)[ Docs](https://github.com/Marshmallow-Development/)[ RSS](/packages/marshmallow-google-ads-lead-extension/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (0)

 [![](https://camo.githubusercontent.com/329958cb02b7bee461fd9dcae7a0a3a34e6595669116ff441ad5ef9e77bc511c/68747470733a2f2f63646e2e6d617273686d616c6c6f772d6f66666963652e636f6d2f6d656469612f696d616765732f6c6f676f2f6d617273686d616c6c6f772e7472616e73706172656e742e7265642e706e67)](https://camo.githubusercontent.com/329958cb02b7bee461fd9dcae7a0a3a34e6595669116ff441ad5ef9e77bc511c/68747470733a2f2f63646e2e6d617273686d616c6c6f772d6f66666963652e636f6d2f6d656469612f696d616765732f6c6f676f2f6d617273686d616c6c6f772e7472616e73706172656e742e7265642e706e67)

 [ ![Issues](https://camo.githubusercontent.com/28a1e45e475abd5c7aa92c47bb4fb205133fc50ffd20f9836fd9017bcd098fd5/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f4d617273686d616c6c6f772d446576656c6f706d656e742f7061636b6167652d676f6f676c656164736c656164657874656e73696f6e2e737667) ](https://github.com/Marshmallow-Development) [ ![Forks](https://camo.githubusercontent.com/a034c5489df0f47b88c33cfe5c07a98c8a657a22856e30082084acc39ca8c8e7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f4d617273686d616c6c6f772d446576656c6f706d656e742f7061636b6167652d676f6f676c656164736c656164657874656e73696f6e2e737667) ](https://github.com/Marshmallow-Development) [ ![Stars](https://camo.githubusercontent.com/20a5bc73a1090de633c46741601fe5d4f8a1a34e3f911256feac9a4e78f7e384/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f4d617273686d616c6c6f772d446576656c6f706d656e742f7061636b6167652d676f6f676c656164736c656164657874656e73696f6e2e737667) ](https://github.com/Marshmallow-Development) [ ![License](https://camo.githubusercontent.com/db567edc4b5c2469267723ab56dacccdabc1c5abab701b84821d57fb585f1b37/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f4d617273686d616c6c6f772d446576656c6f706d656e742f7061636b6167652d676f6f676c656164736c656164657874656e73696f6e2e737667) ](https://github.com/Marshmallow-Development)

Google Ads Lead Extension
=========================

[](#google-ads-lead-extension)

This module will make it very easy to handle leads that come in from the Lead Extension in Google Ads. You will be able to do whatever you want to do with the data that is sent to you by Google Ads.

### Installing

[](#installing)

```
composer require marshmallow/package-google-ads-lead-extension

```

Run the installer so everything is setup correctly

```
php artisan googleads:install-lead-extension

```

The installer will generate a `Google Key` for you. This will be shown in your console while running the installer. You will need this key for setting up your lead extension. This key will be used to validate the request is allowed. If you've lost your key, we store the generated key in your `.env` file so you can always find it there under `GOOGLE_ADS_LEAD_EXTENTION_KEY=...`.

Make sure Google Ads can reach you!
-----------------------------------

[](#make-sure-google-ads-can-reach-you)

Update your `App\Http\Middleware\VerifyCsrfToken.php` file so Google will be allowed to do a POST request to your system.

```
