Upload a third-party creative and assign it to a line item via the DV360 API
domain: advertising · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Authenticate and target the current general-availability DV360 API version (v4 has moved out of beta to GA; v1 is sunset)
Create the Creative resource under the advertiser specifying creativeType, hostingSource (third-party), dimensions, and any third-party tag/click-tracking URLs
Set exitEvents, timerEvents, and counterEvents on the creative as needed for tracking before it's usable in a campaign
Retrieve the target line item, append the new creative's ID to its existing assignedCreatives list, and PATCH the line item with an update mask limited to creativeIds
Confirm the creative passes DV360 policy/ad review before expecting it to actually serve, even though the API assignment call itself succeeds immediately
Re-fetch the line item afterward to confirm the creative association persisted as expected
Known gotchas
PATCHing a line item's creativeIds without first merging in the existing assigned creatives silently unassigns every other creative on that line item
A successful API assignment does not guarantee the creative will serve — it still must clear DV360's separate ad review/policy process
Required third-party creative fields (exit/timer/counter events) vary by hostingSource/creativeType combination, so a template built for one ad format can be missing fields required for another
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?