Marketing connector
TikTok Marketing connector for governed AI agent access
Connect TikTok Marketing API with an API for Business access token.
Direct answer
OneQuery supports TikTok Marketing for governed agent access.
Teams use the TikTok Marketing connector to give AI agents bounded source API calls for endpoint-specific context while OneQuery keeps credentials centralized, limits access to approved sources, and preserves audit logs for review.
Agent workflow
What this connector enables
TikTok Marketing becomes an approved OneQuery source instead of a secret copied into an agent prompt, shell session, or model tool. The agent receives a governed access path, and the source credentials stay behind OneQuery.
- Use bounded source API calls for endpoint-specific context for marketing context.
- Keep TikTok Marketing credentials centralized and out of agent runtimes.
- Review agent access through OneQuery audit history instead of reconstructing direct service usage.
Setup checklist
Prepare the TikTok Marketing connection
Use tiktok marketing credentials and connect the source through the Dashboard and CLI. Keep credentials scoped to the data the agent is allowed to read.
- Create or obtain a TikTok API for Business access token authorized for the advertiser accounts OneQuery should query.
- Optionally include the common advertiser ID as `credentials.advertiserId`; endpoint calls can still pass advertiser IDs in request params.
- Only include `apiBaseUrl` when you need a non-default TikTok Business API origin.
FAQ
TikTok Marketing connector questions
What is the OneQuery TikTok Marketing connector?
The OneQuery TikTok Marketing connector makes marketing context from TikTok Marketing available to AI agents through bounded source API calls for endpoint-specific context. Connect TikTok Marketing API with an API for Business access token.
How do AI agents access TikTok Marketing through OneQuery?
Agents call OneQuery instead of receiving raw TikTok Marketing credentials. OneQuery keeps credentials centralized, applies source boundaries, and records access in audit logs while exposing bounded source API calls for endpoint-specific context.
How do I set up the TikTok Marketing connector?
Prepare tiktok marketing credentials and connect TikTok Marketing from the OneQuery dashboard or CLI. Start with this setup step: Create or obtain a TikTok API for Business access token authorized for the advertiser accounts OneQuery should query.