TikTok Ads campaign configuration

At a glance: TikTok Ads (bytedanceglobal_int), an Appflyer integrated partner, provides app owners with click attribution.

Bytedance platform for China traffic, Ocean Engine Ads (bytedance_int)

Setting up TikTok Ads integration

Appsflyer integration with TikTok Ads supports click attribution, cost, ad revenue and audiences.

To access TikTok Ads settings:

  1. Go to Configuration > Integrated partners
  2. Search for and select TikTok Ads.
  3. Update settings (per tab) as required. See the Setting tabs sections.

Setting tabs

Update setting tab content as required.

Integration

Configure this section if TikTok Ads provides ad network advertising services.

Activate partner

The Activate partner must be enabled for as long as you work with the partner. 

To enable integration:

  1. Enable Activate Partner.
  2. [Optional] Enable View-Through attribution. The view-through window is set using the attribution link.
  3. AppsFlyer sends postbacks to TikTok Ads following user installs. Select an option from:
    • Only events attributed to this partner for events coming only from users attributed to TikTok Ads.
    • Events attributed to any partner or organic to report all installs to TikTok Ads. Meaning that TikTok Ads have information about your entire user base.
  4. [Optional] To send in-app event postbacks to TikTok Ads:
    • Enable in-app event postbacks 
    • [Optional] Set the in-app event postback window.
    • Select the Sending Option for SDK defined events:
      • Only events attributed to this partner for events coming only from users attributed to this partner
      •  Events attributed to any partner or organic to have your entire user base available to be reported to the partner
    • Click Add Event to add an SDK Event to the list. The table that follows describes the fields you need to complete. 
  5. Click Save Integration
Parameter Name Description
SDK Event Name The name of the event, as received by AppsFlyer either from the SDK integrated in your app, or from server to server events.
Tip - If you don't see the event you want in the list, make sure to activate the event on a device with a non-organic installation and recheck.
Partner Event Identifier The unique name or ID of each event as defined onTikTok Ads' side. Select the most suitable name from the dropdown list.
Send Revenue When selected: AppsFlyer sends all the parameters of the rich in-app event to the partner, except for the revenue parameter, which is contained in the af_revenue parameter.
When not selected: AppsFlyer sends all the parameters including the revenue value (if it exists in the event).

Attribution link 

Generate click attribution links (for use by TikTok Ads). More about link structure and parameters.

To generate an attribution link:

  1. Select a parameter from the Parameter name list and set its Value to the TikTok Ads parameters name detailed in the table that follows.
  2. Click Add parameter and repeat the preceding step to add more parameters.
  3. Set the duration of the click-through lookback windowDefault 7 days.
  4. Set the duration of the view-through lookback windowDefault 1 day.
  5. Copy the click-attribution link and send it to TikTok Ads.
    Note: AppsFlyer does not save links.
Paramater mapping

AppsFlyer 

TikTok Ads

af_siteid

__CSITE__

af_channel

__PLACEMENT__

c

__CAMPAIGN_NAME__

af_c_id

__CAMPAIGN_ID__

af_adset

__AID_NAME__

af_adset_id

__AID__

af_ad

__CID_NAME__

af_ad_id

__CID__

af_ad_type

__CTYPE__

Impressions attribution link

The impression attribution link contains similar attribution data to the click recording link (besides the different lookback window). Send it to TikTokAds to be activated when a corresponding ad is watched, usually for 1 second or more.

Cost

  • TikTok Ads provides cost data using Cost API.
  • Dimensions supported: Campaign, adset, ad, geo

Prerequisite:

You need your TikTok Ads login credentials to set the cost API integration.

To enable the cost API:

  1. Go to the Cost tab.
  2. Enable Get Cost Data. 

  3. Click Log in to TikTok Ads.
    The TikTok Ads login window opens.

  4. Complete the following steps if prompted to do so by TikTok Ads:
    • Login to TikTok Ads. 
    • Review and accept the Platform Services Agreement.
  5. Select Add a new connection
  6. Click Add Connection.
    TikTok Ads is connected to AppFlyer.
  7. Click Save Cost.

Ad revenue

Ad Revenue data is not supported by this partner.

Permissions

In this tab, you can select the permissions to grant TikTokAds, whether the partner acts as an ad network, agency or even both. Note that even if attribution is disabled for TikTokAds, the permissions tab is active and you can grant TikTokAds permissions. 

The following permissions can be used:

  • Allow to configure integration - permit the partner to setup the integration tab (except in-app event postbacks)
  • Allow to configure in-app event postbacks - permit the partner to setup in-app event postbacks mapping to itself on the integration tab
  • Allow access to your retention report - only to the partner's own retention data
  • Allow access to your aggregate loyal user data - only to the partner's own loyal user data
  • Allow access to your aggregate in-app events data - only to the partner's own in-app events data
  • Allow access to your aggregate revenue data - only to the revenue data attributed to the partner
  • Allow access to your Protect360 dashboard - only to the partner's own Protect360 data, and providing the feature is enabled for the advertiser

Learn more about granting ad network permissions.

Configuring campaigns on TikTok Ads

Configure ads in your TikTok Ads account

To configure campaigns on TikTok Ads:

tik-tok-ads-setup.png

  1. Log in to TikTokAds.
  2. In the top menu, go to Library > Conversion > App Event Conversion > Create Conversion.
  3. Complete the following:
    • Conversion name
    • Store link
    • App ID
    • Measurement partner: select AppsFlyer
    • Click Tracking URL: Paste the AppsFlyer attribution link here
  4. Save Conversion details
  5. Click Create.
    tik-tok-ads-create-ad.png
  6. Click Create Ad.
Was this article helpful?