Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions experimenter/experimenter/targeting/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -2503,6 +2503,38 @@ def __post_init__(self):
application_choice_names=(Application.FENIX.name,),
)

ANDROID_EXISTING_USERS_NOT_ACCEPTED_TERMS_OF_USE = NimbusTargetingConfig(
name="Existing users who have not accepted Terms of Use",
slug="android_existing_users_not_accepted_terms_of_use",
description="Existing users for 28+ days who have not accepted Terms of Use",
targeting="user_accepted_tou == false && days_since_install >= 28",
desktop_telemetry="",
sticky_required=False,
is_first_run_required=False,
application_choice_names=(Application.FENIX.name,),
)

ANDROID_EXISTING_USERS_NOT_ACCEPTED_TOU_AND_NO_SPONSORED_OPT_OUTS = NimbusTargetingConfig(
name=(
"Existing users for 28+ days who have not accepted Terms of Use "
"and have not opted out of any sponsored content"
),
slug="android_existing_users_not_accepted_terms_of_use_no_shortcuts_or_stories_opt_outs",
description=(
"Targeting users who have NOT accepted the Terms of Use "
"and have NOT opted out of any sponsored content"
),
targeting=(
"user_accepted_tou == false && no_shortcuts_or_stories_opt_outs == true "
"&& days_since_install >= 28"
),
desktop_telemetry="",
sticky_required=False,
is_first_run_required=False,
application_choice_names=(Application.FENIX.name,),
)

# Obselete: To be deleted in https://bugzilla.mozilla.org/show_bug.cgi?id=1995564
TOU_TARGETING_ANDROID_NOT_ACCEPTED = NimbusTargetingConfig(
name="Users that have not accepted the Terms of Use",
slug="users_not_accepted_tou",
Expand All @@ -2525,6 +2557,7 @@ def __post_init__(self):
application_choice_names=(Application.FENIX.name,),
)

# Obselete: To be deleted in https://bugzilla.mozilla.org/show_bug.cgi?id=1995564
TOU_TARGETING_ANDROID_NOT_ACCEPTED_AND_NO_SPONSORED_OPT_OUTS = NimbusTargetingConfig(
name=(
"Users that have not accepted the Terms of Use "
Expand Down