hi sunny,
I am very new to laravel and adword api so could you tell me how to include 
and extract all campaigns in pagesColtroller.

Thanks & regards
jiwan ghosal 

On Wednesday, December 17, 2014 at 10:02:19 PM UTC+5:30, Sunny Rangnani 
wrote:
>
> 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/7e146266-e9f2-4737-a4f8-3a0a971f8e05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to