We recently launched Your AdSense Page where you can find personalized information about your account to help you succeed with AdSense.

/adsense/community?hl=en
This content is likely not relevant anymore. Try searching or browse recent questions.
Error in console says "adsbygoogle.push() error: Only one AdSense head tag supported per page." 0 Recommended Answers 7 Replies 16 Upvotes
1 Update
$0 Updates
1 Recommended Answer
$0 Recommended Answers
1 Relevant Answer
$0 Relevant Answers
0
I am getting an error in the console of my website www.donescene.com which says "adsbygoogle.push() error: Only one AdSense head tag supported per page." Although I searched in my html and I could find only one tag, what am i missing here?
Details
Relevant Answer Relevant Answers (0)
All Replies (7)
It's nice to be important, but it's more important to be nice.
Relevant Answer
Press CTRL+U to view HTML source code of your page, and then CTRL+F and search for pub-
 
This is the new version of Auto ads code:
 
<script data-ad-client="ca-pub-****************" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
 
This is the old version of Auto ads code:
 
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script>
(adsbygoogle = window.adsbygoogle || []).push({
  google_ad_client: "ca-pub-****************",
  enable_page_level_ads: true
});
</script>
 
Only one per page is supported, so having one old + one new is more than one.
marked this as an answer
Relevant Answer
I have the same problem here almogtama3.com, although I have only one adsense tag, I searched for terms like: ads, pub-  and I confirm I found only one adsense tag.
marked this as an answer
It's nice to be important, but it's more important to be nice.
Relevant Answer
I think there is one implemented directly and one with ngx-adsense.
 
 
 
marked this as an answer
Relevant Answer
Thank you @galeksic for your response.
<ngx-adsense> injects an angular tag in the <head> in some pages.
it dosen't load the adsense code by itself, and removing this component will remove the adsense code from the head.

anyway, apart from Angular components, as of the rendered html code there is only one adsense code in the source code. `<ngx-adsense>` dosen't push any adsense request, as it dosen't perform any js call.

Network requests tab (in developers tools) shows that it requested only one as shown in the attached image (sorted alphabetically)
marked this as an answer
It's nice to be important, but it's more important to be nice.
Relevant Answer
Just to clarify what I mean when I say there are two.
 
 
marked this as an answer
Relevant Answer
I removed <ngx-adesense> totally, but still get the same error
marked this as an answer
It's nice to be important, but it's more important to be nice.
Relevant Answer
I apologize, I thought it was ngx-adsense.

This is my Network tab.
 
 
marked this as an answer
This question is locked and replying has been disabled.
Discard post? You will lose what you have written so far.
Write a reply
10 characters required
Failed to attach file, click here to try again.
Discard post?
You will lose what you have written so far.
Personal information found

We found the following personal information in your message:

This information will be visible to anyone who visits or subscribes to notifications for this post. Are you sure you want to continue?

A problem occurred. Please try again.
Create Reply
Edit Reply
This will remove the reply from the Answers section.
Notifications are off
Your notifications are currently off and you won't receive subscription updates. To turn them on, go to Notifications preferences on your Profile page.
Report abuse
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
Report post
What type of post are you reporting?
Google takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Go to the Legal Help page to request content changes for legal reasons.

Reported post for abuse
Unable to send report.
This reply is no longer available.
/adsense/threads
//accounts.google.com/ServiceLogin
You'll receive email notifications for new posts at
Unable to delete question.
Unable to update vote.
Unable to update subscription.
You have been unsubscribed
Deleted
Unable to delete reply.
Removed from Answers
Removed from Updates
Marked as Recommended Answer
Marked as Update
Removed recommendation
Undo
Unable to update reply.
Unable to update vote.
Thank you. Your response was recorded.
Unable to undo vote.
Thank you. This reply will now display in the answers section.
Link copied
Locked
Unlocked
Unable to lock
Unable to unlock
Pinned
Unpinned
Unable to pin
Unable to unpin
Marked
Unmarked
Unable to mark
Reported as off topic
Known Issue
Fixed
Marked Fixed
Unmarked Fixed
Unable to mark fixed
Unable to unmark fixed
/profile/0
false
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
157
false