Accessing invoices without developer token

50 views
Skip to first unread message

Frank

unread,
Aug 25, 2021, 4:39:10 AM8/25/21
to AdWords API and Google Ads API Forum
Hi there,

If I understand the documentation correctly, all API calls require a developer token. This developer token will be connected to a manager account and your OAuth client details.

How would my users, for which my manager account has no access to their Google Ads campaigns, download their invoice details in my application? It seems to me that this is not possible with the developer token requirement.

Thanks in advance.

Regards,
Frank

Google Ads API Forum Advisor

unread,
Aug 26, 2021, 2:12:01 AM8/26/21
to fr...@webindie.nl, adwor...@googlegroups.com

Hi Frank,

Thanks for reaching out to us.

Yes, each API request would need an approved developer token to make requests against Production accounts. Users will also need the appropriate OAuth2 credentials in order to access (get/add/update/remove) data in their accounts.

You may note that other users can use your approved developer token to access their own accounts, as long as they are authenticating as users who have access to the accounts they wish to manage.

That said, their requests via your application, assuming that the application is already using your approved developer token, should also meet the prerequisites mentioned in the guide.

Let us know if you have any further questions.

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2MibmA:ref

Frank Groeneveld

unread,
Aug 26, 2021, 2:30:56 AM8/26/21
to adwor...@googlegroups.com
Hello Yasar,

Thank you for your response. If I understand you correctly it is different than what I suspected. What I initially thought is that I will not be able to build an application that starts an OAuth2 flow for a new, unknown to me, user to access their Google Ads invoices because the developer token is always limited to a Google Ads manager account and therefore that data. Is that not correct?

Thanks again.
Frank


Op do aug 26 2021, om 8:11 schreef Google Ads API Forum Advisor:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group at
---
You received this message because you are subscribed to a topic in the Google Groups "AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.

Google Ads API Forum Advisor

unread,
Aug 31, 2021, 10:43:30 AM8/31/21
to fr...@webindie.nl, adwor...@googlegroups.com
Hi Frank,

I work with Yasar and will assist you. To access a customer's account with your application and use your own developer token to make API calls to manage that customer, you can first ask to link their account to your manager account. When your request is granted your manager account with its developer token can then access the customer's account using your developer token, no need to give out your developer token to anyone if your customer is requesting access through your server app.

You can limit each customer to only access their accounts by putting in login customer Id of the user's topmost manager account in each call you make for a customer.

To initiate this permission you don't need Oauth flow for a customer, the customer doesn't need their own access to API either. They can accept invitations for your manager account to manage their accounts in the UI by going to tools and settings -> access and security -> MANAGERS.

Feel free to get back to us.

Regards,

Google Logo
Aryeh Baker
Google Ads API Team
 


ref:_00D1U1174p._5004Q2MibmA:ref
Reply all
Reply to author
Forward
0 new messages