Title: Rotation Groups
Last modified: December 20, 2022

---

# Rotation Groups

 *  Resolved [pharmanext](https://wordpress.org/support/users/pharmanext/)
 * (@pharmanext)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/rotation-groups/)
 * The amazing thing is. I just found out that there can only be one managing code
   for **Rotation Groups**.
 * I needed to rotate two groups of ads, and separately and independently of each
   other. In other words, to run two randomization processes independent of each
   other in parallel.
 * Rotation Handle #1
 *     ```wp-block-code
       [ADINSERTER ROTATE share="50"]
   
       [ADINSERTER group="One"]
   
       [ADINSERTER ROTATE]
   
       [ADINSERTER group="Two"]
       ```
   
 * Rotation Handle #2
 *     ```wp-block-code
       [ADINSERTER ROTATE share="50"]
   
       [ADINSERTER group="First"]
   
       [ADINSERTER ROTATE]
   
       [ADINSERTER group="Second"]
       ```
   
 * But because of the above-mentioned impossibility, I had to get round to doing
   this.
 *     ```wp-block-code
       [ADINSERTER ROTATE share="25"]
   
       [ADINSERTER group="OneFirst"]
   
       [ADINSERTER ROTATE]
   
       [ADINSERTER group="OneSecond"]
   
       [ADINSERTER ROTATE]
   
       [ADINSERTER group="TwoFirst"]
   
       [ADINSERTER ROTATE]
   
       [ADINSERTER group="TwoSecond"]
       ```
   
 * That is, to provide correct randomization and combination of two groups.
 * The code, of course, has increased quite a bit.
 * But what to do if there are more than two groups? 
 * And one more question.
 * Is it possible to specify more than one **Name** separated by commas in the **[
   ADINSERTER ROTATE group=”Name”]** shortcode?
 * Something like **[ADINSERTER ROTATE group=”Name1, Name 2, Name 3″]**.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/rotation-groups/#post-16307305)
 * Currently there is a limitation for one activation group, however, this will 
   be solved.
   Thanks for pointing it out.
 * You can specify multiple comma separated groups for activation.
   For rotation 
   option you can specify only one. It doesn’t make sense to specify more than one.
 * In your cases specifying rotation share is not needed. If no share is sopecified,
   the shares are equal.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/rotation-groups/#post-16322660)
 * The [latest development version](https://downloads.wordpress.org/plugin/ad-inserter.zip)
   supports multiple rotation group activations.
 *  Thread Starter [pharmanext](https://wordpress.org/support/users/pharmanext/)
 * (@pharmanext)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/rotation-groups/#post-16324277)
 * That’s great!
   You are a wonderful developer who cares very much about your loyal
   users.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Rotation Groups’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

## Tags

 * [group](https://wordpress.org/support/topic-tag/group/)
 * [rotate](https://wordpress.org/support/topic-tag/rotate/)
 * [rotation](https://wordpress.org/support/topic-tag/rotation/)

 * 3 replies
 * 2 participants
 * Last reply from: [pharmanext](https://wordpress.org/support/users/pharmanext/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/rotation-groups/#post-16324277)
 * Status: resolved