User Roles and Capabilities

Advanced Ads comes with different capabilities for users to manage ads.

You can group them into three types:

  1. Managing plugin options
  2. Creating and managing ads, groups, and placements
  3. Inserting ads into the post content

Basic capability setup

By default, page admins can do everything. If you select the appropriate option in the plugin settings, editors can also create and manage ads. As standard, other default user groups can’t do anything.

Capability roles

With Advanced Ads Pro, there are three capability roles that you can also assign to individual users:

Ad Admincan do everything.
Ad Managercan manage new and existing ads but not change plugin options.
Ad Usercan only see the Ad icon in the post content editor or the Advanced Ads block in the block editor.

You can assign these user roles to each user individually. Just go to Users > All Users and select their profile, then scroll down until you see the following option:

user role select field
Add the Ad user role to the current one.

The role you select here will be added to the current user role and not overriding it.

So with this option, it is possible to give a post author access to manage ads without making him a site admin or editor.

The error “You don’t have access to ads”

Please, read on if you see the following warning when you try to create or edit an ad.

You don’t have access to ads. Please deactivate and re-enable Advanced Ads again to fix this.

The reason for this warning is that you don’t have full rights to edit ads. You either have a user role that doesn’t permit it, or something went wrong when starting the plugin for the first time.

Disabling Advanced Ads and Advanced Ads Pro and re-enabling them often fixes the issue.

If this does not help and you are an administrator, you can manually set the appropriate permissions as described in the next section.

How to customize user roles and their capabilities

If the three user roles are not enough to implement the ad management with your users’ permissions, you can use a membership plugin to refine them further or create new roles with tailored permissions.

We use the Members plugin here.

  1. Install a role manager plugin from wordpress.org.
  2. Go to Users > Roles.
  3. Choose the user role you want to edit, probably “admin.”
  4. Select the “All” group and enable the capabilities starting with advanced_ads like on the screenshot below.
Advanced Ads capabilities in All group in Members plugin
  1. Select the “Ads” group and enable the advanced_ads_edit_ads capability like on the screenshot below.
Advanced Ads capabilities in Ads group in Members plugin
  1. Save the new capabilities and try again to edit the ads.

Sometimes, you might need to log out and log in again to WP Admin.

Subscribe to our newsletter and get 2 add-ons for free!

* indicates required

What else you need to know

Every Ad Admin and Ad Manager also can use HTML and upload images. These rights are not limited to ads, so that an author with one of these ad-related roles also has these capabilities site-wide. While in a standard WordPress environment, he doesn’t.

Please keep this in mind when giving anybody access to these roles.

If you have Advanced Ads Pro activated before version 1.2.5, you must disable and enable it again to use these user roles.

Using the Member plugin, you can adjust the individual capabilities.

Make it better

Increase your ad management skills without spending more time.
Join over 150,000 publishers and AdOpts increasing their ad revenue.