Api Calls on Behalf of Other Users

5 views
Skip to first unread message

Yalçın Özveren

unread,
Jan 2, 2019, 5:02:25 AM1/2/19
to AdWords API and Google Ads API Forum
Hi,

I'm using Adwords API to build an application. In my applications users will be able to manage their Adwords accounts. But I don' know how to make API calls via their access_token, refresh_token etc.

I can get necessary permissions via OAuth2 and have access_token, refresh_token etc. But I don't know how to use them to create OfflineCredentials object.

P.S.: I'm using Spring Boot if that helps.

Thanks.

Milind Sankeshware (AdWords API Team)

unread,
Jan 2, 2019, 3:59:48 PM1/2/19
to AdWords API and Google Ads API Forum
Hi Yalçın,

Since you are managing the accounts, you can add these credentials in the config file directly. You can also create your credentials to make the call against the account. Usually, to make an API call to the client's account, you need to have credentials of the user having access to the account or the credentials of manager account. To make the API call please refer to this guide. Let me know if you have any further questions.

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