Advanced Ads comes with different capabilities for users to manage ads. They can be grouped into 3 types:
- managing plugin options
- creating and managing ads, groups and placements
- inserting ads into post content
Basic capability setup
By default, page admins can do everything. If you select the appropriate option in the plugin settings then also editors can create and manage ads. By default, other default user groups can’t do anything.
With Advanced Ads Pro there are 3 capability roles that you can also assign to individual users:
- Ad Admin – can do everything
- Ad Manager – can manage new and existing ads, but not change plugin options
- Ad User – can only see the Ad icon in the post content 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:
The role you select here will be added in addition to the existing user role and not override 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.
You don’t have access to ads
If you see the following warning when you try to create or edit an ad then please read on.
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.
In most cases, disabling Advanced Ads and Advanced Ads Pro and re-enabling them fixes the issue.
If the above doesn’t help and you are an admin user then you can set the appropriate rights manually like this:
- Install a role manager plugin from wordpress.org. We use the Members plugin here.
- Go to Users > Roles
- Select the user role you want to edit, probably “admin”
- Select the “All” group and enable the capabilities starting with advanced_ads like on the screenshot below
- Select the “Ads” group and enable the advanced_ads_edit_ads capability like on the screenshot below
- 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.
What else you need to know
Every Ad Admin and Ad Manager has also the right to 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 need to disable and enable it again to make use of these user roles.
If you are using the Member-plugin, you can adjust the individual capabilities.