Add a taxonomy for ads

We provide the code snippets and content on this page without any guarantee or support. In most cases, these pages are created on requests or based on individual solutions sent to us by other users. After it was published, we are only reviewing the code and content when we are made aware of an issue. Please let us know if you find one.

Please only use the codes if you understand them and know how to add custom code to your WordPress site.

By default, Advanced Ads comes with “Ad Groups” as the only taxonomy. If you need further options to group ads then you can build that using the code below as a basis. I built that as a custom job for a client to allow grouping ads by a “company” taxonomy.

Since it is a bit larger, I moved the code to a gist.

Make it better

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