Hello Sai Teja, Thank you for the reply. The link you've mentioned to get 'refresh token" is not helping me. There(Github link) is no information provided to get refresh token. And I want to integrate this API with PHP Codeigniter. How can I integrate it with CodeIfniter. And as you said, I executed GetCampaigns.php to test and getting following error..
PHP Warning: require(D:\xampp\htdocs\adwords_api\google-ads-php\examples\BasicOperations/../../vendor/autoload.php): failed to open stream: No such file or directory in D:\xampp\htdocs\adwords_api\google-ads-php\examples\BasicOperations\GetCampaigns.php on line 20 Screenshot also attached. On Tuesday, February 19, 2019 at 9:06:03 PM UTC+5:30, Pavan V wrote: > > > Hello There, > > I'm new to Adwords API. I've downloaded the Adwords PHP Client Library. I > followed the steps provided at > https://developers.google.com/adwords/api/docs/guides/start. I've > received Developer Token,OAuth client ID and Secret and placed them at > examples/Authentication/google-ads_api.php. And I don't know how to get > refresh token. I'm using XAMPP localhost for this work. And the project url > is > http://localhost/adwords_api/google-ads-php/examples/BasicOperations/GetCampaigns.php > > . Now to where should I move that google_ads_api.php file. And how can I > get out from that error.The errors are pasted below. And screenshots are > attached. Please help me in this. > > > *Warning*: > require(D:\xampp\htdocs\adwords_api\google-ads-php\examples\BasicOperations/../../vendor/autoload.php): > > failed to open stream: No such file or directory in > *D:\xampp\htdocs\adwords_api\google-ads-php\examples\BasicOperations\GetCampaigns.php* > > on line *20* > > *Fatal error*: require(): Failed opening required > 'D:\xampp\htdocs\adwords_api\google-ads-php\examples\BasicOperations/../../vendor/autoload.php' > > (include_path='D:\xampp\php\PEAR') in > *D:\xampp\htdocs\adwords_api\google-ads-php\examples\BasicOperations\GetCampaigns.php* > > on line *20* > > *Regards,* > > *Pavan.* > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/855bcfcc-cffc-416d-b5ad-b9e7bf4c7466%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
