Nexx Web tag
The Nexx Web tag is built on the Google Publisher Tag model to simplify integration.
The tag provided below will replace your Google Publisher Tag, which will be embedded into it to establish a connection with your Google Ad Manager account.
The integration, its characteristics and options are described below.
Example of Nexx Web tag
Integrate the following script in the <head>
:
<head>
:Integrate the following script in the <body>
<body>
Then, you need to indicate where the ad unit will appear by integrating the following code in the <body>
at the selected location. The corresponding code must be added for each ad slot defined in the <head>
.
Check that your div ID matches the ID indicated during the ad slot definition.
The corresponding code must be added for each ad placement defined in the<head>
.
Nexx Web tag configuration
The Nexx Web tag needs to be configured with the fields described below at two levels:
n360Ad.setConfig
:
account
: Nexx360 customer ID indicated at the right top of the console.gdpr
: 1 or 0 according to the CMP set up, active or not.timeout
: The value can be modified (2000 is the recommended value).ids
: Enables to configure User ID modules.targeting
: Values enabling the definition of customised attributes for the page. Used for targeting and reporting in Google Ad Manager. Targeting could be also configured via the functionn360Ad.setTargeting
(see below).lazyloading
: See feature's details and settings here.
n360Ad.defineSlot
(or n360Ad.defineOutOfPageSlot
and n360Ad.defineInjectedSlot
):
setNexx360Id
: Placement ID indicated for each line of the placements list.setLabel
: Value allowing to name the ad slot that will be used for Nexx360 reporting.
The setLabel
notion is important and highly recommended because it takes action in monetization. This notion is transferred via the bid request and is used by SSPs to classify inventory.
Typology of ad placements creation
The feature n360Ad.defineSlot
incorporates the principles of googletag.defineSlot
with the same elements.
There is different variants of n360Ad.defineSlot function:
n360Ad.defineOutOfPageSlot
: For an out-of-page ad slot.n360Ad.defineInjectedSlot
: For an injected ad slot. Follow this link to see instruction for integration.n360Ad.defineDynamicSlot
: For a dynamic ad slot. Follow this link to see instruction for integration.
Each field must be replaced by your own configuration parameters:
Ad unit: Fill in the link to the ad unit as defined in the Google Ad Manager inventory.
Size: Selection of inventory sizes for the ad placement.
Div id: Div name that will be added in the
<body>
at the location where the ad slot is to be delivered.
n360Ad.setTargeting
feature enables the definition of customised attributes for the page and/or the ad slot. They are used for targeting and reporting in Google Ad Manager.
The Targeting part of the page could be configured with two different ways:
Via the
n360Ad.setTargeting
function described above.Via the
n360Ad.setConfig function
described here
.
Integration options
Different fields are optionals depending on your configuration.
Amazon SSP integration
You can activate the Amazon SSP with those specific lines of code.
isActive
: 1 or 0 according to the activation or not for Amazon.pubId
: Publisher ID Amazon with 36 characters.
Teads SSP integration with client-side connexion
You can activate Teads SSP (while waiting for its server-side adapter) by adding the following code at the ad slot definition level n360Ad.defineSlot
(operation to repeat for each relevant placement).
setTeadsPageId
: Teads Page IDsetTeadsPlacementId
: Teads Placement ID related to the ad placement
Last updated