Open navigation

Twitter Ads, Twitter Public Data, and Twitter Premium: Authentication and reauthentication guide

This guide will walk you through how to authenticate or reauthenticate Twitter (Ads, Premium, or Public Data) with Google Sheets, Data Studio, and Excel, as well as data warehouse destinations like Google Cloud Storage, BigQuery, and API. 


Before you begin

To connect Supermetrics to Twitter Ads, you need:

To connect Supermetrics to Twitter Premium, you need:

  • A valid account.
  • Twitter Premium is available only with an Enterprise-level license. Reach out to our sales team if you'd like to talk about connecting it.

Note that Twitter Premium doesn't support multi-account logins or agency access. The API doesn't allow you to fetch data from multiple user accounts with one login — you'll need to add each user account separately.


Twitter Public Data query types

Twitter Public Data works with these query types:

  • Twitter tweets by keyword: Allows you to pull Tweets that contain certain keywords.
  • Twitter user data: Gathers data about specific user names, such as follower count, Tweet count, location of user, and more.
  • Twitter user tweets: Gathers data about specific Tweets users have made, as well as retweet and reply data.


Data protection agreement 

If you have any questions about how Supermetrics handles and secures your data, read our policy on data privacy and security.


Instructions

Google Sheets Data Studio  Excel Data integrations
Before you can authenticate the data source in Google Sheets, you need to install the Supermetrics add-on.
  1. Open a new Google Sheets file. 
  2. Click Add-ons → Supermetrics → Launch to open the sidebar.
  3. Under Data source, select the data source.
  4. Click Start.
  5. Enter your credentials and click Authorize App.
  6. For Twitter Ads, under Select accounts, select your accounts.
    For Twitter Premium, under Select accounts, select your accounts.
    Under Query type, select the query type.
    For Twitter Public Data, under Query type, select the query type.
    Under Twitter username, insert the username/keyword.

Reauthenticate 
Learn how to reauthenticate the data source with Supermetrics Google Sheets.

Next steps
Learn how to create your first Supermetrics query with Twitter Ads/Twitter Premium/Twitter Public Data.


Troubleshooting

  • If you encounter an authentication error such as “authentication failed”, “you need to reauthenticate” or similar, see this guide
  • If you're missing an account from the drop-down list, follow these steps.
  • If you encounter a permission error such as “user permission denied” or similar, follow this guide.

Did you find it helpful? Yes No

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