You can create templates to manage domain targeting for your campaigns by specifying which domains to include or exclude. These templates help you control which domains are allowed or blocked for your advertisers. You can also reuse the same templates across multiple campaigns, saving time and making the targeting process more efficient.
With the Templates API, you can create, update, and retrieve domain templates.
To start working with advertisers' APIs, you need:
-
Adform DSP user account that has these permissions assigned:
-
Manage Templates Library
-
-
The following scopes assigned to your OAuth client by Adform Support (technical@adform.com):
-
https://api.adform.com/scope/templates.domains: Grants access to all endpoints in the Domains section of the Templates API.
-
https://api.adform.com/scope/templates.domains.readonly: Grants read-only access to some of the endpoints in the Domains section of the Templates API.
-
https://api.adform.com/scope/templates.excel: Grants access to all endpoints in the Excel Templates section of the Templates API.
-
https://api.adform.com/scope/templates.excel.readonly: Grants read-only access to some of the endpoints in the Excel Templates section of the Templates API.
-
https://api.adform.com/scope/templates: Grants access to all endpoints in the Templates section of the Templates API.
-
https://api.adform.com/scope/templates.readonly: Grants read-only access to some of the endpoints in the Templates section of the Templates API.
-
Note
If you don't have an OAuth client yet, follow the procedure in Get Authentication Credentials for Adform APIs to register one.