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
CALLBACK_PARAM or CALLBACK_URL
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__".