Skip to content

Commit 3ac013d

Browse files
authored
Merge pull request #204 from amehta1/CAMP-9157_add_measure_cross_device_param
added_adv_cross_device_parameter
2 parents 58a865b + 55722b7 commit 3ac013d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

terminalone/models/advertiser.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class Advertiser(Entity):
1313
_dmp_settings = t1types.enum({'disabled', 'inherits'}, 'inherits')
1414
_freq_int = t1types.enum({'hour', 'day', 'week', 'month', 'campaign',
1515
'not-applicable'}, 'not-applicable')
16-
_freq_type = t1types.enum({'even', 'asap', 'no-limit'}, 'no-limit')
16+
_freq_type = t1types.enum({'even', 'asap', 'no-limit'}, 'no-limit'),
17+
_measure_cross_device_graph = t1types.enum({'DETERMINISTIC_ONLY', 'DETERMINISTIC_FIRST'}, 'DETERMINISTIC_ONLY')
1718
_relations = {
1819
'ad_server', 'agency', 'billing_contact', 'sales_contact', 'vertical',
1920
}
@@ -40,7 +41,8 @@ class Advertiser(Entity):
4041
'updated_on': t1types.strpt,
4142
'version': int,
4243
'vertical_id': int,
43-
'political': t1types.int_to_bool
44+
'political': t1types.int_to_bool,
45+
'connected_id_type': None
4446
}
4547
_push = _pull.copy()
4648
_push.update({
@@ -51,8 +53,8 @@ class Advertiser(Entity):
5153
'accountable_and_addressable': int,
5254
'status': int,
5355
'dmp_enabled': _dmp_settings,
54-
'political': int
55-
56+
'political': int,
57+
'connected_id_type': _measure_cross_device_graph
5658
})
5759

5860
def __init__(self, session, properties=None, **kwargs):

0 commit comments

Comments
 (0)