To generate your AdSense for mobile ad code, follow these steps:
- Sign in to your account.
- Visit the My ads tab.
- From the sidebar, choose Other products.
- Click Get started with AdSense for mobile content in the window that appears.
- Then, click Mobile content tab which will appear in the sidebar on the left.
- Click +New ad unit.
- Name and customize your ad unit, then click Save and get code.
- Copy and paste the code into the source of your mobile webpage in the location where you'd like ads to appear.