Connect TikTok Ads to Cursor

Connect your TikTok Ads data to Cursor with the Windsor.ai connector, so the dashboards and scripts Cursor builds use your real campaign, ad group, ad and video data.

Ask Cursor for a video hook canvas, a creative fatigue script or a ROAS report built on your own 6-second video views, Frequency, Purchase ROAS (website) and Cost fields.

Forget CSVs. Stop copy/paste. Connect in minutes. No code required.

Free forever plan No credit card needed
logo connect
Windsor.ai is your proven TikTok Ads to Cursor connector
google cloud
meta partner
google partner
snowflake
users love us
medal
soc2
google cloud
meta partner
google partner
snowflake
users love us
medal
soc2

Build creative and campaign reports on live TikTok Ads data in your Cursor project

Cursor works inside your project, so what it builds from your TikTok Ads data stays with you as files, scripts and canvases you can rerun. Key use cases:

Score video hooks

Cursor can build a canvas that ranks each Ad name by 2-second video views and 6-second video views per Impressions, with Average play time per video view beside it.

Catch creative fatigue

Ask for a script that tracks Frequency and CTR (destination) by ad over time and flags ads where frequency rises while CTR falls.

Rank ads by return

Purchase ROAS (website) with Cost and Purchases (website) by Ad group name shows which ads pay back.

See which audiences convert

Cursor can compare Cost and Conversions by Age and Gender in a report you rerun each week.

Using Windsor.ai to connect data from TikTok Ads to Cursor

Supported fields: 804 metrics153 dimensions

Without Windsor.ai, Cursor builds on placeholder numbers or on CSV exports you paste into the project. Windsor MCP gives Cursor live TikTok Ads data with the real field names, so the dashboards and scripts it writes match your account.

Connect in minutes, then ask Cursor to build something with your TikTok Ads data.

Analyze your data in Cursor

Available actions


Pause Ad

Pause an active TikTok Ads ad. Reversible via enable_ad.

Parameters
ad_idstringRequired
Pause Ad Group

Pause an active TikTok Ads ad group. Reversible via enable_ad_group.

Parameters
ad_group_idstringRequired
Pause Campaign

Pause an active TikTok Ads campaign. Reversible via enable_campaign.

Parameters
campaign_idstringRequired
Enable Ad

Enable a paused TikTok Ads ad. Reversible via pause_ad.

Parameters
ad_idstringRequired
Enable Ad Group

Enable a paused TikTok Ads ad group. Reversible via pause_ad_group.

Parameters
ad_group_idstringRequired
Enable Campaign

Enable a paused TikTok Ads campaign. Reversible via pause_campaign.

Parameters
campaign_idstringRequired
Set Campaign Budget

Set the budget of a TikTok Ads campaign. The amount is given in the account currency major unit (e.g. 100 means one hundred). The budget mode is fixed when the campaign is created and cannot be changed here: a campaign whose budget is unlimited (BUDGET_MODE_INFINITE) or managed at the ad group level has no campaign budget to update, and this action will report that the budget could not be changed. Use the ad group budget action for those campaigns.

Parameters
campaign_idstringRequiredamountintegerRequired
Set Ad Group Budget

Set the budget of a TikTok Ads ad group. The amount is in the account currency major unit (e.g. 100.00 means one hundred). The budget type (daily or lifetime) is fixed when the ad group is created and cannot be changed here; the existing type is detected automatically and its amount is updated. Ad groups whose budget is managed at the campaign level (Campaign Budget Optimization) have no ad group budget to set. Ad groups in Upgraded Smart+ campaigns are not supported by this action; change their budget in TikTok Ads Manager.

Parameters
ad_group_idstringRequiredamountintegerRequired
Create Campaign

Create a TikTok Ads campaign. It is created paused, so it does not spend until enable_campaign turns it on. objective_type is a TikTok objective, for example TRAFFIC, WEB_CONVERSIONS, LEAD_GENERATION, REACH, VIDEO_VIEWS, ENGAGEMENT, APP_PROMOTION or PRODUCT_SALES, and it cannot be changed later. budget_mode BUDGET_MODE_INFINITE (the default) leaves the budget to the ad groups. BUDGET_MODE_DAY or BUDGET_MODE_TOTAL caps the campaign at budget, in the account currency major unit (e.g. 57.5). Add ad groups with create_ad_group.

Parameters
namestringRequiredobjective_typestringRequiredbudget_modestringbudgetstring
Create Ad Group

Create an ad group in an existing TikTok Ads campaign. It is created paused, so it does not spend until enable_ad_group turns it on. optimization_goal and billing_event must fit together and cannot be changed later: CLICK with CPC, CONVERT with OCPM (needs pixel_id and optimization_event), SHOW or REACH with CPM. promotion_type is required for most objectives, WEBSITE for a landing page. placements and location_ids (TikTok location ids) are required. budget_mode and budget set the ad group budget, in the account currency major unit (e.g. 57.5). Leave both out when the campaign uses Campaign Budget Optimization. schedule_start_time and schedule_end_time are UTC, as "YYYY-MM-DD HH:MM:SS". The start defaults to now, and BUDGET_MODE_TOTAL needs an end. bid_type BID_TYPE_CUSTOM needs bid_price (CPC, CPM) or conversion_bid_price (OCPM). Add ads with create_ad.

Parameters
campaign_idstringRequirednamestringRequiredoptimization_goalstringRequiredbilling_eventstringRequiredlocation_idsarrayRequiredplacementsarraypromotion_typestringbudget_modestringbudgetstringschedule_start_timestringschedule_end_timestringbid_typestringbid_pricestringconversion_bid_pricestringpacingstringpixel_idstringoptimization_eventstringage_groupsstringgenderstringlanguagesstring
Create Ad

Create a single-video ad in an existing TikTok Ads ad group. It is created paused, so it does not spend until enable_ad turns it on. identity_id and identity_type name the account that the ad shows as. TikTok placements need a TikTok account identity, TT_USER or BC_AUTH_TT (with identity_authorized_bc_id). CUSTOMIZED_USER works only outside TikTok placements. Give the creative either as video_id with a cover image_id (ids that the video_id and image_id fields return, or uploads in TikTok Ads Manager), or as tiktok_item_id of an existing TikTok post. ad_text (up to 100 characters), call_to_action (for example LEARN_MORE or SHOP_NOW), landing_page_url and display_name complete a landing page ad.

Parameters
ad_group_idstringRequirednamestringRequiredidentity_idstringRequiredidentity_typestringRequiredidentity_authorized_bc_idstringvideo_idstringimage_idstringtiktok_item_idstringad_textstringcall_to_actionstringlanding_page_urlstringdisplay_namestring
Update Campaign

Rename a TikTok Ads campaign. The objective cannot be changed after creation. Use set_campaign_budget for the budget and pause_campaign or enable_campaign for the status.

Parameters
campaign_idstringRequirednamestringRequired
Update Ad Group

Update the name, targeting or bid of a TikTok Ads ad group. Provide only the fields to change, and at least one. location_ids, age_groups and languages replace the current lists. bid_price (CPC, CPM) and conversion_bid_price (OCPM) are in the account currency major unit (e.g. 57.5). The optimization goal, billing event and placements cannot be changed after creation: create a new ad group with create_ad_group instead. Use set_ad_group_budget for the budget and pause_ad_group or enable_ad_group for the status.

Parameters
ad_group_idstringRequirednamestringlocation_idsstringage_groupsstringgenderstringlanguagesstringbid_pricestringconversion_bid_pricestring
Update Ad

Update the name, ad text, call to action, landing page or creative of a TikTok Ads ad. Provide only the fields to change, and at least one. ad_text has up to 100 characters. call_to_action is a TikTok call to action, for example LEARN_MORE or SHOP_NOW. To change the creative, give video_id with its cover image_id, or tiktok_item_id of an existing TikTok post; it replaces the current video or post. image_id alone changes the cover of the current video. Use pause_ad or enable_ad for the status.

Parameters
ad_idstringRequirednamestringad_textstringcall_to_actionstringlanding_page_urlstringvideo_idstringimage_idstringtiktok_item_idstring
Join 40,000+ businesses that trust Windsor.ai to streamline TikTok Ads to Cursor integration
audi logo
colgate
asics
roche
novo nordisk logo
UBS
unicef
verisure
wpp
club med
skoda
heineken
puma
audi logo
colgate
asics
roche
novo nordisk logo
UBS
unicef
verisure
wpp
club med
skoda
heineken
puma

How to connect TikTok Ads to Cursor with Windsor.ai

Explore a step-by-step guide to add Windsor MCP to Cursor and start building on your TikTok Ads data.

1

Connect TikTok Ads in the Windsor.ai dashboard

Choose TikTok Ads as your data source and sign in to grant Windsor.ai access to your account.

TikTok Ads data source
Cursor setup step 2
Cursor finish authentication
Analyze your data in Cursor

FAQs

What is Windsor.ai's TikTok Ads to Cursor connector?

TikTok Ads runs in-feed and other ad campaigns on TikTok, organized into campaigns, ad groups and ads. Windsor.ai’s TikTok Ads connector gives Cursor live access to your campaign, ad group, ad and video data through Windsor MCP, with no code. Cursor is an AI code editor, so it turns that data into scripts, dashboards and reports inside your project, using your real field names instead of placeholder numbers or exported CSVs.

Tired of manual TikTok Ads data exports? Try Windsor.ai today to build on live data

Access your data from various sources in one place. Get started for free.
g logo
fb logo
big query data
youtube logo
power logo
looker logo