Support » Plugin: AMP » AMP | Adsense Auto Ads | Not working on Mobile

  • Resolved Bineet Pal Singh Bakshi

    (@bineetbakshi)


    Hello AMP Creators,
    I want to tell you that, I am using AMP Plugin from last 10 Days. I have switched on Auto Ads for WordPress AMP from my Google Ad-Sense Account. But I Ad-Sense is not showing Auto Ads on AMP Mobile Pages & Posts. Other wise my normal ads without AMP is working properly. Please help me to resolve the issue, as this is making my Ad-Sense revenue down day by day. Before using AMP, I have received an notification on my Ad-Sense account, regarding switching on mobile AMP pages. Please see in this issue and help me out.

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

Viewing 5 replies - 16 through 20 (of 20 total)
  • Rahul Kharbanda

    (@rahulkharbanda972)

    @bineetbakshi sure what I would love to help if my solution works for you what I did was just this :

    Make cookie secure using PHP.ini file.

    if you have the permission to access php.ini, you can open and add below code at the end of php.ini to make your cookie secure and httponly

    session.cookie_httponly=On
    session.cookie_secure=On

    samesite="None"

    I use NGINX as a server; I don’t know what you use still the file is somewhat like
    /etc/php/7.4/fpm/php.ini

    in php.ini you can find with ctrl+w and make changes write out with ctrl+o

    Restart everything including PHP, MySQL or whatever you use on the server.

    If you don’t use suggestive is to talk to your hosting company.

    NOTE: Some servers may use headers to do this, so I am not sure about your server config.

    Also, try to check this in your incognito tab for error console as behind the wp-admin this won’t

    Or will work depending on if you cache the admin or not.

    Again do this with caution,
    please, as I am just a blogger, not a technical person!

    Its is going a bit off-topic here,
    now so we shall close the comments.

    Thanks & best of luck

    Rahul

    Thread Starter Bineet Pal Singh Bakshi

    (@bineetbakshi)

    Thanks for helping me out @rahulkharbanda972 , I appreciate your helping nature. I will try to follow the above you mentioned about php.ini.
    Thanks again.
    Regards
    Bineet Pal Singh Bakshi

    Thread Starter Bineet Pal Singh Bakshi

    (@bineetbakshi)

    @rahulkharbanda972 Thank you for telling me that solution. I want you to know that, I didn’t have any php.ini files in my server. So I created new php.ini file Wp-admin section and added the same code. But it didn’t helped me out. Thanks again for trying helping me.
    @jamesosborne Can you check the website again. Please tell me if there’s any issue.

    Rahul Kharbanda

    (@rahulkharbanda972)

    @bineetbakshi PHP.ini is your server’s file, it’s nowhere in
    The WordPress Directory, as far as I know,

    I would suggest you to kindly talk to your Hosting Service Provider, or your Developer and resolve the matter amicably.

    or else how the team handles this @jamesosborne can guide better.

    I have little knowledge of how WordPress forums work,

    Thanks

    Plugin Support James Osborne

    (@jamesosborne)

    @bineetbakshi I can confirm that your site is eligible for Auto ads for be served. While I don’t see ads consistently when checking from mobile I do encounter Auto ads when inspecting your site.

    There can be numerous reasons why you encounter console warnings and errors relating to ads including ad demand, server performance, placement opportunities, content and much more. Note that I also encounter multiple ad related warnings on your canonical (non AMP) site. The best medium for queries in relation to these warnings would be the AdSense Help Center.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘AMP | Adsense Auto Ads | Not working on Mobile’ is closed to new replies.