About supported macros for Mobile Measurement Partners

Last updated: May 2025

Macros are pieces of code that are implemented in the ad tag to allow mobile measurement partners to track various attributes of your advertising. The following is a list of TikTok's supported macros:

  • IDFA: IDFA

  • GAID: GAID

  • IP: IP

  • SL: SL

  • UA: UA

  • PLACEMENT (i.e. TikTok, HELO, etc.): PLACEMENT

TikTok statistical conversion-related macros

CALLBACK_PARAM or CALLBACK_URL

TikTok Ad level-related name and ID-related macros

  • Campaign Name: CAMPAIGN_NAME

  • Campaign ID: CAMPAIGN_ID

  • Ad set Name: AID_NAME

  • Ad set ID: AID

  • Ad Name: CID_NAME

  • Ad ID: CID

Note: TikTok macros are all double-underlined at the beginning and end, while the middle is single-underlined: "__xxx_xxx__".