{"id":4064,"date":"2019-07-11T09:13:12","date_gmt":"2019-07-11T08:13:12","guid":{"rendered":"https:\/\/oko.uk\/?p=4064"},"modified":"2019-07-11T09:13:12","modified_gmt":"2019-07-11T08:13:12","slug":"integrating-quantcast-choice-with-google-ad-manager","status":"publish","type":"post","link":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/","title":{"rendered":"Integrating Quantcast Choice with Google Ad Manager"},"content":{"rendered":"<p>Quantcast Choice is a popular Consent Management Platform (CMP) for publishers for good reasons. It\u2019s well proven, easy to set-up, free to use and utilises the IAB Consent Management Framework.<\/p>\n<p>That framework ensures that the consent users give is passed to every demand partner who has also adopted the standard framework. The problem that publishers face is that Google aren\u2019t signed up to that framework, so additional steps are needed to ensure that any Google ads served to a user honour that user&#8217;s consent preference.<\/p>\n<h2>Tying ads behind a yes\/no to consent<\/h2>\n<p><a href=\"https:\/\/www.quantcast.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Quantcast<\/a> choice now makes it easier to honour user preference and meet <a href=\"https:\/\/oko.uk\/resources\/euu-consent\">Google EU User Consent<\/a> standards as it now has out of the box compatibility with support for Google\u2019s advertising products.<\/p>\n<p>The simplest solution is to delay showing ads to the user until after consent has been gained. Great! But how do you actually do that?<\/p>\n<p><span style=\"font-weight: 400\">Firstly, you\u2019ll want to make sure you are not going to serve ads until the user has agreed to your consent popup. To do this we need to use the disableInitialLoad() function within Google\u2019s API.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4066 aligncenter\" src=\"https:\/\/stg-coolmedia-stage.kinsta.cloud\/wp-content\/uploads\/2019\/07\/quantcast1.png\" alt=\"Quantcast1\" width=\"713\" height=\"83\" \/><\/p>\n<p>You\u2019ll need to make sure that the disableInitialLoad() function is before enableServices().<\/p>\n<p>To get the ads to fire after consent is recorded we will use the refresh() function, but more on that later.<\/p>\n<h2>Implementation within Quantcast choice CMP<\/h2>\n<p>In order for the CMP to perform its duties, we need to link our decision to serve personalized ads with what consent is recorded by the CMP.<\/p>\n<p>To do that we will use the following code, appended to the bottom of the \u2018out of the box\u2019 Quantcast choice code:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-4067 aligncenter\" src=\"https:\/\/stg-coolmedia-stage.kinsta.cloud\/wp-content\/uploads\/2019\/07\/quantcast2.png\" alt=\"Quantcast2\" width=\"612\" height=\"371\" \/><\/p>\n<h2>How does this work?<\/h2>\n<p>Once the CMP has loaded, this extra snippet will make the decision on whether or not personalized ads are shown.<\/p>\n<p>If the CMP records a positive result and the user has given their consent for personalized ads, the refresh() function is called, overriding the previous disableInitialLoad() function and your Ad Manager ad units will fire as normal.<\/p>\n<p>If no consent is given by the user, the CMP will change the request to Ad Manager to only retrieve non-personalized ads using the function: setRequestNonPersonalizedAds(1).<\/p>\n<p>For more information on the EU User Consent Policy, <a href=\"https:\/\/oko.uk\/resources\/euu-consent\">download our free guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quantcast Choice is a popular Consent Management Platform (CMP) for publishers for good reasons. It\u2019s well proven, easy to set-up, free to use and<\/p>\n","protected":false},"author":1,"featured_media":9191,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[2],"tags":[8],"class_list":["post-4064","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips","tag-privacy"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to integrate Quantcast Choice with Google Ad Manager | OKO<\/title>\n<meta name=\"description\" content=\"Quantcast choice is a popular Consent Management Platform (CMP) for publishers for good reasons. It\u2019s well proven, easy to set-up and free to use.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to integrate Quantcast Choice with Google Ad Manager | OKO\" \/>\n<meta property=\"og:description\" content=\"Quantcast choice is a popular Consent Management Platform (CMP) for publishers for good reasons. It\u2019s well proven, easy to set-up and free to use.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"Supply-Side Platform\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-11T08:13:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cool.co\/supply-side-platform-home\/wp-content\/uploads\/sites\/4\/2019\/07\/quantcast-choice-1-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"pavlo.shyian@sigma.software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pavlo.shyian@sigma.software\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/\"},\"author\":{\"name\":\"pavlo.shyian@sigma.software\",\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/#\\\/schema\\\/person\\\/560f05b9e421019c8159b150285a5517\"},\"headline\":\"Integrating Quantcast Choice with Google Ad Manager\",\"datePublished\":\"2019-07-11T08:13:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/\"},\"wordCount\":386,\"commentCount\":12,\"image\":{\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/wp-content\\\/uploads\\\/sites\\\/4\\\/2019\\\/07\\\/quantcast-choice-1-1.jpg\",\"keywords\":[\"Privacy and GDPR\"],\"articleSection\":[\"Tips\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/\",\"url\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/\",\"name\":\"How to integrate Quantcast Choice with Google Ad Manager | OKO\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/wp-content\\\/uploads\\\/sites\\\/4\\\/2019\\\/07\\\/quantcast-choice-1-1.jpg\",\"datePublished\":\"2019-07-11T08:13:12+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/#\\\/schema\\\/person\\\/560f05b9e421019c8159b150285a5517\"},\"description\":\"Quantcast choice is a popular Consent Management Platform (CMP) for publishers for good reasons. It\u2019s well proven, easy to set-up and free to use.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/wp-content\\\/uploads\\\/sites\\\/4\\\/2019\\\/07\\\/quantcast-choice-1-1.jpg\",\"contentUrl\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/wp-content\\\/uploads\\\/sites\\\/4\\\/2019\\\/07\\\/quantcast-choice-1-1.jpg\",\"width\":1600,\"height\":900,\"caption\":\"Quantcast Choice\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/integrating-quantcast-choice-with-google-ad-manager\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Integrating Quantcast Choice with Google Ad Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/#website\",\"url\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/\",\"name\":\"Supply-Side Platform\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/#\\\/schema\\\/person\\\/560f05b9e421019c8159b150285a5517\",\"name\":\"pavlo.shyian@sigma.software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/915b509c0ee970a486962d4bc9f102ea4ebf29ea9fa4fc5ca6f12ac21b5cf3e9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/915b509c0ee970a486962d4bc9f102ea4ebf29ea9fa4fc5ca6f12ac21b5cf3e9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/915b509c0ee970a486962d4bc9f102ea4ebf29ea9fa4fc5ca6f12ac21b5cf3e9?s=96&d=mm&r=g\",\"caption\":\"pavlo.shyian@sigma.software\"},\"sameAs\":[\"https:\\\/\\\/cool.co\"],\"url\":\"https:\\\/\\\/cool.co\\\/supply-side-platform-home\\\/author\\\/pavlo-shyiansigma-software\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to integrate Quantcast Choice with Google Ad Manager | OKO","description":"Quantcast choice is a popular Consent Management Platform (CMP) for publishers for good reasons. It\u2019s well proven, easy to set-up and free to use.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/","og_locale":"en_US","og_type":"article","og_title":"How to integrate Quantcast Choice with Google Ad Manager | OKO","og_description":"Quantcast choice is a popular Consent Management Platform (CMP) for publishers for good reasons. It\u2019s well proven, easy to set-up and free to use.","og_url":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/","og_site_name":"Supply-Side Platform","article_published_time":"2019-07-11T08:13:12+00:00","og_image":[{"width":1600,"height":900,"url":"https:\/\/cool.co\/supply-side-platform-home\/wp-content\/uploads\/sites\/4\/2019\/07\/quantcast-choice-1-1.jpg","type":"image\/jpeg"}],"author":"pavlo.shyian@sigma.software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pavlo.shyian@sigma.software","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/#article","isPartOf":{"@id":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/"},"author":{"name":"pavlo.shyian@sigma.software","@id":"https:\/\/cool.co\/supply-side-platform-home\/#\/schema\/person\/560f05b9e421019c8159b150285a5517"},"headline":"Integrating Quantcast Choice with Google Ad Manager","datePublished":"2019-07-11T08:13:12+00:00","mainEntityOfPage":{"@id":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/"},"wordCount":386,"commentCount":12,"image":{"@id":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/cool.co\/supply-side-platform-home\/wp-content\/uploads\/sites\/4\/2019\/07\/quantcast-choice-1-1.jpg","keywords":["Privacy and GDPR"],"articleSection":["Tips"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/","url":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/","name":"How to integrate Quantcast Choice with Google Ad Manager | OKO","isPartOf":{"@id":"https:\/\/cool.co\/supply-side-platform-home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/#primaryimage"},"image":{"@id":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/cool.co\/supply-side-platform-home\/wp-content\/uploads\/sites\/4\/2019\/07\/quantcast-choice-1-1.jpg","datePublished":"2019-07-11T08:13:12+00:00","author":{"@id":"https:\/\/cool.co\/supply-side-platform-home\/#\/schema\/person\/560f05b9e421019c8159b150285a5517"},"description":"Quantcast choice is a popular Consent Management Platform (CMP) for publishers for good reasons. It\u2019s well proven, easy to set-up and free to use.","breadcrumb":{"@id":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/#primaryimage","url":"https:\/\/cool.co\/supply-side-platform-home\/wp-content\/uploads\/sites\/4\/2019\/07\/quantcast-choice-1-1.jpg","contentUrl":"https:\/\/cool.co\/supply-side-platform-home\/wp-content\/uploads\/sites\/4\/2019\/07\/quantcast-choice-1-1.jpg","width":1600,"height":900,"caption":"Quantcast Choice"},{"@type":"BreadcrumbList","@id":"https:\/\/cool.co\/supply-side-platform-home\/integrating-quantcast-choice-with-google-ad-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cool.co\/supply-side-platform-home\/"},{"@type":"ListItem","position":2,"name":"Integrating Quantcast Choice with Google Ad Manager"}]},{"@type":"WebSite","@id":"https:\/\/cool.co\/supply-side-platform-home\/#website","url":"https:\/\/cool.co\/supply-side-platform-home\/","name":"Supply-Side Platform","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cool.co\/supply-side-platform-home\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cool.co\/supply-side-platform-home\/#\/schema\/person\/560f05b9e421019c8159b150285a5517","name":"pavlo.shyian@sigma.software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/915b509c0ee970a486962d4bc9f102ea4ebf29ea9fa4fc5ca6f12ac21b5cf3e9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/915b509c0ee970a486962d4bc9f102ea4ebf29ea9fa4fc5ca6f12ac21b5cf3e9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/915b509c0ee970a486962d4bc9f102ea4ebf29ea9fa4fc5ca6f12ac21b5cf3e9?s=96&d=mm&r=g","caption":"pavlo.shyian@sigma.software"},"sameAs":["https:\/\/cool.co"],"url":"https:\/\/cool.co\/supply-side-platform-home\/author\/pavlo-shyiansigma-software\/"}]}},"_links":{"self":[{"href":"https:\/\/cool.co\/supply-side-platform-home\/wp-json\/wp\/v2\/posts\/4064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cool.co\/supply-side-platform-home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cool.co\/supply-side-platform-home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cool.co\/supply-side-platform-home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cool.co\/supply-side-platform-home\/wp-json\/wp\/v2\/comments?post=4064"}],"version-history":[{"count":0,"href":"https:\/\/cool.co\/supply-side-platform-home\/wp-json\/wp\/v2\/posts\/4064\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cool.co\/supply-side-platform-home\/wp-json\/wp\/v2\/media\/9191"}],"wp:attachment":[{"href":"https:\/\/cool.co\/supply-side-platform-home\/wp-json\/wp\/v2\/media?parent=4064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cool.co\/supply-side-platform-home\/wp-json\/wp\/v2\/categories?post=4064"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cool.co\/supply-side-platform-home\/wp-json\/wp\/v2\/tags?post=4064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}