Title: Random function in adrotate
Last modified: June 11, 2018

---

# Random function in adrotate

 *  Resolved [dukilupp](https://wordpress.org/support/users/dukilupp/)
 * (@dukilupp)
 * [8 years ago](https://wordpress.org/support/topic/random-function-in-adrotate/)
 * I have 3 ads using random function (group them in the same group) in adrotate.
   But it seems to me that the shown rate of the 3 ads are not evenly spread.
 * How to set the shown rate to each of them approximately 33.33%?
 * Also, In the Active Adverts page. I have only 3 ads but the id is 1, 2 & 5 (I
   add new ads to test). How to find id 3, 4 to delete?
 * Thanks.
    -  This topic was modified 8 years ago by [dukilupp](https://wordpress.org/support/users/dukilupp/).
    -  This topic was modified 8 years ago by [dukilupp](https://wordpress.org/support/users/dukilupp/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Arnan](https://wordpress.org/support/users/adegans/)
 * (@adegans)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/random-function-in-adrotate/#post-10415118)
 * All adverts having the same weight should even out the impressions over time.
   
   However, output is always semi-random based on your settings and a shuffling 
   function in AdRotate/PHP.
 * If you have no ID 3 or 4, then those adverts don’t exist.
    If you suspect ghost/
   stray records in your database, you can clean that up from Settings > Maintenance.

Viewing 1 replies (of 1 total)

The topic ‘Random function in adrotate’ is closed to new replies.

 * ![](https://ps.w.org/adrotate/assets/icon-256x256.gif?rev=3117289)
 * [AdRotate Banner Manager](https://wordpress.org/plugins/adrotate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adrotate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adrotate/)
 * [Active Topics](https://wordpress.org/support/plugin/adrotate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adrotate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adrotate/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Arnan](https://wordpress.org/support/users/adegans/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/random-function-in-adrotate/#post-10415118)
 * Status: resolved