Update

Update a campaign line.

Allows modifying the budget, bid amount or both at ounce.

When setting pricing settings, one of the pricing settings properties corresponding to the type of bid must be set.

Examples

  • Set a budget of $500/day with a bid of $0.80 CPC:
{
  "budget": 500,
  "pricing": {
    "cpc": 0.8
  }
}   
  • Set a budget of $250/day without modifying the bid amount
{
  "budget": 250
}   
  • Set a bid amount of $1.50 CPM without modifying the budget
{
  "pricing": {
    "cpm": 1.5
  }
}   
Path Params
string
required

The campaign line ID

Query Params
string
required
Defaults to 1.0

The API version

Body Params
int32

The daily spend goal

pricing
object

The bid amount. Only set one of the 3 possible values (CPC, CPM or CPA)

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json