Skip to content

Docs updates - #357

Merged
conor-iqm merged 2 commits into
iqmcorp:mainfrom
conor-iqm:docs-updates
Oct 13, 2026
Merged

conor-iqm merged 2 commits into
iqmcorp:mainfrom
conor-iqm:docs-updates

Conversation

@conor-iqm

Copy link
Copy Markdown
Collaborator

Planner API updates

conor-iqm and others added 2 commits October 12, 2026 14:37
- Delete HCP Planner: remove stale proposalIds row left behind when
  the query param was renamed to planIds
- Split proposal (cross-screen): response is now the full updated
  proposal object, not {id, message}
- Create plan: note that creative/device combos are validated by an
  external strategy-generation service with no fixed enumerable list,
  and the generic rejection message when none is viable
- Generate custom strategies: note that the returned strategy id is
  the external service's own id, not the real planner-api strategy id
  needed by Activate proposal
- Update draft proposal: fix stale advertiserId -> politicalAdvertiserId
  in the request schema and example (already correct in the sibling
  create/update-ready endpoints and in this endpoint's own TS types)
- Proposal summary endpoints (device-type/channel-type/bid-landscape/
  reach-impressions): fix stale 403/422 error text and drop a
  "field" property that's not actually in the real response

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ProposalStatusEnum.java has id 7 = io_created / "IO Created", which
HCPCampaignService sets as the terminal status on a successful HCP
publish (parallel to how Political/generic proposals terminate at
id 1 Converted instead). The shared proposalStatus EnumWidget only
had ids 1-6, so hcp.mdx's statusId field never showed this as a
possible value. Also documents the proposal-status-list endpoint's
plannerTypeId query param and adds its HCP (plannerTypeId=2) example,
which is the only place that returns this status list correctly but
wasn't shown in our docs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@conor-iqm
conor-iqm merged commit 0fe0fd9 into iqmcorp:main Oct 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant