<commit_before>---
layout: page_v2
page_type: module
title: Module - GPT Pre-Auction
description: Adds PB Ad Slot and matching GAM ad unit name to each ad unit's first-party data before bid requests are sent to the adapters
module_code : gptAPreAuction
display_name : GPT Pre-Auction
enable_download : true
sidebarType : 1
---

# GPT Pre-Auction Module
{:.no_toc}

* TOC
{:toc}

## Overview

This module enables targeting and tracking at the ad server adunit level.

Enabled by default if compiled into your package, this module will add the [Prebid Ad Slot](/features/pbAdSlot.html) and matching GAM ad unit name to each ad unit's first-party data before bid requests are sent to the adapters.

* **Prebid.js Adapters** - will be able to utilize these values as:
    * AdUnit.fpd.context.adServer.name="gam"
    * AdUnit.fpd.context.adServer.adSlot="/1111/home"
    * AdUnit.fpd.context.pbAdSlot="/1111/home-left"
* **Prebid Server Adapters** - will see the OpenRTB as:
    * imp[].ext.context.data.adserver.name
    * imp[].ext.context.data.adserver.adslot
    * imp[].ext.context.data.pbadslot

## Configuration

{: .alert.alert-info :}
Unlike many other modules, the GPT Pre-Auction Module is on by default if it's compiled
into the Prebid.js package.<commit_msg>fixed download code for GPT Pre Auction (#2673)<commit_after>---
layout: page_v2
page_type: module
title: Module - GPT Pre-Auction
description: Adds PB Ad Slot and matching GAM ad unit name to each ad unit's first-party data before bid requests are sent to the adapters
module_code : gptPreAuction
display_name : GPT Pre-Auction
enable_download : true
sidebarType : 1
---

# GPT Pre-Auction Module
{:.no_toc}

* TOC
{:toc}

## Overview

This module enables targeting and tracking at the ad server adunit level.

Enabled by default if compiled into your package, this module will add the [Prebid Ad Slot](/features/pbAdSlot.html) and matching GAM ad unit name to each ad unit's first-party data before bid requests are sent to the adapters.

* **Prebid.js Adapters** - will be able to utilize these values as:
    * AdUnit.fpd.context.adServer.name="gam"
    * AdUnit.fpd.context.adServer.adSlot="/1111/home"
    * AdUnit.fpd.context.pbAdSlot="/1111/home-left"
* **Prebid Server Adapters** - will see the OpenRTB as:
    * imp[].ext.context.data.adserver.name
    * imp[].ext.context.data.adserver.adslot
    * imp[].ext.context.data.pbadslot

## Configuration

{: .alert.alert-info :}
Unlike many other modules, the GPT Pre-Auction Module is on by default if it's compiled
into the Prebid.js package.
{'fraction_non_alphanumeric': 0.09933774834437085, 'fraction_numerical': 0.009349435138293729, 'mean_word_length': 3.9961089494163424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3610958', 'n_tokens_mistral': 860, 'n_tokens_neox': 813, 'n_words': 292}