diff options
Diffstat (limited to 'adservices/tests/unittest/service-core/assets/msmt_e2e_tests/three_sources_one_trigger.json')
-rw-r--r-- | adservices/tests/unittest/service-core/assets/msmt_e2e_tests/three_sources_one_trigger.json | 50 |
1 files changed, 23 insertions, 27 deletions
diff --git a/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/three_sources_one_trigger.json b/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/three_sources_one_trigger.json index c30225ce77..cc972f02da 100644 --- a/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/three_sources_one_trigger.json +++ b/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/three_sources_one_trigger.json @@ -1,20 +1,19 @@ { - "description": "Three sources with differing priorities and equal event-time, and one trigger that matches all three sources. Event report task within the expiry window sends the data corresponding to the source with highest priority.", + "description": "Three sources with different order of priority than event-time, and one trigger that matches all three sources. Event report task within the expiry window sends the data corresponding to the source with highest priority.", "input": { "sources": [ { "registration_request": { - "attribution_src_url": "https://www.ad-tech1.com", - "source_origin": "android-app://example.1s1.com", + "attribution_src_url": "https://www.ad-tech1.test", "source_type": "navigation", - "registrant": "example.1s1.com" + "registrant": "example.1s1.test" }, "responses": [{ - "url": "https://www.ad-tech1.com", + "url": "https://www.ad-tech1.test", "response": { "Attribution-Reporting-Register-Source": { "source_event_id": "1", - "destination": "android-app://example.2d1.com", + "destination": "android-app://example.2d1.test", "priority": "100", "expiry": "172801" }, @@ -26,17 +25,16 @@ }, { "registration_request": { - "attribution_src_url": "https://www.ad-tech1.com", - "source_origin": "android-app://example.1s1.com", + "attribution_src_url": "https://www.ad-tech1.test", "source_type": "navigation", - "registrant": "example.1s1.com" + "registrant": "example.1s1.test" }, "responses": [{ - "url": "https://www.ad-tech1.com", + "url": "https://www.ad-tech1.test", "response": { "Attribution-Reporting-Register-Source": { "source_event_id": "2", - "destination": "android-app://example.2d1.com", + "destination": "android-app://example.2d1.test", "priority": "200", "expiry": "172801" }, @@ -44,39 +42,37 @@ "Attribution-Reporting-Redirect": null } }], - "timestamp": "800000000001" + "timestamp": "800000600001" }, { "registration_request": { - "attribution_src_url": "https://www.ad-tech1.com", - "source_origin": "android-app://example.1s1.com", + "attribution_src_url": "https://www.ad-tech1.test", "source_type": "navigation", - "registrant": "example.1s1.com" + "registrant": "example.1s1.test" }, "responses": [{ - "url": "https://www.ad-tech1.com", + "url": "https://www.ad-tech1.test", "response": { "Attribution-Reporting-Register-Source": { "source_event_id": "3", - "destination": "android-app://example.2d1.com", - "priority": "300", + "destination": "android-app://example.2d1.test", + "priority": "30", "expiry": "172801" }, "Location": null, "Attribution-Reporting-Redirect": null } }], - "timestamp": "800000000001" + "timestamp": "800001200001" } ], "triggers": [{ "registration_request": { - "attribution_src_url": "https://www.ad-tech1.com", - "destination_origin": "android-app://example.2d1.com", - "registrant": "example.2d1.com" + "attribution_src_url": "https://www.ad-tech1.test", + "registrant": "example.2d1.test" }, "responses": [{ - "url": "https://www.ad-tech1.com", + "url": "https://www.ad-tech1.test", "response": { "Attribution-Reporting-Register-Trigger": { "event_trigger_data": [ @@ -90,16 +86,16 @@ "Attribution-Reporting-Redirect": null } }], - "timestamp": "800000000003" + "timestamp": "800001800001" }] }, "output": { "event_level_results": [{ "report_time": "800176400001", - "report_url": "https://www.ad-tech1.com", + "report_url": "https://www.ad-tech1.test/.well-known/attribution-reporting/report-event-attribution", "payload": { - "attribution_destination": "android-app://example.2d1.com", - "source_event_id": "3", + "attribution_destination": "android-app://example.2d1.test", + "source_event_id": "2", "trigger_data": "2", "source_type": "navigation", "randomized_trigger_rate": 0.0024263 |