After you've customized the appearance and settings of your ads or search box, the code you generated is displayed in the Ad code box.
If you've already created an ad unit but haven’t implemented the code yet, you can retrieve its code:
- Visit the "My ads" tab, find your ad unit in the list, and and click "Get code".
- Select the code by clicking anywhere in this box. You'll see the code highlighted in blue.
- Next, from your browser's Edit menu, choose Copy to copy the highlighted area.