File tree Expand file tree Collapse file tree
crates/common/src/integrations Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010//! 4. Auxiliary scripts – viewability, monitoring, error reporting
1111//!
1212//! All of these are served from `securepubads.g.doubleclick.net`. The
13- //! integration proxies these scripts
14- //! through the publisher's domain while a client-side shim intercepts
15- //! dynamic script insertions and rewrites their URLs to the first-party
16- //! proxy so that every subsequent fetch in the cascade routes back through
17- //! the trusted server.
13+ //! integration proxies these scripts through the publisher's domain
14+ //! while a client-side shim intercepts dynamic script insertions and
15+ //! rewrites their URLs to the first-party proxy so that every
16+ //! subsequent fetch in the cascade routes back through the trusted
17+ //! server.
1818//!
1919//! ## How It Works
2020//!
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ rewrite_script = true
7373- ` GET /integrations/gpt/pagead/* ` -- Proxies secondary GPT scripts and resources
7474- ` GET /integrations/gpt/tag/* ` -- Proxies tag-path resources
7575
76- Successful proxy responses include ` X-GPT-Proxy: true ` and ` X-Script-Source ` headers for debugging.
76+ Successful proxy responses include the ` X-GPT-Proxy: true ` header for debugging.
7777
7878## Features
7979
@@ -147,8 +147,8 @@ Takes over `googletag.cmd` so every queued callback is wrapped before GPT execut
147147
148148## Implementation
149149
150- - ** Rust** : [ crates/common/src/integrations/gpt.rs] ( https://github.com/AnomalyCo /trusted-server/blob/main/crates/common/src/integrations/gpt.rs )
151- - ** TypeScript** : [ crates/js/lib/src/integrations/gpt/] ( https://github.com/AnomalyCo /trusted-server/blob/main/crates/js/lib/src/integrations/gpt/ )
150+ - ** Rust** : [ crates/common/src/integrations/gpt.rs] ( https://github.com/IABTechLab /trusted-server/blob/main/crates/common/src/integrations/gpt.rs )
151+ - ** TypeScript** : [ crates/js/lib/src/integrations/gpt/] ( https://github.com/IABTechLab /trusted-server/blob/main/crates/js/lib/src/integrations/gpt/ )
152152
153153## Next Steps
154154
You can’t perform that action at this time.
0 commit comments