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

Release dev to main branch + production environment #531

Open
wants to merge 210 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
210 commits
Select commit Hold shift + click to select a range
90c5f4d
Add support for beacon reporting
siddharth-sahoo Jul 7, 2024
3784d67
Clean up event-level report handler
siddharth-sahoo Jul 7, 2024
d98849f
Enable attribution reporting for ssp service
siddharth-sahoo Jul 8, 2024
b131a1f
Enable attribution reporting in ssp service
siddharth-sahoo Jul 9, 2024
f6ed831
Add copyright notices.
siddharth-sahoo Jul 9, 2024
31c2d1b
Merge pull request #365 from privacysandbox/main
Seburan Jul 12, 2024
429d5fc
Apply linter fixes
siddharth-sahoo Jul 18, 2024
178efd8
Merge pull request #364 from siddharth-sahoo/ffar-ms
Seburan Jul 25, 2024
72e1f2b
Create dependencies.md
linkabi9 Aug 20, 2024
03da7c6
Update README.md to include link to the new dependencies doc
linkabi9 Aug 20, 2024
49fd7c9
Reorganize functions to have relevant functions together
siddharth-sahoo Sep 19, 2024
a5942ba
Update comment.
siddharth-sahoo Sep 19, 2024
afaf0f8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 19, 2024
7e7e9a2
Fix typecasting in DSP helper function.
siddharth-sahoo Sep 19, 2024
01d5340
Fix typecasting in DSP helper function.
siddharth-sahoo Sep 19, 2024
ac76df9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 20, 2024
edd9e75
Add support for ad size macros
siddharth-sahoo Sep 23, 2024
2421839
Merge branch 'ffar-ms' of github.com:siddharth-sahoo/privacy-sandbox-…
siddharth-sahoo Sep 23, 2024
2469373
Merge pull request #1 from privacysandbox/main
siddharth-sahoo Sep 23, 2024
306de62
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 23, 2024
7c5fbae
Merge pull request #399 from siddharth-sahoo/ffar-ms
siddharth-sahoo Sep 23, 2024
3a94f95
Initial implementation of merged multi-seller
siddharth-sahoo Oct 1, 2024
422e707
Clean up constants
siddharth-sahoo Oct 1, 2024
f3eabd8
Add some file comments
siddharth-sahoo Oct 1, 2024
669bd68
Add more features to BYOS KV server
siddharth-sahoo Oct 2, 2024
38d9e96
Add seller trusted scoring signals server
siddharth-sahoo Oct 2, 2024
f49b9bc
Clean up private aggregation test
siddharth-sahoo Oct 3, 2024
e7a1eb6
Add file comments
siddharth-sahoo Oct 3, 2024
48ae255
Integrate instrumentation layers
siddharth-sahoo Oct 7, 2024
b649e7d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 7, 2024
b065ca1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 7, 2024
be0a1ad
Add more comments and reverse env changes
siddharth-sahoo Oct 7, 2024
cb112f7
Merge branch 'dev' of github.com:siddharth-sahoo/privacy-sandbox-demo…
siddharth-sahoo Oct 7, 2024
9dcfaac
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 7, 2024
5373036
Fix lint
siddharth-sahoo Oct 7, 2024
86cdae0
Merge branch 'dev' of github.com:siddharth-sahoo/privacy-sandbox-demo…
siddharth-sahoo Oct 7, 2024
51178ab
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 7, 2024
84293c6
Fix lint
siddharth-sahoo Oct 7, 2024
d237ab9
Reuse container images in docker-compose.
siddharth-sahoo Oct 7, 2024
89b4b6d
Rollback topics change
siddharth-sahoo Oct 7, 2024
a651334
Migrate topics subdomain page
siddharth-sahoo Oct 7, 2024
f162a5e
Merge branch 'dev' of github.com:siddharth-sahoo/privacy-sandbox-demo…
siddharth-sahoo Oct 7, 2024
68b7b5b
CHange proxy configs and add router
siddharth-sahoo Oct 7, 2024
2894b31
Prune unused container
siddharth-sahoo Oct 7, 2024
dfde6cd
Fix typehints for contextual auction runner
siddharth-sahoo Oct 7, 2024
9e19b1d
Merge branch 'dev' of github.com:siddharth-sahoo/privacy-sandbox-demo…
siddharth-sahoo Oct 7, 2024
153f50c
Merge pull request #413 from siddharth-sahoo/dev
siddharth-sahoo Oct 8, 2024
6f2a9d8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 8, 2024
bdc270d
Update dependencies.md
siddharth-sahoo Oct 8, 2024
b67e885
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 8, 2024
baba88a
Merge pull request #378 from privacysandbox/add-dependencies-doc
siddharth-sahoo Oct 8, 2024
ea5f115
Remove unused volumes
siddharth-sahoo Oct 8, 2024
48fa1df
Merge pull request #420 from siddharth-sahoo/unified
siddharth-sahoo Oct 8, 2024
c43babc
Use node-cache for report-store.
siddharth-sahoo Oct 8, 2024
361158d
Fix lint
siddharth-sahoo Oct 8, 2024
29aa860
Fix lint
siddharth-sahoo Oct 8, 2024
3cd7fc6
Clean up header bidding lib.
siddharth-sahoo Oct 8, 2024
adbfe66
Merge branch 'dev' of https://github.com/privacysandbox/privacy-sandb…
siddharth-sahoo Oct 8, 2024
525088d
Merge branch 'unified' of https://github.com/privacysandbox/privacy-s…
siddharth-sahoo Oct 8, 2024
738dac2
Clean up header bidding lib.
siddharth-sahoo Oct 8, 2024
015b50b
Address review comments
siddharth-sahoo Oct 10, 2024
69d88aa
Fix bug in reading reporting IDs
siddharth-sahoo Oct 10, 2024
2b907a6
Fix bug in reading reporting IDs
siddharth-sahoo Oct 10, 2024
59030c4
Sync
siddharth-sahoo Oct 10, 2024
8f78bc9
Merge branch 'dealbug' of github.com:siddharth-sahoo/privacy-sandbox-…
siddharth-sahoo Oct 10, 2024
703cd71
Merge branch 'dev' of github.com:siddharth-sahoo/privacy-sandbox-demo…
siddharth-sahoo Oct 10, 2024
5fbc84a
Merge pull request #422 from siddharth-sahoo/dealbug
siddharth-sahoo Oct 11, 2024
49d945c
Merge pull request #421 from siddharth-sahoo/dev
siddharth-sahoo Oct 11, 2024
ece6176
Merge pull request #423 from privacysandbox/dev
siddharth-sahoo Oct 11, 2024
64b54b2
Merge branch 'unified' of https://github.com/privacysandbox/privacy-s…
siddharth-sahoo Oct 11, 2024
f79837e
Merge branch 'dev' of https://github.com/privacysandbox/privacy-sandb…
siddharth-sahoo Oct 11, 2024
0ba3e76
Fix multi-seller in unified stack
siddharth-sahoo Oct 11, 2024
417579e
Initial clean-up for video ads
siddharth-sahoo Oct 13, 2024
546a1ff
Clean up gitignore for global.css
siddharth-sahoo Oct 14, 2024
f6198d5
Fix video ads in unified stack
siddharth-sahoo Oct 16, 2024
635b09c
Include comment for future expansion
siddharth-sahoo Oct 16, 2024
3fdc83a
Add label to video ad frame
siddharth-sahoo Oct 16, 2024
711ff5a
Fix reference to current script
siddharth-sahoo Oct 16, 2024
101602d
Refactor routers into individual modules
siddharth-sahoo Oct 17, 2024
90822f7
Revert "Refactor routers into individual modules"
siddharth-sahoo Oct 17, 2024
72a70a4
Revert moving getBidPrice()
siddharth-sahoo Oct 17, 2024
a675e6e
Add comments for interest-group-helper
siddharth-sahoo Oct 17, 2024
dacdd67
Upgrade to using SSP macros for video ads
siddharth-sahoo Oct 17, 2024
6ce52c4
fix lint
siddharth-sahoo Oct 17, 2024
868d43c
Fix contextual advertiser name
siddharth-sahoo Oct 17, 2024
025ef05
Address review comments
siddharth-sahoo Oct 18, 2024
cb12c7d
Add cicde .env files
siddharth-sahoo Oct 18, 2024
7431b29
Showcase ad types and seller combinations
siddharth-sahoo Oct 20, 2024
09ed95f
Break down news pages into components
siddharth-sahoo Oct 20, 2024
7fa55e9
Add additional page context to adUnit
siddharth-sahoo Oct 21, 2024
c33ab24
Add new http headers
siddharth-sahoo Oct 22, 2024
30a065d
fix lint
siddharth-sahoo Oct 23, 2024
7e674f3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 23, 2024
04c1730
Add additional comments
siddharth-sahoo Oct 23, 2024
1541f93
Merge branch 'ms' of github.com:siddharth-sahoo/privacy-sandbox-demos…
siddharth-sahoo Oct 23, 2024
a7f93f0
Merge pull request #425 from siddharth-sahoo/ms
siddharth-sahoo Oct 25, 2024
c75ecd5
Merge branch 'dev' of https://github.com/privacysandbox/privacy-sandb…
siddharth-sahoo Oct 25, 2024
79d4d2b
Rebase to latest on dev
siddharth-sahoo Oct 25, 2024
f195415
Merge pull request #426 from siddharth-sahoo/unified
siddharth-sahoo Oct 25, 2024
7f1098a
Make bidding and decision logic script more readable
siddharth-sahoo Oct 25, 2024
aaa5d35
Remove extra log statement
siddharth-sahoo Oct 25, 2024
18f0e96
Remove extra comment line
siddharth-sahoo Oct 25, 2024
5814003
Merge pull request #427 from siddharth-sahoo/buyer-signal
siddharth-sahoo Oct 26, 2024
60bfae6
Update index.ejs
siddharth-sahoo Oct 29, 2024
e30e8f4
Update CI/CD with Cloud Build for the Unified stack
Seburan Oct 29, 2024
6511c85
update ci/cd amend last commit
Seburan Oct 29, 2024
002d39a
remove unused origin trial token
Seburan Oct 29, 2024
705f928
Initial implementation of deals e2e
siddharth-sahoo Oct 29, 2024
d8f03b2
Add reporting for buyers
siddharth-sahoo Oct 29, 2024
2b01662
Merge pull request #428 from Seburan/unified-cloudbuild
siddharth-sahoo Nov 1, 2024
9468f4b
Minor update to test push a change
siddharth-sahoo Nov 1, 2024
2816334
Merge pull request #430 from privacysandbox/siddharth-sahoo-patch-2
Seburan Nov 1, 2024
f769967
Fix firebase deploy script errors
Seburan Nov 1, 2024
df7d7fe
Implement deals with update IG flow
siddharth-sahoo Oct 25, 2024
0341d8b
Fix comments, accidental duplications from merges
siddharth-sahoo Nov 1, 2024
c3ddc23
Simplify top level seller decision logic
siddharth-sahoo Nov 1, 2024
a243122
Dont redirect auction win, add comments
siddharth-sahoo Nov 1, 2024
d3ec512
Add interest group interface comments
siddharth-sahoo Nov 1, 2024
9a1f307
Merge pull request #431 from Seburan/unified-cloudbuild
siddharth-sahoo Nov 1, 2024
40afe6d
Merge branch 'dev' of https://github.com/privacysandbox/privacy-sandb…
siddharth-sahoo Nov 1, 2024
e7e49ea
Merge pull request #454 from siddharth-sahoo/dev
siddharth-sahoo Nov 4, 2024
2ef5df9
Merge pull request #458 from privacysandbox/dev
siddharth-sahoo Nov 5, 2024
07c866c
dependabot config :
Seburan Nov 6, 2024
fa99a34
update pre commit config :
Seburan Nov 6, 2024
f6e6e67
Merge pull request #459 from Seburan/depdency-fix
Seburan Nov 11, 2024
0000fd9
UC-6 changes
jon-m-google Nov 15, 2024
c31366b
Change product_tags to productTags
jon-m-google Nov 15, 2024
7e7b867
Skeleton for Synthetic Monitoring with Cloud Monitoring
Seburan Nov 15, 2024
367c5a3
clean cloud_run deploy script (minor changes)
Seburan Nov 15, 2024
c6058b8
cleanup .gcloudignore :
Seburan Nov 15, 2024
6c07a14
Remove DSP_HOST from news page
jon-m-google Nov 22, 2024
421905c
Merge pull request #462 from jon-m-google/uc-publisher-ads-req-4
jon-m-google Nov 22, 2024
3404552
Merge branch 'dev' of https://github.com/privacysandbox/privacy-sandb…
siddharth-sahoo Nov 22, 2024
2e314a8
Incorporate pub ad quality use-case into unified stack.
siddharth-sahoo Nov 22, 2024
9d40975
Always execute sequential auctions
siddharth-sahoo Nov 22, 2024
c21b17d
Delete duplicate services
siddharth-sahoo Nov 24, 2024
eb0ec55
Merge upstream unified
siddharth-sahoo Nov 24, 2024
ec7f8fb
Merge ad-tech index pages and clean up template utils
siddharth-sahoo Nov 24, 2024
2d2adf4
Prepare for ARA helper refactoring
siddharth-sahoo Nov 24, 2024
b89d78b
Simplify ARA helper lib
sidsahoo-google Nov 25, 2024
af40ce5
Merge pull request #464 from siddharth-sahoo/dev
siddharth-sahoo Nov 25, 2024
42443c2
Merge pull request #465 from privacysandbox/dev
siddharth-sahoo Nov 25, 2024
776fd88
Delete duplicate services
siddharth-sahoo Nov 24, 2024
abb99d0
Pull upstream/unified
siddharth-sahoo Nov 25, 2024
4eb4e9d
Merge branch 'unified' of github.com:siddharth-sahoo/privacy-sandbox-…
siddharth-sahoo Nov 25, 2024
d6e174e
Add comments
siddharth-sahoo Nov 25, 2024
edc987b
Merge pull request #466 from siddharth-sahoo/unified
siddharth-sahoo Nov 25, 2024
62ca701
Merge branch 'unified' of github.com:siddharth-sahoo/privacy-sandbox-…
siddharth-sahoo Nov 25, 2024
a547fc3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 25, 2024
ae698cd
Merge branch 'arapi' of github.com:siddharth-sahoo/privacy-sandbox-de…
siddharth-sahoo Nov 25, 2024
eccf3e6
Address review feedback
siddharth-sahoo Nov 25, 2024
f2b6a78
Merge pull request #467 from siddharth-sahoo/arapi
siddharth-sahoo Nov 25, 2024
4cf55a6
ARA bug fix
siddharth-sahoo Nov 25, 2024
3102630
Fix comment
siddharth-sahoo Nov 25, 2024
21e23fa
Merge pull request #468 from siddharth-sahoo/arapi
siddharth-sahoo Nov 25, 2024
332b10c
Merge pull request #469 from privacysandbox/unified
Seburan Nov 29, 2024
a753874
Merge pull request #1 from Seburan/dev
Seburan Nov 29, 2024
340c4fa
Synthetic Monitoring and Uptime Checks updates :
Seburan Nov 29, 2024
1133b2f
Merge pull request #463 from Seburan/synthetic-monitoring
Seburan Nov 29, 2024
f583627
remove unused topics-server to clean codebase
Seburan Nov 29, 2024
dc64bf2
Docs for UC-6
jon-m-google Dec 2, 2024
1f9c644
Merge pull request #472 from Seburan/remove-topics-server
siddharth-sahoo Dec 2, 2024
27a52a8
UC-6 Doc change requests from Severin:
jon-m-google Dec 3, 2024
158f71a
UC-6 Doc change requests from Sid:
jon-m-google Dec 3, 2024
296900b
Merge pull request #492 from jon-m-google/uc6-docs-4
Seburan Dec 4, 2024
b768397
Reintegrate the single-seller auction setup
siddharth-sahoo Dec 9, 2024
e8509e8
Update list of demos
siddharth-sahoo Dec 9, 2024
c8b5fae
mta - write to shared storage
sidneyzanetti Dec 11, 2024
ee9092a
Address review comments
siddharth-sahoo Dec 11, 2024
185baf3
mta - read and send report
sidneyzanetti Dec 11, 2024
4c53cad
json wrong format in the comment
sidneyzanetti Dec 11, 2024
b620050
Add MTA docs to docusaurus
sidneyzanetti Oct 10, 2024
80ac5ac
Apply suggestions from code review
sidneyzanetti Dec 11, 2024
39e2c53
Add github-repo-stats workflow file
Seburan Dec 13, 2024
6e020ba
Applying suggestions from PR
sidneyzanetti Dec 13, 2024
2c3fa01
Renaming variable budget to purchaseValue
sidneyzanetti Dec 13, 2024
d7826a3
Apply suggestions from PR code review
sidneyzanetti Dec 13, 2024
5a106ef
Rename mta-static-ad to static-ad
sidneyzanetti Dec 13, 2024
99b6859
Rename PSDemo util functions
siddharth-sahoo Dec 17, 2024
f8a451c
Merge pull request #494 from siddharth-sahoo/dev
siddharth-sahoo Dec 17, 2024
f0117cc
Merge pull request #502 from sidneyzanetti/multi_touch_attribution_un…
siddharth-sahoo Dec 17, 2024
2de474e
Merge pull request #503 from Seburan/add-github-repo-stats
siddharth-sahoo Dec 17, 2024
caff369
Update monitoring_deploy.sh
siddharth-sahoo Dec 17, 2024
8f59375
Merge pull request #471 from privacysandbox/synthetic-monitoring
siddharth-sahoo Dec 17, 2024
2b8a48c
upgrade home service with docusaurus v3.6.3
Seburan Dec 13, 2024
f3cf1c9
remove unused algolia configuration
Seburan Dec 13, 2024
7e173c0
run npm audit fix
Seburan Dec 13, 2024
d25c19e
Add measurement ID to docusaurus configuration
Seburan Dec 17, 2024
a41e0a9
Update prod home environment variables
Seburan Dec 17, 2024
200467f
[cloudbuid] reorganize the order of the build
Seburan Dec 17, 2024
2c5203c
[cloudbuid] add environment variables when building home site
Seburan Dec 17, 2024
a0e8810
Update .env
siddharth-sahoo Dec 17, 2024
4ac7f97
Update cicd/.env.dev
siddharth-sahoo Dec 17, 2024
9241973
Update cicd/.env.prod
siddharth-sahoo Dec 17, 2024
a8fef79
Merge pull request #504 from Seburan/add-home-analytics2
siddharth-sahoo Dec 17, 2024
04ada3a
[home] fix UNDEFINED value for home measurement ID
Seburan Dec 17, 2024
466cd39
[home] add configuration for Google Tag Manager
Seburan Dec 20, 2024
f03620d
[home] add cookie banner using react-cookie-consent in docusaurus.
Seburan Jan 10, 2025
a5e49c6
[pre-commit] updates
Seburan Jan 10, 2025
e6ed1b2
[github-actions] Scorecard analysis workflow
Seburan Jan 10, 2025
f30f82f
Merge pull request #528 from Seburan/fix-repo-config
siddharth-sahoo Jan 10, 2025
5b7643a
add docker-compose down command to clean npm script
chasinandrew Jan 13, 2025
6fe3184
Merge pull request #529 from privacysandbox/fix/inconsistent-docker-v…
siddharth-sahoo Jan 13, 2025
c4be134
[pre-commit] updates
Seburan Jan 10, 2025
0ac09e5
[github-actions] Scorecard analysis workflow
Seburan Jan 10, 2025
86b5930
add docker-compose down command to clean npm script
chasinandrew Jan 13, 2025
c570182
[home] Upgrade docusaurus to 3.7
Seburan Jan 16, 2025
d427aa4
[home] cookie notification bar
Seburan Jan 16, 2025
679b961
[home] remove unused import
Seburan Jan 16, 2025
083249f
Merge pull request #527 from Seburan/home-analytics-banner
siddharth-sahoo Jan 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions .demos
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# list of use case demos
DEMOS=("uc-single-touch-conversion" "uc-remarketing" "uc-vast-video-paapi" "uc-video-multi-seller-seq-auction-paapi")

# For each use case we need their Cloud Function Entry Point
typeset -A DEMO_MONITORING_ENTRYPOINT
DEMO_MONITORING_ENTRYPOINT[uc-single-touch-conversion]=MonitorUcSingleTouchConversion
DEMO_MONITORING_ENTRYPOINT[uc-remarketing]=MonitorUcRemarketing
DEMO_MONITORING_ENTRYPOINT[uc-vast-video-paapi]=MonitorUcVastVideoPaapi
DEMO_MONITORING_ENTRYPOINT[uc-video-multi-seller-seq-auction-paapi]=MonitorUcVideoMultiSellerSeqAuctionPaapi

# For each use case we need to define the Synethtic Monitor Title
typeset -A DEMO_TITLE
DEMO_TITLE[uc-single-touch-conversion]="Single-touch conversion Attribution"
DEMO_TITLE[uc-remarketing]="Remarketing"
DEMO_TITLE[uc-vast-video-paapi]="Instream VAST video ad in a Protected Audience single-seller auction"
DEMO_TITLE[uc-video-multi-seller-seq-auction-paapi]="Instream video ad in a Protected Audience multi-seller sequential auction setup"
27 changes: 17 additions & 10 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,37 @@ 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" "topics" "topics-server" "ad-server")
SERVICES=("home" "news" "shop" "travel" "dsp" "dsp-a" "dsp-b" "ssp" "ssp-a" "ssp-b" "idp" "ad-server")

DEMO_HOST_PREFIX=privacy-sandbox-demos-

# home
HOME_HOST=privacy-sandbox-demos-home.dev
HOME_URI=http://privacy-sandbox-demos-home.dev:8080
HOME_TOKEN=""
HOME_DETAIL="Home page of Privacy Sandbox Demos"
# Measurement ID for Google Analytics
HOME_MEASUREMENT_ID="G-12345ABCDE"
# Container ID for Google Tag Manager
HOME_TAG_CONTAINER_ID="GTM-12345ABC"

# Publisher
## news
NEWS_HOST=privacy-sandbox-demos-news.dev
NEWS_URI=http://privacy-sandbox-demos-news.dev:8080
NEWS_TOKEN=""
NEWS_DETAIL="Publisher: News media site"


# Advertizer
## shop
SHOP_HOST=privacy-sandbox-demos-shop.dev
SHOP_URI=http://privacy-sandbox-demos-shop.dev:8080
SHOP_TOKEN=""
SHOP_DETAIL="Advertiser: EC shopping site"

## travel
TRAVEL_HOST=privacy-sandbox-demos-travel.dev
TRAVEL_URI=http://privacy-sandbox-demos-travel.dev:8080
TRAVEL_TOKEN=""
TRAVEL_DETAIL="Advertiser: EC travel site"

Expand Down Expand Up @@ -78,16 +87,14 @@ IDP_DETAIL="Identity Provider for relying parties. Also Issuing Private State To

## Topics related
## site to observe topics
TOPICS_MOTO_HOST=motorcycles.privacy-sandbox-demos-news.dev
TOPICS_SOCCER_HOST=soccer.privacy-sandbox-demos-news.dev
TOPICS_GARDENING_HOST=gardening.privacy-sandbox-demos-news.dev
MOTO_NEWS_HOST=motorcycles.privacy-sandbox-demos-news.dev
MOTO_NEWS_URI=http://motorcycles.privacy-sandbox-demos-news.dev:8080
SOCCER_NEWS_HOST=soccer.privacy-sandbox-demos-news.dev
SOCCER_NEWS_URI=http://soccer.privacy-sandbox-demos-news.dev:8080
GARDENING_NEWS_HOST=gardening.privacy-sandbox-demos-news.dev
GARDENING_NEWS_URI=http://gardening.privacy-sandbox-demos-news.dev:8080
TOPICS_DETAIL="Topics page"

## server to request topics with headers
TOPICS_SERVER_HOST=topics-server.privacy-sandbox-demos-news.dev
TOPICS_SERVER_URI=http://topics-server.privacy-sandbox-demos-news.dev:8080
TOPICS_SERVER_DETAIL="Topics server"

## ad server
AD_SERVER_HOST=privacy-sandbox-demos-ad-server.dev
AD_SERVER_URI=http://privacy-sandbox-demos-ad-server.dev:8080
Expand Down
6 changes: 4 additions & 2 deletions .env.deploy.template
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Deployment
# Deployment env vars used by shell scripts
GCP_PROJECT_NAME=
FIREBASE_HOSTING_DOMAIN=
FIREBASE_HOSTING_DOMAIN=
GCP_REGION=us-central1
ENV_FILE=cicd/.env.dev
8 changes: 1 addition & 7 deletions .gcloudignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# ref : https://cloud.google.com/sdk/gcloud/reference/topic/gcloudignore

#!include:.gitignore

.gcloudignore
.git
.gitignore
services/home/.docusaurus
services/shop/.next

# include services/home/build/* files into `gcloud builds submit` command
# DEPRECATED as we now build html files with ci/cd
# !services/home/build
#!include:.gitignore
54 changes: 0 additions & 54 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,57 +85,3 @@ updates:
prefix: "[home] "
include: "scope"
open-pull-requests-limit: 3
- package-ecosystem: npm
directory: "/services/dsp"
schedule:
interval: "monthly"
rebase-strategy: disabled
commit-message:
prefix: "[dsp] "
include: "scope"
open-pull-requests-limit: 3
- package-ecosystem: npm
directory: "/services/ssp"
schedule:
interval: "monthly"
rebase-strategy: disabled
commit-message:
prefix: "[ssp] "
include: "scope"
open-pull-requests-limit: 3
- package-ecosystem: npm
directory: "/services/news"
schedule:
interval: "monthly"
rebase-strategy: disabled
commit-message:
prefix: "[news] "
include: "scope"
open-pull-requests-limit: 3
- package-ecosystem: npm
directory: "/services/shop"
schedule:
interval: "monthly"
rebase-strategy: disabled
commit-message:
prefix: "[shop] "
include: "scope"
open-pull-requests-limit: 3
- package-ecosystem: npm
directory: "/services/travel"
schedule:
interval: "monthly"
rebase-strategy: disabled
commit-message:
prefix: "[travel] "
include: "scope"
open-pull-requests-limit: 3
- package-ecosystem: gomod
directory: "/services/collector/src"
schedule:
interval: "monthly"
rebase-strategy: disabled
commit-message:
prefix: "[collector] "
include: "scope"
open-pull-requests-limit: 3
19 changes: 19 additions & 0 deletions .github/workflows/github-repo-stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: github-repo-stats

on:
schedule:
# Run this once per day, towards the end of the day for keeping the most
# recent data point most meaningful (hours are interpreted in UTC).
- cron: "0 23 * * *"
workflow_dispatch: # Allow for running this manually.

jobs:
j1:
name: github-repo-stats
runs-on: ubuntu-latest
steps:
- name: run-ghrs
# Use latest release.
uses: jgehrcke/github-repo-stats@RELEASE
with:
ghtoken: ${{ secrets.ghrs_github_api_token }}
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
# uploads of run results in SARIF format to the repository Actions tab.
# https://docs.github.com/en/actions/advanced-guides/storing-workflow-data-as-artifacts
- name: "Upload artifact"
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: SARIF file
path: results.sarif
Expand All @@ -60,6 +60,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard (optional).
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@4355270be187e1b672a7a1c7c7bae5afdc1ab94a # v3.24.10
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ build
*pem
.firebase
.firebaserc
.env.deploy
.env.deploy
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ repos:
- yaml

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.13.0
rev: v0.17.1
hooks:
- id: markdownlint-cli2
name: lint markdown
Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Privacy Sandbox Demos

A use case demo library for [Privacy Sandbox APIs](https://developer.chrome.com/en/docs/privacy-sandbox/) on the web.
A use case demo library for the [Privacy Sandbox APIs](https://developer.chrome.com/en/docs/privacy-sandbox/) on the web.

## Motivation

Expand All @@ -25,6 +25,7 @@ This repository contains :
- 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
Expand All @@ -34,12 +35,13 @@ you have a look at our [Google-hosted instances](https://privacy-sandbox-demos.d

The current release supports the following use cases:

| **Category** | **Use Case** | **Privacy Sandbox APIs** | **Relevant for** |
| :---------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------: | :----------------------------------------: |
| Show Relevant Video Ads | [Instream VAST video ad in a Protected Audience multi-seller auction](services/home/docs/demos/instream-video-ad-multi-seller.md) | Protected Audience API | Publisher, Ad Server, SSP, Advertiser, DSP |
| Show Relevant Video Ads | [Instream VAST video ad in a Protected Audience single-seller auction](services/home/docs/demos/vast-video-protected-audience.md) | Protected Audience API | Publisher, SSP, Advertiser, DSP |
| Show Relevant Content and Ads | [Retargeting / Remarketing](services/home/docs/demos/retargeting-remarketing.md) | Protected Audience API | Publisher, SSP, Advertiser, DSP |
| Measure Digital Ads | [Single-touch conversion Attribution](services/home/docs/demos/single-touch-conversion-attribution.md) | Attribution Reporting API, Aggregation Service | Publisher, SSP, Advertiser, DSP |
| **Category** | **Use Case** | **Privacy Sandbox APIs** | **Relevant for** |
| :---------------------------: | :-------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------: | :----------------------------------------: |
| Show Relevant Video Ads | [Instream VAST video ad in a Protected Audience multi-seller auction](services/home/docs/demos/instream-video-ad-multi-seller.md) | Protected Audience API | Publisher, Ad Server, SSP, Advertiser, DSP |
| Show Relevant Video Ads | [Instream VAST video ad in a Protected Audience single-seller auction](services/home/docs/demos/vast-video-protected-audience.md) | Protected Audience API | Publisher, SSP, Advertiser, DSP |
| Show Relevant Content and Ads | [Retargeting / Remarketing](services/home/docs/demos/retargeting-remarketing.md) | Protected Audience API | Publisher, SSP, Advertiser, DSP |
| Measure Digital Ads | [Single-touch conversion Attribution](services/home/docs/demos/single-touch-conversion-attribution.md) | Attribution Reporting API, Aggregation Service | Publisher, SSP, Advertiser, DSP |
| Measure Digital Ads | [Multi-touch conversion Attribution](services/home/docs/demos/multi-touch-conversion-attribution.md) | Private Aggregation, Shared Storage, Aggregation Service | Publisher, Advertiser, DSP |

These use cases are based on a set of demo apps and services that we have developed to simulate the actors in the ad tech ecosystem :

Expand Down
30 changes: 19 additions & 11 deletions cicd/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,38 @@ 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" "topics" "topics-server" "ad-server")
SERVICES=("home" "news" "shop" "travel" "dsp" "dsp-a" "dsp-b" "ssp" "ssp-a" "ssp-b" "idp" "ad-server")

DEMO_HOST_PREFIX=privacy-sandcastle-dev-

# home
HOME_HOST=privacy-sandcastle-dev-home.web.app
HOME_URI=https://privacy-sandcastle-dev-home.web.app
HOME_TOKEN=""
HOME_DETAIL="Home page of Privacy Sandbox Demos"
# Measurement ID for Google Analytics
HOME_MEASUREMENT_ID="G-6V8T201H6F"
# Container ID for Google Tag Manager
HOME_TAG_CONTAINER_ID="GTM-5BJSXX2D"

# Publisher
## news
NEWS_HOST=privacy-sandcastle-dev-news.web.app
NEWS_URI=https://privacy-sandcastle-dev-news.web.app
NEWS_TOKEN=""
NEWS_DETAIL="Publisher: News media site"


# Advertizer
## shop
SHOP_HOST=privacy-sandcastle-dev-shop.web.app
SHOP_URI=https://privacy-sandcastle-dev-shop.web.app
SHOP_TOKEN=""
SHOP_DETAIL="Advertiser: EC shopping site"

## travel
TRAVEL_HOST=privacy-sandcastle-dev-travel.web.app
TRAVEL_URI=https://privacy-sandcastle-dev-travel.web.app
TRAVEL_TOKEN=""
TRAVEL_DETAIL="Advertiser: EC travel site"

Expand All @@ -35,7 +45,7 @@ TRAVEL_DETAIL="Advertiser: EC travel site"
## dsp
DSP_HOST=privacy-sandcastle-dev-dsp.web.app
DSP_URI=https://privacy-sandcastle-dev-dsp.web.app
DSP_TOKEN="A0nDunxZWFAhYvrWCRTblhlyK3D9m0czMNY/m9t2+pG3i1JHkMDasm8m66CwZS54qMeOepb+d9DYjawtBDbDrQgAAACYeyJvcmlnaW4iOiJodHRwczovL3ByaXZhY3ktc2FuZGNhc3RsZS1kZXYtZHNwLndlYi5hcHA6NDQzIiwiZmVhdHVyZSI6IlByaXZhY3lTYW5kYm94QWRzQVBJcyIsImV4cGlyeSI6MTY5NTE2Nzk5OSwiaXNTdWJkb21haW4iOnRydWUsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0="
DSP_TOKEN=""
DSP_DETAIL="Ad-Platform: DSP for advertiser"

DSP_A_HOST=privacy-sandcastle-dev-dsp-a1.web.app
Expand All @@ -51,7 +61,7 @@ DSP_B_DETAIL="Ad-Platform: DSP-B for advertiser"
## ssp
SSP_HOST=privacy-sandcastle-dev-ssp.web.app
SSP_URI=https://privacy-sandcastle-dev-ssp.web.app
SSP_TOKEN="A3Jo3gcicBIWHTI+QzCeb2h+B4TJX/y8PSngoHtoHeCpnRi2Ny/TFjJ/QtSQhBeS+2x43Jtd5GfksanOOglcVgIAAACYeyJvcmlnaW4iOiJodHRwczovL3ByaXZhY3ktc2FuZGNhc3RsZS1kZXYtc3NwLndlYi5hcHA6NDQzIiwiZmVhdHVyZSI6IlByaXZhY3lTYW5kYm94QWRzQVBJcyIsImV4cGlyeSI6MTY5NTE2Nzk5OSwiaXNTdWJkb21haW4iOnRydWUsImlzVGhpcmRQYXJ0eSI6dHJ1ZX0="
SSP_TOKEN=""
SSP_DETAIL="Ad-Platform: SSP for publisher"

SSP_A_HOST=privacy-sandcastle-dev-ssp-a.web.app
Expand All @@ -78,16 +88,14 @@ IDP_DETAIL="Identity Provider for relying parties. Also Issuing Private State To

## Topics related
## site to observe topics
TOPICS_MOTO_HOST=privacy-sandcastle-dev-motorcycles.web.app
TOPICS_SOCCER_HOST=privacy-sandcastle-dev-soccer-foot.web.app
TOPICS_GARDENING_HOST=privacy-sandcastle-dev-gardening-potager.web.app
MOTO_NEWS_HOST=privacy-sandcastle-dev-motorcycles.web.app
MOTO_NEWS_URI=https://privacy-sandcastle-dev-motorcycles.web.app
SOCCER_NEWS_HOST=privacy-sandcastle-dev-soccer-foot.web.app
SOCCER_NEWS_URI=https://privacy-sandcastle-dev-soccer-foot.web
GARDENING_NEWS_HOST=privacy-sandcastle-dev-gardening-potager.web.app
GARDENING_NEWS_URI=https://privacy-sandcastle-dev-gardening-potager
TOPICS_DETAIL="Topics page"

## server to request topics with headers
TOPICS_SERVER_HOST=privacy-sandcastle-dev-topics-server.web.app
TOPICS_SERVER_URI=https://privacy-sandcastle-dev-topics-server.web.app
TOPICS_SERVER_DETAIL="Topics server"

## ad server
AD_SERVER_HOST=privacy-sandcastle-dev-ad-server.web.app
AD_SERVER_URI=https://privacy-sandcastle-dev-ad-server.web.app
Expand Down
28 changes: 18 additions & 10 deletions cicd/.env.prod
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,38 @@ 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" "topics" "topics-server" "ad-server")
SERVICES=("home" "news" "shop" "travel" "dsp" "dsp-a" "dsp-b" "ssp" "ssp-a" "ssp-b" "idp" "ad-server")

DEMO_HOST_PREFIX=privacy-sandbox-demos-

# home
HOME_HOST=privacy-sandbox-demos-home.dev
HOME_HOST=privacy-sandbox-demos.dev
HOME_URI=https://privacy-sandbox-demos.dev
HOME_TOKEN=""
HOME_DETAIL="Home page of Privacy Sandbox Demos"
# Measurement ID for Google Analytics
HOME_MEASUREMENT_ID="G-2M6L90WK9X"
# Container ID for Google Tag Manager
HOME_TAG_CONTAINER_ID="GTM-TNT5ND8K"

# Publisher
## news
NEWS_HOST=privacy-sandbox-demos-news.dev
NEWS_URI=https://privacy-sandbox-demos-news.dev
NEWS_TOKEN=""
NEWS_DETAIL="Publisher: News media site"


# Advertizer
## shop
SHOP_HOST=privacy-sandbox-demos-shop.dev
SHOP_URI=https://privacy-sandbox-demos-shop.dev
SHOP_TOKEN=""
SHOP_DETAIL="Advertiser: EC shopping site"

## travel
TRAVEL_HOST=privacy-sandbox-demos-travel.dev
TRAVEL_URI=https://privacy-sandbox-demos-travel.dev
TRAVEL_TOKEN=""
TRAVEL_DETAIL="Advertiser: EC travel site"

Expand Down Expand Up @@ -78,16 +88,14 @@ IDP_DETAIL="Identity Provider for relying parties. Also Issuing Private State To

## Topics related
## site to observe topics
TOPICS_MOTO_HOST=motorcycles.privacy-sandbox-demos-news.dev
TOPICS_SOCCER_HOST=soccer.privacy-sandbox-demos-news.dev
TOPICS_GARDENING_HOST=gardening.privacy-sandbox-demos-news.dev
MOTO_NEWS_HOST=motorcycles.privacy-sandbox-demos-news.dev
MOTO_NEWS_URI=https://motorcycles.privacy-sandbox-demos-news.dev
SOCCER_NEWS_HOST=soccer.privacy-sandbox-demos-news.dev
SOCCER_NEWS_URI=https://soccer.privacy-sandbox-demos-news.dev
GARDENING_NEWS_HOST=gardening.privacy-sandbox-demos-news.dev
GARDENING_NEWS_URI=https://gardening.privacy-sandbox-demos-news.dev
TOPICS_DETAIL="Topics page"

## server to request topics with headers
TOPICS_SERVER_HOST=topics-server.privacy-sandbox-demos-news.dev
TOPICS_SERVER_URI=https://topics-server.privacy-sandbox-demos-news.dev
TOPICS_SERVER_DETAIL="Topics server"

## ad server
AD_SERVER_HOST=privacy-sandbox-demos-ad-server.dev
AD_SERVER_URI=https://privacy-sandbox-demos-ad-server.dev
Expand Down
Loading
Loading