In-feed ads are dedicated AdSense ad codes which you can place within lists of posts. While you could do this with the default content ad units as well, In-feed ad units come with a new layout and more options. I guess that together with the In-article ads they are going to replace the current display ads format.
Table of Contents
Creating an AdSense In-feed ad
Follow these steps to create a new AdSense In-feed ad in your AdSense account.
1. Log in and go to Ads > Ad units and choose the In-feed ad unit to create a new one
2. Choose a style. You can let Google AdSense scan your site to create a style for you or choose a style manually. I would recommend to let AdSense choose a style for you and optimize the layout later, if needed.
3. You now see multiple options on the left side of the screen. The most important are:
- Ad unit name – enter the name of the ad, so that you can identify it later in the list of ads
- Global Options > Allow selected display ads – this will increase the number of ads bidding on your view and increase revenue. Switch it off if you only want to see the default In-feed layout format you choose earlier
All the other options are more or less helping you to adjust the ad layout to your site. The more experienced you are with your ad setup, the more you can experiment and also run tests later.
4. Click on Save and get code
5. Get the code by clicking on the COPY CODE SNIPPET button
You can click on I’m done now and move to the implementation of the ad code into your site.
The ad code is now stored in the clipboard on your computer. You could also save it in a .txt file if you don‘t intend to go to the next step right away.
Adding the In-feed ad to your WordPress site
Once you have the AdSense Infeed ad code, you need to place it between posts. Most websites not only list those on their homepage but also have archives by category or author.
1. Creating the AdSense ad
After you installed Advanced Ads, go to Advanced Ads > Ads and click on New Ad.
- Enter a title for your ad – it is only visible to you.
- Select AdSense ad in the Ad Type box.
- Paste your AdSense code into the textarea in the Ad Parameters box.
- Click on Get details.
The last step will import the details of the ad into Advanced Ads. The final setup might look like this:
2. Placing the In-feed ad between posts
Now you define where the ad should show up.
Advanced Ads separates content (ads) and positions (placements) to make you more flexible when it comes to rotating or replacing ads.
Go to Advanced Ads > Placements. If you already have placements then click on New Placement below the placement list.
Choose the AdSense In-feed placement type with the following icon, enter a name for the placement and select the ad you want to display.
Save the new placement.
After you saved it, search for the new placement in the list. Here you can select before which post in the frontend the ad should show up.
The example below would show the ad between the first and second post on the homepage and other archive pages.
You can repeat these steps with different placements if you want to place an ad between multiple posts and not just at one position.
The ad code could be the same, but if you want to test at which position In-feed ads work best, then I would suggest using different ad codes. You can later go to the performance report and analyze the individual revenue.
Some themes and page builders set up the homepage to be a static page, which then can also be found in the Pages menu in WP Admin. Even though, they might look like your normal WordPress post feed, they are technically not.
As a solution, you can use the Post List placement with the Secondary Loop option turned on. It will inject ads into any post feed on your website.
AdSense does not suggest a specific amount of In-feed ads on your WordPress site, but there is still some limitation. There shouldn’t be too many ads too close together. If you have long and full posts on your archive pages, then you could place an ad between all of them. If you show only short excerpts, then I would not recommend to place an ad before every post.
Our tests also have shown that the ads before the first articles perform best and very often ads before the bottom posts perform only very little or not at all. Save your site some bandwidth and don’t place more ads there.
You are allowed to place the ad above, below or within the list of posts, but not in your sidebar or the header next to your logo.
No, this placement does not support the AMP format. Use the Post Lists placement to integrate AdSense in-feed ads on AMP pages instead.
Like with all new AdSense ad units, it might take up to 30 minutes until the ad is showing up on your site. With new accounts, it might even take a bit longer.
Would you like to put not only AdSense In-feed ads between posts? In this case, check out the Post Lists Placement. It works with all kinds of ads.