Javascript Pixel Integration with DFP

Javascript Pixel Integration with DFP


ClearTrust DFP (GAM) Integration Guide

This guide outlines the steps to integrate ClearTrust with Google Ad Manager (GAM) by creating and configuring a 1x1 ad unit, sponsorship line item, and third-party creative.

Step 1: Create a 1x1 Ad Unit

  1. Log in to Google Ad Manager (GAM): Access your GAM account using your credentials.
  2. Navigate to Inventory: In the left-hand menu, select Inventory > Ad units.
  3. Create a New Ad Unit:
    • Click on New ad unit.
    • Enter a name and code for the ad unit (e.g., ClearTrust_1x1).
    • Set the ad unit size to 1x1.
    • Choose the appropriate settings for placements and descriptions if needed.
    • Click Save.

Step 2: Create a Sponsorship Line Item

  1. Go to Delivery Section: From the left-hand menu, select Delivery > Line items.
  2. Create a New Line Item:
    • Click on New line item and select the associated order or create a new one.
    • Set the line item type to Sponsorship.
    • Assign a name to the line item (e.g., ClearTrust_Sponsorship).
    • Set the goal to 100% for exclusive targeting.
  3. Target the 1x1 Ad Unit:
    • Under targeting, select the 1x1 ad unit created in Step 1.
    • Add any additional targeting criteria if necessary.
  4. Save the Line Item: Click Save to finalize.

Step 3: Upload the ClearTrust Script as a Third-Party Creative

  1. Add a Creative to the Line Item:
    • Go to the line item created in Step 2 and select Add creative.
    • Choose Third-party creative as the type.
  2. Upload the Script:
    • Paste the ClearTrust script into the provided field.
    • Verify that the script complies with GAM's third-party creative guidelines.
  3. Disable SafeFrame:
    • In the creative settings, locate the SafeFrame option.
    • Uncheck SafeFrame to disable it, ensuring the script functions as intended.
  4. Save the Creative: Click Save to complete the upload.

Final Verification

  1. Preview the Creative: Test the integration by previewing the creative to ensure the ClearTrust script is working correctly.
  2. Activate the Line Item: Once verified, activate the line item to begin serving the creative.

Following these steps ensures the successful integration of ClearTrust with GAM, enabling optimal performance and functionality.



    • Related Articles

    • Javascript Pixel Integration with DV360

      Introduction This guide provides a step-by-step process for adding an HTML tracking tag to a creative in DV360 (Display & Video 360). By following these instructions, you can ensure the tracking tag is correctly inserted using a <script> tag with the ...
    • Javascript Pixel Integration via GTM

      Deploying the ClearSense Tag: A Step-by-Step Guide The ClearSense On-Site Tag can be deployed using two methods: Direct Deployment and Deployment via Google Tag Manager (GTM). Follow the detailed instructions below to ensure seamless integration. ...
    • Javsascript Pixel Integration on Lander

      Introduction SafePixel is a cutting-edge, lightweight JavaScript-based solution designed to monitor and block invalid traffic directly at the user's browser level. This tool enables real-time traffic analysis and validation, offering a proactive ...
    • API Integration with Prebid.js (GAM)

      Introduction Integrating an API with a Prebid.js setup in a GAM environment can enhance functionalities such as fraud detection, analytics, or performance tracking. Below is a professional and engaging step-by-step guide to ensure seamless ...
    • Postback Integration

      Introduction ClearTrust’s Postback functionality empowers businesses to act decisively and swiftly by sending real-time notifications (callbacks) whenever critical events occur, such as fraudulent traffic detection or conversions. This innovative ...