{"id":321578,"date":"2026-06-12T02:45:12","date_gmt":"2026-06-12T02:45:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/adpagex\/"},"modified":"2026-06-12T03:43:33","modified_gmt":"2026-06-12T03:43:33","slug":"adpagex","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/adpagex\/","author":23510179,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"7.0","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"AdPageX","header_author":"AdPageX","header_description":"Advanced advertisement management plugin for WordPress. Easily integrate and manage AdSense for Search (AFS), Google AdSense, and other ad networks with precise placement control and targeting options.","assets_banners_color":"e4e4e9","last_updated":"2026-06-12 03:43:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/adpagex.com","header_author_uri":"https:\/\/adopx.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":24,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<p>Initial release \u2014 no upgrade required.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3569545,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3569545,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3569545,"resolution":"772x250","location":"assets","locale":"","width":772,"height":243}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3569545,"resolution":"1","location":"assets","locale":"","width":1689,"height":554},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3569545,"resolution":"2","location":"assets","locale":"","width":1672,"height":849},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3569545,"resolution":"3","location":"assets","locale":"","width":1677,"height":828},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3569545,"resolution":"4","location":"assets","locale":"","width":1685,"height":513},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3569545,"resolution":"5","location":"assets","locale":"","width":1083,"height":900}},"screenshots":{"1":"<strong>Placements list<\/strong> \u2014 overview of all configured ad placements with status indicators.","2":"<strong>Add\/Edit Placement<\/strong> \u2014 full configuration form: location, position, device targeting, rewarded ads.","3":"<strong>Settings page<\/strong> \u2014 set the active placement and configure the API endpoint.","4":"<strong>Frontend example<\/strong> \u2014 AdSense for Search box inserted after paragraph 3 of a post.","5":"<strong>Read More gate<\/strong> \u2014 content split with a Read More button before the ad triggers."}},"plugin_section":[],"plugin_tags":[321,148,266745,368,377],"plugin_category":[35],"plugin_contributors":[266746],"plugin_business_model":[],"class_list":["post-321578","plugin","type-plugin","status-publish","hentry","plugin_tags-ads","plugin_tags-adsense","plugin_tags-adsense-for-search","plugin_tags-advertising","plugin_tags-monetization","plugin_category-advertising","plugin_contributors-adpagex","plugin_committers-adpagex"],"banners":{"banner":"https:\/\/ps.w.org\/adpagex\/assets\/banner-772x250.png?rev=3569545","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/adpagex\/assets\/icon-128x128.png?rev=3569545","icon_2x":"https:\/\/ps.w.org\/adpagex\/assets\/icon-256x256.png?rev=3569545","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/adpagex\/assets\/screenshot-1.png?rev=3569545","caption":"<strong>Placements list<\/strong> \u2014 overview of all configured ad placements with status indicators."},{"src":"https:\/\/ps.w.org\/adpagex\/assets\/screenshot-2.png?rev=3569545","caption":"<strong>Add\/Edit Placement<\/strong> \u2014 full configuration form: location, position, device targeting, rewarded ads."},{"src":"https:\/\/ps.w.org\/adpagex\/assets\/screenshot-3.png?rev=3569545","caption":"<strong>Settings page<\/strong> \u2014 set the active placement and configure the API endpoint."},{"src":"https:\/\/ps.w.org\/adpagex\/assets\/screenshot-4.png?rev=3569545","caption":"<strong>Frontend example<\/strong> \u2014 AdSense for Search box inserted after paragraph 3 of a post."},{"src":"https:\/\/ps.w.org\/adpagex\/assets\/screenshot-5.png?rev=3569545","caption":"<strong>Read More gate<\/strong> \u2014 content split with a Read More button before the ad triggers."}],"raw_content":"<!--section=description-->\n<p><strong>AdPageX<\/strong> makes it easy to integrate and manage <strong>Google AdSense for Search (AFS)<\/strong> on any WordPress website. Set up monetized search ads in minutes \u2014 no coding needed.<\/p>\n\n<p>With AdPageX you can:<\/p>\n\n<ul>\n<li><strong>Place ads exactly where you want<\/strong> \u2014 after any paragraph, before content, after images, after headings, or inside custom HTML elements<\/li>\n<li><strong>Target specific page types<\/strong> \u2014 posts, pages, homepage, search pages, category archives, and tag pages<\/li>\n<li><strong>Target specific devices<\/strong> \u2014 desktop, tablet, or mobile only<\/li>\n<li><strong>Show a Read More button<\/strong> to gate premium content and display an ad before revealing the rest of the article<\/li>\n<li><strong>Enable Rewarded Ads<\/strong> \u2014 show a rewarded ad triggered by a Read More button click or a custom CSS selector, with configurable cooldown periods<\/li>\n<li><strong>Manage multiple placements<\/strong> \u2014 create as many configurations as you need and switch the active one from Settings<\/li>\n<li><strong>Insert via shortcode or PHP<\/strong> \u2014 <code>[adpagex id=\"...\"]<\/code> or <code>&lt;?php echo adpagex('...'); ?&gt;<\/code><\/li>\n<\/ul>\n\n<h4>Supported Ad Locations<\/h4>\n\n<ul>\n<li>After \/ Before paragraph #N<\/li>\n<li>After \/ Before full content block<\/li>\n<li>After \/ Before image #N<\/li>\n<li>After \/ Before heading #N<\/li>\n<li>Inside a custom element (by ID)<\/li>\n<\/ul>\n\n<h4>Rewarded Ads<\/h4>\n\n<p>AdPageX supports Google Ad Manager rewarded ads. Trigger them from a Read More button or any custom CSS selector. Configurable cooldown prevents users from seeing the same rewarded ad too frequently.<\/p>\n\n<h4>Coming Soon<\/h4>\n\n<ul>\n<li>Google AdSense display ads<\/li>\n<li>Google Ad Manager (GAM)<\/li>\n<li>Outstream video ads<\/li>\n<li>ASAS (AdopX Smart Ad Shield)<\/li>\n<\/ul>\n\n<h4>Privacy &amp; External Services<\/h4>\n\n<p>This plugin connects to the <strong>AdopX API<\/strong> (<code>api.adopx.com<\/code>) to fetch the ad script for your placement. The following data is sent when you save a placement:<\/p>\n\n<ul>\n<li>Your Publisher ID (pub-ID)<\/li>\n<li>Your Style ID<\/li>\n<li>Your site URL<\/li>\n<li>Ad placement settings (target element, keyword count, sponsored link count)<\/li>\n<li>Reward configuration (if rewarded ads are enabled)<\/li>\n<\/ul>\n\n<p>No personal visitor data is collected or transmitted. The API response is a JavaScript ad script stored in your WordPress database.<\/p>\n\n<p>By using this plugin you agree to the <a href=\"https:\/\/adopx.com\">AdopX Terms of Service<\/a> and <a href=\"https:\/\/adopx.com\/privacy-policy\">Privacy Policy<\/a>.<\/p>\n\n<p>This plugin also loads the <strong>Google AdSense for Search (AFS)<\/strong> script from <code>google.com<\/code>:<\/p>\n\n<ul>\n<li>Script URL: <code>https:\/\/www.google.com\/adsense\/search\/ads.js<\/code><\/li>\n<li>Loaded on: frontend pages where an active ad placement is configured and enabled<\/li>\n<li>Data sent: ad impressions and search events are reported to Google as part of normal AFS ad delivery<\/li>\n<li><a href=\"https:\/\/policies.google.com\/terms\">Google Terms of Service<\/a><\/li>\n<li><a href=\"https:\/\/policies.google.com\/privacy\">Google Privacy Policy<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Automatic Installation (Recommended)<\/h4>\n\n<ol>\n<li>Go to <strong>Plugins \u2192 Add New<\/strong> in your WordPress admin<\/li>\n<li>Search for <strong>AdPageX<\/strong><\/li>\n<li>Click <strong>Install Now<\/strong> then <strong>Activate<\/strong><\/li>\n<\/ol>\n\n<h4>Manual Installation<\/h4>\n\n<ol>\n<li>Download the plugin zip file<\/li>\n<li>Go to <strong>Plugins \u2192 Add New \u2192 Upload Plugin<\/strong><\/li>\n<li>Upload the zip and click <strong>Install Now<\/strong>, then <strong>Activate<\/strong><\/li>\n<\/ol>\n\n<h4>First Setup<\/h4>\n\n<ol>\n<li>After activating, go to <strong>AdPageX \u2192 Placements<\/strong> in the admin menu<\/li>\n<li>Click <strong>Add New Placement<\/strong><\/li>\n<li>Enter your AdSense for Search <strong>Publisher ID<\/strong> and <strong>Style ID<\/strong><\/li>\n<li>Choose where the ad should appear (location and position)<\/li>\n<li>Select which page types and devices should show the ad<\/li>\n<li>Click <strong>Save Placement<\/strong><\/li>\n<li>Go to <strong>AdPageX \u2192 Settings<\/strong> and set your new placement as <strong>Active<\/strong><\/li>\n<\/ol>\n\n<p>The ad will now appear automatically on your site.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20i%20get%20my%20publisher%20id%20and%20style%20id%3F\"><h3>Where do I get my Publisher ID and Style ID?<\/h3><\/dt>\n<dd><p>Log in to your <a href=\"https:\/\/www.google.com\/adsense\">Google AdSense<\/a> account, go to <strong>Ads \u2192 By ad unit \u2192 Search ads<\/strong>, and create or view an existing AFS unit. Your Publisher ID starts with <code>partner-pub-<\/code> and the Style ID is a numeric code.<\/p><\/dd>\n<dt id=\"what%20is%20adsense%20for%20search%20%28afs%29%3F\"><h3>What is AdSense for Search (AFS)?<\/h3><\/dt>\n<dd><p>Google AdSense for Search lets you embed a search box on your website. When a visitor searches, Google shows relevant sponsored results alongside organic results and you earn revenue from clicks.<\/p><\/dd>\n<dt id=\"will%20this%20plugin%20work%20with%20my%20theme%3F\"><h3>Will this plugin work with my theme?<\/h3><\/dt>\n<dd><p>AdPageX inserts ads into post content via the standard <code>the_content<\/code> WordPress filter and uses <code>wp_enqueue_script()<\/code> \/ <code>wp_enqueue_style()<\/code> for assets. It is compatible with all standard WordPress themes.<\/p><\/dd>\n<dt id=\"can%20i%20show%20ads%20only%20on%20mobile%20or%20only%20on%20desktop%3F\"><h3>Can I show ads only on mobile or only on desktop?<\/h3><\/dt>\n<dd><p>Yes. Each placement has a <strong>Device Targeting<\/strong> option where you can restrict display to desktop, tablet, mobile, or any combination.<\/p><\/dd>\n<dt id=\"what%20is%20a%20rewarded%20ad%3F\"><h3>What is a Rewarded Ad?<\/h3><\/dt>\n<dd><p>A rewarded ad is a full-screen ad that users can choose to watch in exchange for accessing gated content. AdPageX supports rewarded ads via Google Ad Manager. You can set a cooldown (in minutes) so the same user is not shown the ad again too soon.<\/p><\/dd>\n<dt id=\"how%20does%20the%20read%20more%20button%20work%3F\"><h3>How does the Read More button work?<\/h3><\/dt>\n<dd><p>When enabled, the plugin splits the post content at the insertion point. Visitors see the beginning of the post and a <strong>Read More<\/strong> button. Clicking the button triggers the rewarded ad (if configured) or simply reveals the rest of the content.<\/p><\/dd>\n<dt id=\"can%20i%20use%20multiple%20placements%20at%20the%20same%20time%3F\"><h3>Can I use multiple placements at the same time?<\/h3><\/dt>\n<dd><p>Currently only one placement is active at a time. You can create multiple placements and switch between them in Settings.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20store%20visitor%20data%3F\"><h3>Does this plugin store visitor data?<\/h3><\/dt>\n<dd><p>No. AdPageX does not collect or store any personal visitor data. The only data sent externally is your publisher configuration (to fetch the ad script from the AdopX API).<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20gdpr%20compliant%3F\"><h3>Is this plugin GDPR compliant?<\/h3><\/dt>\n<dd><p>AdPageX itself does not collect personal data. However, Google AdSense for Search may set cookies as part of ad delivery. You should disclose this in your site's privacy policy and cookie notice in accordance with GDPR and applicable local law.<\/p><\/dd>\n<dt id=\"how%20do%20i%20insert%20an%20ad%20manually%20using%20a%20shortcode%3F\"><h3>How do I insert an ad manually using a shortcode?<\/h3><\/dt>\n<dd><p>Use <code>[adpagex id=\"YOUR_PLACEMENT_ID\"]<\/code> in any post, page, or widget. The placement ID is shown in the Placements list in the admin dashboard.<\/p><\/dd>\n<dt id=\"how%20do%20i%20insert%20an%20ad%20in%20a%20php%20template%3F\"><h3>How do I insert an ad in a PHP template?<\/h3><\/dt>\n<dd><p>Add this to your theme template:\n    <\/p><\/dd>\n<dt id=\"the%20ad%20is%20not%20showing.%20what%20should%20i%20check%3F\"><h3>The ad is not showing. What should I check?<\/h3><\/dt>\n<dd><ol>\n<li>Make sure the placement is set as <strong>Active<\/strong> in Settings<\/li>\n<li>Make sure the <strong>Status<\/strong> of the placement is set to <strong>Enable<\/strong><\/li>\n<li>Confirm the page type (post, page, etc.) is checked under <strong>Where to Display<\/strong><\/li>\n<li>Check the device type matches your current device<\/li>\n<li>Try clearing your page cache if you use a caching plugin<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>AdSense for Search (AFS) integration<\/li>\n<li>9 ad insertion locations: after\/before paragraph, content, image, heading, custom element<\/li>\n<li>Read More button with content gating<\/li>\n<li>Rewarded Ads support (Google Ad Manager)<\/li>\n<li>Device targeting (desktop \/ tablet \/ mobile)<\/li>\n<li>Page type targeting (posts, pages, home, search, category, archive)<\/li>\n<li>Multiple placements with single active selection<\/li>\n<li>Shortcode <code>[adpagex id=\"...\"]<\/code> and PHP helper <code>adpagex()<\/code><\/li>\n<\/ul>","raw_excerpt":"Monetize your WordPress site with Google AdSense for Search (AFS). Precise ad placement, rewarded ads support, and zero coding required.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/321578","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=321578"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/adpagex"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=321578"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=321578"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=321578"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=321578"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=321578"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=321578"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}