ETLMCPData Conveyance Works
Log in Start free
Guides

Which TikTok permissions etlmcp needs and why

etlmcp needs two TikTok permissions: Ad Account Management (scope 1) to list your ad accounts and Reporting (scope 4) to read reports.

Coming This connector is coming.

etlmcp needs two TikTok permissions: Ad Account Management, which TikTok numbers 1, and Reporting, numbered 4. The first lets etlmcp list the ad accounts you can pick from; the second lets it read their daily figures. When the TikTok connector is available, a connection that comes back without both is refused and nothing is saved. A narrower permission inside each of the two counts in its place.

How TikTok numbers and nests permissions

TikTok's API for Business groups its permissions in three levels. Each one has a numeric scope ID, and each lower-level permission names its parent. A token that holds a first-level permission can reach every endpoint listed under the second- and third-level permissions beneath it, so a grant of 1 already covers 10 and 100.

The two branches that matter here look like this on TikTok's Permission scope page:

Level Scope ID Name What it opens
First 1 Ad Account Management everything below it
Second 10 Ad Account Information everything below it
Third 100 Read Ad Account Information the ad account list and the ad account details
First 4 Reporting everything below it
Second 44 Consolidated Report the synchronous report, report tasks and report subscriptions

Ad Account Management also holds other second-level permissions, such as Terms and Agreements (12) and Business Center (15). Reporting also holds Ad Account Level (40), Campaign Level (41), Ad Group Level (42) and Ad Level (43), but TikTok's table lists no endpoint for those four. The report etlmcp reads, the integrated report, sits under Consolidated Report (44).

Where the granted list comes from

When an app swaps the authorization code for a long-term token, TikTok's answer carries a scope field: an array of the scope IDs the token actually holds. TikTok's own reference example shows a token that came back with Reporting alone, [4]. That list, not what the app hoped to get, decides what the token can do.

When the connector is available, etlmcp reads that field on every connection. Its consent link carries no list of permissions: the app ID, a state value and the return address are all it sends, and the permissions belong to etlmcp's app registration at TikTok. So the scope array is the only record etlmcp has of what you granted.

What etlmcp accepts

When the connector is available, etlmcp checks the granted list like this:

  • Account listing. Scope 1 passes. So does 10 or 100 on its own, since both sit under 1 and cover the ad account list.
  • Reports. Scope 4 passes. So does 44 on its own, since the integrated report sits under it. The level permissions 40 to 43 do not count in place of 4.
  • Both are required. If either branch is missing, the connection is refused with Not every permission was granted, so nothing was saved. Connect again and allow all requested access. No source is created.
  • No list at all. If TikTok returns an empty or missing scope field, etlmcp has nothing to show the grant can be used, and the connection ends with The platform did not complete the connection. Try again.

In both cases, run Connect again and allow all the access TikTok asks you to grant for etlmcp's app.

Why etlmcp asks for nothing more

The connector is built to only read. Every API call it is written to make with your token is a GET, to four endpoints: the user who granted access, the ad account list, the ad account details and the integrated report. The only other calls are the token exchange and, when you disconnect, revoking the token. It does not call Ads Management, Audience Management, Pixel Management or any other branch, so it does not need them.

After the connection is saved

A grant that passed the check can still be refused later, for one ad account or for the whole grant. Those refusals appear as error codes on a sync, listed with what etlmcp does about each on TikTok connector errors.

Related

Sources

  1. Permission scope — business-api.tiktok.com, checked
  2. Obtain a long-term access token — business-api.tiktok.com, checked