How to Authenticate/Re-authenticate Facebook Ad Library in Google Sheets, Google Data Studio & Microsoft Excel

This guide gives instructions on how to authenticate Facebook Ad Library with Google Sheets, Google Data Studio and Microsoft Excel. 


Quick links to specific sections: 

Google Sheets

Data Studio

Excel

"If everything fails..." 


Data Source Access Requirements:

To enable Supermetrics for Facebook Ad Library you must confirm your Identity on Facebook settings. To do so, please do the following steps:

1. Go to Settings --> General Account Settings --> and under Identity Confirmation, click on view.



2. Click on Start Identity Confirmation to proceed. 




3. Select the country you wish to run your ads, and click on Get Started


4. You will now be asked to set up the two-factor authentication, to proceed, click on Get Started


5. Select a security method (app, text message, or security key) to set up your two-factor authentication code, and click on continue


6. Once you have set up your security method, click on done


7.  Choose how to confirm your identity by uploading your ID or downloading a form, and click on next


8. Once you have confirmed your identity, click on finish


Authenticating with Google Sheets

NOTE: Before authenticating the data source, you must confirm your Identity on Facebook Settings. To do so, follow the steps from this section: Data source access requirements.


This guide assumes that you have already installed the Supermetrics add-on for Google Sheets. If you haven't installed the add-on yet, see First steps: Getting the Supermetrics Sidebar in Google Sheets.


To authenticate Facebook Ad Library in Google Sheets, please do the following steps:

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


2. Select Facebook Ad Library under add data sources.



3. An automatic popup will open, click on start


4. If you're logging in with Facebook Ad Library for the first time in Supermetrics, please insert your credentials (email address or phone number & password) and click on log in. If you need to create an account, click on create new account


5. Click on continue as X if you wish to log in with that specific user account.



6. You should receive a confirmation that the connection has been successfully created. 

You can close this browser page and go back to the sidebar.


7. You have completed all the authentication steps. Now you can see the user account you have logged with.


Re-authenticating with Google Sheets:

To re-authenticate the data source in Google Sheets, please go to this guide.



Authenticating with Data Studio:

NOTE: Before authenticating the data source, you must confirm your Identity on Facebook Settings. To do so, follow the steps from this section: Data source access requirements.


To authenticate Facebook Ad Library in Google Data Studio, please do the following steps.

1. Since the data source is in early access, please use this link to authenticate the data source. 

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



3. Follow the prompts to log in to the data source with the appropriate user account.

4. Select query type and click on next.



5. Click on connect on the top right side to continue. 



6. By default, there will be a list of fields. You can skip this list and click on create report.


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


Adding additional user accounts or removing old ones with Data Studio


1. Click on the link below to add additional user accounts or to remove old user accounts. If you don't need to add/remove user accounts, you can skip this step.


2. If you wish to add a user account, click on Add new account. If you wish to remove a user account, click on the bin icon. To continue with the same user account, click on continue.


Team management with Data Studio


From the link below, you can access your team management page, where you can change assigned users on your licenses, add new team members, etc. For more details, please see Team Management Basics.



Re-authenticating with Data Studio:

To re-authenticate the data source in Data Studio, please go to this guide.


Authenticating with Excel:

NOTE: Before authenticating the data source, you must confirm your Identity on Facebook Settings. To do so, follow the steps from this section: Data source access requirements.


This guide assumes that you have already installed the Supermetrics add-on for Excel. If you haven't installed the add-on yet, see First steps: Getting the Supermetrics Sidebar into Excel.


To authenticate Facebook Ad Library in Excel, please do the following steps:

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

2. Select Facebook Ad Library in the sidebar under add data source.


3. An automatic popup will open, click on start


4. If you're logging in with Facebook Ad Library for the first time in Supermetrics, please insert your credentials (email address or phone number & password) and click on log in. If you need to create an account, click on create new account


5. Click on continue as X if you wish to log in with that specific user account.


6. You should receive a confirmation that the connection has been successfully created. 

You can close this browser page and go back to the sidebar.


7. You have completed all the authentication steps. 

Now you can see the user account you have logged with. 


Re-authenticating with Excel:

To re-authenticate the connector 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: "Authentication failed" & "You need to re-authenticate at X and then run the query again.", please see this guide
  • 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 account data, please see this guide.

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.



Further assistance:

If you followed all the above steps and you still encounter an authentication error, please create a new support request with the details of the issue and we will assist you.

Did you find it helpful? Yes No

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