Configure Google Ad Manager tags
Preparing pages to serve ads
|Required: Enable your page to display ads.|
|Optional: Set page-level attributes that influence ad selection. Arguments are case-sensitive (example: 'male' isn't the same as 'Male').|
|Required: Retrieve the ads for your page.|
|Required (once per ad unit): Display Ads|
You must define each ad unit that appears on your page. Your page will call the GA_googleAddSlot function once for each ad unit appearing on the page. The following code sample is for a page containing three ad units; the GA_googleAddSlot function is called three times:
GA_googleAddSlot ("ca-pub1", "GizmosUnlimited_Products_HotPick_ATF_TopBanner_728x90");
GA_googleAddSlot ("ca-pub1", "GizmosUnlimited_Products_HotPick_BTF_BottomBanner_728x90");
GA_googleAddSlot ("ca-pub1", "GizmosUnlimited_Products_HotPick_BTF_Box_90x90");
If you don't want to define your ad units in the header of the page, iframe tagging is available upon request. With iframe tagging, you'll define ad units only in the FillSlot calls. For assistance with iframe tags, please contact us.
Where to put GAM tags
We strongly recommend that you place all of your tags prior to the
FillSlot calls in the
<body> section of the code. As long as the other tags come before the first
FillSlot call, your tags will function.
Learn how to generate ad unit tags.