The AdSense ad code is generated from your Publisher account. You need to add this code to your Web page before you can display Google ads on the Web page. Follow these steps to generate your AdSense AD code:
Log on to your account through https://www.google.com/adsense
Click the
advertisement Layout Code link under the
AdSense for Content tab
To select a format for Google ads to display on your site
and colors. You can also select anything that can be applied to your site
Options, including channels and alternative ads
Depending on the choices you make, your code will be in
your ad Code window
Generated.
Please copy and paste this code to the Google ad you want to display
Source code in the Web page. For suggestions on adding code to a Web page, see How do I add an AdSense code to a Web site? .
If the implementation process is correct, Google ads will appear immediately. The initial appearance may be the public service advertisement, but these advertisement cannot bring you the income. When our crawler accesses your Web page, a targeted ad will appear.