Twitter Ads
  • 3 Minutes to read
  • Dark
    Light

Twitter Ads

  • Dark
    Light

Article summary

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 Twitter

To authorize this service, use OAuth 2.0 to share specific data with Dataddo while keeping usernames, passwords, and other information private.

  1. On the Authorizers page, click on Authorize New Service and select your service.
  2. Follow the on-screen prompts to grant Dataddo the necessary permissions to access and retrieve your data.
  3. [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 a Twitter Ads Data Source

  1. On the Sources page, click on the Create Source button and select the connector from the list.
  2. Select your dataset and click on Next to continue.
    DATADDO TIP

    If you are not sure which dataset you need but know the metrics and attributes, use the Search by Name or Attribute function.

    Fixed-schema connector
  3. From the drop-down menu, choose your authorizer.
    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.

  4. Name your data source and select your metrics and attributes. Please keep in mind that metrics and attributes depend on the selected dataset.
  5. Configure your sync frequency, or set the exact synchronization time under Show advanced settings.
  6. Preview your data by clicking on the Test Data button in the top right corner. You can adjust the date range for a more specific time frame.
  7. Click on Save and congratulations, your new data source is ready!


Limitations

Historical Data Load Unavailable

As the 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 Twitter Ads API is not fully connected with the 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

  1. Get daily breakdowns: The daily values will match, but not when summed up over a longer time period.
  2. 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


Was this article helpful?