Appsflyer CTV Integration
  • 18 Jun 2025
  • 2 Minutes to read
  • Contributors

    Appsflyer CTV Integration


      Article summary

      This guide outlines the steps for marketers to successfully create and integrate their Connected TV (CTV) campaigns within Appsflyer using Smadex.

      Prerequisites:

      Before you begin, ensure you have:

      • An active Appsflyer account with admin access.

      • An active Smadex account with access to campaign management.

      • An integration done between Smadex and Appsflyer, with a given Tracking Group ID.

      In case an integration has already been done for Mobile UA campaigns, Tracking Group ID will be the same as in that integration.

      Step 1: Setting up the OneLink template

      1. Log in to your Appsflyer dashboard.

      2. Navigate to "Engage" and then "OneLink Management".
        image.png

      3. Once there, hit the three dots on the top right of the screen, and hit “New OneLink Template”.
        image.png

      4. On the creation screen, set a Name for your template and select the platforms (iOS and Android) you want it to be used for.

      Remember CTV campaigns can be eligible for attribution both in iOS and Android. OneLink templates should be used for both Platforms in all cases possible.

      1. Once both apps have been selected, make sure that the Cross-platform attribution toggle is enabled. To do so, hit the “Edit” button and click on the “Enable cross-platform attribution” toggle for both iOS and Android apps.

      In the case you have already created another OneLink template with cross-platform attribution, Appsflyer will prompt a message warning. In these cases, there’s no need to create another template, as the already created one can be used.

      Step 2: Adding Cross-Platform to your OneLink impression pixels

      1. In your Appsflyer Dashboard, once you have selected the app version you’ll run the process for (either iOS or Android version), go to “Collaborate” -> “Active Integrations” and select Smadex.

      1. Once there, navigate to the “Integration” tab to find “Cross platform”, in order to activate Cross-Platform Equal Attribution priority. This setting is not compulsory, but it is recommended. The optimal selection includes priority between 2-6h.

      1. Next, head over to the “Attribution Link” tab, where we will select the link template to be used in your Smadex campaigns. For CTV, OneLink is mandatory to be eligible for attribution, so under “Choose your attribution link type”, “Use OneLink” should be selected. The template to be selected should be the one we created on step 1.

      1. Once the correct OneLink template has been selected, navigate down to the “View-Through Attribution” section. There, make sure to activate Cross-platform attribution toggle, selecting the attribution window you want to include. The minimum recommended is 24h. You should see how your link template includes the parameters af_xplatform=true&af_xplatform_vt_lookback=24h, which are required to have in your CTV links in order for attribution to work properly.

      1. Repeat this process for your other app - if it was done for the iOS version, repeat all the steps for the Android version.

      Step 3: Testing, Validation & Troubleshooting

      1. Share your OneLink Impression attribution Link with Smadex. Smadex will perform a test install to confirm everything is in place.

      2. In case the test install is not successful, either the initial integration is not correct, or any step of this guide was not applied correctly. Review all the steps and make sure it’s all in place. You can also check this Appsflyer article on how to create OneLinks.

      3. If issues further persist, contact Smadex and Appsflyer for further assistance.


      Was this article helpful?

      Changing your password will log you out immediately. Use the new password to log back in.
      First name must have atleast 2 characters. Numbers and special characters are not allowed.
      Last name must have atleast 1 characters. Numbers and special characters are not allowed.
      Enter a valid email
      Enter a valid password
      Your profile has been successfully updated.