: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 Reddit Ads source to GA (#63078)
Daniel RC44293ac60c18
diff --git a/posthog/temporal/data_imports/sources/reddit_ads/source.py b/posthog/temporal/data_imports/sources/reddit_ads/source.pyindex 6db7907c3690..61da13f2e5be 100644--- a/posthog/temporal/data_imports/sources/reddit_ads/source.py+++ b/posthog/temporal/data_imports/sources/reddit_ads/source.py@@ -2,6 +2,7 @@ from typing import Optional, castfrom posthog.schema import (ExternalDataSourceType as SchemaExternalDataSourceType,+ ReleaseStatus,SourceConfig,SourceFieldInputConfig,SourceFieldInputConfigType,@@ -42,7 +43,7 @@ class RedditAdsSource(ResumableSource[RedditAdsSourceConfig, RedditAdsResumeConfname=SchemaExternalDataSourceType.REDDIT_ADS,label="Reddit Ads",caption="Collect campaign data, ad performance, and advertising metrics from Reddit Ads. Ensure you have granted PostHog access to your Reddit Ads account, learn how to do this in [the documentation](https://posthog.com/docs/cdp/sources/reddit-ads).",- releaseStatus="beta",+ releaseStatus=ReleaseStatus.GA,iconPath="/static/services/reddit.png",docsUrl="https://posthog.com/docs/cdp/sources/reddit-ads",fields=cast(diff --git a/posthog/temporal/data_imports/sources/reddit_ads/tests/test_reddit_source.py b/posthog/temporal/data_imports/sources/reddit_ads/tests/test_reddit_source.pyindex 1784e27591a9..a3ed3d7f6de7 100644--- a/posthog/temporal/data_imports/sources/reddit_ads/tests/test_reddit_source.py+++ b/posthog/temporal/data_imports/sources/reddit_ads/tests/test_reddit_source.py@@ -7,7 +7,7 @@ from unittest.mock import MagicMock, patchfrom requests import Response-from posthog.schema import SourceFieldInputConfig, SourceFieldOauthConfig+from posthog.schema import ReleaseStatus, SourceFieldInputConfig, SourceFieldOauthConfigfrom posthog.temporal.data_imports.sources.common.resumable import ResumableSourceManagerfrom posthog.temporal.data_imports.sources.generated_configs import RedditAdsSourceConfig@@ -44,7 +44,7 @@ class TestRedditAdsSource:assert config.name.value == "RedditAds"assert config.label == "Reddit Ads"- assert config.releaseStatus == "beta"+ assert config.releaseStatus == ReleaseStatus.GAassert len(config.fields) == 2# Check account_id field