Skip to main content
All CollectionsAPI
Set up a campaign bid
Set up a campaign bid

How to set up a campaign bid by using API?

HilltopAds avatar
Written by HilltopAds
Updated over 8 months ago

Method: PATCH /advertiser/setBid

Description: You can specify the bid for the advertising campaign.

  • If you work on CPM, you can specify the price per 1000 impressions.

  • If you work on CPA, you can specify the price per one conversion.

  • If you work on CPC, you can specify the price per one click.

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

ID of the advertising campaign for which the bid needs to be specified

123456

You can specify the ID of only one advertising campaign.

This is a required parameter in the request.

bid

The price that needs to be specified for the advertising campaign

1.53

All bids are specified in the request without currency but will be set in USD in the result.

This is a required parameter in the request.


Request Example:

To set the CPM bid of $1.53 for the advertising campaign with the ID 123456, you need to write the following request:

https://hilltopads.com/api/advertiser/setBid?key=nXzgO3Bc&campaignId=123456&bid=1.53


Did this answer your question?