Skip to main content
All CollectionsAPI
Add a traffic zone to BlackList
Add a traffic zone to BlackList

How to add a traffic zone to BlackList by using API?

HilltopAds avatar
Written by HilltopAds
Updated over 9 months ago

Method: POST /advertiser/addToBlackList

Description: You can add a specific traffic source to the BlackList of an advertising campaign created in your HilltopAds account.

Please note that there might be a delay of up to 1 hour for the BlackList to be updated.

Parameters:

name

description

example

comment

key

A unique API key that you can generate in the API section of your HilltopAds account

nXzgO3Bc

This is a required parameter in the request.

campaignID

The ID of the campaign for which you want to update the BlackList

123456

You can provide the ID of only one advertising campaign.

This is a required parameter in the request.

sourceID

The ID of the traffic source you want to add to the BlackList

789123

To add multiple sources, specify them separated by commas.

This is a required parameter in the request.


Request Example:

To add traffic sources with the IDs 789123 and 789723 to the BlackList of the advertising campaign with the ID 123456, you need to write the following request:

https://hilltopads.com/api/advertiser/addToBlackList?key=nXzgO3Bc&sourceId=789123,789723&campaignId=123456


Did this answer your question?