# Ad Code

To create ads with third party code navigate to WordPress Dashboard > WPAdCenter > Create Ad

![](https://lh6.googleusercontent.com/DtyFlcxr54EmSN-tT-CVQpsp-s69aXeOebrLeTJCl10dx8EfwEVT8AwjZAdTdhSS1jFKRztrkFlG8Au93RJgsiDbaWDe5XXC7SUUcsdf-Fz_Xhj9HdfhWevD_wa6aoE3gxjzDBzX)

You’ll be taken to the Create New Ad page

<figure><img src="/files/YPP5Of0SjYQRH0fImJEy" alt=""><figcaption></figcaption></figure>

Once on this page, follow the following steps:

1. Set the title of the ad
2. In the ad type select “Ad Code”
3. Add a Caption for your ad&#x20;
4. Paste the ad code from the third party advertisers
5. Enable Ad report email notifications
6. Enable limit impressions/clicks

Finally, you can set the duration you want to run the ad for and hit the publish button. <br>

![](https://lh6.googleusercontent.com/_Z9Qv6QvBLXY6pjfLnKVfqVjgiEy-MyRYVc4NVLTLKTU22-IHeJlE1nC1cWGdabTbROucewMqqssQN8tyJ3GtgUYKZb6tz7ZI9ObkAOcb3o9j8pbI0KWhBdqPg5zInB26ivSPpKd)

Once your ad is created you have to place it in the right posts and places. There are multiple ways of doing that and this part is covered in detail in the “Placing Ads section”.<br>


---

# 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/creating-ads/ad-code.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.
