Hi Danial,
Thank you for the prompt reply, and no i do not believe any modifications
are required to the API at this moment. I did get it working and i will lay
out my steps below so it helps others out as well. the following steps will
help in installing the API onto various php frameworks like cakePHP,
Laravel, etc.
1. Add the following line to your composer.json file under 'require'. This
file can be found in the root directory of your laravel installation.
"googleads/googleads-php-lib": "dev-master"
2. Using cmd on your windows or a terminal on a mac, navigate to your
Laravel installation and run the following commands.
composer update
composer dump-autoload
3. Now to use the laravel src files, refer to autoload.php in the bootstrap
folder of your Laravel installation. This should list all classes that you
may need for your project. For instance, to create a new user instance in
your construct, you could use the following code:
public function __construct(AdWordsUser $user){
$this->user = $user;
$this->user->SetUserAgent('');
$this->user->SetClientLibraryUserAgent('');
$this->user->SetDeveloperToken(Config::get('');
}
The methods i have used above can be found by exploring the adwords api
itself.
If you have still have trouble, feel free to reply here and i will do my
best to help.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/d95eba36-332b-4792-ae51-7a2c561202f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.