Domain lists can be created, edited and viewed using the domain list api. When you have created a domain list, you can attach that domain list to a demand or supply tag for targeting.
...
Append Domains to a Domain List From a File
REST API
POST /api/v0/domain_lists/<id>/domains/file_bulk_create
|
Response
Status code 201
|
Get Domains in Domain List
...
Replace All Domains with a File
REST API
POST /api/v0/domain_lists/<id>/domains/file_bulk_replace
|
Response
Status code 201
|
Remove Domains
SDK
Code Block |
---|
In [13]: domain_list = springserve.domain_lists.get(6114) In [14]: resp = domain_list.remove_domains(['cnn.com']) In [15]: resp.ok Out [15]: True In [16]: print resp.deleted 1 |
...
Remove Domains in a File from a Domain List
REST API
...
DELETE /api/v0/domain_lists/<id>/domains/file_bulk_delete
|
Response
Status code 201
|
Attach to a Demand or Supply Tag
...