How to Use TikTok company ads in Gemini CLI
Fetch a company's sponsored TikTok videos with captions, posting dates, video links, and engagement counts. Use it to compare brand messaging or review sponsored creator content with a sample ad per creator.
Prompts to try with TikTok company ads in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use TikTok company ads for gymshark.com and add a report to this project showing the returned sponsored videos.
Use TikTok company ads for nike.com and create a CSV export of the returned records in this project.
Use TikTok company ads for duolingo.com, include sponsored creator samples, and build separate brand and creator sections.
Use TikTok company ads for sephora.com and add a view that groups returned captions by product name.
Use TikTok company ads for gymshark.com and compare the returned videos with our project's previous saved report.
How to set up TikTok company ads in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run TikTok company ads
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": "alexandria", "model": "adyntel/tiktok-ads/company", "input": { "company_domain": "<company_domain>" } }'
Then paste one of the prompts above: Gemini CLI finds TikTok company ads on Spiral, shows the price and runs it.
TikTok company ads providers and prices
Spiral runs TikTok company ads through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Influencer ads | on or off | When true, also return influencers posting sponsored content, each with a sample ad. Costs one extra credit when any ads come back. |
Every API field of Adyntel · TikTok ads for a company is on its tool page: open its card above.
What can you do with TikTok company ads in Gemini CLI?
Build a competitor ad report in your project from TikTok sponsored videos and creator samples. Turn returned records into a sortable review table and compare observations across saved runs.
Prepare a competitor messaging brief
Group returned sponsored captions by product, offer, and recurring phrase. Give the creative team links to the examples behind each observation.
Build a sponsored video review queue
Sort returned videos by plays and shares to choose examples for manual creative review.
Review public creator sponsorships
Collect the sample sponsored ad returned for each creator and compare its message with the brand's own ads.
Follow product launch messaging
Find product names and launch dates in sponsored captions. Arrange matching videos by posting date to build a campaign brief.
Measure changes in observed engagement
Compare counts for the same returned video across scheduled checks. Flag increases in plays, shares, or saves for review.
Prepare an agency account review
Use a public business's returned sponsored videos and creator samples to prepare specific questions about its TikTok creative strategy.
More on TikTok company ads and Gemini CLI
Overview
TikTok company ads in other agents
Questions about TikTok company ads in Gemini CLI
Can Gemini CLI use TikTok company ads?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run TikTok company ads like any built-in tool.
How much does TikTok company ads cost in Gemini CLI?
Up to $0.0977704 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need an Alexandria account to use TikTok company ads in Gemini CLI?
No. Spiral runs TikTok company ads on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up TikTok company ads in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while TikTok company ads runs?
TikTok company ads runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
What does the company lookup cover?
It retrieves TikTok ads associated with a company. Sponsored creator results add one sample ad per creator, so those samples are not a complete creator posting history.
Which engagement measurements come back?
Adyntel lists six counts: plays, likes, comments, shares, saves, and downloads. Ad records also include a caption, posting date, region, and video link.
Does one response contain the company's entire ad inventory?
Adyntel paginates company ad results and uses continuation tokens for additional pages. A response with a continuation token should not be described as the full inventory.
Does Adyntel guarantee complete coverage?
No. Its terms explicitly disclaim guarantees of data accuracy, completeness, and reliability, so missing results cannot establish that a company has no TikTok advertising.
What data do Adyntel's terms permit extracting?
The acceptable-use clause limits extraction to publicly accessible advertising libraries, subject to Adyntel's terms. That permission does not establish access to private advertising records.
Start using TikTok company ads in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


