Tag: AdSense

What does “Programmable Search Engine revenue sharing changes start April 30th, 2021” mean?

The other day I received this letter from AdSense:

Programmable Search Engine revenue sharing changes start April 30th, 2021
Beginning April 30th, 2021, we will discontinue revenue sharing on the following search engines:
The public URL - a link provided for a Google hosted public page for your engine that hosts both the search box and the search results
The Google hosted layout, in which only the search results are displayed on a Google-hosted webpage
Search engines that fall into the two above categories will continue to show ads, but no revenue will be shared.
What does this mean for me?
To continue sharing revenue, you’ll need to use the Search Element deployed on your own site, which will continue to allow for monetization.
What should I do next?
Please review the developer site for more information.

Do you understand something? I did not understand anything, especially this text is difficult to perceive in a localized version.

The bottom line is that in the search results on your site, ads will still appear, but Google will take all the money for this ad.

“The Google hosted layout” - what is it? I suspect this is the layer on top of the site that the search results are showing, or am I wrong?

The links lead to pages with technical documentation, which does not increase the clarity of the question – does this mean that the "Search engine" blocks made in the AdSense dashboard will no longer make money for the site owners? Or does this not apply to these blocks?

Related article: Search engine ad: why nothing was found and why it doesn’t show ads

From the documentation and from the AdSense dashboard, links lead to https://cse.google.com/cse/all, sometimes to https://programmablesearchengine.google.com/cse – both show the same thing.

The string “Programmable Search Engine” from the letter and the subdomain programmablesearchengine.google.com hint that these are related things.

On the Programmable Search Engine settings tab, you can see the line “Edition - Standard with revenue sharing”.

And you can also see “Public URL” there – yeah, the first paragraph of the letter “The public URL” refers to this, that is, if you search on a page like https://cse.google.com/cse?cx=d95930401ffbc147a, then there will be advertising, but you will not be given money for it.

If you click on the “Get code” button, then the code is approximately the following:

<script async src="https://cse.google.com/cse.js?cx=d95930401ffbc147a"></script>
<div class="gcse-search"></div>

Does this apply to “The Google hosted layout, in which only the search results are displayed on a Google-hosted webpage” or not ?!

Technically, an overlay could very well be a “Google-hosted webpage”, that is, a page loaded from Google that is displayed on top of your site. Even an ordinary search block on a site, from a technical point of view, can be a page hosted on Google, which was asynchronously loaded and displayed on your site.

In general, the sent letter is a clear example of how not to make notifications, since nothing is clear from such messages anyway.

Or vice versa – this is an example of how to make a notification, if you want no one to understand anything …

After all, I managed to figure out what “Google-Hosted” is.

The search box is placed on one of your webpages. The search results are displayed on a Google-hosted webpage, which can be opened either in the same window or in a new window.

This means that the upcoming changes will not affect the Search engine blocks created in the AdSense dashboard.

So, they will no longer share the profit if:

  1. Search form and results are placed on the Google page
  2. The search form are placed on the site, and the search results on the Google page

Search engine ad: why nothing was found and why it doesn’t show ads

The ability to set up custom Google searches on your site has been available for at least a decade. Including displaying ads. But now there is a special block in AdSense called “Search engine”.

What is the profitability of search pages

Approximately 1 person out of 100 visitors to the site will search for something on it. About 1 out of 100 people looking for something will click on the ad. On my sites, search results pages bring in several times less than regular pages. That is, Programmable Search will generate some tangible income only if you have really large volumes of traffic.

But this search has other advantages as well:

  • you can set up a search for several sites at once – that is, if a user entered a query that is answered not on this one, but on your other site, he will see it in the search results
  • using search, you can promote pages (make them appear in any results), for example, with CPA or others

In any case, the site needs a search. And the Google search engine is very good, well, plus some kind of earnings.

Using it is nowhere easier – create a block, add the code to the site in the widgets and you're done! If you previously (many years ago) set up the code for search when you gave two snippets of code – one for the form and the other for the results – now you don't need it by default. By default, the results are shown directly in the widget itself.

How to create a Google site search form

In AdSense, go to Ads → Overview → By ad unit. And select “Search engine”.

On the page that opens:

  1. Enter the name.
  2. List the sites you want to search (one on each line).
  3. Enter a search string to see examples of results.
  4. Click Create button.

When entering a list of sites, the following help is given:

Specify a list of sites to search, one per line. You can add any of the following:

  • Individual pages: www.example.com/page.html
  • Entire site: www.example.com/*
  • Parts of site: www.example.com/docs/* or www.example.com/docs/
  • Entire domain: *.example.com

If you follow these tips, you might think that you must specify “*.suay.site” to enter a domain, but in fact, “suay.site” also works (that is, both options do not work, but how to fix it – see below ).

Everything is ready – copy the code and paste it into the website widget.

We check the search on the site and… nothing was found.

Why nothing was found in the Search engine ad unit

Go back to the ad review and press the edit button.

The Programmable Search Engine editor will open.

Scroll down the page that opens until you see the “Sites to search” section.

We click on each site and instead of “Include just this specific page or URL pattern I have entered”, switch to “Include all pages whose address contains this URL”.

There is no need to change the code – it remains the same.

We check - now everything works.

Why does the "Search engine" block not show ads?

To answer this question, you need to go to Setup → Ads, there you will see:

Note: in order to ensure a high quality experience for our advertisers, we are reviewing Programmable Search Engine ad traffic quality. It may take several weeks for revenue sharing to begin.

That is, there may be no advertisements for the first few weeks – nothing can be done, you have to wait.

By the way, check that “Search Engine Monetization” is enabled in the same place.

How to Change the Design of the Adsense Search Engine Ad Block

By default, search results are shown below the input form, stretching into a long “sausage”. You can change that. To do this, on the “Programmable Search Engine” edit page, go to the “Look and feel” tab and select the desired search results design.

On the Suay.site, I chose the “Overlay” option, that is, search results are shown in a large area that overlaps the page content.

When adding sites or changing the design, the ad unit code does not need to be changed.

How to promote pages through website search

On the Programmable Search Edit page, go to the Search Features tab and move the Enable promotions slider to the On position.

Add the pages you want to promote.

Are sticky (floating) AdSense blocks allowed

There is confusion around this issue, for several reasons:

  • AdSense sticky blocks are allowed but not always and not for anybody
  • AdSense Ad Policies are extensive and scattered across documents
  • On the AdSense support forum, different opinions are expressed, including opposing opinions on this issue

Who is allowed to use AdSense floating blocks

Sticky location blocks are allowed on Ad Exchange.

Also, blocks in floating windows can be allowed personally by Google Ad Manager. Such a manager contact publishers with a lot of traffic and income.

Obviously, Anchor ads are allowed, which are inserted automatically on mobile devices.

Did AdSense allow fixed (floating) ad units?

One of the users noticed that the paragraph disappeared from the “Ad implementation policies” page, that pinned blocks were prohibited.

He asked about this in the AdSense support forum in this thread: https://support.google.com/adsense/thread/13851765?hl=en. You need to understand that although this forum is hosted on the domain support.google.com, the opinion of its experts is neither official nor unequivocally correct. That is, if your AdSense account has been banned due to the advice given on this forum, it’s as useless to point to this forum on appeal as to any other website on the Internet.

And even at this forum, the opinions of experts were divided into:

  • No you can not
  • Sort of like you can, but better not.

But the AdSense Program policies page says:

“To ensure a good experience for users and advertisers, publishers participating in the AdSense program may not:

  • ………………… ..
  • Place ads in a floating box script.
  • ………………… ..”

That is, the rules explicitly prohibit floating AdSense blocks. By the way, this is about the level of expertise in the forum, where the respondents did not even bother to check the AdSense Program Policies.

To summarize

AdSense ads are not allowed in floating windows by default! There are a few exceptions for automated ads on mobile devices, as well as for large publishers.

If you see fixed blocks on small sites, then most likely the publisher is violating the AdSense rules. Such violations can lead to a suspension of advertising on the site, or even a ban account.

Free plugin to add ads in WordPress

How to work with Quick Adsense plugin to insert ads in WordPress

You can insert ads on the site in different ways. For example, you can edit the HTML code. I want to talk about a much simpler version, while very flexible.

There are many plugins to insert ads in WordPress. Including, there are various paid. I use a free plugin that can do everything that most webmasters need. I have been working with this plugin since 2014, i.e. at the time of writing, this is already the fifth year. During this time, the plugin has shown its reliability.

This plugin is called Quick Adsense. Do not be confused by the word AdSense in the title – you can advertise any networks. For example, besides AdSense, I use the same plugin for CPA. Previously, I used it to insert my own ads, banners from other partner networks, just alerts for users.

Install Quick Adsense

Quick Adsense is present in the official WordPress plugin repository, so it installs directly from the WordPress control panel.

During the installation of the plugin, do not confuse it with similar ones. Especially with Quick Adsense Mobile – this plugin mimics under Quick Adsense, including repeating its design. Be careful – Quick Adsense Mobile appeared relatively recently, and apart from the fact that it tries to be ‘the second Quick Adsense’ and has not been updated for a long time, there is nothing special to say about it.

How does Quick Adsense work?

This plugin has 20 slots: 10 slots for inserting ads into text (Ads on Post Body), as well as 10 slots for inserting ads into widgets (Sidebar Widget).

The slots look like windows for entering the ad network code:

If you click on the Show All button, you can see them all:

In these slots, insert the code of ad units that you want to show on your site. Do not forget to click the Save Changes button to save the changes made.

Although AdSense allows you to use the same ad code multiple times on the same page (show the same ad unit multiple times), this plugin requires each ad to be unique: ads with duplicate code can cause problems in the display of advertisements; the same ad is never shown on the page more than once.

At the top of the Quick Adsense settings page are the controls – this is where you specify where the ad units will be placed on the page:

The inscription Reset to Default Settings means reset to the initial settings – be careful with this! wink

Next comes Place up to NUMBER Ads on a page. This means the number of ads that can be used. This setting refers to the time when you could use no more than three ad units per page (I mean AdSense). Just set the maximum number (10) no matter how many blocks you will use: 1, 2, 5 or all 10.

Automatic display of ads in certain places of the site

Moving on to the most interesting – Assign position – assigning position to ad units.

Beginning of Post - means the beginning of the article, i.e. after the title, but before the text. If you want to use this location, then tick. By default, a random slot will be used (Random Ads) to change this, select a specific ad that should be inserted at the beginning of the article, for example, Ads1 - this means that the ad code from the first slot will be inserted at the beginning of the article.

Middle of Post – the middle of the article. If you want to use, check the box and select the ad that should appear in the middle. The middle is considered according to the number of paragraphs, i.e. the total number of paragraphs is taken and divided in half.

End of Post – the end of the article. Please note that the end of the article is considered the last paragraph. Different plugins can display social buttons, related articles, and so on - most likely, the ad unit will be in front of them.

right after the <!--more--> tag – immediately after the <!--more--> tag. The <!--more--> tag separates in the article the beginning of the text, which is shown, for example, on the main page as the first words of the article, to continue which you need to click the Read More button. In my opinion, this block is too close to the block at the beginning of the article and it does not suit me. If you, for example, do not use the block at the beginning of the article, then this option may be suitable for you.

right before the last Paragraph – just before the last paragraph. This block is obtained very close to the block at the end of the article. In my opinion, it is better to use only one of these blocks – either before the last paragraph, or at the end of the article.

Next come three identical points:

after Paragraph NUMBERS repeat CHECKBOX to End of Post if fewer paragraphs are found – means insert ad after the set paragraph number. Or the article is shorter and a checkbox is ticked, the ad will be inserted at the end of the article.

As you can see in my screenshot, I actively use the insertion of ad units into an article. It all depends on the specific site and conditions, but I try to make it so that between the advertising was 10-20 paragraphs of text.

Selecting WordPress pages where to show or not show ads

Next comes the Appearance block:

Here you specify which pages to display ads:

Tick on those types of pages where you want to display ads:

  • Posts
  • Pages
  • Homepage
  • Categories
  • Archives
  • Tagss
  • Place all possible Ads on these pages
  • Disable AdsWidget on Homepage
  • Hide Ads when user is logged in to WordPress – That is, do not show ads to registered users.

Be careful with the Main page – usually there are Ads in the feed, or a special arrangement of ad units is configured, because the appearance of this page is different from the pages of Articles, and the page itself is the “face” of the site.

Do not show ads to registered users is also quite a reasonable solution, i.e. regular visitors stop noticing advertising banners. If the same user regularly clicks on advertising on the same site, then these clicks will most likely will not be taken into account.


If you set up automatic placement of ad units (at the beginning of the article, after the tenth paragraph, at the end of the article, etc.), then you do not need to manually write the tags where you want to add advertising.

However, this can be useful for setting up advertisements on pages where automatic ad blocks output does not work well enough. For example, you can completely disable ads for a specific page; or you can turn off automatically displayed advertisements and indicate your places by showing ad units.

You can display ad insertion buttons next to the editor, for this you have the following options:

Show Quicktag Buttons on the HTML Edit Post SubPanel

Hide <!--RndAds--> from Quicktag Buttons

Hide <!--NoAds-->, <!--OffDef-->, <!--OffWidget--> from Quicktag Buttons

Hide <!--OffBegin-->, <!--OffMiddle-->, <!--OffEnd-->, <!--OffAfMore-->, <!--OffBfLastPara--> from Quicktag Buttons

The item Insert Ads into a post, on-the-fly contains information about tag names, which you can use to insert ad units into an arbitrary place while editing HTML code:

  1. Paste <!--Ads1-->, <!--Ads2-->, etc into the article for displaying a particular ad in the specified location.
  2. Paste <<!--RndAds--> (one or more times) into the article to display a random ad in the specified location.

Section Disable Ads in a post, on-the-fly is useful if you do not want to display ads on some page automatically – for example, because the article is too small, or it is sponsorship material, or this is important information and advertising should not distract from content. Examples of tags for managing ads:

  1. Insert <!--NoAds--> to disable all ads on the page (does not affect ads on the sidebar).
  2. Insert <!--OffDef--> to disable automatic inserted ads, use <!--Ads1-->, <!--Ads2--> to insert ads (no effect on the sidebar).
  3. Insert <!--OffWidget--> to disable all ads in the sitebar.
  4. Insert <!--OffBegin-->, <!--OffMiddle-->, <!--OffEnd--> to disable ads at the beginning, middle or end of the post.
  5. Insert <!--OffAfMore-->, <!--OffBfLastPara--> to disable ads immediately after the <!--more--> tag or before the last paragraph.

Tags can be inserted through additional Quicktag buttons when editing HTML. If you use an alternative text editor, switch to HTML code and insert these tags manually.

Insert ads in the sidebar

Quick Adsense, as we remember, has 10 slots for inserting ads into the sidebar.

If you saved the ad code in these slots, the corresponding widget appears:

Insert code in the header, footer

Quick Adsense allows you to insert the code in the header (header) and footer (footer) of the site. To do this, go to the Header / Footer Codes tab:

To embed the code in the header, copy it into the Header Embed Code field. An example of code for placing in the header can be the code of Automated AdSense ads.

To paste the code into the footer, copy it into the Footer Embed Code field. For example, I sometimes place counter codes in the footer — here, like in any Quick Adsense slot, the placed code does not have to be the ad code.


Quick Adsense is a free WordPress plugin that allows you to perform almost all the basic advertising manipulations that most webmasters need.

As the pasted code, you can use not only the ad code, but any HTML and JavaScript code, as well as WordPress and plug-ins short-codes.