This is the manual of our Google Ad Manager integration for WordPress.
Table of Contents
Connect to your Ad Manager account
Enable the API in GAM
Before connecting your site to Google Ad Manager, you need to enable the API access option in your account.
- log in to your Google Ad Manager account
- go to Admin > Global Settings > Network Settings > General Settings > API access
- click on Save (it is easy to miss at the bottom of the page)
You should be able to connect to the API in a few minutes now.
Connect your site
You need to connect the Google Ad Manager integration to your account in order to load the ads from it.
- go to Advanced Ads > Settings > Google Ad Manager
- click on Connect account
- choose the Google account your Ad Manager is hosted with
- confirm the connection two times
- copy the confirmation code
- paste the confirmation code in the appropriate popup in Advanced Ads and submit it
Your Google Ad Manager account should be connected with your site now.
Using Google Ad Manager ads
The plugin creates a new ad type called “Google Ad Manager” in Advanced Ads.
When selected, the Ad Parameters box will list all active ad units from your account. Just click on one line to select the ad unit.
Ad units need to be activated in your Google Ad Manager account to show up in the list of available ad units.
Ads set up as “Smart Banners” in Google Ad Manager are not showing up in the ad list, since they are supposed to be used in Mobile Apps and not on websites.
If you add new ad sizes to your ad units in your Google Ad Manager account then you need to click on the update button at the top of the ad unit list in Advanced Ads 30 minutes after you made the change to load the new code into the plugin.
Collapsing ad units
Set the Collapse empty elements option under Advanced Ads > Settings > Google Ad Manager to define how ad space should behave if ads are not loaded into them.
- Do not collapse – reserves the ad space and even keeps it when no ad was loaded from Google Ad Manager. This is recommended if your ad space always delivers ads and you want to prevent your content from jumping in case an ad is missing.
- Collapse if empty – reserves the ad space and collapses it after Google Ad Manager did not fill it.
- Fill space when ad is loaded – no reserved ad space. It only fills the space when Google Ad Manager has an ad for it.
What else you need to know
Please notice that we can only support our Google Ad Manager integration and not help with settings within your actual GAM account.
Changes in Google Ad Manager always need some time to be visible on your site. The average delay is about 30 minutes.
Our Google Ad Manager plugin uses inline tags, which don’t need matching head and body codes and is therefore flexible when it comes to delivering different ad units to different users. If you are depending on using the Roadblock or SingleRequest options for Google Ad Manager then use the manual setup for Ad Manager tags as described here.
We store all relevant ad unit information with the ad created in Advanced Ads. This keeps the ad working even when you connect your site with a different Google Ad Manager account or disconnect it completely.
The ad container ID created by Advanced Ads is different from the one in the GAM account and changes with each page reload if your site is not cached. This is due to this information missing in the GAM API and has no impact on the functionality of the ad. We are following the same format though, e.g.,
On AMP pages, the ad codes are generated with multi-size validation disabled. This means that all sizes defined for the ad unit in your Google Ad Manager account will show up on AMP as well.