Newspack has two-way communication with Google Ad Manager when you’re connected via the Google API. When this connection is established, Newspack automatically does the following.
- Ingests any existing inventory (ad units) from GAM into Newspack
- Creates Newspack default inventory (ad units) for you to use, if you wish
- Creates keys in GAM for key-value targeting of commonly desired targetable metadata:
- template
- slug (the post/page’s path)
- post_type
- id (value would be the post/page’s ID)
- category (value could be the post’s assigned category)
- reader statuses
- logged_in
- newsletter_subscriber
- donor
- subscriber
- Syncs any new inventory (ad units) added either via Newspack or GAM at any time as long as the API connection remains intact
To connect Newspack and Google Ad Manager, first, in GAM, make sure API access is enabled by going to Admin > Global settings, and toggling on API access. Don’t forget to scroll down and Save.
Then, in your site’s WordPress admin, navigate to Newspack > Settings > Connections > API. Connect Google using the same email address you have listed as an Admin in GAM.

Advertising Table of Contents
