Support » Plugin: Ad Invalid Click Protector (AICP) » aicp_can_see_ads function problem

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Saumya Majumder

    (@isaumya)

    It is supposed to return true always except when the visiting IP is blocked.

    Thread Starter anamferreira

    (@anamferreira)

    Apparently it was a cache problem that did not make the plugin work well. Thank you

    i use this code,
    if ( aicp_can_see_ads() )
    echo ‘<div class=”aicp”>
    <script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script&gt;
    <!– anu –>
    <ins class=”adsbygoogle”
    style=”display:block”
    data-ad-client=”ca-pub-6383921691455583″
    data-ad-slot=”5249506802″
    data-ad-format=”auto”
    data-full-width-responsive=”true”>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    </div> ‘;
    problem is – ads are show but in above ad this line show if( aicp_can_see_ads() )
    echo ‘
    can u please tell me how i fix and plugin working or not

    Plugin Author Saumya Majumder

    (@isaumya)

    Are you using Ad Inserter plugin to show the ads? If so, enable the PHP toggle in the ad-block. It is already shown in the video you will find in the plugin description.

    sure php enable and i see video also,but not understand ,according to u code is ok,if ok then where is problem.

    Plugin Author Saumya Majumder

    (@isaumya)

    Hi @amit2030,
    Can you share the screenshot of the adblock instead of pasting the code here?

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.