Ad Groups

Ad Groups are used to group ads together. You can create as many as you like.

Multiple ads can be displayed together using Ad Groups. For example, you might show a block of 4 ads in the sidebar, a larger ad in the header and a small ad at the end of each post – each one requires its own Ad Group.

To create one, navigate to WordPress Dashboard > WP AdCenter > Manage Ad Groups.

  • Name - Specify a name for the Ad Group.

  • slug (optional) - URL-friendly name of the ad group.

  • Description (optional)- You can also give the ad group a description.

Once all the changes are done click on Add New Group button to save the ad group.

All the created ad groups can be viewed on the table available on the right.

  • Name - Specifies names of the ad groups available.

  • Shortcode - Shortcode can be copied by clicking on it and it can be used inside the editor to display ads.

  • Template Tag - Template Tag can be used to display ads from the ad group dynamically on your website.

  • Number of Ads - Specifies the number of ads that are present in the ad group.

  • Number of Active Ads - Specifies the number of active ads in the ad group.

Displaying Ad Groups

Display Ads using Short Code

  • Copy Short Code from the Manage Ad Groups table.

  • Past copied shortcode in the editor as shown in the image below.

  • Shortcode for reference : [wpadcenter_adgroup adgroup_ids=5 align='none' num_ads=1 num_columns=1]

  • Here you can provide the alignment options as "left", "right", "center" or "none".

  • Specify the number of ads to be displayed.

  • Also, you can specify the number of columns.

  • Max width can be set to "on" or "off".

  • Max Width Value is the value in pixels.

  • Click on Publish/Update button.

Display Ads using Widgets.

  • To display ad groups using widgets, select the WPAdCenter Ad Group widget as shown in the image below.

  • From here you can specify a title for the grouped ads.

  • Select the ad groups that you wish to display, you can also select multiple ad groups.

  • Specify the number of ads.

  • Specify the number of columns.

  • Choose an alignment for the ads to be displayed.

  • To provide a maximum width for ad, enable Max Width option and provide maximum width value.

  • Click on the Save button.

Display Ads using Elementor

  • Select WPAdCenter Adgroup widget, it is present under general widgets.

  • From here you can select the ad groups to be displayed.

  • Select the number of ads.

  • Select number of Columns.

  • Specify the alignment for the ads.

  • To provide a maximum width for ad, enable Max Width option and provide maximum width value.

  • Click on Publish/Update button.

Display Ads using Gutenberg block

  • To display ad groups using Gutenberg block add WPAdCenter Ad Group block to the editor as shown in the image below.

  • From here you can select single/multiple Ad Groups to be displayed.

  • Also, select the alignment for the Ad Groups.

  • Specify the number of Ads to be displayed

  • Specify the number of columns to be displayed in the front-end.

  • To provide a maximum width for ad, enable Max Width option and provide maximum width value.

  • Click on Publish/Update button.