Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(data-warehouse): promote TikTok Ads source to GA (#63076)

Daniel RCe0a6bd5511b0
diff --git a/posthog/temporal/data_imports/sources/tiktok_ads/source.py b/posthog/temporal/data_imports/sources/tiktok_ads/source.py
index 078c2c2567b5..70706772ff78 100644
--- a/posthog/temporal/data_imports/sources/tiktok_ads/source.py
+++ b/posthog/temporal/data_imports/sources/tiktok_ads/source.py
@@ -2,6 +2,7 @@ from typing import Optional, cast
from posthog.schema import (
ExternalDataSourceType as SchemaExternalDataSourceType,
+ ReleaseStatus,
SourceConfig,
SourceFieldInputConfig,
SourceFieldInputConfigType,
@@ -49,7 +50,7 @@ class TikTokAdsSource(ResumableSource[TikTokAdsSourceConfig, TikTokAdsResumeConf
name=SchemaExternalDataSourceType.TIK_TOK_ADS,
label="TikTok Ads",
caption="Collect campaign data, ad performance, and advertising metrics from TikTok Ads. Ensure you have granted PostHog access to your TikTok Ads account, learn how to do this in [the documentation](https://posthog.com/docs/cdp/sources/tiktok-ads).",
- releaseStatus="beta",
+ releaseStatus=ReleaseStatus.GA,
iconPath="/static/services/tiktok.png",
docsUrl="https://posthog.com/docs/cdp/sources/tiktok-ads",
fields=cast(
diff --git a/posthog/temporal/data_imports/sources/tiktok_ads/test/test_tiktok_ads_source.py b/posthog/temporal/data_imports/sources/tiktok_ads/test/test_tiktok_ads_source.py
index 925b01ca3f62..f14f75c2e365 100644
--- a/posthog/temporal/data_imports/sources/tiktok_ads/test/test_tiktok_ads_source.py
+++ b/posthog/temporal/data_imports/sources/tiktok_ads/test/test_tiktok_ads_source.py
@@ -9,6 +9,8 @@ from unittest.mock import MagicMock, Mock, patch
import structlog
from parameterized import parameterized
+from posthog.schema import ReleaseStatus
+
from posthog.models.integration import Integration
from posthog.temporal.data_imports.pipelines.pipeline.typings import SourceInputs
from posthog.temporal.data_imports.sources.common.resumable import ResumableSourceManager
@@ -84,7 +86,7 @@ class TestTikTokAdsSource:
assert config.name.value == "TikTokAds"
assert config.label == "TikTok Ads"
- assert config.releaseStatus == "beta"
+ assert config.releaseStatus == ReleaseStatus.GA
assert len(config.fields) == 2
advertiser_field = config.fields[0]