Gravito CMP Integration with Google Advertising Products

 ​ Gravito CMP Integration with Google Advertising Products: TCFv2.0 Compliance Guide

​ Introduction 

This guide details the steps and best practices for integrating Gravito’s Consent Management Platform (CMP) with Google Advertising Products, ensuring compliance with the IAB Transparency & Consent Framework version 2.0 (TCFv2.0). Our aim is to facilitate a smooth setup and address common integration challenges to optimize compliance and performance. 

Ensuring CMP Configuration and Vendor Setup 

To integrate Gravito’s CMP with Google Advertising Products, it is crucial to ensure that the CMP is correctly configured: 

Vendor Configuration: 

  • Include Google (Vendor ID 755) in your list of vendors through the Gravito admin panel. 
  • Enable TCF settings for Google and verify that all necessary advertising products (Google Ad Manager, AdSense, AdMob) are correctly listed under Google’s vendor configuration. 

Consent String Verification: 

  • The Gravito CMP automatically generates and appends the TCFv2.0 compliant TC string to ad requests. 
  • Regularly verify the integrity and accuracy of the TC string using the IaB provided decoding tool to ensure it reflects user consent preferences accurately. 

Common Integration Issues and Their Resolutions 

Issue 1: TC String Not Recognized 

  • Problem: Google services may reject the TC string due to formatting errors or incomplete data. 
  • Solution: Use the IAB’s decode tool at  to validate the TC string. Ensure that the string adheres to the latest specifications set by the IAB. 

Issue 2: Incomplete or Incorrect Vendor Configuration 

  • Problem: Google Advertising Products might not operate correctly if not configured properly in the CMP’s vendor list. 
  • Solution: Double-check the vendor settings in Gravito’s CMP. Make sure that Google and its services are enabled with appropriate consent features activated. 

Troubleshooting of Google Ad Manager (GAM) Errors 

When integrating Gravito’s CMP with Google Advertising Products, understanding and resolving errors reported by Google Ad Manager is crucial for maintaining both compliance and ad performance. This section expands on how to address common issues using insights adapted from Google’s own resources. 

Common GAM Errors and Troubleshooting Steps 

Error Code: 1.x (Consent-related Errors) 

  • Description: This series of errors typically indicates that consent for one or more ad technology providers, including Google, has not been granted. 
  • Troubleshooting
  • Verify that the CMP is active and correctly integrated on all pages of your website. 
  • Check that the TC string is being passed correctly in ad requests and that it accurately reflects the consent status of all users. 
  • Use the “Test Suite” available in Google Ad Manager to simulate ad requests and identify consent-related discrepancies. 

Error Code: 2.x (Ad Tag Errors) 

  • Description: These errors often occur when there are issues in the ad request itself, such as incorrect tagging or problems with ad unit configurations. 
  • Troubleshooting
  • Ensure that all ad tags are implemented correctly and are calling the correct ad units and parameters. 
  • Review ad unit settings in Google Ad Manager to confirm they are configured to handle consented ad requests appropriately. 
  • Check for any syntax errors in the ad tags that might be preventing the ad from being served. 

Error Code: 413 (Payload Too Large) 

  • Description: This error happens when the URL of an ad request exceeds the maximum allowed length, often due to an overly long consent string. 
  • Troubleshooting
  • Minimize the number of optional purposes and features included in the consent string. Aim to simplify the data included without sacrificing compliance. 
  • Check if the consent string can be compressed or if certain parameters can be omitted without affecting compliance. 
  • Review the configuration of your ad tags to ensure they are not redundantly appending extra parameters that inflate the request size. 

Using Google Ad Manager’s Diagnostic Tools 

To further aid in troubleshooting, Google Ad Manager offers a range of diagnostic tools that can provide deeper insights into issues: 

  • Creative Preview Tool: Use this tool to test individual creatives in a live environment to see how they behave when an ad request is made. This can help pinpoint issues specific to certain ad formats or configurations. 
  • Delivery Tools: These tools allow you to simulate ad requests in real-time to verify how ads are being served under various conditions, including different user consent states. 
  • Event-Level Troubleshooting Reports: These reports give detailed breakdowns of ad behavior at the event level, allowing you to trace the path of a request and see where failures occur. 
  • By utilizing these methods and tools, publishers can better diagnose and resolve issues related to Google Ad Manager and ensure that ads are delivered in compliance with user consent preferences set through Gravito’s CMP. 
  • For additional information and more specific guidance on using Google Ad Manager’s features for troubleshooting, refer to the official Google support page. This resource is invaluable for understanding the intricate details of GAM’s error messages and troubleshooting processes. 

Best Practices for Ongoing Compliance and Performance 

  • Regular CMP Updates: Keep your CMP implementation up-to-date with the latest TCF standards and Google requirements. Gravito frequently updates its CMP to align with regulatory changes and technical specifications. 
  • Enhance User Interface for Better Consent Rates: Optimize the user consent interface to make it as clear and user-friendly as possible, which can help in increasing consent rates and ensuring better compliance. 
  • Detailed Logging and Monitoring: Utilize Gravito’s comprehensive logging features to keep an audit trail of consent strings and decisions, which is crucial for compliance and troubleshooting. 


By following this guide, publishers can effectively integrate Gravito’s CMP with Google Advertising Products under TCFv2.0, ensuring both compliance with privacy regulations and optimal operational performance. For further assistance, our technical support team is available to help you resolve any specific issues or to provide additional guidance on best practices for using Gravito’s CMP solutions. 


Getting started

Frequently Asked Questions

Frequently Asked Questions (FAQ) - Gravito Intelligent CMP and TCF 2.2 CMP Banner. 1. What is Gravito? Gravito is a Consent Banner provider for websites. It offers both TCF (Transparency & Consent Framework 2.2 ) certified Consent Management Platforms (CMPs) for...


Before you can start using Gravito features you will need to register yourself in the Gravito portal. Head to and enter your email you want to use with Gravito: After submission you will receive an email with PIN code, enter that to...


All support cases and issues are handled by the support team of Gravito or by technology partners. In case you need support please send us email at support<at> Be part of our community? Join us on our Discord Channel here

Release Notes

Stay up to date with our latest releases! Gravito's release notes are generally divided as different category as development happens constantly under all categories. You can jump to specific release notes here Gravito Intelligent CMP Gravito TCF 2.2 CMP Gravito SDK...

Gravito Intelligent CMP

Getting Started

Gravito Intelligent CMP is a consent management solution that helps to collect consent for data collection, analytics, targeting, personalization and whatever your business needs to fulfil legal or regulatory terms. 💡 NoteHave you registered with Gravito yet? Please...

Setup and Design

Gravito Intelligent CMP Setup can be done using Gravito CMP Configurator on Gravito's Admin Portal. Go to CMP>>Gravito CMP configurator. You can choose the language of your choice when creating your own CMP Config Do you want to try out how our configuration is? You...

GTM Template

Gravito CMP now can be deployed using GTM Template. In order to use this feature, while creating the configuration for Gravito CMP you will have to check the "Is GTM?" flag in the basic section of the configuration wizard. If the config is created using the "is GTM? "...

Release Notes

Gravito Intelligent CMP release notes. Version 4.0.7 Multiple Language Support: Light CMP now supports multiple languages within the user interface, offering a more inclusive experience for users worldwide. Users can access a language selection dropdown within the CMP...

Advanced Features

Here are the links to the advanced features supported by Gravito Intelligent CMP Customization Advanced Customization Options Latest Gravito Configuration example (json) Headless CMP using Gravito Integrations How to integrate events emitted by the Gravito Intelligent...

Gravito TCF 2.2 CMP

Getting Started

Gravito CMP provides a TCF 2.2 compliant consent management platform. With Gravito you can customize the look and feel of your CMP so that it blends good with your website. Gravito TCF 2.2 CMP is also listed as one of the Google Certified TCF CMP's To get started you...

Setup and Design

Gravito TCF 2.2 CMP Setup can be done using TCF CMP Configurator on Gravito’s Admin Portal. Go to CMP>>TCF configurator.

Mobile apps

TCF CMP implementation on mobile apps can take two different strategies: You have TCF CMP already configured and set up for your website or you are planning to have such AND your application is made with webviews (= content is displayed on webviews and 3rd party...

Release Notes

Version 4.0.9 Release Notes ( Release date 08/02/2024) New Features: Added support for GCMV2: Gravito TCF CMP now includes support for GCMV2. Read more Bug Fixes: Fixed an issue with the IAB CMP validator: A bug has been resolved where the CMP was not being correctly...

Advanced features

Here are few of the advanced features of Gravito TCF 2.2 CMP Integration How to integrate with events emitted by Gravito TCF 2.2 CMP? Gravito CMP Integration with Google Advertising Products - NEW Customization Latest Gravito TCF 2.2 CMP Configuraton example...

Gravito SDK

Getting Started

The Gravito SDK ( Latest Version 2) is a tool that allows developers to communicate with the Gravito APIs and deploy both light CMP and TCF CMP. It includes functions for interacting with the Gravito first party backend solution and is used by all major services...

Release Notes

Release Notes (V 2.0.12) (08/02/2024) New Features: SDK now emits separate events when the user has clicked "reject all" previously. This enhancement provides more granular insights into user interactions, allowing for better tracking and analysis of user behavior....

Version 2 (Latest)

Using SDK V2 To use Gravito's SDK you should have the Gravito config added to your site. Make sure you also have settings section added inside your config. You can get the config from the Gravito Admin Portal 👉Looking for an older version of Gravito SDK? You can find...

Gravito API

Getting Started

Gravito API is a powerful tool when it comes to collecting consent statistics while allowing you to connect multiple ids that you use in your setup and give it more persistence. One of the key features of the Gravito API, the Gravito ID Connector is enabled using the...

Setup and Validation

First Party domain means the domain your website operates. e.g. To avoid third party cookies being blocked (occurs already on many browsers) you can configure the CMP to set the cookies under first party domain or you can use Gravito's first party API to...

Version 3 (Latest)

First party API / Microprofile As discussed in the previous version 2, most common use for first party microprofile is to store CMP consents and other metadata on it. In version 3 we have added a whole new set of features to manage observations, consents and key rings...

Version 2

First party API / Microprofile Most common use for first party microprofile is to store CMP consents and other metadata on it. That configuration is automatically generated by CMP configurator, just select “with backend” option when generating the deployment script...


Microprofile which relies on Gravito Firstparty API v3 is in Beta testing Gravito Microprofile is sort of a synonym to first party API. First party API was initially developed as simple microservice to help with setting first party cookie to hold CMP settings and...

Other  Features

Cookie Scanner

Cookie Scanner Gravito allows you to scan your web pages for cookies dropped. Gravito classifies cookies on your webpage as ones dropped before accepting the consent and ones after accepting the consent. This way there is a clear understanding of what is happening on...

GVL Comparison

Gravito allows you to compare global vendor list versions. You can get specific details like which vendors were updated, added as well as deleted from the comparison tool You can find the GVL comparison tool under the Features -> GVL Updates menu You can choose the...

Prebid User Id Module

Gravito has a user module in prebid js, customers now can use Gravito's first party service and prebid js usermodule to use a persistent first party id in prebid's bit stream. More details in the each section below. Getting Started Setup and Validation Version 1...

Try it out


Quick guides to get started with various deployment scenarios. Deploy basic consent management banner and wire the tags on it Register/login to Navigate to CMP > Gravito CMP configurator > New Configuration Create configuration, you...