Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
davidgoldstein
tagDiv Member

As a follow up, the bare bones code, shown below, was used to independently confirm that the adsense was working and pulls the resource image successfully.


<!DOCTYPE html>
<html>
<head>
<title>Test Ads</title>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
</head>
<body>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXXXXXXXXXXXXXX"
data-ad-slot="XXXXXXXXXXX"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</body>
</html>

davidgoldstein
tagDiv Member

Hi Simion. Thank you for taking the time to reply. I double checked that the domain was not banned from AdSense, it’s not. I do see those 403 codes, but I’m not understanding why the same code that works fine in a simple HTML file outside the theme would be returning a 403 when used inside it. What is the theme code doing to the request that could account for this? Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)