Skip to content

Commit 02e78ed

Browse files
laurachevalier4BenRKarl
authored andcommitted
Remove normalization and hashing of postal code and country code
1 parent 71dee33 commit 02e78ed

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

examples/remarketing/upload_enhanced_conversions_for_web.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -144,12 +144,8 @@ def main(
144144
address_info.hashed_last_name = normalize_and_hash(
145145
raw_record["last_name"]
146146
)
147-
address_info.hashed_street_address = normalize_and_hash(
148-
raw_record["country_code"]
149-
)
150-
address_info.hashed_street_address = normalize_and_hash(
151-
raw_record["postal_code"]
152-
)
147+
address_info.hashed_street_address = raw_record["country_code"]
148+
address_info.hashed_street_address = raw_record["postal_code"]
153149
# Adds the address identifier to the conversion adjustment.
154150
conversion_adjustment.user_identifiers.append(address_identifier)
155151
# [END add_user_identifiers]

0 commit comments

Comments
 (0)