TikTok Ads URL Macro Glossary

A list of all dynamic URL macros & parameters supported by TikTok Ads.

On this page you'll not only find an overview of all macros available for TikTok's advertising platform, but you'll also find an explanation as to what purpose they serve. If you're unfamiliar with the topic of URL macros, this guide is a good place to start your journey to successful ad tracking via UTM parameters.

Please pay attention to way the URL macros for TikTok Ads are composed. They all start and end with a pair of underscores. If the macro only has a single underscore at its beginning and/or end, TikTok Ads can't recognize it as a macro and in turn can’t replace it with the intended value. If you’d like to learn more about this, this blog article from our friends at AdWhatCost makes for a good read.

Aa

__AID__

Captures the ID of the ad group. Each ad group's ID is designed to be its unique identifier.

__AID_NAME__

Captures the ad group's name. The macro will always pull the current name of the ad group, meaning that edits to its name will be reflected in the macro.

Cc

__CAMPAIGN_ID__

Captures the ID of the campaign. Each campaign's ID is designed to be its unique identifier.

__CAMPAIGN_NAME__

Captures the campaign's name. The macro will always pull the current name of the campaign, meaning that edits to its name will be reflected in the macro.

__CID__

Captures the ID of the ad. Each ad's ID is designed to be its unique identifier.

__CID_NAME__

Captures the ad's name. The macro will always pull the current name of the ad, meaning that edits to its name will be reflected in the macro.

Pp

__PLACEMENT__

Captures the placement that resulted in the ad click. This could be TikTok itself or other platforms integrated into TikTok Ads.

Use our free UTM paramater generator for TikTok Ads tracking!

Includes the supported URL macros - often also referred to as dynamic URL parameters - of TikTok Ads.

UTM Generator

Build taylored tracking URLs for your TikTok Ads. Includes all supported dynamic URL macros.


The companies responsible for developing the macros listed across this website may change their functionality at any time. We have no control over this and cannot guarantee the accuracy of any information regarding macros across this website.