> ## Documentation Index
> Fetch the complete documentation index at: https://docs.upstackdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TikTok Cost per Search: Spend per On-Site Search

> TikTok Cost per Search divides all TikTok spend in your filters by website Search events TikTok attributes to ads. Learn why it differs from TikTok Ads Manager.

> [!TIP]
>
> TikTok Cost per Search is TikTok spend divided by the website searches TikTok credits to your ads, for the same accounts, campaigns, ad groups, or ads and dates.

## Formula

> [!NOTE]
>
> **TikTok Cost per Search** = **SUM** ( [**TikTok Spend**](https://docs.upstackdata.com/reference/metrics/advertising/tiktok-ads/tiktok-spend.md) ) ÷ **SUM** ( [**TikTok Searches**](https://docs.upstackdata.com/reference/metrics/advertising/tiktok-ads/searches/tiktok-searches.md) )

| Metadata | |
| - | - |
| **Type** | Currency |
| **Data Source** | [TikTok Ads](https://docs.upstackdata.com/sources/catalog/tiktok-ads/how-to-connect-tiktok-ads-to-upstack-data.md) |
| **Aggregation** | Ratio of totals, rounded to 2 decimals |

***

## How it works

Upstack recalculates the cost from totals. It doesn't average the cost-per-search values TikTok reports for each ad.

1. **Spend:** every TikTok row inside your filters, including campaigns that aren't built to drive searches.
2. **Searches:** TikTok's `page_event_search` field, which TikTok defines as page search actions attributed to your ads. It covers website searches tracked as page events. Upstack doesn't add any app or offline search fields.
3. **Divide:** total spend ÷ total searches. If there are no searches, the result is blank instead of infinite.

Spend is converted to your [reporting currency](https://docs.upstackdata.com/concepts/reporting-currency.md) at each day's rate before the division, so the result is in that currency.

***

## Worked example

A bookstore runs two TikTok campaigns in April. Only one sends people to a search-friendly landing page:

| Campaign | Spend | Searches | Cost per search |
| - | - | - | - |
| Summer reading list | \$1,500 | 600 | \$2.50 |
| Brand video (awareness) | \$2,500 | 25 | \$100.00 |
| **Account total** | **\$4,000** | **625** | **\$6.40** |

At account level, the metric reads 6.40, more than double the reading-list campaign's 2.50. Nothing is wrong with the reading-list campaign. The awareness spend sits in the numerator with almost no searches to divide it by. Filter to the campaigns that are meant to drive searches before you judge efficiency.

***

## How to interpret it

* **Lower is better only within comparable campaigns.** Comparing a search-focused campaign with an awareness campaign mostly measures their different goals.
* **Read it next to search volume.** A low cost on 12 searches can swing wildly next week. [TikTok Searches](https://docs.upstackdata.com/reference/metrics/advertising/tiktok-ads/searches/tiktok-searches.md) tells you whether the sample is big enough.
* **Search isn't the end goal.** Check [TikTok CPA](https://docs.upstackdata.com/reference/metrics/advertising/tiktok-ads/tiktok-cost-per-acquisition.md) or Blended Purchases to see whether search-heavy traffic buys.
* **Zero searches with spend** can mean Search events aren't reaching TikTok from your site, not that nobody searched.

***

## Why it can differ from TikTok Ads Manager

* TikTok shows cost per search for each row it reports. Upstack divides the totals for whatever you've filtered, so an account-level figure includes spend from every campaign.
* Upstack converts spend to your reporting currency.
* Upstack doesn't request a specific attribution window from TikTok. It imports the searches TikTok's reporting API returns.

***

## FAQ

> [accordion] Why is my TikTok cost per search so high at account level?
>
> The numerator includes spend from campaigns that don't drive searches. Filter to the campaigns or ad groups you want to judge.

> [accordion] Does TikTok count searches inside the TikTok app?
>
> Not in this metric. Upstack imports TikTok's website search field only.

> [accordion] Why is TikTok Cost per Search blank?
>
> There were no attributed searches in the period, so there's nothing to divide by. Check that Search events from your site reach TikTok.

***

## Related metrics

| Metric | Relationship |
| - | - |
| [TikTok Searches](https://docs.upstackdata.com/reference/metrics/advertising/tiktok-ads/searches/tiktok-searches.md) | The denominator |
| [TikTok Searches Value](https://docs.upstackdata.com/reference/metrics/advertising/tiktok-ads/searches/tiktok-searches-value.md) | Value sent with the same searches |
| [Meta Cost per Search](https://docs.upstackdata.com/reference/metrics/advertising/meta-ads/search-events/meta-cost-per-search.md) | Same metric for Meta |
| [Blended Cost per Search](https://docs.upstackdata.com/reference/metrics/advertising/blended/searches/blended-cost-per-search.md) | Meta and TikTok spend ÷ Meta and TikTok searches |
| [TikTok CPA](https://docs.upstackdata.com/reference/metrics/advertising/tiktok-ads/tiktok-cost-per-acquisition.md) | Cost per purchase for the same campaigns |

[See all TikTok Searches metrics →](https://docs.upstackdata.com/reference/metrics/advertising/tiktok-ads/searches)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.