X or Twitter Ads is a platform that allows businesses and individuals to create and run advertising campaigns on Twitter. It offers various targeting options, ad formats, and campaign management tools to help businesses reach their target audience, increase brand visibility, and engage with users through paid advertising on Twitter.
Refer to our website for the list of metrics and attributes available in Dataddo.
Refer to Twitter's official documentation to see all available endpoints from the Twitter Ads API.
Authorize Connection to X (Twitter)
To authorize this service, use OAuth 2.0 to share specific data with Dataddo while keeping usernames, passwords, and other information private.
- On the Authorizers page, click on Authorize New Service and select your service.
- Follow the on-screen prompts to grant Dataddo the necessary permissions to access and retrieve your data.
- [Optional] Once your authorizer is created, click on it to change the label for easier identification.
Ensure that the account you're granting access to holds at least admin-level permissions. If necessary, assign a team member with the required permissions with the authorizer role to authenticate the service for you.
For more information, see our article on authorizers.
How to Create an X Ads (Twitter Ads) Data Source
- On the Sources page, click on the Create Source button.
- Select the connector from the list and name your data source.
- On the Dataset step, select your dataset.DATADDO TIP
If you're unsure which dataset to select, use the search bar to look for datasets with the desired attributes or metrics.
- On the Account step select your authorizer from the drop-down menu.Didn't find your authorizer?
Click on Add new Account at the bottom of the drop-down and follow the on-screen prompts. You can also go to the Authorizers tab and click on Add New Service.
- On the Attributes and Metrics step, select the metrics and attributes you want to extract.

- On the Metadata step, select which metadata fields such as extraction time to add to your data.
- On the Snapshot step:
- Configure your sync frequency or click Show advanced settings to set the exact synchronization time.
- [Optional] Enable the Allow Empty Data Extractions toggle to allow the extraction when no data is available.
- In the top-right corner, click Test Data button to preview extracted data. Adjust the date range for a more specific time frame.
- Click on Save and congratulations, your new data source is ready!
Limitations
Historical Data Load Unavailable
As the X (Twitter) API allows you to extract data up to 7 days back, it is not possible to extract historical data.
Troubleshooting
Data Preview Unavailable
No data preview when you click on Test Data might be caused by an issue with your source configuration. The most common causes are:
- Date range: Try a smaller date range. You can load the rest of your data afterward via manual data load.
- Insufficient permissions: Please make sure your authorized account has at least admin-level permissions.
Invalid Callback Url Error Message
ERROR MESSAGE
{"correlation_id":"xxx","code":"INTERNAL_SERVER_ERROR","message":"Invalid callback url.","detail":""},"status":500,"statusText":""}}
This error might be caused by incorrectly selected authorizer. For Twitter Ads, make sure you use authorizer Twitter v1.
As the X (Twitter) Ads API is not fully connected with the X (Twitter) Organic data API, each connector requires a different authorizer.
Metric and Ad Recall Data Don't Match
The Reach and Recall metrics cannot be summed to get the totals for longer time periods. As these metrics measure the daily unique users who view your ad (= reach) or will remember the ad (=ad recall), it is not possible to get data for a specific time period and/or aggregate the data.
To avoid this, you can
- Get daily breakdowns: The daily values will match, but not when summed up over a longer time period.
- Extract data weekly or monthly: These weekly/monthly values will match.
Simply create a new source and a new flow with the particular breakdown (for example, a source and a flow with daily breakdowns/synchronizations).
Read more about the metrics, and why the data may not be matching here.
Related Articles
Now that you have successfully created a data source, see how you can connect your data to a dashboarding app or a data storage.
Sending Data to Dashboarding Apps
Sending Data to Data Storages
Other Resources