Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Social Media

How to Use TikTok ad details in VS Code

Returns one ad's creative, brand, landing page, target countries, and engagement data. Use it to inspect a specific campaign reference and connect its video to its offer.

Prompts to try with TikTok ad details in VS Code

Copy an example into VS Code, or ask in your own words.

Use TikTok ad details for ad 7131673574381518849 from The Bamboo Breeze Shop and populate our reference page with its brand, landing page, countries, and engagement counts.

TikTok ad detailsVS Code
Try asking
  • Use TikTok ad details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from TikTok ad details and tell me what changed since last week.

  • Check TikTok ad details and summarize what you find in three bullet points.

  • Pull the newest data from TikTok ad details and give me the result as a table.

How to set up TikTok ad details in VS Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run TikTok ad details

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "tikhub",
        "model": "tikhub/tiktok-ads-get-ads-detail",
        "input": {
          "ads_id": "<ads_id>"
        }
      }'

Then paste one of the prompts above: VS Code finds TikTok ad details on Spiral, shows the price and runs it.

TikTok ad details providers and prices

Spiral runs TikTok ad details through TikHub. Open a card for today's price, with every fee included.

TikHubSocial Media
TikTok Ads · Get single ad detail
tikhub/tiktok-ads-get-ads-detail

What can you do with TikTok ad details in VS Code?

Build a creative review panel that puts TikTok references beside retention findings and industry comparisons. A coding agent can turn returned data into project tables and charts while preserving the distinction between ads, ranked videos, and creator cards.

Prepare a seasonal campaign brief

Expand product vocabulary with search suggestions, collect featured and similar ads, and inspect their offers and performance. Add ranked video examples and creator context, then use retention timelines, keyframes, and percentiles to explain which references deserve an editor's attention.

Review competitors' creative references

Use search phrases, featured cases, and similar ads to build a review shortlist. Examine brand offers, peer comparisons, and attention patterns, then compare those references with ranked videos, top comments, and public creator performance.

Build an editor's reference library

Organize ad examples by offer and industry, supported by suggested search phrases and related creatives. Include engagement timelines, keyframe findings, and percentile comparisons alongside ranked videos, audience reactions, and creator context.

Compare paid creative with trending content

Study ranked videos, comments, and creator performance alongside featured and recommended ads. Use search suggestions to broaden the subject, ad details to identify offers, and performance analyses to choose questions for the next creative test.

Review an ad before planning a recut

Pair the ad's creative and offer with its engagement timeline and keyframe findings. Use industry percentiles to place the example in context before proposing scenes to shorten or reorder.

Expand a narrow creative search

Turn a product term into suggested search phrases and expand an existing ad reference into similar examples. Add featured industry cases and inspect individual ads to keep the shortlist relevant to the offer.

Questions about TikTok ad details in VS Code

Can VS Code use TikTok ad details?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run TikTok ad details like any built-in tool.

How much does TikTok ad details cost in VS Code?

$0.0013 per request. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need a TikHub account to use TikTok ad details in VS Code?

No. Spiral runs TikTok ad details on its own TikHub account. You sign in to Spiral once and never paste a key.

How long does it take to set up TikTok ad details in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while TikTok ad details runs?

TikTok ad details runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

Does Creative Center cover every TikTok ad and video?

No. TikHub describes the dataset as a selection of popular records and explicitly warns that it may be incomplete.

What do the ad analysis tools measure?

They examine different aspects of creative performance: keyframe analysis identifies retention and drop-off moments, engagement timelines summarize attention over time, and percentiles compare an ad with industry peers.

What extra context is available beyond the video itself?

Ad details include the brand, landing page, target countries, and engagement data. For ranked videos, the detail response adds top comments and author information.

Do search suggestions show keyword search volume?

The documented response is a list of suggested phrases. It does not document a search-volume series, so suggestions are useful for expanding research rather than measuring demand.

Can Creative Center help assess public creators?

Creator cards document audience profiles, follower growth, overall performance, and recent posts. These provide context about creators behind ranked videos.

Get started

Start using TikTok ad details in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options