This post was most recently updated on November 4th, 2022
Some of the reported words could be in the main content itself, in the site’s HTML, in the lazy loaded content, or the browser inspector tool. It is important to consider this when troubleshooting.
There are times when the words detected don’t necessarily mean something bad and could be at times non-English words with a different meaning. If this is the case, safest route is still fixing it. If you have the option to change the word into something else (e.g. synonym) while keeping the gist of the content intact, we would recommend doing so. Many advertisers have the technology to also detect these and might end up not bidding on your site.
Note: there are times when controversial words cannot be found in the site content itself because it may also appear in the script, style tags, or in inline comments. In this case, right click on your webpage and view page source to find the words being flagged.
This is the recommended solution so you can continue monetizing your content.
This option is not recommended as this disables monetization of your webpages completely. Although it’s the easiest and fastest route, it definitely doesn’t play to your advantage.
Not the recommended solution as this could also reduce your earning potential.
Watch this quick tutorial on how to stop Google from Serving on pages with violations:
Step 1: Open your Ad Manager account
Step 2: Go to Inventory > Key-Values
Step 3: Add a key “google” + values: no, 0, off
Step 4: Open each of your Google line items (Ad Exchange and/or AdSense).
Step 5: Add a Key-value targeting “google” IS NOT “0, no, off.
Step 6: On your web pages where the violation is detected, deploy the Key-value in the HEADER:
ONpage (GPT) setup (sample):
<script async=’async’src=’https://www.googletagservices.com/tag/js/gpt.js’>
</script>
<script>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
</script>
<script>
googletag.cmd.push(function() {
googletag.defineSlot(‘/2602542/af2_article_btf_600x257’, [600, 257],
‘div-gpt-ad-1544046962927-0’).addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().setTargeting(‘google’, [‘0’, ‘no’, ‘off’]);
googletag.enableServices();
});
</script>
OFF-page setup:
Implement this right above your Header Bidding header script.
<script type="text/javascript"> window.pg = window.pg || {}; pg.kvps = pg.kvps || {}; pg.kvps['google'] = 'no'; </script>
To target specific Article IDs:
Deploy right above your Header Bidding script, change the 1, 2, 3, 4 to be the article IDs.
<? if (in_array(get_the_ID(), array(1, 2, 3, 4))) { ?> <script type="text-javascript"> window.m2hb = window.m2hb || {}; window.m2hb.kvps = window.m2hb.kvps || {}; window.m2hb.kvps.google = 'no'; </script> <? } ?>
In case of multiple Key-value pairs (KVPs):
Implement right above your header script, edit “key” and “value”.
<script type="text/javascript"> window.m2hb = window.m2hb || {}; window.m2hb.kvps = window.m2hb.kvps || {}; window.m2hb.kvps['key'] = 'value'; window.m2hb.kvps['key'] = 'value'; window.m2hb.kvps['key'] = 'value'; </script>
Step 7: Google line items will then stop serving on pages where Key-value pairs (KVPs) are deployed since the setting was set to ‘IS NOT’ (See Step 5)
Need more help? Sign up for a Premium account today and leverage your long-term RPMs!
If you have an account with us already, send us an email at support@monetizemore.com or log in to PubGuru App and use the Chat widget for immediate support.
Let our AdOps Experts do the hard work. Sign up today and unlock your revenue potential.