Supermetrics Support Forum

How to Authenticate/Re-authenticate Google AdSense in Google Sheets, Google Data Studio & Excel

This guide gives instructions on how to successfully authenticate Google AdSense. 


Quick links to specific sections: 

Google Sheets

Data Studio

Excel

"If everything fails..." 


Data Source Access Requirements:

Before authenticating the connector, please make sure you have gone through the rights and permissions required for this data source, meaning you are assigned as an "ad manager/admin" or as a similar role. To learn more, please refer to this guide:

Access requirements for user account:

  • A valid Google AdSense account with at least an "Admin" user role.

An admin can do the following actions:

  • Can view, edit and manage any part of an account.
  • Can see the list of users who have access to an account.
  • Can give account access or change another user's access level.

Authenticating with Google Sheets: 

To authenticate Google AdSense in Google Sheets, pleas do the following steps:

1. Open up the Supermetrics sidebar in your Google Sheets. 



2. Select Google AdSense in the sidebar.

3. Choose an account to sign in. 



4. Click on Allow. If you wish to learn more about data security and data privacy, please see this page

5. You have completed all the steps. Now you can go back to the sidebar and select your Google AdSense account.



Re-authenticating with Google Sheets:

To re-authenticate Google AdSense in Google Sheets, please go to this guide.


Authenticating with Data Studio:

To authenticate Google AdSense in Google Data Studio, please do the following steps:

1. Click on add data.


2. Search for Google AdSense by Supermetrics and click on it.


3. Click on Authorize. If you wish to learn more about data security and data privacy, please see this page


4. Select an account to sign in. 

5. Click on Allow. If you wish to learn more about data security and data privacy, please see this page

- In alternative, if you are already logged into a Google AdSense account, you will see the window below. If you wish to continue with that account click on Ok, let's continue. If you wish to continue with another account, click on Add Google AdSense user account

6. Click on the link below to authenticate your account. 

With this link, you can also add or delete accounts. 

- If your Data Studio account belongs to multiple teams, you will see the option to select the team you wish to use. Go to the link below and select the team name with your license to proceed. (If you only belong to one team, skip to the next step). 


7. You now have to select your account by clicking on select ad clients.


8. Click on add on the bottom right side to continue. 

9. As a final step, click on add to report

Re-authenticating with Data Studio:

To re-authenticate Google AdSense in Data Studio, please go to this guide.

Authenticating with Excel:

To authenticate Google AdSense in Excel, please do the following steps:

1. Click on data and open up the Supermetrics sidebar in Excel.

2. Select Google AdSense in the sidebar.

3. An automatic popup window will open up. click on start


4. Choose an account to sign in. 


5. Click on Allow. If you wish to learn more about data security and data privacy, please see this page


6. You have completed all the steps. Now you can go back to the sidebar and select your Google AdSense account. 


Re-authenticating with Excel:

To re-authenticate Google AdSense in Excel, please go to this guide.


"If everything fails..." 

Common errors:

If you encounter any of the following errors below, please see the guide linked after the error message.

  • Error: "This was a reauthorization request for user X but logged in as user Y", please see this guide
  • Error: "You're not allowed to run queries with this license #12345. This is because you have not been assigned to the license as a valid user." please see this guide.
  • Error: "This action is not supported when you are signed into multiple accounts". please see this guide.
  • If you no longer see a specific account/page/etc. when logging in, please see this guide
  • If you haven't managed to authenticate you might be affected by an issue at Google account management. For more information, please see this guide.

Forcing a refresh per account data & removing a data source:

To force a refresh per data source, please see this guide.

To remove a data source from Google Sheets, please see this guide.

To remove a data source from Data Studio, please see this guide.

To remove a data source from Excel, please see this guide.


Refreshing tokens 

As a final step, if you wish your tokens to be refreshed, please create a support ticket.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.