This guide will walk you through how to authenticate or reauthenticate Facebook Political Ads in Supermetrics for Google Sheets, Data Studio, and Excel, as well as data warehouse destinations like Google Cloud Storage, BigQuery, and the Supermetrics API.
Before you begin
To connect Supermetrics to Facebook Political Ads, you need to:
- Confirm your identity on Facebook
- Register as a Facebook developer and create a Facebook developer application
For Excel users
If your team uses Supermetrics for Excel, you’ll see different options for managing and sharing data source connections in that destination. Learn more.
Instructions
Before you can authenticate Facebook Political Ads in Google Sheets, you need to install the Supermetrics add-on.
- Open a new Google Sheets file.
- Navigate to Extensions → Supermetrics → Launch to open the Supermetrics sidebar.
- Click Create query.
- Under Data source, select Facebook Political Ads.
- Enter your App ID and App Secret. Learn how to find these credentials in our permissions guide.
- Click Start.
- Select your query type.
- Open the Supermetrics data source gallery.
- Navigate to Facebook Political Ads and click Try.
- Click Authorize to authorize Supermetrics in Data Studio.
If you're authenticating the data source for the first time, log in with the Google account you use with Supermetrics. Click Allow. - Click Authorize to log in to Facebook Political Ads.
- Enter your App ID and App Secret. Learn how to find these credentials in our permissions guide.
- Click Start.
- Under Select accounts, select the accounts.
- Scroll down to the bottom of the page. To create a report with our template, select Use report template for new reports. To create a blank report, deselect this option.
- Click Connect on the top right-hand side. This will open a full list of fields available in this connector. You can skip this list.
- Click Create report.
- Click Add to report to complete the authentication steps.
Add or remove a user account in Data Studio
- Click the edit icon next to the data source's name in the Data Studio sidebar.
- At the top left of the connection pane, click Edit connection.
- Scroll down to Parameters.
- Browse team, account, and license management options in the section beginning "To add more/manage accounts..."
- Open an Excel file.
- Click Data → Show Supermetrics.
- Under Data source, select Facebook Political Ads.
- Make the connection private → unselect Share this connection with Team Supermetrics.
Make the connection shared → select Share this connection with Team Supermetrics. - Enter your App ID and App Secret. Learn how to find these credentials in our permissions guide.
- Click Start.
- Under Query type, select the query type.
Explore our guides to set up data transfers to various destinations.
- BigQuery
- Data warehouses and cloud storage (Amazon S3, Google Cloud Storage, Snowflake, Azure Storage, or Azure Synapse)
- The Supermetrics API
Troubleshooting
- If you encounter an authentication error such as “authentication failed”, “you need to reauthenticate” or similar, see this guide.
- If you encounter a permission error such as “user permission denied” or similar, follow this guide.