# tiktok_get_write_context

> Read the exact TikTok entity, parent settings and advertiser currency/timezone before editing or building a new configuration.

[Documentation](https://www.getmcpads.com/docs) / [Sources](https://www.getmcpads.com/docs/sources) / [TikTok Ads](https://www.getmcpads.com/docs/sources/tiktok-ads)

Read the exact TikTok entity, parent settings and advertiser currency/timezone before editing or building a new configuration. Read-only.

|  |  |
| --- | --- |
| Source | [TikTok Ads](https://www.getmcpads.com/docs/sources/tiktok-ads) |
| Kind | Read |
| Discovery | Reachable through `search_tools` and `run_tool` |
| Account parameter | `advertiserId` |
| Endpoint | https://mcp.getmcpads.com/tiktok-ads/mcp |

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `advertiserId` | string | Required | Exact TikTok numeric ID as a string, never a rounded JavaScript number. |
| `level` | string | Required | Entity level to inspect. One of: `campaign`, `adgroup`, `ad`. |
| `entityId` | string | Required | Exact TikTok numeric ID as a string, never a rounded JavaScript number. |
| `smartPlus` | boolean | Optional | Use the dedicated upgraded Smart+ endpoints rather than classic endpoints. |

## Calling it

Through run_tool, since it is not announced

```json
{
  "name": "run_tool",
  "arguments": {
    "name": "tiktok_get_write_context",
    "args": {
      "advertiserId": "<string>",
      "level": "campaign",
      "entityId": "<string>"
    }
  }
}
```

- [TikTok Ads metrics](https://www.getmcpads.com/docs/sources/tiktok-ads/metrics): What you can ask for.
- [TikTok Ads dimensions](https://www.getmcpads.com/docs/sources/tiktok-ads/dimensions): How you can break it down.

---

This page as HTML: https://www.getmcpads.com/docs/sources/tiktok-ads/tools/tiktok_get_write_context
Every page under /docs is available as Markdown: append `.md`, or send `Accept: text/markdown`.
