Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev uc event level report #558

Open
wants to merge 42 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
1dd91be
add static img display page for demonstrating only event level report…
sinnew Jan 23, 2025
8fb8f23
add link to the new page
sinnew Jan 23, 2025
47e653c
add event trigger for event level report
sinnew Jan 23, 2025
0e2ae69
trigger event level report from shop
sinnew Jan 23, 2025
bcefc37
adding doc
sinnew Jan 23, 2025
2ae0e3a
Update services/ad-tech/src/lib/arapi.ts
sinnew Jan 24, 2025
167a8ec
Update services/ad-tech/src/lib/arapi.ts
sinnew Jan 24, 2025
26d317d
Update services/ad-tech/src/lib/arapi.ts
sinnew Jan 24, 2025
d9f4b65
pretify for pre-commit check
sinnew Jan 24, 2025
e3394e8
pretifying
sinnew Jan 24, 2025
72cffe1
replace hard coded url with constants
sinnew Jan 28, 2025
43dfb3d
replacing images with white background. fixing use case descriptions …
sinnew Jan 28, 2025
17b4f95
add better function comment
sinnew Jan 28, 2025
ba069e3
change param name from cvType to conversionType
sinnew Jan 28, 2025
5ad89a3
prettifying
sinnew Jan 28, 2025
63bc49a
prettifying
sinnew Jan 28, 2025
566fc75
resolving docsaurus build error and prettier rule conflict
sinnew Jan 28, 2025
cb581cb
Merge pull request #541 from sinnew/dev-uc-event-level-report
sinnew Jan 29, 2025
010a59f
bugfix run-ad-auction was moved to run-simple-ad-auction.js
sidneyzanetti Jan 23, 2025
acd6934
[doc] add instruction and scripts to use podman as an alternative to …
Seburan Jan 24, 2025
3210a73
[doc] update readme with Podman documentation
Seburan Jan 27, 2025
b11b9b7
changes for dsp tagging to add dsp-x and dsp-y
chasinandrew Jan 14, 2025
c103aac
add dsp-x and dsp-y dsp tags, iframe, logic for B&A interest group pa…
chasinandrew Jan 22, 2025
b1f3c0e
prettier formatter for pre-commit
chasinandrew Jan 24, 2025
2733105
add ssp-x and ssp-y participants
chasinandrew Jan 24, 2025
6b20f2a
add support for unknown keys in the metadata field for interest groups
chasinandrew Jan 27, 2025
c121fd6
changes for prettier formatting
chasinandrew Jan 27, 2025
fccf664
[infra] adding missing elements for dsp-x, dsp-y, ssp-x, ssp-y
Seburan Jan 29, 2025
f82324c
[infra] remove unused environment variables
Seburan Jan 29, 2025
f3f13c1
[infra] use dynamic env_file name in script
Seburan Jan 29, 2025
796e71e
[infra] fix attestation file name for dsp-x, dsp-y, ssp-x, ssp-y
Seburan Jan 29, 2025
24c8a8a
[infra] fix cloud build config for ssp-x, ssp-y
Seburan Jan 29, 2025
c235da3
[infra] fix environment variables for prod
Seburan Jan 29, 2025
19bf0b6
fixing the start command in package.json
sidneyzanetti Jan 28, 2025
b48f4a2
change hardcoded Shop domain url to use constant
sinnew Feb 5, 2025
cb9f718
change hardcoded Shop domain url to use constant
sinnew Feb 5, 2025
9b25e27
add ssp-x and ssp-y participants
chasinandrew Jan 24, 2025
26e9412
remove verbose 404 error by adding temporary endpoint
sinnew Feb 6, 2025
df22160
change sample code with the real examples and added link to the sourc…
sinnew Feb 6, 2025
ad78e7f
fix type-o and steps
sinnew Feb 10, 2025
487be45
Merge branch 'dev' into dev-uc-event-level-report
sinnew Feb 10, 2025
177be7e
prettier
sinnew Feb 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 23 additions & 3 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EXTERNAL_PORT=443
PORT=8080

# list of service names
SERVICES=("home" "news" "shop" "travel" "dsp" "dsp-a" "dsp-b" "ssp" "ssp-a" "ssp-b" "idp" "ad-server")
SERVICES=("home" "news" "shop" "travel" "dsp" "dsp-a" "dsp-b" "dsp-x" "dsp-y" "ssp" "ssp-a" "ssp-b" "ssp-x" "ssp-y" "idp" "ad-server")

DEMO_HOST_PREFIX=privacy-sandbox-demos-

Expand Down Expand Up @@ -56,6 +56,16 @@ DSP_B_URI=http://privacy-sandbox-demos-dsp-b.dev:8080
DSP_B_TOKEN=""
DSP_B_DETAIL="Ad-Platform: DSP-B for advertiser"

DSP_X_HOST=privacy-sandbox-demos-dsp-x.dev
DSP_X_URI=http://privacy-sandbox-demos-dsp-x.dev:8080
DSP_X_TOKEN=""
DSP_X_DETAIL="Ad-Platform DSP-X for advertiser"

DSP_Y_HOST=privacy-sandbox-demos-dsp-y.dev
DSP_Y_URI=http://privacy-sandbox-demos-dsp-y.dev:8080
DSP_Y_TOKEN=""
DSP_Y_DETAIL="Ad-Platform DSP-Y for advertiser"

## ssp
SSP_HOST=privacy-sandbox-demos-ssp.dev
SSP_URI=http://privacy-sandbox-demos-ssp.dev:8080
Expand All @@ -64,16 +74,26 @@ SSP_DETAIL="Ad-Platform: SSP for publisher"

SSP_A_HOST=privacy-sandbox-demos-ssp-a.dev
SSP_A_URI=http://privacy-sandbox-demos-ssp-a.dev:8080
SSP_A_HOST_INTERNAL=ssp-a
SSP_A_TOKEN=""
SSP_A_DETAIL="Ad-Platform: SSP-A for publisher"

SSP_B_HOST=privacy-sandbox-demos-ssp-b.dev
SSP_B_URI=http://privacy-sandbox-demos-ssp-b.dev:8080
SSP_B_HOST_INTERNAL=ssp-b
SSP_B_TOKEN=""
SSP_B_DETAIL="Ad-Platform: SSP-B for publisher"

SSP_X_HOST=privacy-sandbox-demos-ssp-x.dev
SSP_X_URI=http://privacy-sandbox-demos-ssp-x.dev:8080
SSP_X_HOST_INTERNAL=ssp-x
SSP_X_TOKEN=""
SSP_X_DETAIL="Ad-Platform: SSP-X for publisher"

SSP_Y_HOST=privacy-sandbox-demos-ssp-y.dev
SSP_Y_URI=http://privacy-sandbox-demos-ssp-y.dev:8080
SSP_Y_HOST_INTERNAL=ssp-y
SSP_Y_TOKEN=""
SSP_Y_DETAIL="Ad-Platform: SSP-Y for publisher"

## Collector for Aggregation Service
COLLECTOR_HOST=privacy-sandbox-demos-collector.dev
COLLECTOR_URI=http://privacy-sandbox-demos-collector.dev:8080
Expand Down
12 changes: 12 additions & 0 deletions .firebaserc.template
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
"dsp-b": [
"privacy-sandbox-demos-dsp-b"
],
"dsp-x": [
"privacy-sandbox-demos-dsp-x"
],
"dsp-y": [
"privacy-sandbox-demos-dsp-y"
],
"shop": [
"privacy-sandbox-demos-shop"
],
Expand All @@ -29,6 +35,12 @@
"ssp-b": [
"privacy-sandbox-demos-ssp-b"
],
"ssp-x": [
"privacy-sandbox-demos-ssp-x"
],
"ssp-y": [
"privacy-sandbox-demos-ssp-y"
],
"news": [
"privacy-sandbox-demos-news"
],
Expand Down
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,18 @@ to extend and modify the code for your own needs.
This repository contains :

- A set of applications/services deployable as container images
- Deployment scripts
- [Instructions for deploying and running the demos in your local environment with Docker](docs/deploy-to-linux-docker.md)
- [Instructions for deploying and running the demos on Google Cloud Platform](docs/deploy-to-gcp.md)
- [A list of codebase dependencies to prepare for development](docs/dependencies.md)
- Development framework to contribute to the project

If you are a developer we recommend you follow the [deployment instructions](docs/deploy-to-linux-docker.md). If you are simply curious, we recommend
you have a look at our [Google-hosted instances](https://privacy-sandbox-demos.dev) to quickly start learning and experimenting.
- A set of scripts and configuration files for local deployment and cloud deployment
- Documentation :
- [Instructions for deploying and running the demos in your local environment with Docker](docs/deploy-to-linux-docker.md)
- [Instructions for deploying and running the demos in your local environment with Podman](docs/deploy-to-linux-podman.md)
- [Instructions for deploying and running the demos on Google Cloud Platform](docs/deploy-to-gcp.md)
- [A list of codebase dependencies to prepare for development](docs/dependencies.md)

If you are a developer we recommend you follow the deployment instructions either with [Docker](docs/deploy-to-linux-docker.md) or
[Podman](docs/deploy-to-linux-podman.md).

If you are simply curious, we recommend you have a look at our [Google-hosted instances](https://privacy-sandbox-demos.dev) to quickly start learning
and experimenting.

## Use Cases

Expand Down
22 changes: 21 additions & 1 deletion cicd/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EXTERNAL_PORT=443
PORT=8080

# list of service names
SERVICES=("home" "news" "shop" "travel" "dsp" "dsp-a" "dsp-b" "ssp" "ssp-a" "ssp-b" "idp" "ad-server")
SERVICES=("home" "news" "shop" "travel" "dsp" "dsp-a" "dsp-b" "dsp-x" "dsp-y" "ssp" "ssp-a" "ssp-b" "ssp-x" "ssp-y" "idp" "ad-server")

DEMO_HOST_PREFIX=privacy-sandcastle-dev-

Expand Down Expand Up @@ -58,6 +58,16 @@ DSP_B_URI=https://privacy-sandcastle-dev-dsp-b1.web.app
DSP_B_TOKEN=""
DSP_B_DETAIL="Ad-Platform: DSP-B for advertiser"

DSP_X_HOST=privacy-sandcastle-dev-dsp-x.web.app
DSP_X_URI=https://privacy-sandcastle-dev-dsp-x.web.app
DSP_X_TOKEN=""
DSP_X_DETAIL="Ad-Platform: DSP-X for advertiser"

DSP_Y_HOST=privacy-sandcastle-dev-dsp-y.web.app
DSP_Y_URI=https://privacy-sandcastle-dev-dsp-y.web.app
DSP_Y_TOKEN=""
DSP_Y_DETAIL="Ad-Platform: DSP-Y for advertiser"

## ssp
SSP_HOST=privacy-sandcastle-dev-ssp.web.app
SSP_URI=https://privacy-sandcastle-dev-ssp.web.app
Expand All @@ -74,6 +84,16 @@ SSP_B_URI=https://privacy-sandcastle-dev-ssp-b.web.app
SSP_B_TOKEN=""
SSP_B_DETAIL="Ad-Platform: SSP-B for publisher"

SSP_X_HOST=privacy-sandcastle-dev-ssp-x.web.app
SSP_X_URI=https://privacy-sandcastle-dev-ssp-x.web.app
SSP_X_TOKEN=""
SSP_X_DETAIL="Ad-Platform: SSP-X for publisher"

SSP_Y_HOST=privacy-sandcastle-dev-ssp-y.web.app
SSP_Y_URI=https://privacy-sandcastle-dev-ssp-y.web.app
SSP_Y_TOKEN=""
SSP_Y_DETAIL="Ad-Platform: SSP-Y for publisher"

## Collector for Aggregation Service
COLLECTOR_HOST=privacy-sandcastle-dev-collector.web.app
COLECTOR_URI=https://privacy-sandcastle-dev-collector.web.app
Expand Down
22 changes: 21 additions & 1 deletion cicd/.env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EXTERNAL_PORT=443
PORT=8080

# list of service names
SERVICES=("home" "news" "shop" "travel" "dsp" "dsp-a" "dsp-b" "ssp" "ssp-a" "ssp-b" "idp" "ad-server")
SERVICES=("home" "news" "shop" "travel" "dsp" "dsp-a" "dsp-b" "dsp-x" "dsp-y" "ssp" "ssp-a" "ssp-b" "ssp-x" "ssp-y" "idp" "ad-server")

DEMO_HOST_PREFIX=privacy-sandbox-demos-

Expand Down Expand Up @@ -58,6 +58,16 @@ DSP_B_URI=https://privacy-sandbox-demos-dsp-b.dev
DSP_B_TOKEN=""
DSP_B_DETAIL="Ad-Platform: DSP-B for advertiser"

DSP_X_HOST=privacy-sandbox-demos-dsp-x.dev
DSP_X_URI=https://privacy-sandbox-demos-dsp-x.dev
DSP_X_TOKEN=""
DSP_X_DETAIL="Ad-Platform: DSP-X for advertiser"

DSP_Y_HOST=privacy-sandbox-demos-dsp-y.dev
DSP_Y_URI=https://privacy-sandbox-demos-dsp-y.dev
DSP_Y_TOKEN=""
DSP_Y_DETAIL="Ad-Platform: DSP-Y for advertiser"

## ssp
SSP_HOST=privacy-sandbox-demos-ssp.dev
SSP_URI=https://privacy-sandbox-demos-ssp.dev
Expand All @@ -74,6 +84,16 @@ SSP_B_URI=https://privacy-sandbox-demos-ssp-b.dev
SSP_B_TOKEN=""
SSP_B_DETAIL="Ad-Platform: SSP-B for publisher"

SSP_X_HOST=privacy-sandbox-demos-ssp-x.dev
SSP_X_URI=https://privacy-sandbox-demos-ssp-x.dev
SSP_X_TOKEN=""
SSP_X_DETAIL="Ad-Platform: SSP-X for publisher"

SSP_Y_HOST=privacy-sandbox-demos-ssp-y.dev
SSP_Y_URI=https://privacy-sandbox-demos-ssp-y.dev
SSP_Y_TOKEN=""
SSP_Y_DETAIL="Ad-Platform: SSP-Y for publisher"

## Collector for Aggregation Service
COLLECTOR_HOST=privacy-sandbox-demos-collector.dev
COLLECTOR_URI=https://privacy-sandbox-demos-collector.dev
Expand Down
41 changes: 41 additions & 0 deletions cicd/attestations/privacy-sandbox-attestations.json.dsp-x.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"privacy_sandbox_api_attestations": [
{
"attestation_parser_version": "2",
"attestation_version": "1",
"privacy_policy": [
"https://policies.google.com/privacy"
],
"ownership_token": "aWpJ8s6tQoQedoJ6JeGbLs79Au8DnC3S1GRoQNaP5QJ3v6s12u7ws5TOQxMszYsz",
"issued_seconds_since_epoch": 1727883076,
"enrollment_id": "QNNBD",
"enrollment_site": "https://privacy-sandcastle-dev-dsp-x.web.app/",
"platform_attestations": [
{
"platform": "chrome",
"attestations": {
"attribution_reporting_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"shared_storage_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"private_aggregation_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"topics_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"protected_audience_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
}
}
},
{
"platform": "android",
"attestations": {}
}
]
}
]
}
41 changes: 41 additions & 0 deletions cicd/attestations/privacy-sandbox-attestations.json.dsp-x.prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"privacy_sandbox_api_attestations": [
{
"attestation_parser_version": "2",
"attestation_version": "1",
"privacy_policy": [
"https://policies.google.com/privacy"
],
"ownership_token": "9REOcaj86jjIVLqrA6prFmHMjnEajMvUMlqYu3d1zu1QzDbytdpJ0P3xqnmsOm1a",
"issued_seconds_since_epoch": 1727882725,
"enrollment_id": "B7WD5",
"enrollment_site": "https://privacy-sandbox-demos-dsp-x.dev/",
"platform_attestations": [
{
"platform": "chrome",
"attestations": {
"attribution_reporting_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"shared_storage_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"private_aggregation_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"topics_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"protected_audience_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
}
}
},
{
"platform": "android",
"attestations": {}
}
]
}
]
}
41 changes: 41 additions & 0 deletions cicd/attestations/privacy-sandbox-attestations.json.dsp-y.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"privacy_sandbox_api_attestations": [
{
"attestation_parser_version": "2",
"attestation_version": "1",
"privacy_policy": [
"https://policies.google.com/privacy"
],
"ownership_token": "EmbiJdCvXH4aTCp2kp3eAu4x868xIksxLmDDtlcqcGuqbXFtybqPAXFaCx52GAnO",
"issued_seconds_since_epoch": 1727883164,
"enrollment_id": "5JZNN",
"enrollment_site": "https://privacy-sandcastle-dev-dsp-y.web.app/",
"platform_attestations": [
{
"platform": "chrome",
"attestations": {
"attribution_reporting_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"shared_storage_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"private_aggregation_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"topics_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"protected_audience_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
}
}
},
{
"platform": "android",
"attestations": {}
}
]
}
]
}
41 changes: 41 additions & 0 deletions cicd/attestations/privacy-sandbox-attestations.json.dsp-y.prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"privacy_sandbox_api_attestations": [
{
"attestation_parser_version": "2",
"attestation_version": "1",
"privacy_policy": [
"https://policies.google.com/privacy"
],
"ownership_token": "Lbzhc2a38009LPX7JtW9ezesof6kWbZ40REFzDqSOiEAszpSZTG6Dn4LgiWgiSDD",
"issued_seconds_since_epoch": 1727882826,
"enrollment_id": "7G73H",
"enrollment_site": "https://privacy-sandbox-demos-dsp-y.dev/",
"platform_attestations": [
{
"platform": "chrome",
"attestations": {
"attribution_reporting_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"shared_storage_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"private_aggregation_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"topics_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
},
"protected_audience_api": {
"ServiceNotUsedForIdentifyingUserAcrossSites": true
}
}
},
{
"platform": "android",
"attestations": {}
}
]
}
]
}
Loading