Hello,
this indicates that something is changing the database. Maybe some cron job runs and there is an issue with the database. I would suggest checking the database – ask your hosting company for help.
Ad Inserter settings are stored in the ad_inserter option in the wp_options table in the database. To copy/backup complete Ad Inserter settings you need to copy this option.
Ad Inserter Pro supports exporting/importing block and plugin settings:
https://adinserter.pro/documentation/code-editing#export-import
Hello everyone,
I have seen a lot of users with these issues and wish to address it properly (from multiple experience).
YES this happens only when using ADSTERRA or Monetag ads codes (I believe Adcash triggers this too). The database is being altered by the web hosting Antivirus (such as 360 Total Security, cPGuard Security or others) that detect these ads code’s javascript as malicious (in your Adsterra case: pl25472919.profitablecpmrate.com/Xrandomcharacters/invoke.js), their direct removal process of that code is what corrupts the table where ADSINSERTER stores settings and data. This happens once a week or over weekends cos that’s when most hosting set their antivirus to run a full system scan and remove command (once a week).
If you still wish to use Adsterra, contact their support via live chat while logged in (they are super responsive) and report that their code is flagged as malicious by your hosting’s antivirus, then request for an encrypted version code for the ad unit you wish to use. they will give you an encrypted version that won’t be flagged and wont corrupt Ads inserter data storage.
If you have more control over your hosting you can whitelist those ads js (for example: pl25472919.profitablecpmrate.com/Xrandomcharacters/invoke.js), but unfortunately, most web host trust their antivirus and won’t take risks to compromise their server over one users.
Bottom line, it’s not an Ads Inserter plugin problem. Goodluck
@royalikor
Thank you very much for the explanation.
Thread Starter
makisp
(@makisp)
I verify that this was the case for me. Adsterra could provide encrypted codes, but it was not practical because I could integrate it only once per page. As a result, I ended up asking my hosting to whitelist their ads code.
Can you please tell me in which path the ads codes are stored? Webhosting needs to know that.
-
This reply was modified 1 year, 3 months ago by
makisp.
Thread Starter
makisp
(@makisp)
Here I am again, with a little refresh.
My webhosting checked their Immunify settings and saw that it only cleared files at WP-Super Cache addon folder. I asked them to whitelist that path, and they did, yet my ads code got removed once again yesterday.
It is rather annoying, but I decided to simply be alert at weekends and re-enter the ads codes manually.