Created
May 4, 2013 22:10
-
-
Save ThomasHambach/5518932 to your computer and use it in GitHub Desktop.
Laravel 3 Adwords PHP Api bundle 1. Create a new directory called "adwords" in your /bundles directory
2. Add in the files below
3. Download the Adwords PHP Api library from https://code.google.com/p/google-api-adwords-php/
4. Create a new directory in /bundles/adwords called "libraries", in this libraries folder, create another folder called "a…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
return array('adwords'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// we need this to have our adwords properly call our functions... | |
// all paths are set relative in that code | |
set_include_path( | |
get_include_path() . PATH_SEPARATOR . | |
path('bundle') . 'adwords/libraries/adwords/src/' . PATH_SEPARATOR . | |
path('bundle') . 'adwords/libraries/adwords/src/' | |
); | |
$result = Autoloader::map(array( | |
'AdWordsUser' => path('bundle') . 'adwords/libraries/adwords/src/Google/Api/Ads/AdWords/Lib/AdWordsUser.php', | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment