Twitter API
Would you like to track your Twitter ad spend and analyze your return on ad spend on the platform? This article will walk you through the steps to set up your Twitter connector with CaliberMind. The Twitter connector will help you track your Twitter ad spend and allow you to view it in your ROAS reports. You will first need to apply for access to the Twitter API and then you may complete the connector setup. The article is outlined as follows:
- Applying for Twitter API
- Custom API Credentials Setup
- Standard OAuth 1 Setup
- Viewing Your Twitter Ad Spend in CaliberMind
There are two versions of Twitter’s API available (OAuth and Custom Credentials). You only need to follow the setup steps for the version you are using.
How to Acquire an API Key and Secret
To acquire a Twitter API Key and Secret, please follow these steps:
- Sign up for a Twitter developer account
- Create a Twitter App within the developer portal. Note that if you would like to use Twitter API v2, you must add your Twitter App to a Project.
When you create your Twitter App, you will be presented with your API Key and Secret, along with a Bearer Token. Please note that we only display these credentials once, so make sure to save them in your password manager or somewhere secure.
We have more recommendations on how to handle your keys and tokens within our authentication best practices page, including details on what you should do if your credentials have been compromised.
Custom API credential Setup
Open CaliberMind and go to Settings

From the left dropdown menu choose the Connectors Menu and select Create New Pull Connector

From the list of choices find the Twitter Ads and select Add Connector

Agree to the Terms and Conditions and Privacy Policy for using Fivetran by clicking on I Understand

Your new connection will be created and will need to be authorized. Click on the check next to Custom API credentials to setup your connection.

Enter your authentication credentials from Twitter, choose to Sync All Accounts or Specific Accounts then click on Save & Test.

Standard OAuth 1 Setup
Open CaliberMind and go to Settings

From the left dropdown menu choose the Connectors Menu and select Create New Pull Connector

From the list of choices find the Twitter Ads and select Add Connector

Agree to the Terms and Conditions and Privacy Policy for using Fivetran by clicking on I Understand

Your new connection will be created and will need to be authorized. Click on AUTHORIZE to begin the process.

You will be taken to the Twitter API site where you can sign in with your username and password and select Authorize App to authorize.

Once authorized you will complete the setup process at Fivetran.
Choose to Sync All Accounts or Specific Accounts and the amount of months in your initial reports then click on Save & Test.

Viewing Your Twitter Ad Spend in CaliberMind
Once your configuration is complete you will start to see you Twitter ad spend data populate within your CaliberMind instance on your ROAS reports. For more information on Return-on-Ad-Spend reports, check out the links below!