Intro
X Ads is an advertising service that lets businesses reach potential customers by getting messages in front of people not yet following the business. You can use Domo’s X Ads connector to retrieve data about statistics for accounts, campaigns, funding instruments, line items, and tweets. For more information about the X API, see their documentation (https://developer.x.com/en/docs). The X Ads connector is a “Cloud App” connector, meaning it retrieves data stored in the cloud. In the Data Center, you can access the connector page for this and other Cloud App connectors by clicking Cloud App in the toolbar at the top of the window. This topic discusses the fields and menus that are specific to the X Ads connector user interface. For general information about adding DataSets, setting update schedules, and editing DataSet information, see Adding a DataSet Using a Data Connector.Primary Use Cases | This connector lets you discover impressions, who is interacting with your X ads, and the kind of reach you’re getting. |
Primary Metrics |
|
Primary Company Roles | All marketing roles |
Average Implementation Time | 10 minutes or less |
Ease of Use (on a 1-to-10 scale with 1 being easiest) | 2 |
Best Practices
- Create DataSets that use Replace instead of Append, and only pull the last 3-7 days at a time.
- Use a recursive DataFlow to deduplicate and append data. For more information, see Creating a Recursive/Snapshot Magic ETL DataFlow.
-
To collect historical promoted Tweet Statistics and then update them with the latest tweet data, follow these steps:
- Create a new X Ads DataSet.
-
Configure the connector for the first run, making sure to configure settings as follows:
- For the Report, select “Promoted Tweets Statistics v.1.”
- For the duration of the report, choose to pull data for the past 90 days (the connector limits you to 90 days of data; if you need more then that, we suggest selecting the first date of history you want and then selecting 90 days after that, running the report on Append, selecting the next 90 days, then running the DataSet again on Append, etc. until you have collected all the history you want).
- Save the configurations.
- Schedule the connector to “Append” instead of “Replace.”
- Run the connector.
-
Once the run has completed, reconfigure the connector for the second run as follows:
- For the Report, select “Recent Promoted Tweets Statistics v.2.”
- For Tweets Selection Window, select Past 3 Months.
-
For the duration of the report, choose to pull data for yesterday.
Note: The other settings should match how you had them in the configuration of the first run; the only difference is you have no promoted tweets to select as this report will bring in tweet activity on all the promoted tweets that had activity yesterday.
- Save the configuration.
- Make sure the scheduling is set to “Append.”
- Let the connector run on the next schedule—you want it to run tomorrow to collect the most recent tweet activity from the previous day. Congratulations, you have just selected the promoted tweet history and configured the DataSet to collect yesterday’s promoted tweet activity, appending it to the history you just collected.
Prerequisites
To connect to your X Ads account and create a X Ads DataSet, you must have the following:- The X account to use to log into your X Ads account.
- The password you use to log into your X account.
Connecting to your X Ads account
This section enumerates the options in the Credentials and Details panes in the X Ads connector page. The components of the other panes in this page, Scheduling and Name & Describe Your DataSet, are universal across most connector types and are discussed in greater length in Adding a DataSet Using a Data Connector.Credentials Pane
The Domo X Ads connector uses OAuth to connect to X Ads. Click Connect (or select Add Account if you have existing X Ads accounts in Domo) to open the X Ads OAuth screen where you can enter the credentials associated with your X account. After you have entered valid X credentials, you can use the same account in Domo any time you create a X Ads DataSet. You can manage connector accounts in the Accounts tab in the Data Center. For more information about this tab, see Creating and Managing User Groups.Details Pane
This pane includes a primary menu, Report, and other menus that appear depending on the report you select.Menu | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Report | Select the X Ads report. The following reports are available:
| ||||||||||||||||||||||||||||||||||||||||
Account | Select the X Ads account to query data from. | ||||||||||||||||||||||||||||||||||||||||
Duration | Select whether to pull data for a single date or a date range. | ||||||||||||||||||||||||||||||||||||||||
| Report Date | Select whether to pull data for a specific date or a given number of days back (offset). | ||||||||||||||||||||||||||||||||||||||||
| Specific Date | Select the date you want to pull data for. | ||||||||||||||||||||||||||||||||||||||||
| Days Back | Enter the number of days back you want to pull data for. | ||||||||||||||||||||||||||||||||||||||||
| Start Date | Specify whether the first date in your date range is a specific date or a given number of days back (offset). | ||||||||||||||||||||||||||||||||||||||||
| Specific Start Date | Select the start date for your date range. | ||||||||||||||||||||||||||||||||||||||||
| End Date | Specify whether the last date in your date range is a specific date or a given number of days back (offset). | ||||||||||||||||||||||||||||||||||||||||
| Specific End Date | Select the end date for your date range. | ||||||||||||||||||||||||||||||||||||||||
| Days Back to Start From | Enter the number of days back (offset) for the start date in your date range. For example, if you entered 10 for Days Back to Start From and 5 for Days Back to End At , each time the report ran it would pull data for the last 10 days up until the last 5 days. | ||||||||||||||||||||||||||||||||||||||||
| Days Back to End At | Enter the number of days back (offset) for the end date in your date range. For example, if you entered 10 for Days Back to Start From and 5 for Days Back to End At , each time the report ran it would pull data for the last 10 days up until the last 5 days. | ||||||||||||||||||||||||||||||||||||||||
Granularity | Select the required granularity. For example, if the granularity is Hour , data is presented by hour between the Start Date and the End Date . | ||||||||||||||||||||||||||||||||||||||||
Segmentation Type | Select the required segmentation type. | ||||||||||||||||||||||||||||||||||||||||
Placement | Select the required Placement from the available options. For example, if the placement is ALL ON X , data is presented by all possible placement types on X. If placement is Publisher Network , data is presented by the X Audience Platform. Total will total the result for both the Publisher Network and All On X. | ||||||||||||||||||||||||||||||||||||||||
Country | Select the country that should have data returned. | ||||||||||||||||||||||||||||||||||||||||
Platform | Select the platform that should have data returned. |
Other Panes
For information about the remaining sections of the connector interface, including how to configure scheduling, retry, and update options, see Adding a DataSet Using a Data Connector.FAQs
How do I get engagement metrics for organic (non-promoted) tweets?
How do I get engagement metrics for organic (non-promoted) tweets?
What endpoint is the base URL for this connector?
What endpoint is the base URL for this connector?
Which endpoint(s) does each report call in this connector?
Which endpoint(s) does each report call in this connector?
| Report Name | Endpoint(s) |
|---|---|
| Account Media | /10/accounts//account_media |
| Account Statistics | /10/stats/accounts/?entity=ACCOUNT |
| All Campaigns | /10/accounts//campaigns |
| All Funding Instruments | /10/accounts//funding_instruments |
| All Line Items | /10/accounts//line_items |
| All Promoted Tweets | /10/accounts//promoted_tweets?with_deleted=true |
| Campaign Reach | /10/stats/accounts//reach/campaigns |
| Campaign Statistics | /10/stats/accounts/?entity=CAMPAIGN |
| Funding Instruments Reach | /10/stats/accounts//reach/funding_instruments |
| Funding Instruments Statistics | /10/stats/accounts/?entity=funding_instruments |
| Line Item Statistics | /10/stats/accounts/?entity=LINE_ITEM |
| Media Creatives | /10/accounts//media_creatives |
| Media Creatives Statistics | /10/stats/accounts/?entity=MEDIA_CREATIVES |
| Media Library | /10/accounts//media_library |
| Organic Tweet Statistics | /10/stats/accounts/?entity=ORGANIC_TWEET |
| Promoted Tweet Statistics | /10/stats/accounts/?entity=PROMOTED_TWEET |
| Reach Estimate (deprecated) | /6/accounts//reach_estimate |
| Recent Organic Tweet Statistics | /10/stats/accounts/?entity=ORGANIC_TWEET |
| Recent Promoted Tweet Statistics | /10/accounts/?entity=PROMOTED_TWEET |
| Tweets | /10/accounts//tweets |
What kind of credentials do I need to power up this connector?
What kind of credentials do I need to power up this connector?
How do I know my X credentials are secure?
How do I know my X credentials are secure?
Do I need a certain kind of account to set up the connector?
Do I need a certain kind of account to set up the connector?
How frequently will my data update?
How frequently will my data update?
Can I use the same X account for multiple datasets?
Can I use the same X account for multiple datasets?
Why didn't my dataset return any new rows when it ran?
Why didn't my dataset return any new rows when it ran?
Why is the report taking so long to run? Is this normal?
Why is the report taking so long to run? Is this normal?