Skip to content

Twitter Ads

image

Overview

Branch links can be used together with Twitter App Install Campaign ads, allowing you to track ad-driven installs on the Branch dashboard.

By connecting your Twitter Ads and Branch accounts, the following is enabled:

  • App conversion data collected by the Branch SDK sent to Twitter Ads for attribution.
  • Read-only access to install data (not cost/click/impression data) from Twitter Ads in your Branch account.

Prerequisites

Prerequisites

  • To track installs from Twitter Ads you should integrate the Branch SDK into your app.
  • To use Branch links in Twitter App Install Ads ensure you have:
    • URI schemes configured on iOS
    • URI schemes configured on Android
    • iOS App Store ID set
    • Android Package Name set
  • Ads is a premium product priced on Monthly Active Users. Sign up for the Ads product to enable this functionality.

Enable Twitter Ads for Measurement

Completing this section -- "Enable Twitter Ads for Measurement" -- will result in Branch sending app events to Twitter in order to attribute them back to Twitter ad campaigns. At this time, the integration does not support deep linking new users directly to content the first time they open your app.

  1. Navigate to the Partner Management tab and search for Twitter.

  2. Click Log in with Twitter

    image

  3. Provide your Twitter credentials to begin the authorization process.

  4. Agree to the Advertising Terms & Conditions by checking the I agree to the Twitter Ads Terms & Conditions.

    image

  5. Authorize Branch Twitter Ads Manager to use your account by clicking Authorize app.

    image

  6. Select the ad accounts for which you want to run app install ads and click Save.

    image

  7. Finally, to create a Twitter Ads link click the Create Twitter Link button in the top right hand corner.

Creating a Twitter Ads Campaign

Please follow Twitter's documentation on how to set up an App Install Ad Campaign.

Adding the Agency Prefix to Campaign Name

Only agencies managing advertising campaigns on behalf of a client must prepend their Agency ID to the campaign name when creating advertising campaigns for Self-Attributing Networks (SANs).

Agency ID Required

Failure to prepend the campaign name with the Agency ID will result in any subsequent conversion not being properly attributed to the responsible agency.

Finding Your Agency ID

You can find your Agency ID under Account Settings in the Agency view.

Creating Your Agency Prefix

Your agency prefix must adhere to the following format:

`agency_{YOUR AGENCY ID HERE}_`

Example Campaign with Agency Prefix

agency_1234567890_My_SAN_Ad_Campaign

Data Mapping between Twitter Ads & Branch

Branch maps the following data fields from Twitter Ads to Branch.

Twitter Data Branch Data Possible Values
n/a ~advertising_partner_name “Twitter”
tpn_attribution ~channel “Twitter” if null or last touch, or “Twitter Audience Platform” if TAP is last touch
engagement_time last_attributed_touch_timestamp 1455675372963
campaign_name ~campaign Light Bright Launch
campaign_id ~campaign_id 15292426
engagement_type last_touch_type CLICK or IMPRESSION
country_code ~user_data_geo_country_code US

Forwarding Events to Twitter Ads

Once you begin tracking events through the Branch SDK, we will start sending them to Twitter Ads. Twitter Ads has pre-defined events that map to pre-defined Branch events, listed below.

Branch will forward in-app events to Twitter Ads for campaign optimization. In addition, Branch will receive attribution data for rich analysis in the Branch dashboard.

Branch Event Name Twitter Conversion Type
INSTALL INSTALL
PURCHASE PURCHASE
INITIATE_PURCHASE CHECKOUT_INITIATED
ADD_TO_CART ADD_TO_CART
VIEW_ITEM CONTENT_VIEW
ADD_PAYMENT_INFO ADDED_PAYMENT_INFO
COMPLETE_REGISTRATION SIGN_UP
SEARCH SEARCH
ACHIEVE_LEVEL LEVEL_ACHIEVED
OPEN, REINSTALL RE_ENGAGE
COMPLETE_TUTORIAL TUTORIAL_COMPLETE
ADD_TO_WISHLIST ADD_TO_WISHLIST
UNLOCK_ACHIEVEMENT ACHIEVEMENT_UNLOCKED
SHARE SHARE
SPEND_CREDITS SPENT_CREDITS
RATE RATED
UPDATE UPDATE
RESERVE RESERVATION
LOGIN LOGIN
INVITE INVITE

In order to track these events, please refer to the v2 Event document for further information.

Troubleshooting

Why am I seeing an onboarding error or not seeing an ad account?

  • You must have permissions to configure ad accounts.
  • You must not have another MMP configured for your app/ad account combination.
  • You can only track apps that are configured with store IDs & package names in Link Settings.

Why are there so many events?

We configure all permissible events at time of enablement so there’s no delay in tracking new events when they’re set up.

Why can't I view cost/click/impression data?

Twitter does not currently allow MMPs to access this data. We’re in active discussions. Please tell your Twitter AM if you’d like this data available in Branch.