Title: no ad code with Post IDs
Last modified: November 27, 2023

---

# no ad code with Post IDs

 *  Resolved [kreatur](https://wordpress.org/support/users/kreatur/)
 * (@kreatur)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/no-ad-code-with-post-ids/)
 * ![](https://i0.wp.com/i.imgur.com/RibMR3a.jpg?ssl=1)
 * I wonder what I am doing wrong. I only want the ads to show on these post IDs,
   but there is no code when I search pub- in the source code.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fno-ad-code-with-post-ids%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/no-ad-code-with-post-ids/#post-17232305)
 * Hello,
 * you did not enable any page type. You need to enable insertion on **Posts**:
   
   [https://adinserter.pro/documentation/wordpress-page-types](https://adinserter.pro/documentation/wordpress-page-types)
 * And you need to whitelist those post IDs – you blacklisted them:
   [https://adinserter.pro/documentation/black-and-white-lists](https://adinserter.pro/documentation/black-and-white-lists)
 *  Thread Starter [kreatur](https://wordpress.org/support/users/kreatur/)
 * (@kreatur)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/no-ad-code-with-post-ids/#post-17233199)
 * I thought I can enable ads only on certain posts, can I not do that? I don’t 
   want ads showing on every new post by default.
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/no-ad-code-with-post-ids/#post-17233718)
 * Sure, but you also need to follow the instructions.
 *  Thread Starter [kreatur](https://wordpress.org/support/users/kreatur/)
 * (@kreatur)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/no-ad-code-with-post-ids/#post-17235575)
 * Indeed I didn’t know I can click the x to whitelist, the plugin is very complex.
 * Thank you.

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

The topic ‘no ad code with Post IDs’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [kreatur](https://wordpress.org/support/users/kreatur/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/no-ad-code-with-post-ids/#post-17235575)
 * Status: resolved