To install Ad Inserter Pro plugin check Plugin installation page. To install free Ad Inserter plugin log in to your WordPress dashboard, click on Plugins in the WordPress menu, click on Add New on top of the plugin page, search for ad inserter, select Ad Inserter from the results, click Install and then Activate the plugin.
First ad block
To go to plugin settings click on the left side Settings > Ad Inserter.
Practical example for settings for ad before the second paragraph on all posts:
- Click on the block name and rename it to Posts
<img src="https://via.placeholder.com/468x60/0000ff/ffffff.png?text=TEST">into code widow
- Leave Posts checked, other page types should be unchecked
- Set Automatic Insertion to Before Paragraph
- Enter 2 for paragraph number
- Click on Save Settings
Now you can check your posts and you should see a test banner before the second paragraph. In the case there is no banner please check settings and other documentation and try to use debugging functions to diagnose the problem.
Ad Inserter menu item in the WordPress admin toolbar on the top of every post/page contains debugging functions that can help you to label inserted blocks and visualize available positions for automatic insertion:
Few very important things you need to know in order to display some ad:
- Code block (there are 96 of them) is ad code with settings which define where the ad will be inserted (displayed).
- Each code block can be renamed. Click on the name to edit it.
- Use code tools to generate or edit code
- Each code block has many independent insertion options, enable at least one:
- Enable insertion on at least one WordPress page type (Posts, Static pages, Blog pages, Homepage, Category pages, Search Pages, Archive pages)
- Please note that not all positions for automatic insertion are available on all page types – use debugging function Show positions to see what is available on particular page
- If you don’t see inserted block turn on debugging functions: Label blocks (Ad Inserter menu item in the WordPress admin toolbar on the top of every post/page)
- Check also some common settings
- Using AdSense? If you are new to AdSense you should first install the Ad Inserter plugin as described above and then jump to Connect your site. Check also description of AdSense ads.
If you are using AdSense you may get blank (empty) ad blocks. This might be because there is some error in the code (wrong IDs), your AdSense account is not fully approved yet, your website was not accepted or your AdSense account is banned. In most cases once Google approves your account you’ll get ads. Check also Troubleshooting page for more information. You can also try Media net ads as good AdSense alternative for contextual ads, infolinks ads to complement existing ads or contextual in-stream video ads.
To display buttons for block ranges and a list of all blocks click on the Blocks button in the header row.
This list shows all active code blocks. To show all blocks click on the button with a dot. To filter blocks enter keywords in the search field. You can also use partial block name, php, shortcode orwidget keywords to filter blocks that have enabled respective functions.