• Resolved yogendrarai

    (@yogendrarai)


    Hi Sir,

    I followed your instruction by watching youtube video and below is my code. But this is not working. Before testing with AdSense I want to test it with Simple banner, so I don’t get blocked. Please check what is wrong with my code.


    Regards
    Yogendra Rai

    <?php
    if( aicp_can_see_ads() ) { // This part will show ads to your non-banned visitors
    $adCode = ‘<div class=”aicp”><!– Don\’t forget to add this div with aicp class –>

    </div><!– end of the aicp div –>’;
    echo $adCode;
    }
    ?>

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author iSaumya

    (@isaumya)

    Hi,
    please wrap your above codes within pre tags so that I can read it.
    https://www.w3schools.com/tags/tag_pre.asp

    Thread Starter yogendrarai

    (@yogendrarai)

    	<?php 
    		if( aicp_can_see_ads() ) { // This part will show ads to your non-banned visitors
    			$adCode = '<div class="aicp"><!-- Don\'t forget to add this div with aicp class -->
    			
    			
    			
    			
    			</div><!-- end of the aicp div -->';
    			echo $adCode;
    		}
    	?>
    
    Plugin Author iSaumya

    (@isaumya)

    Hi as I can see you are using a <img scr="" /> based affiliate ads which is no longer supported in the latest AICP version and clearly written in the description section of the plugin. If you wanna use that kind of ad units, you have to download the older version of the plugin. The newer version of the plugin only supports iframe based ads. So, if you have any iframe based affiliate ads, try that.

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

The topic ‘Unable to test ad banner’ is closed to new replies.