Skip to content

Commit caedfb9

Browse files
authored
Merge pull request #16 from nnnLik/internal/pass-takefluence-settings
Add takefluence_enabled_only field to Campaigns item for enhanced fil…
2 parents 6f9dd67 + 00c0f8b commit caedfb9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

admitad/items/campaigns.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ def get(self, **kwargs):
2727
limit (int)
2828
offset (int)
2929
language (str)
30+
promo_code_programs_only (bool)
31+
takefluence_enabled_only (bool)
3032
3133
"""
3234
filtering = {
@@ -36,6 +38,7 @@ def get(self, **kwargs):
3638
'has_tool': lambda x: Item.sanitize_string_array(x, 'has_tool', blank=True),
3739
'language': lambda x: Item.sanitize_string_value(x, 'language', blank=True),
3840
'promo_code_programs_only': lambda x: Item.sanitize_bool_value(x, 'promo_code_programs_only', blank=True),
41+
'takefluence_enabled_only': lambda x: Item.sanitize_bool_value(x, 'takefluence_enabled_only', blank=True),
3942
}
4043
}
4144

0 commit comments

Comments
 (0)