: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
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.pyindex 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, castfrom posthog.schema import (ExternalDataSourceType as SchemaExternalDataSourceType,+ ReleaseStatus,SourceConfig,SourceFieldInputConfig,SourceFieldInputConfigType,@@ -49,7 +50,7 @@ class TikTokAdsSource(ResumableSource[TikTokAdsSourceConfig, TikTokAdsResumeConfname=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.pyindex 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, patchimport structlogfrom parameterized import parameterized+from posthog.schema import ReleaseStatus+from posthog.models.integration import Integrationfrom posthog.temporal.data_imports.pipelines.pipeline.typings import SourceInputsfrom 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.GAassert len(config.fields) == 2advertiser_field = config.fields[0]