Using Adwords API on shared hosting without command line ssh

132 views
Skip to first unread message

Digital Ability Accounts

unread,
Jun 2, 2017, 5:50:12 AM6/2/17
to AdWords API Forum
Hi

I use a shared hosting server with GoDaddy but i do not have access to command line terminal - this prevents me from running composer and anything else really.

This is where i'm at - making my first API call: https://developers.google.com/adwords/api/docs/guides/first-api-call

All i want to do is get keyword data such as clicks and costs.

Can anyone help?

Thanks

Nick

Shwetha Vastrad (AdWords API Team)

unread,
Jun 2, 2017, 11:25:37 AM6/2/17
to AdWords API Forum
Hi Nick, 

You can create a web application and follow the steps provided here to setup API access for web flow. This guide provides sample code snippets which show how to set up the client library and use OAuth2 to make calls using the client library. This client library uses the Google Auth library to handle OAuth2. The preferred method to download the client library is via composer. If you would rather not use composer, you can download the package in its entirety. The Releases page lists all stable versions of the Google Auth library. Download any file with the name google-api-php-client-[RELEASE_NAME].zip for a package including this library and its dependencies. Uncompress the zip file you download, and include the autoloader in your project. 

I would also recommend that you post this question on the client library's issue tracker so they can help you out. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages