How to integrate google adwords api in php ? Please help me with suitable example.

101 views
Skip to first unread message

Mahfooz Khan

unread,
Jan 15, 2014, 6:33:53 AM1/15/14
to adwor...@googlegroups.com
How to integrate google adwords api in php ? Please help me with suitable example. 

Danial Klimkin

unread,
Jan 20, 2014, 7:15:03 AM1/20/14
to adwor...@googlegroups.com
Hello Mahfooz,


Please see the official PHP client library here:



-Danial, AdWords API Team.

Talib Ali

unread,
Jan 6, 2015, 7:23:50 AM1/6/15
to adwor...@googlegroups.com
hello Danial,
 we are facing some error
1) Warning: require_once(Google/Api/Ads/AdWords/Lib/AdWordsUser.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\PHP\tekxtrem\googleads-php-lib-master\googleads-php-lib-master\tests\Google\Api\Ads\AdWords\Lib\AdWordsUserTest.php on line 28

2)
Fatal error: require_once() [function.require]: Failed opening required 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php' (include_path='.;C:\php\pear') in C:\wamp\www\PHP\tekxtrem\googleads-php-lib-master\googleads-php-lib-master\tests\Google\Api\Ads\AdWords\Lib\AdWordsUserTest.php on line 28

can you help me?Thanks in advance


 

Josh Radcliff (AdWords API Team)

unread,
Jan 7, 2015, 11:15:07 AM1/7/15
to adwor...@googlegroups.com
Hi,

Did you follow the instructions in the PHP library's README?

To install the client library, either copy the lib/ folder into where you store your PHP source files that is on your PHP include path, or add the current directory path of the lib/ folder to your PHP include path.

Thanks,
Josh, AdWords API Team 

Talib Ali

unread,
Jan 9, 2015, 6:55:17 AM1/9/15
to adwor...@googlegroups.com
Hi,

I am trying to take refresh_token for auth.ini file from GetRefreshToken.php but i am not getting refresh_token, so how can I get.

Thanks,

Josh Radcliff (AdWords API Team)

unread,
Jan 9, 2015, 9:41:57 AM1/9/15
to adwor...@googlegroups.com
Hi,

Did you go through the README I mentioned in my previous email? Also, I'd recommend checking out the PHP library's Using OAuth 2.0 wiki, which describes the process for getting a refresh token in detail.

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages