---
schema_version: "1"
id: ee594d8f812b03196db0bdfa3658b610af2b9e228931e99e3d6857148e54ea01
title: Create a Twitter Ads Data Stream in Marketing Cloud Intelligence Data Pipelines
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mcidp_data_streams_api_connect_twitter_ads_create.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mcidp_data_streams_api_connect_twitter_ads_create.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2d7118d20342349e9917082ce0de0083a1480704ba7687c3e4777246ba21a659
description: Create a Twitter Ads data stream to pull ads data from your Twitter accounts.
products:
  - Marketing
  - Marketing Cloud Intelligence
release: "264"
---
# Create a Twitter Ads Data Stream in Marketing Cloud Intelligence Data Pipelines

Create a Twitter Ads data stream to pull ads data from your Twitter accounts.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d45656e38">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d45656e38 ">To create an API data stream:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d45656e38 ">Admin</td>

          </tr>
        </tbody>
      </table>

To create a Twitter Social Engagement connector, you need a valid username and password for the Twitter account that you want to pull data from.

1. On the **Import** tab, expand **Data Streams**.
2. Click **Add New**.
3. Select the **Twitter Ads** connector.
4. In the **General** section, select the account that you want to pull data for. To add a new data source authentication, click **Add New**, and then enter your Twitter Ads credentials.
5. Select your profile.
6. Set the time period for the initial data fetch. You can process data up to the past 180 days.
7. In the **Extended Properties** section, you can set these properties.
    
    - To retrieve data in base 10 encoding as they appear in the UI, select **Get Ids with base 10 encoding**. This checkbox makes sure that your line item IDs, such as Media Buy Key and Campaign, are retrieved as they appear in the UI and not as they’re retrieved by default in Marketing Cloud Intelligence Data Pipelines.
    - To retrieve URL clicks and Billed Engagement measurements into the Ads data stream, select **Get Granular Engagement Data**.
    - To add a conversions report that is mapped to the Conversions Tag data stream, select **Get Conversions Data**.
    - To retrieve Ad Tweet level data, select **Get Tweet Level Data**. If you have a variety of campaign objective levels, consider creating two different data streams to avoid discrepancies: one data stream with the Get Tweet Level Data selected and the other data stream without it. Setting appropriate data load rules ensures that each data stream pulls the correct dataset. Conversion data isn’t retrieved when Tweet Level data is pulled.
    - To retrieve card data, select **Get Cards Data**. Cards data is retrieved with card dimensions, including ID, Name, URL, and Image.
    - To add more breakdowns, select **Additional Segmentation**. More breakdowns provide a higher level of granularity. You can select these segmentations:
        1. **Country**
        2. **Device**
    - To select a specific campaign that you want to pull data for, select an option from the Channel dropdown:
        1. **On Twitter** — Pulls data from campaigns that are advertised on Twitter on user timelines.
        2. **On all Channels** — Pulls data combined from the Twitter and Twitter Audience Platform Channels.
        3. **On Twitter Audience Platform** — Pulls data for campaigns that have ‘Expand your reach on the Twitter Audience Platform’ selected. Can be applied in website clicks and conversions, or mobile app promotion campaigns.
    - To get the full Tweet text, select **Get Tweet Full Text.**
8. To change the mapping, click **Mapping**. You can access the mapping by clicking Map to Model at the bottom of the **Create New Stream** page.
9. To define advanced settings, at the bottom of the screen, click **Advanced Settings**.
10. Click **Create**.
11. Check your data.
    
    - Create a report in Twitter Analytics for the selected date range.
    - Process the relevant data stream in Marketing Cloud Intelligence Data Pipelines for the same date range.
    - Create an identical report or pivot table in Marketing Cloud Intelligence Data Pipelines with the same date range, dimensions, and measurements.
    - Compare and make sure that the measurement totals are aligned.