Google Publisher Tag (GPT)

Google Publisher Tag (GPT) (google/google-publisher-tag)

operated by: Google LLC (get company information on datarequests.org)
The Google Publisher Tag (GPT) is an ad tagging library for Google Ad Manager. Source By default, Google serves personalized ads through GPT, “with ad selection based on both the content of the web page and the history of the individual user visiting the page.” Source

Endpoint URLs

These are URLs or regexes of endpoints the tracker sends data to. We use these to determine which adapter to apply to a request. Some trackers use the same endpoint for several formats. In this case we use additional logic to match the adapter to the request, refer to the code for more information.
  • https://securepubads.g.doubleclick.net/tag/js/gpt.js
  • https://www.googletagservices.com/tag/js/gpt.js
  • /https:\/\/securepubads\.g\.doubleclick\.net\/pagead\/managed\/js\/gpt\/.+\/pubads_impl\.js/
  • /https:\/\/securepubads\.g\.doubleclick\.net\/pagead\/managed\/js\/gpt\/.+\/pubads_impl_page_level_ads\.js/

Decoding steps

Every tracking library has its own way of transmitting tracking data, often even several. They are regularly pretty convoluted, nested encoding schemes. Because of that, the adapter needs to decode the request information into a consistent format. We try to keep keys and paths intact, but the structure results from our decoding. All steps used in the decoding for this adapter are documented here.
  1. Parse the query string in the request path as a query string. Store that in the result for the query string.
  2. Get the property at JSONPath $ in the request headers. Store that in the result for the request headers.
  3. Get the cookie $. Store that in the result for the cookies.
1res.query = parseQueryString(query)
2res.header = header.$
3res.cookie = cookie.$

Observed data transmissions

This is data that we observed being transmitted by this tracker. Not every request contains all of this data. The context of the data describes where we found the data in the request, the path describes the location of the data in the decoded request. The examples are a selection of observed values.
PropertyContextPathExamples of observed values
App IDheaderx-requested-withcom.ubimet.uwz
com.motorsportmagazin
de.tagesspiegel.epaper.android.uni
de.zeit.online
com.google.android.apps.magazines
Other unique identifiercookieIDE More details on how we identified this propertyAHWqTUmLHXRj6pd4zDOmfVUcAZyjMLwgV4XY3Gpxg5r12dfr3Y4i2WN3WOZnphNXzx0
AHWqTUmNKwjYJuKJPGa5eWXi1cZ7yI5SpPuE90EAFPhh1pB77LIrQRfKQnsMj9p_I8Q
AHWqTUnZiarpEGu44JgkirF3YYL44lWFihsbPnisqT4-_38shxSfPCdUZ84U2EAtpwY
AHWqTUmI3Tt0oxli3tU8YhvngAZGXrDvz2Phs3bP0dEKhIspe8xNOiyuZ3hrsiiz
AHWqTUmzl21isry1_cXVv0QLZJBK5cSaVyPC101hUQ-nmU4CfCF5wwmKz2Y9TXGs
ID for the property (website/app)querynetwork-code Tracker documentation on this property22152718
Refererheaderrefererhttps://uwz-at.ubimet.com/
https://msm-app/index/https:%2F%2Fmsmraw.motorsport-magazin.com
https://www.der-postillon.com/
https://www.nytimes.com/
https://www.zeit.de/
headerRefererhttps://uwz-at.ubimet.com/
https://msm-app/index/https:%2F%2Fmsmraw.motorsport-magazin.com
https://www.der-postillon.com/
https://www.nytimes.com/
https://www.zeit.de/
References