Google Ad Manager API Access

In this guide, you’ll find instructions on how to allow API access to Google Ad Manager.

Step 1: Privilege settings

In order to allow specific action that the Primis API user will be able to commit over the Google Ad manager account, the GAM user should create a new entity from Roles.

  • Click the “Admin” tab in the left menu > Access & Authorization > Enter "Roles" menu item section
  • Click the "New Role" button:
1920
  • Enter a name for the new role, e.g. "Primis API Role"
1920
  • Set the below privileges to the "Primis API User" role:
1162 1071 1057

Click on the "Save" button to create a new role.

Step 2: Service user settings

  • Click the "Admin" tab in the left menu
  • Select "Global Settings" submenu
  • In the "Network settings" tab check the "API access" check box
1916

📘

Terms and Conditions

Need to sign GAM API Terms and Conditions

712
  • Click save after enabling the API
  • Click the "ADD A SERVICE ACCOUNT USER" button: (if you don't see the "Enable API" button and you are running Ad Manager with a different language setting than "English", then you must switch to English to see this button. Once the API access has been enabled, you can switch back to your local language).

Create a new Service Account "Primis API"

  • Primis service account settings for GAM user:
  • Name: Primis-API-User
  • Email: [email protected]
  • Assign the role of this user - "Primis API Role"
1134

For Example:

892

Step 3: Teams creation

  • Go back to Admin tab in the left menu > Access & Authorization
  • Click the "Teams" menu item section
  • Click the "New team" button
1921
  • In the ‘new team’ panel, enter the name and choose the service account user we created in Step 2
  • Make Sure to remove all other Users and keep the API User only.
1920

Step 4: Assign Team to relevant entities

  • Navigate back to the Service Account User we created in Step 2
  • Set the newly created ‘Primis API Team’
1152
  • Assign ‘Primis API Team’ to the relevant order and its associated ad units
773

If teams is not yet activated for your network, users with an administrator role can click > Admin > Global settings > Features to activate.

🚧

Teams Activation

If teams are not yet activated for your network, users with an administrator role can click > Admin > Global settings > Features to activate.