Hi Gergely,

We don't officially support node.js client libraries. But you could make 
API calls as listed below:

1. If you don't have a developer token yet, then 

   - Signup for a developer token by following the signup instructions 
   <https://developers.google.com/adwords/api/docs/signingup>.
   - Make sure you fill up the followup form: 
   https://services.google.com/fb/forms/newtoken/
   - Wait for the developer token to get approved (or you could create a 
   test account as mentioned on our developer site 
   <https://developers.google.com/adwords/api/docs/test-accounts> and start 
   playing around with the API even when it is under review).

2. Follow the instructions on 
https://developers.google.com/adwords/api/docs/guides/authentication to 
create an OAuth2 clientId and clientSecret.
3. Authorize your user and generate an access token and refresh token for 
them using the web flow. The scope to use is listed on 
https://github.com/googleads/googleads-dotnet-lib/wiki/NoClientLibrary. If 
you are looking for the raw HTTP requests, then you could use OAuth2 
playground <https://developers.google.com/oauthplayground/> to generate 
them, but I recommend using an OAuth2 library like simple-oauth2 
<https://www.npmjs.com/package/simple-oauth2> instead.
4. Make an API request. 
https://github.com/googleads/googleads-dotnet-lib/wiki/NoClientLibrary has 
an example for retrieving campaigns and running reports using raw HTTP 
requests, but ideally, you should be using a SOAP library. Some information 
can be found on this stackoverflow 
<http://stackoverflow.com/questions/8655252/node-js-how-to-consume-soap-xml-web-service>
 
thread. Our reference 
<https://developers.google.com/adwords/api/docs/reference/> contains a list 
of all the supported services, and their WSDL endpoints.

You can refer to our client libraries 
<https://developers.google.com/adwords/api/docs/clientlibraries> for code 
examples. As always, ask on the forum for any questions you may have.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Thursday, October 29, 2015 at 8:59:30 AM UTC-4, Gergely Nemeth wrote:
>
> Hello,
>
> any advice on how can I use the Adwords API from Node.js?
>
> Thanks a lot,
> Gergely
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/35b80bfb-560f-41e0-bb31-ff552df49a1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to