X Ads

The X Ads connector gets your X Ads data into Google Sheets and Google Data Studio. Use it to track your key metrics in a spreadsheet or a Google Data Studio report.
What you can report on
- Campaign impressions, engagements, and CTR
- Cost per engagement and cost per result
- Video views and completion rates
- Follower campaign and app install performance
- Audience targeting and demographic breakdowns
Prerequisites
- An X (Twitter) Ads account
- Read access on the ad accounts you want to report on
How to create a connection
- In the Hub, open Connections & accounts.
- Select Create connection.
- Select X Ads in the connector list.
- Select Next.

- In Name the connection, enter a name.
- Sign in with X. Then allow Two Minute Reports access.

- Enable the accounts you want to report on.
- Select Done.

How to get X Ads data into Google Sheets or Google Data Studio
To get X Ads data into Google Sheets:
- In the Two Minute Reports sidebar, open Data Queries.
- Select Add.
- Select the accounts you want to report on. You can select more than one.
- Select your metrics and dimensions.
- Select the date range.
- Set sorting and filters if you need them.
- Select Run query. Two Minute Reports adds the data to your sheet.


To get X Ads data into Google Data Studio:
- In the Hub, open Google Data Studio › X Ads.
- Select Create report.

- Select or create a query config:
- To use a query config you have: select it in Choose your query config. Then select Save.
- To create a query config: if you already have one, first select Create new query config in the list. Enter a name in Name your query config, and select the accounts in Select your accounts. Select Save.


- Select Create from scratch. If templates show under Quick start from a template, you can select one instead.

- Looker Studio (formerly Google Data Studio) opens in a new tab, with the Two Minute Reports connector. If you are in more than one team, select your team in Select your Team.
- In Select Query Config, select your query config.
- Select Connect in the top-right corner.

- In your new report, add X Ads metrics and dimensions to the canvas.

Troubleshooting
You don't have (an) ad account(s) with sufficient permissions
When you create a connection, the Hub can show this message. A query can also fail with it.
You don't have (an) ad account(s) with sufficient permissions to fetch Ad Metrics. Please make sure you have access permission.
X found no ad accounts for the X account that you signed in with. On X, access to an ad account goes to an X account (an @handle). If you are an administrator with a different @handle, you get this message.
Sign in with the correct X account
Two Minute Reports uses the X account that is signed in to x.com in your browser.
- Open ads.x.com. Make sure that you see the ad account, and note the @handle that you use.
- Open x.com. If a different X account is signed in, switch to the @handle from step 1.
- In the Create connection dialog, sign in with X again. Before you allow access, make sure that the X page shows the correct @handle.
If your @handle does not have access
- Ask an account administrator of the ad account to give access to your @handle. In ads.x.com, they select the account name at the top right, then Edit access to account, then Add access. The Campaign analyst access level lets you see the performance data. See X's guide: Multi-user login FAQs.
- If somebody else manages the ad account, send them a setup link. They connect their X account, and you get the data. See Share a setup link.