After I solved the error of getting data from MySQL server, the next progress is making my website profit. This was a second time to submit my website since the content is not eligible for hosting ads from AdSense for the first time.
As you can see, this screenshot is actually look like when I submitted to AdSense first time and they rejected unsurprisingly. It only contains navbar, footer, 1 banner and 2 GitHub status which too few content and no one sure what website topic is it. It forced me to add more content including what I do, tweet widgets and donation. After appended the content of my website and send to AdSense second time. However, they still rejected with the same reason of the first time. This make me froze that I have no idea that my website is completed and no placeholder remain.
Meanwhile, when I review another website which the content is fewer than my site but approved by AdSense, I realized that I can’t rely on DOM to load shared content in HTML.
How to load shared content that make AdSense believe it suitable to hosting ads?
If your website is a dynamic website, sperate the shared content code to specific directory, and import it depending which language or service used like PHP’s include or JSP’s custom tag.
But if your website only allow hosting static website like GitHub page, you can consider make a bunch of content in a single page or copy and paste the code if ok.
(This story contains my opinion only, some information may be differ)