# Placing Ad Using Consolidated Block/Elementor Widget

The below steps elaborate on how to switch from the old blocks/widgets to the New Consolidated one. Also, the users are requested to use **ONLY** the consolidated blocks (Gutenberg - **WPAdCenter Ad block**, and Elementor- **WPAdCenter Ad Widget**) going forward for creating new ads.

## **How to replace WPAdcenter Elementor Ad Widgets with consolidated WPAdcenter Ad Widget?**

* Open the page/post containing Elementor Widget(s) to display your ads in the **‘Edit with Elementor’ mode**.

![](/files/Piy8joN1IFJDm2p6gpPH)

* Select your WPAdcenter Elementor Ad Widget and note the Widget Type (Single Ad, Random Ad, Adgroup Ads, Ordered Ads, Rotating Ad, Animated Ads) and other settings like Select Ad, Alignment, Enable Max Width, Max width, etc.

![](/files/aKLFPVRxO4zVIqcuy7j4)

* Click on the **‘+’** to add a widget above the selected one.

![](/files/OUYZlvQk8KIwduMPxiif)

* Select and drag the **‘Ad Widget’** by WPAdcenter.

![](/files/1sx0YDMBBOY2K9GpfRU4)

* Select the appropriate Ad Type ( If you’re replacing the widget for ‘WPAdcenter Single Ad’ then, select the ‘Single Ad’ ad type).
* Choose the settings that you’ve noted in Step 2 (If you’re replacing the widget for ‘WPAdcenter Single Ad’, then select the same Ad, and set the same Alignment, Max width, etc you’ve set for the widget you’re replacing).

![](/files/iqjPgwweTUZ3tRqltGva)

* Remove the old widget by clicking on the **‘x’**.

![](/files/sYDmNWUrFOLiXnZdUDBu)

* Update the Changes and repeat the same procedure for all the Elementor Widgets.

![](/files/JIh6wT3vbDWqjLOCWKZz)

## **How to replace WPAdcenter Gutenberg Ad Blocks with consolidated WPAdcenter Ad Block?**

* **Open the page/post containing Gutenberg blocks to display your ads in the Editor.**

![](/files/vaPINlMzgLUK9RX6unO5)

* **Click on the Ad preview which you see on the editor.**

![](/files/XKXxxmO5flLYSM64QJ0v)

* **Note the Gutenberg block Type (Single Ad, Random Ad, Adgroup Ads, Ordered Ads, Rotating Ad, Animated Ads) and other settings like Select Ad, Alignment, Enable Max Width, Max width, etc.**

![](/files/ipjYocc9CoxmYeZNaaB4)

* **Click on the ‘+’ to add a new Gutenberg block and Select the ‘WPAdcenter Ad Block’.**

![](/files/TVhSBgOgp1HwZXrG50wF)

* **Select the appropriate Ad Type ( If you’re replacing the block for ‘WPAdcenter Single Ad’ then, select the ‘Single Ad’ ad type).**

![](/files/S0kvzSmY4MqAizwp7hU6)

* **Choose the settings that you’ve noted in Step 2 (If you’re replacing the block for ‘WPAdcenter Single Ad’, then select the same Ad, and set the same Alignment, Max width, etc you’ve set for the block you’re replacing).**

![](/files/mc5tbAV2oX2X6XuhGHwC)

* **Remove the old block by clicking on the ‘three dots’ available on the top left corner of the block named ‘options’. Then click on ‘Remove&#x20;*****block\_name*****’**

![](/files/Neo8XOknihy7PaXAPnj4)

* **Update the Changes and repeat the same procedure for all the Gutenberg Blocks**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wpeka.com/wp-adcenter/placing-ads/placing-ad-using-consolidated-block-elementor-widget.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
