summaryrefslogtreecommitdiff
path: root/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/three_sources_one_trigger.json
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-11-04 00:41:00 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-11-04 00:41:00 +0000
commit725bf3e2372b8ab29e521e864d28770fdf2c0443 (patch)
treed094f43841ac9dc9c54fd96ffd940b6f71f8ba39 /adservices/tests/unittest/service-core/assets/msmt_e2e_tests/three_sources_one_trigger.json
parent190c25efdbd5a5bdbb41a2818cf39a05d0ea9be0 (diff)
parent7b99dc653ed133fef81d0423fee87d45299097e2 (diff)
downloadAdServices-725bf3e2372b8ab29e521e864d28770fdf2c0443.tar.gz
Snap for 9254005 from 7b99dc653ed133fef81d0423fee87d45299097e2 to mainline-ipsec-releaseaml_ips_331910010aml_ips_331312000aml_ips_331310000android13-mainline-ipsec-release
Change-Id: Id77860bb313cd5104abdea4a778d197a1db28861
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.json50
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