TikTok Ads Integration
Reach TikTok’s billion-plus users with AI-powered campaign management. Create In-Feed video and Spark ads, manage campaigns at every level, and analyze performance with 37 specialized tools. Includes rich targeting (interests, behavioral keywords, device, carrier, language), Layer-1 validity checks that catch errors before they reach TikTok’s API, and atomic rollback on creation failures.Prerequisites
- TikTok Ads Manager account (create one here)
- A TikTok Business Center account with billing enabled
- Admin access to the ad account you want to manage
- Adspirer account connected via Claude Code, Cursor, or any supported AI client
Connecting TikTok Ads
Once you’ve set up Adspirer with your AI client, connect TikTok:- Open your AI assistant (ChatGPT, Claude, Claude Code, etc.)
- Say: “Connect my TikTok Ads account”
- Adspirer opens your browser for OAuth authorization
- Sign in to TikTok Business Center and select the ad account you want to manage
- Approve permissions (read campaign data, create ads, manage budgets)
What You Can Do (37 Tools)
Planning & Objective Selection
explain_tiktok_objective— Given your goal (leads, sales, traffic, app installs, video views), returns the correct TikTok campaign objective, recommended ad format, and compatibility constraints. Run this first if you’re unsure which objective to use.
Performance Analysis
get_tiktok_campaign_performance— Campaign summary with TikTok-specific video and engagement metricsget_tiktok_ad_performance— Ad-level analysis with hook rate, video completion, and engagementanalyze_tiktok_wasted_spend— ROAS-based waste detection with campaign status awarenessoptimize_tiktok_budget— Budget allocation recommendations based on performancedetect_tiktok_creative_fatigue— Hook rate decline as the primary fatigue signalexplain_tiktok_anomaly— Diagnose sudden changes in TikTok campaign performanceget_tiktok_audience_insights— Age/gender breakdown with CPA rankinganalyze_tiktok_geo_performance— Country-level performance analysis
Creative & Pixel Discovery
list_tiktok_ad_videos— List the videos already in your TikTok library with thevideo_idfor each, so a second ad from the same video doesn’t mean a second uploadlist_tiktok_pixels— List your TikTok Pixels with the numericpixel_idTikTok requires and the exactoptimization_eventvalues each pixel supports. Pixels with no events configured are flagged as unusable for conversion optimization.list_tiktok_lead_pages— List your TikTok Instant Forms with thepage_idneeded to attach one to a lead generation ad, and whether each form isPUBLISHED. Draft forms can’t be used.discover_tiktok_assets— Browse the images in your TikTok Asset Library for reusevalidate_and_prepare_tiktok_assets— Verify video files meet TikTok’s requirements (9:16 vertical, 5-60 seconds, MP4/MOV)upload_tiktok_images— Upload images to TikTok Asset Library
Campaign Creation
create_tiktok_video_campaign— Launch an In-Feed video campaign (created PAUSED). Takes any of three creative sources:video_url(a public MP4/MOV that Adspirer uploads),video_id(a video already in your library), ortiktok_item_id(an organic post boosted as a Spark Ad).add_tiktok_ad_group— Add ad groups with full targeting to existing campaignsadd_tiktok_ad— Add ads to existing ad groups (video, Spark Ads)
Campaign Management
list_tiktok_campaigns— List all campaigns with status, objective, and budgetget_tiktok_campaign_details— Detailed campaign infoupdate_tiktok_campaign— Update name, budget, budget modepause_tiktok_campaign/resume_tiktok_campaign— Control campaign statuslist_tiktok_ad_groups— List ad groups, filter by campaignupdate_tiktok_ad_group— Update name, budget, targeting, schedulepause_tiktok_ad_group/resume_tiktok_ad_group— Control ad group statuslist_tiktok_ads— List ads, filter by ad group or campaignpause_tiktok_ad/resume_tiktok_ad— Control ad status
Targeting & Research
search_tiktok_targeting— Search interests, keywords, regions, languages, action categories, carriers, and device models. This returns the IDs you then target with — interest keywords, for example, are passed asinterest_keyword_ids(numeric IDs from this search), not as plain keyword strings.
Campaign Creation Workflow
TikTok campaigns follow a 5-step workflow:list_tiktok_pixels to get the numeric pixel_id and a valid optimization_event for that pixel. There is no default event — the valid set is per-pixel, so Adspirer asks rather than guessing.
Adding ads to existing campaigns
Example Prompts
Check Performance
TikTok campaign metrics with video completion analysis.
Create a Campaign
TikTok In-Feed campaign with video validation.
Upload and Validate Video
Validate video specs for TikTok In-Feed ads.
Analyze What’s Working
Creative performance analysis with engagement metrics.
Creative Assets: What You Need to Know
TikTok is a video-first platform. All campaigns require video creative.TikTok’s Creative Requirements
Thevalidate_and_prepare_tiktok_assets tool checks these automatically:
- Aspect ratio: 9:16 (vertical) — 1080x1920px recommended
- Duration: 5-60 seconds (9-15 seconds performs best for engagement)
- Format: MP4 or MOV
- File size: Under 500MB
- Resolution: Minimum 720p (1280x720px), 1080p recommended
Supported Asset Sources
- Google Drive (public or shared links)
- Dropbox (public links)
- Amazon S3 (public URLs)
- Any publicly accessible video URL
Creative Best Practices
- Hook in the first 2 seconds: TikTok users scroll fast. Grab attention immediately.
- Native look and feel: Ads that look like organic TikTok content outperform polished commercials
- Vertical video only: Horizontal or square videos perform significantly worse on TikTok
- Sound on: Unlike other platforms, most TikTok users watch with sound on. Use music and voiceover.
- Short and punchy: 9-15 seconds is the sweet spot for In-Feed ads
Ad Formats
In-Feed Ads
TikTok In-Feed ads appear in users’ For You feed and blend with organic content. They support:- Traffic objective: Drive users to your website or landing page
- Conversions objective: Optimize for specific conversion events (requires a TikTok Pixel ID and
optimization_event) - App installs: Drive mobile app downloads (APP_PROMOTION objective)
Spark Ads
Boost existing TikTok organic posts as ads. Provide thetiktok_item_id of an organic post to promote it with paid reach while keeping all engagement (likes, comments, shares) on the original post.
What TikTok doesn’t allow
Two formats you may expect can’t be built through TikTok’s API, so Adspirer refuses them up front rather than letting TikTok reject a half-built campaign:- Image-only in-feed ads. TikTok’s in-feed placement requires a video creative. Images are supporting assets alongside one —
upload_tiktok_imagesanddiscover_tiktok_assetsproduceimage_idsyou pass to a video ad. - Carousel ads. Build the carousel in TikTok Ads Manager, then boost that post here as a Spark Ad using its
tiktok_item_id.
Conversion tracking
For campaigns with theWEB_CONVERSIONS objective (CONVERSIONS is still accepted as a legacy alias), you need a TikTok Pixel ID and an optimization_event. The optimization_event tells TikTok which conversion action to optimize for.
Start with list_tiktok_pixels. It returns the numeric pixel_id — TikTok rejects the alphanumeric Pixel Code that appears in the Events Manager UI — along with the events that specific pixel actually supports. There is no default event, because the valid set differs per pixel.
Common optimization_event values:
list_tiktok_pixels is the authority for which ones it does.
Example prompt:
TikTok conversion campaign with pixel tracking.
Lead generation
There are two ways to capture leads on TikTok, and the one most campaigns use is not the one people ask for. Website lead gen (the common path). The ad sends people to your own landing page and a TikTok Pixel records the submission. Runlist_tiktok_pixels, pick the pixel, and use optimization_event=FORM. Nothing else is required.
Instant Forms (native, hosted by TikTok). The form opens inside TikTok, so there is no landing page and no site visit. Run list_tiktok_lead_pages to get the page_id for each form and to see which are PUBLISHED — TikTok refuses a draft form on a live ad.
page_id, never both. With an Instant Form, the form is the destination; TikTok rejects an ad that also carries a URL.Launch a TikTok lead generation campaign on an Instant Form.
Campaign Budget Optimization (CBO)
TikTok campaigns support campaign-level budget optimization via thebudget_optimize_on parameter. CBO is on by default — set to false to manage budgets per ad group manually.
Targeting Options
When creating TikTok campaigns through Adspirer, you can target by:Demographics
- Age: 13-17, 18-24, 25-34, 35-44, 45-54, 55+
- Gender: Male, Female, All
- Location: Country, state/region, city-level targeting
Interests & Behaviors
- Interests: Beauty, Fashion, Food & Beverage, Technology, Fitness, Gaming, and 20+ categories
- Behavioral signals: Video interaction patterns, content engagement history
- Device: iOS, Android, specific device models
Budget Guidelines
- Minimum: $20/day per campaign (TikTok’s requirement for campaign-level budgets)
- Ad group minimum: $20/day
- Recommended: $50+/day for meaningful data collection
- Testing: Start with $50/day on a single ad group to gauge performance before scaling
- CPC range: Expect $0.50-2.00 per click (varies by industry and targeting)
- CPM range: $6-10 per thousand impressions
Best Use Cases for TikTok Ads
- E-commerce: Products that photograph/film well (fashion, beauty, gadgets, food)
- Brand awareness: Reaching younger demographics (Gen Z and Millennials) at scale
- Product launches: New product reveals with authentic, native-feeling video content
- App installs: Mobile-first audience with high app download intent
- Direct-to-consumer brands: Brands that can create authentic, engaging short-form video
Troubleshooting
”Ad account not connected” error
Re-authenticate your TikTok Business Center account:”Asset validation failed” error
Common causes:- Video is not in 9:16 vertical format (horizontal or square videos are rejected)
- Video duration is outside 5-60 second range
- File too large (over 500MB)
- Unsupported format (use MP4 or MOV)
- Video URL is private or not publicly accessible
“Invalid media format” or TikTok page URL error
If you pass a TikTok page URL (e.g.,https://tiktok.com/@user/video/123) as a video URL, the tool returns an error because that’s a web page, not a downloadable video file. Two options:
- Spark Ads: Use the
tiktok_item_idparameter instead to boost the organic post as a Spark Ad - Video ad: Provide a direct link to the video file (MP4 or MOV) from Google Drive, Dropbox, S3, or any publicly accessible URL
”Campaign creation failed” error
Most common reason: skipping the asset validation step. TikTok campaigns requirevalidate_and_prepare_tiktok_assets before create_tiktok_video_campaign. The validation tool uploads and processes the video in TikTok’s system.
On a conversions campaign, the other common cause is a pixel or an optimization_event TikTok won’t accept. Run list_tiktok_pixels — it returns the numeric pixel ID and the events that pixel supports, which is usually the mismatch.
If you’re using agent skills, the AI enforces the correct workflow automatically.
Low video completion rates
Your creative may not be engaging enough for TikTok’s audience. Common fixes:- Stronger hook in the first 2 seconds
- Use trending sounds or music
- Make it feel organic, not like a traditional ad
- Shorter duration (try 9-12 seconds instead of 30+)
- Test multiple video variations to find what resonates
FAQ
Can I create image ads on TikTok through Adspirer?
Can I create image ads on TikTok through Adspirer?
upload_tiktok_images (or find existing ones with discover_tiktok_assets) and pass the image IDs to add_tiktok_ad together with a video_url or video_id.Carousel ads have the same answer. They can’t be built through TikTok’s API, so build the carousel in TikTok Ads Manager and boost that post here as a Spark Ad with its tiktok_item_id.Does Adspirer generate TikTok video content?
Does Adspirer generate TikTok video content?
What's the difference between TikTok Ads and Meta Ads?
What's the difference between TikTok Ads and Meta Ads?
Can I boost existing TikTok organic posts?
Can I boost existing TikTok organic posts?
tiktok_item_id of the organic post when creating an ad with add_tiktok_ad or create_tiktok_video_campaign. All engagement (likes, comments, shares) stays on the original post.How much does Adspirer cost for TikTok Ads?
How much does Adspirer cost for TikTok Ads?
Is my TikTok advertising data secure?
Is my TikTok advertising data secure?
Related Documentation
- Google Ads Integration
- Meta Ads Integration
- LinkedIn Ads Integration
- Amazon Ads Integration
- ChatGPT Ads Integration
- Campaign Creation Workflows
- TikTok Ads + AI Integration
- Pricing & Plans
- Prompt Engineering Playbook — A custom skill, dossier, and prompt book generated from your TikTok Ads account ($39 one-time)

