diff --git a/_includes/video/head.html b/_includes/video/head.html
index 069581a519..4db1051913 100644
--- a/_includes/video/head.html
+++ b/_includes/video/head.html
@@ -54,7 +54,7 @@
pbjs.requestBids({
bidsBackHandler: function(bids) {
- var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
+ var videoUrl = pbjs.adServers.gam.buildVideoUrl({
adUnit: videoAdUnit,
params: {
iu: '/19968336/prebid_cache_video_adunit',
diff --git a/assets/js/video/pb-is-jw-01.js b/assets/js/video/pb-is-jw-01.js
index ec05dfcb8f..34dc298029 100644
--- a/assets/js/video/pb-is-jw-01.js
+++ b/assets/js/video/pb-is-jw-01.js
@@ -42,7 +42,7 @@ pbjs.que.push(function(){
pbjs.requestBids({
bidsBackHandler: function(bids) {
- var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
+ var videoUrl = pbjs.adServers.gam.buildVideoUrl({
adUnit: videoAdUnit,
params: {
iu: '/19968336/prebid_cache_video_adunit',
diff --git a/assets/js/video/pb-ve-jwplayer-platform-h.js b/assets/js/video/pb-ve-jwplayer-platform-h.js
index eed52dd020..299e2d4684 100644
--- a/assets/js/video/pb-ve-jwplayer-platform-h.js
+++ b/assets/js/video/pb-ve-jwplayer-platform-h.js
@@ -41,7 +41,7 @@ function loadVideoData() {
pbjs.requestBids({
bidsBackHandler: function(bids) {
- var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
+ var videoUrl = pbjs.adServers.gam.buildVideoUrl({
adUnit: videoAdUnit,
params: {
iu: '/19968336/prebid_cache_video_adunit',
diff --git a/dev-docs/examples/instream-banner-mix.md b/dev-docs/examples/instream-banner-mix.md
index a099bc3f42..57753efcf1 100644
--- a/dev-docs/examples/instream-banner-mix.md
+++ b/dev-docs/examples/instream-banner-mix.md
@@ -187,8 +187,8 @@ function initAdserver(bids) {
}
});
- // Build DFP URL with targeting for videoAdUnit
- var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
+ // Build GAM URL with targeting for videoAdUnit
+ var videoUrl = pbjs.adServers.gam.buildVideoUrl({
adUnit: videoAdUnit,
params: {
iu: '/19968336/prebid_cache_video_adunit',
diff --git a/dev-docs/modules/dfp_video.md b/dev-docs/modules/dfp_video.md
index 2ea4b4d631..60b16d3e8f 100644
--- a/dev-docs/modules/dfp_video.md
+++ b/dev-docs/modules/dfp_video.md
@@ -28,8 +28,8 @@ The standard options:
This module exposes the following methods:
-- [`pbjs.adServers.gam.buildVideoUrl`](/dev-docs/publisher-api-reference/adServers.dfp.buildVideoUrl.html)
-- [`pbjs.adServers.gam.getVastXml`](/dev-docs/publisher-api-reference/adServers.dfp.getVastXml.html)
+- [`pbjs.adServers.gam.buildVideoUrl`](/dev-docs/publisher-api-reference/adServers.gam.buildVideoUrl.html)
+- [`pbjs.adServers.gam.getVastXml`](/dev-docs/publisher-api-reference/adServers.gam.getVastXml.html)
# Further Reading
diff --git a/dev-docs/modules/konduit.md b/dev-docs/modules/konduit.md
index 811753be93..e798acf5e1 100644
--- a/dev-docs/modules/konduit.md
+++ b/dev-docs/modules/konduit.md
@@ -110,7 +110,7 @@ pbjs.que.push(function() {
adUnitCode: videoAdUnit[0].code,
timeout: 1500,
callback: function (error, bids) {
- var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
+ var videoUrl = pbjs.adServers.gam.buildVideoUrl({
...
});
diff --git a/dev-docs/plugins/bc/bc-prebid-plugin-prebid-options.md b/dev-docs/plugins/bc/bc-prebid-plugin-prebid-options.md
index 5380e3a9be..0c28b7e060 100644
--- a/dev-docs/plugins/bc/bc-prebid-plugin-prebid-options.md
+++ b/dev-docs/plugins/bc/bc-prebid-plugin-prebid-options.md
@@ -325,7 +325,7 @@ None
Parameters used when using Google Ad Manager as the ad server.
-See prebid.org documentation for [buildVideoUrl](/dev-docs/publisher-api-reference/adServers.dfp.buildVideoUrl.html)
+See prebid.org documentation for [buildVideoUrl](/dev-docs/publisher-api-reference/adServers.gam.buildVideoUrl.html)
**Acceptable Values:**
diff --git a/dev-docs/plugins/cross-player-prebid-component/cross-player-config.md b/dev-docs/plugins/cross-player-prebid-component/cross-player-config.md
index 2e6418c867..ee65cff4a8 100644
--- a/dev-docs/plugins/cross-player-prebid-component/cross-player-config.md
+++ b/dev-docs/plugins/cross-player-prebid-component/cross-player-config.md
@@ -209,7 +209,7 @@ None
Parameters used when using Google Ad Manager (formerly DFP) as the ad server.
-See documentation for [buildVideoUrl](/dev-docs/publisher-api-reference/adServers.dfp.buildVideoUrl.html) for more information.
+See documentation for [buildVideoUrl](/dev-docs/publisher-api-reference/adServers.gam.buildVideoUrl.html) for more information.
**Acceptable Values:**
diff --git a/dev-docs/publisher-api-reference/adServers.dfp.buildVideoUrl.md b/dev-docs/publisher-api-reference/adServers.dfp.buildVideoUrl.md
index 6c8ccae331..0a98367501 100644
--- a/dev-docs/publisher-api-reference/adServers.dfp.buildVideoUrl.md
+++ b/dev-docs/publisher-api-reference/adServers.dfp.buildVideoUrl.md
@@ -5,80 +5,7 @@ description: adServers.dfp.buildVideoUrl API
sidebarType: 1
---
+See [adServers.gam.buildVideoUrl](/dev-docs/publisher-api-reference/adServers.gam.buildVideoUrl.html).
{: .alert.alert-info :}
-The Google Ad Manager implementation of this function requires including the `dfpAdServerVideo` module in your Prebid.js build.
-
-This method combines publisher-provided parameters with Prebid.js targeting parameters to build a Google Ad Manager video ad tag URL that can be used by a video player.
-
-#### Argument Reference
-
-##### The `options` object
-
-{: .table .table-bordered .table-striped }
-| Field | Type | Description |
-|----------+--------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| `adUnit` | object | *Required*. The Prebid ad unit to which the returned URL will map. |
-| `params` | object | *Optional*. Querystring parameters that will be used to construct the Google Ad Manager video ad tag URL. Publisher-supplied values will override values set by Prebid.js. See below for fields. |
-| `url` | string | *Optional*. The video ad server URL. When given alongside params, the parsed URL will be overwritten with any matching components of params. |
-| `bid` | object | *Optional*. The Prebid bid for which targeting will be set. If this is not defined, Prebid will use the bid with the highest CPM for the adUnit. |
-
-{: .alert.alert-warning :}
-One or both of options.params and options.url is required. In other words, you may pass in one, the other, or both, but not neither.
-
-##### The `options.params` object
-
-{: .table .table-bordered .table-striped }
-| Field | Type | Description | Example |
-|-------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------|
-| `iu` | string | *Required*. Google Ad Manager ad unit ID. | `/19968336/prebid_cache_video_adunit` |
-| `cust_params` | object | *Optional*. Key-value pairs merged with Prebid's targeting values and sent to Google Ad Manager on the video ad tag URL. | `{section: "blog", anotherKey: "anotherValue"}` |
-| `description_url` | string | *Optional*. Describes the video. Required for Ad Exchange. Prebid.js will build this for you unless you pass it explicitly. | `https://www.example.com` |
-
-For more information on any of these params, see [the Google Ad Manager video tag documentation](https://support.google.com/admanager/answer/1068325).
-
-#### Examples
-
-There are several different ways to build up your video URL, as shown in the examples below:
-
-Using `options.params` only:
-
-```javascript
-pbjs.requestBids({
- bidsBackHandler: function(bids) {
- var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
- adUnit: videoAdUnit,
- params: {
- iu: '/19968336/prebid_cache_video_adunit',
- cust_params: {
- section: "blog",
- anotherKey: "anotherValue"
- },
- hl: "en",
- output: "xml_vast2",
- url: "https://www.example.com",
- }
- });
- invokeVideoPlayer(videoUrl);
- }
-});
-```
-
-Using `options.url` only:
-
-```javascript
-var adserverTag = 'https://pubads.g.doubleclick.net/gampad/ads?'
-+ 'sz=640x480&iu=/19968336/prebid_cache_video_adunit&impl=s&gdfp_req=1'
-+ '&env=vp&output=xml_vast2&unviewed_position_start=1&hl=en&url=https://www.example.com'
-+ '&cust_params=section%3Dblog%26anotherKey%3DanotherValue';
-
-var videoUrl = pbjs.adServers.dfp.buildVideoUrl({
- adUnit: videoAdUnit,
- url: adserverTag
-});
-```
-
-
-
-{: .alert.alert-warning :}
-In the event of collisions, querystring values passed via `options.params` take precedence over those passed via `options.url`.
+In Prebid 10, the `dfpAdServerVideo` module and the `adServers.dfp.buildVideoUrl` API were renamed to `gamAdServerVideo` and `adServers.gam.buildVideoUrl` respectively.**
diff --git a/dev-docs/publisher-api-reference/adServers.gam.buildVideoUrl.md b/dev-docs/publisher-api-reference/adServers.gam.buildVideoUrl.md
new file mode 100644
index 0000000000..a071056949
--- /dev/null
+++ b/dev-docs/publisher-api-reference/adServers.gam.buildVideoUrl.md
@@ -0,0 +1,84 @@
+---
+layout: api_prebidjs
+title: pbjs.adServers.gam.buildVideoUrl(options)
+description: adServers.gam.buildVideoUrl API
+sidebarType: 1
+---
+
+
+{: .alert.alert-info :}
+The Google Ad Manager implementation of this function requires including the `gamAdServerVideo` module in your Prebid.js build.
+
+This method combines publisher-provided parameters with Prebid.js targeting parameters to build a Google Ad Manager video ad tag URL that can be used by a video player.
+
+## Argument Reference
+
+### The `options` object
+
+{: .table .table-bordered .table-striped }
+| Field | Type | Description |
+|----------+--------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| `adUnit` | object | *Required*. The Prebid ad unit to which the returned URL will map. |
+| `params` | object | *Optional*. Querystring parameters that will be used to construct the Google Ad Manager video ad tag URL. Publisher-supplied values will override values set by Prebid.js. See below for fields. |
+| `url` | string | *Optional*. The video ad server URL. When given alongside params, the parsed URL will be overwritten with any matching components of params. |
+| `bid` | object | *Optional*. The Prebid bid for which targeting will be set. If this is not defined, Prebid will use the bid with the highest CPM for the adUnit. |
+
+{: .alert.alert-warning :}
+One or both of options.params and options.url is required. In other words, you may pass in one, the other, or both, but not neither.
+
+### The `options.params` object
+
+{: .table .table-bordered .table-striped }
+| Field | Type | Description | Example |
+|-------------------+--------+-----------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------|
+| `iu` | string | *Required*. Google Ad Manager ad unit ID. | `/19968336/prebid_cache_video_adunit` |
+| `cust_params` | object | *Optional*. Key-value pairs merged with Prebid's targeting values and sent to Google Ad Manager on the video ad tag URL. | `{section: "blog", anotherKey: "anotherValue"}` |
+| `description_url` | string | *Optional*. Describes the video. Required for Ad Exchange. Prebid.js will build this for you unless you pass it explicitly. | `https://www.example.com` |
+
+For more information on any of these params, see [the Google Ad Manager video tag documentation](https://support.google.com/admanager/answer/1068325).
+
+## Examples
+
+There are several different ways to build up your video URL, as shown in the examples below:
+
+Using `options.params` only:
+
+```javascript
+pbjs.requestBids({
+ bidsBackHandler: function(bids) {
+ var videoUrl = pbjs.adServers.gam.buildVideoUrl({
+ adUnit: videoAdUnit,
+ params: {
+ iu: '/19968336/prebid_cache_video_adunit',
+ cust_params: {
+ section: "blog",
+ anotherKey: "anotherValue"
+ },
+ hl: "en",
+ output: "xml_vast2",
+ url: "https://www.example.com",
+ }
+ });
+ invokeVideoPlayer(videoUrl);
+ }
+});
+```
+
+Using `options.url` only:
+
+```javascript
+var adserverTag = 'https://pubads.g.doubleclick.net/gampad/ads?'
++ 'sz=640x480&iu=/19968336/prebid_cache_video_adunit&impl=s&gdfp_req=1'
++ '&env=vp&output=xml_vast2&unviewed_position_start=1&hl=en&url=https://www.example.com'
++ '&cust_params=section%3Dblog%26anotherKey%3DanotherValue';
+
+var videoUrl = pbjs.adServers.gam.buildVideoUrl({
+ adUnit: videoAdUnit,
+ url: adserverTag
+});
+```
+
+
+
+{: .alert.alert-warning :}
+In the event of collisions, querystring values passed via `options.params` take precedence over those passed via `options.url`.
diff --git a/dev-docs/show-video-with-a-dfp-video-tag.md b/dev-docs/show-video-with-a-dfp-video-tag.md
index b7eba0fbfd..ad9adde953 100644
--- a/dev-docs/show-video-with-a-dfp-video-tag.md
+++ b/dev-docs/show-video-with-a-dfp-video-tag.md
@@ -90,7 +90,7 @@ Next, we need to do the standard Prebid "add ad units and request bids" dance.
In the example below, our callback builds the video URL the player needs using the `buildVideoUrl` method from the Google Ad Manager ad server module that we built into our copy of Prebid.js in the **Prerequisites** section.
-For more information, see the API documentation for [pbjs.adServers.gam.buildVideoUrl](/dev-docs/publisher-api-reference/adServers.dfp.buildVideoUrl.html). Understanding the arguments to this method is *especially* important if you plan to pass any custom parameters to Google Ad Manager. The `params` key in the argument to `buildVideoUrl` supports all parameters from the [Google Ad Manager API](https://support.google.com/admanager/answer/1068325).
+For more information, see the API documentation for [pbjs.adServers.gam.buildVideoUrl](/dev-docs/publisher-api-reference/adServers.gam.buildVideoUrl.html). Understanding the arguments to this method is *especially* important if you plan to pass any custom parameters to Google Ad Manager. The `params` key in the argument to `buildVideoUrl` supports all parameters from the [Google Ad Manager API](https://support.google.com/admanager/answer/1068325).
```javascript
pbjs.que.push(function() {
diff --git a/prebid-video/video-getting-started.md b/prebid-video/video-getting-started.md
index 805ff45123..e28cf9701e 100644
--- a/prebid-video/video-getting-started.md
+++ b/prebid-video/video-getting-started.md
@@ -57,7 +57,7 @@ If you already have a Prebid integration for banner, you don’t need to do anyt
Your first step to implementing header bidding for video is to [download Prebid.js](/download.html). Before downloading, select the adapters you want to include. (You can add more adapters later.)
- Include at least one bid adapter that supports video. Find a list of eligible adapters in [the video bidders table](/dev-docs/bidders.html#bidder-video-native).
-- If Google Ad Manager is your ad server, you must include the [Google Ad Manager Video module](/dev-docs/publisher-api-reference/adServers.dfp.buildVideoUrl.html).
+- If Google Ad Manager is your ad server, you must include the [Google Ad Manager Video module](/dev-docs/publisher-api-reference/adServers.gam.buildVideoUrl.html).
- If you’ll be integrating with Prebid Server, be sure to include “Prebid Server” in the list of adapters.
### How to integrate