This app allows you to disable ads for a page or a directory in the Ezoic system. It's found under the 'Ezoic ads' tab in your Ezoic dashboard.
First, go to 'Ezoic ads' > 'Ad Restrictions' > Page Rules:
Click the "+" (plus) icon.
You'll then be taken to this page where, using the drop-down menu, you can select a URL, Cookie, Meta Tag, Subdomain, or Query Parameter where you would like ads not to show:
Select the page rule option you would like to create. For example, if you want to exclude ads from your homepage, select URL.
Next, you will need to select the rule type from the drop-down below:
You only need to add the URL path after the domain name - that's everything after and including the first '/' in the URL.
For example, to disable ads from the homepage, simply enter a backslash - like this: '/'
Then click 'Create Rule' and you're done!
The app also gives you the option to disable by cookie, Meta tag, and subdomain, by clicking the drop-down menu here:
To Exclude by Cookie - Select the option from the drop-down menu, and then enter the name and value of the cookie you want to disable ads for.
To Exclude by Meta Tag - Select the option from the drop-down menu, and then enter the name and content of the meta tag you want to disable ads for.
To Exclude by Subdomain - Select the option from the drop-down menu, and then enter the name of the subdomain you want to disable ads for.
To Exclude by Query Parameter - Select the option from the drop-down menu, and then enter the query parameter and the query value you want to disable ads for.
For sites using the Layout Tester app, you also have the option to disable page ad locations. Individual ad locations can be disabled on a page by visiting the page in your browser and pressing Ctrl+Alt+E on your Keyboard. Click the Layout Tester tab to see the rules set up.
Here you can set up rules to disable ads only on Ad Tester pages (leaving them running on the layout tester):
Then you'll need to use the Excluded Pages app. Click here to learn more.