TikTok Setup Guide

Written by Support. Updated over a week ago

This article will guide you through the step-by-step process of how to connect your TikTok account to TheOptimizer Native.
The article is organised in 2 parts:

Part 1: What does this integration offer?
Part 2: Connect TikTok

Part 3: Link a tracking platform to TikTok (optional)

➡️ What does this integration offer?

After you connect your TikTok account to TheOptimizer, you will be able to perform all the following actions directly from TheOptimizer:

  • Campaigns
    • Accurate Campaign level metrics (spend, revenue, conversions, etc) from both TikTok and any connected tracking platform
    • Start/Stop campaigns
    • Update campaign budget
  • Ads
    • Accurate Ad level metrics (spend, revenue, conversions, etc) from both TikTok and any connected tracking platform
    • Start/Stop Ad
  • AdGroups
    • Accurate AdGroup level metrics (spend, revenue, conversions, etc) from both TikTok and any connected tracking platform
    • Start/Stop AdGroup
    • Clone AdGroup
    • Update AdGroup budget
    • Update AdGroup Bid
  • Dayparting
    • Decide which days of week and hours of days you want your TikTok campaigns to run or get paused

💡 NOTE: All the above actions can be performed manually or it can be automated using Rules. Rules can be setup to do a specific action with regular intervals, if certain performance conditions are met.

Rule example 1: Pause campaign if spend>$100 and Revenue=$0. Execute every hour.
Rule example 2: Clone AdSet if ROI>50%. Execute every day.

➡️ Connect TikTok


Once you have successfully logged in to your TheOptimizer Native account, click on the Account Wizard on the left-side panel of your screen then follow the 6 steps below.


Step 1: When on the Account Wizard page, click on Add New button.
Step 2: On the pop-up integration, click on the traffic source drop-down list and select TikTok.
Step 3: Enter a friendly nickname for the ad account you are connecting in order to easily identify it later.

Step 4: Click Save to launch the TikTok authorisation screen, where you will be asked to grant TheOptimizer access to your ad account.

In order for the integration to work properly, make sure you grant access to the required permissions below.

After you click on Confirm, you will be automatically redirected back to your TheOptimizer account. .

Step 5: When back on TheOptimizer’s account wizard page, select one or more ad accounts you want to connect.

Step 6: Click Save to complete the integration process.

➡️ Link a tracking platform to TikTok (Optional step)

💡 NOTE: This step is optional and only applies if you are also using a click tracking platform to track the performance of your TikTok campaigns. If not you can skip this step by clicking “I do not use a tracking platform”

💡 NOTE: For the sake of this article we are using ClickFlare tracker (our recommended tracking platform), but the same steps apply to all tracking platforms that we support. Click here for more details on how to connect a different tracking platform.


After you have finished connecting your TikTok account in the first step of the Account Wizard process, you can click Next to connect your tracking platform in order to have both traffic source and tracker data aggregated in one place.

Follow the steps below to connect your ClickFlare tracker account to TheOptimizer Native.


Step 1: When on the Account Wizard page, select a traffic source account and then click Next.
Step 2: In the second step of the Account Wizard, click on Add New to start connecting your ClickFlare account.
Step 3: On the pop-up integration screen, click on the Select Tracking Platform drop-down list and select ClickFlare.
Step 4: Fill in the required information as noted in the screenshot below then click Save and Next to move to the next step.

Required input information details:

Nickname: Add a friendly, easy-to-recognize name for your ClickFlare tracker.
Access Key: Access Key ID value as provided in ClickFlare (detailed below).
Conversion registration time reporting: Specify the conversion registration timestamp setting according to your ClickFlare settings (ClickFlare General Settings).
Currency: Select the currency defined in ClickFlare settings..

Step 5: In the third and final step, you simply need to specify which of the traffic source configurations found in your ClickFlare tracker you are using to track traffic for the TikTok added in the previous step of the Account Wizard.

TikTok Tracking Macros (these are the necessary TikTok macros to use with TheOptimizer)

__CAMPAIGN_ID__

__AID__

__CID__

As you may notice from the above screenshot, all necessary TikTok macros are marked in green. This means that all those macros are present in your ClickFlare config for TikTok, and were detected correctly.


IMPORTANT: In case one of the required traffic source tracking tokens is missing in your tracker configuration, then the necessary steps to fix this are:

(for example if __CAMPAIGN_ID__ macro is missing, you will get it in red)

  1. Log in to your tracker, edit the traffic source and add the missing macros
  2. Come back to TheOptimizer, refresh the page where you left and continue the integration process. Now you should see all tokens in Green.
Updated on May 4, 2023
Was this article helpful?

Related Articles