Hello, I am new to adwords api and I am not understanding very well the authorization process.
I am developing a console app on Node.js.
I want to know if there is a way to authenticate without the need of the approval of the user in the web of consent. I understand that this returns the "code" to then generate the credentials with the refresh_token.
I need these credentials for the node module I am using but also
I need a login without the interaction of the user or the browser.
Example of implementation:
Let user = new AdwordsUser ({
DeveloperToken: DEVELOPER_TOKEN2, // your adwords developerToken
UserAgent: 'Siri inc', // any company name
ClientCustomerId: CLIENT_CUSTOMER_ID2, // the Adwords Account id (e.g. 123-123-123)
Client_id: CLIENT_ID2, // this is the api console client_id
Client_secret: CLIENT_SECRET2,
Refresh_token: tokens.refresh_token, // <=== Here's the problem
Access_token: tokens.access_token // <=== Here is the problem
});
Thank you!