Missing code from Adsense?


(Por) #1

Ok so I followed this tutorial:

My code I got looks like this:

But I must write in this:

Where do I get the missing code from?


(Por) #2

Just to clarify, I just got approved by Google Adsense, maybe that is why I have not gotten the other code yet, correct?


(Neil Lalonde) #3

Once you’ve created an ad unit, you can get its id from the ad units list:

Also make sure the domain of the site where the ads will be shown is added in the “Allow & block ads” > “Content” section.


Advertising Plugin for Discourse - Serve Ads on your Discourse Forum (Official Endorsed)
(Por) #4

Thanks for the info, I will use it later.
They said I had to post the code I got from them on the forum first, I can not make an Ad-Unit before that. So I posted in admin panel under CSS/HTML and “Top”, hopefully this will be ok.