Skip to content

Commit b58b4ce

Browse files
committed
Add promo_code_programs_only field to Campaigns item for better data handling
1 parent eb5cc64 commit b58b4ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

admitad/items/campaigns.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def get(self, **kwargs):
3535
'website': lambda x: Item.sanitize_integer_value(x, 'website', blank=True),
3636
'has_tool': lambda x: Item.sanitize_string_array(x, 'has_tool', blank=True),
3737
'language': lambda x: Item.sanitize_string_value(x, 'language', blank=True),
38+
'promo_code_programs_only': lambda x: Item.sanitize_bool_value(x, 'promo_code_programs_only', blank=True),
3839
}
3940
}
4041

0 commit comments

Comments
 (0)