Skip to main content
Generates a preview URL for a TikTok ad

Inputs

SelectableOption

Output

Type: Dict Returns preview_url, iframe, ad_id, and placement for the ad. For an Upgraded Smart+ ad that TikTok only previews per creative, also returns creative_previews (creative_id, preview_url, iframe, or error per creative); preview_url is then the first creative’s preview. Fields: preview_url, iframe, ad_id, placement, creative_previews