Hello Matomo team and community. This issue is now resolved for me.
I’m using the following fixes to ensure campaigns are no longer being rejected by Google Ads.
In my .htaccess file within Matomo directory, I’ve added the following to send an X-Robots-Tag to bots and crawlers.
#Exclude the following locations from being Indexed by setting X-Robots-Tag
#Set environment variable for a specific path
SetEnvIf Request_URI “(.*?)” ROBOTS_NONE
#Send custom header if the environment variable is set
Header set X-Robots-Tag “noindex, noarchive, nosnippet, nofollow” ENV=ROBOTS_NONE
As a secondary precaution (and recommended by the Matomo team from another user) I’ve created a robots.txt file containing the following disallow rules.
User-agent: *
Disallow: /
Disallow: /addons/
Disallow: /plugins/
Disallow: /app/
Disallow: /media/dashboards/
Disallow: /media/files/
Disallow: /media/js/mautic-form-src.js
Disallow: /themes/
Disallow: /translations/
Disallow: /vendor/
This seems to have fixed the disapproval issue for me and both of these could be incorporated within the Matomo installation package to ensure they get deployed for other users.
Wishing you all a happy and healthy Christmas and New Year!