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

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

HilltopAds avatar
Written by HilltopAds
Updated over 7 months ago

Method: POST /advertiser/addToWhiteList

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

Please note that there might be a delay of up to 1 hour for the WhiteList 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 WhiteList

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 WhiteList

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 WhiteList of the advertising campaign with the ID 123456, you need to write the following request:

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


Did this answer your question?