Easy create WhiteList and add a traffic source with HilltopAds API
Method: POST /advertiser/setWhiteList
Description: You can create a WhiteList for the advertising campaign created in the HilltopAds personal account and add the required traffic source to the WhiteList.
Please note that there might be a delay of up to 1 hour in creating and updating the WhiteList of traffic sources.
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 | Advertising campaign ID for which you need to create a WhiteList and add a source | 123456 | You can specify the ID of only one advertising campaign. This is a required parameter in the request. |
sourceID | Traffic source ID that needs to be added to the WhiteList | 789123 | To add multiple sources, specify them separated by commas. This is a required parameter in the request. |
Request Example:
To create a WhiteList for the advertising campaign with ID 123456 and add traffic sources with IDs 789123 and 789723 to the WhiteList, you need to write the following request:
https://hilltopads.com/api/advertiser/setWhiteList?key=nXzgO3Bc&sourceId=789123,789723&campaignId=123456