-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[source-tiktok] Remove audience reports hourly streams #20598
Conversation
@@ -108,13 +108,6 @@ | |||
"json_schema": {}, | |||
"supported_sync_modes": ["full_refresh"] | |||
}, | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This streams.json I don't think is actually used in our acceptance test YAML but just keeping this up to date regardless
/test connector=connectors/source-tiktok-marketing
Build FailedTest summary info:
|
@@ -134,8 +134,8 @@ def test_random_items(prepared_prod_args): | |||
@pytest.mark.parametrize( | |||
"config, stream_len", | |||
[ | |||
(PROD_CONFIG_FILE, 26), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have 4 less hourly streams (1 for each audience report) in prod accounts
We have 3 less hourly streams (advertiser audience report is prod only) for sandbox accounts.
/test connector=connectors/source-tiktok-marketing
|
/test connector=connectors/source-tiktok-marketing
|
@@ -28,22 +28,22 @@ tests: | |||
discovery: | |||
- config_path: "secrets/prod_config.json" | |||
backward_compatibility_tests_config: | |||
disable_for_version: "0.1.17" | |||
disable_for_version: "1.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing streams are considered a breaking change, however we need to do this because the streams aren't usable any more. We will communicate this to the customers attempting to use these non-working streams to reset or disable them.
/test connector=connectors/source-tiktok-marketing
Build PassedTest summary info:
|
/publish connector=connectors/source-tiktok-marketing
if you have connectors that successfully published but failed definition generation, follow step 4 here |
thank you for taking care of this @brianjlai! |
What
Resolves an issue for certain TikTok streams where we were receiving back:
How
For some of our Audience Report streams, TikTok would be throwing an error when we included the
stat_time_hour
dimension. After going through the TikTok API documentation here. It appears that they have deprecated that dimension. Other time dimensions like Daily (and Lifetime for Advertiser Audience Reports) still work as expected. Given that we no longer can make requests using these dimensions we should remove these streams entirely to prevent future customers from configuring them during setup because they are effectively unusable.Note: This would affect existing customers, but most likely all customers using these streams would have failing syncs because of it. Customers that did not enable these streams should be unaffected.