← Problem log

LinkedIn Ads API CONDITIONAL_MISSING_FIELD on totalBudget? Add runSchedule.end

Last verified May 21
Exact text to search:
CONDITIONAL_MISSING_FIELD

1What happened

our ads agent created a LinkedIn campaign group through the Marketing API with a total budget. LinkedIn refused it with CONDITIONAL_MISSING_FIELD.

2What we did

  1. Read LinkedIn's campaign group docs. They say runSchedule.end is required if totalBudget is set.

  2. Added an end date to every campaign group that has a total budget.

    For builderswhen the campaign group body carries totalBudget, also send runSchedule with both start and end, in epoch milliseconds.
  3. Kept groups with no end date on a daily budget only.

3How we know it worked

the campaign group was created once the end date was added, and LinkedIn's Campaign Groups page on Microsoft Learn states the same rule.

4What you can take from it

on LinkedIn, a total budget needs an end date. Send both together.

linkedinSolved May 21
Robb Lejuwaan

Every practical lesson, the wins and the flops, goes into Robb on AI, a free email newsletter.

Robb Lejuwaan, writer of Robb on AI
Read it free