Skip to content
Eden Engine

TikTok Ad Details

omnial/tiktok-ad-details

Given a TikTok ad's id from the ad library, returns that one ad: its title, brand name, the country codes it ran in, its campaign objective and industry code, its like, comment and share counts, the library's click-through rate figure and cost score, and the ad video's duration, width and height.

activeper callv1

Price

Up to $0.00205 per call; you pay what the call used

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

TikTok

Data from TikTok.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/tiktok-ad-details" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/tiktok-ad-details" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/tiktok-ad-details", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/tiktok-ad-details", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.00205
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "ads_id"
  ],
  "properties": {
    "ads_id": {
      "type": "string",
      "description": "The ad's numeric id in the TikTok ad library, as a string of digits."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "msg": {
      "type": "string"
    },
    "code": {
      "type": "number"
    },
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ad's id."
        },
        "ctr": {
          "type": "number",
          "description": "The click-through rate figure the ad library reports for the ad."
        },
        "cost": {
          "type": "number",
          "description": "The ad library's cost score for the ad, a small integer tier."
        },
        "like": {
          "type": "number",
          "description": "The ad's like count."
        },
        "share": {
          "type": "number",
          "description": "The ad's share count."
        },
        "comment": {
          "type": "number",
          "description": "The ad's comment count."
        },
        "ad_title": {
          "type": "string",
          "description": "The ad's title or caption text, as the advertiser wrote it."
        },
        "brand_name": {
          "type": "string",
          "description": "The advertiser's brand name; empty when the library has none."
        },
        "video_info": {
          "type": "object",
          "properties": {
            "width": {
              "type": "number",
              "description": "The video's width in pixels."
            },
            "height": {
              "type": "number",
              "description": "The video's height in pixels."
            },
            "duration": {
              "type": "number",
              "description": "The ad video's length in seconds."
            }
          }
        },
        "country_code": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Two-letter codes of the countries the ad ran in."
        },
        "industry_key": {
          "type": "string",
          "description": "The ad library's industry label code for the ad."
        },
        "objective_key": {
          "type": "string",
          "description": "The campaign objective label, such as a conversion or sales objective."
        }
      }
    }
  },
  "description": "One ad from the ad library, as returned after shaping."
}