Create a line item via Display & Video 360 API

domain: developers.google.com/display-video/api · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate with OAuth 2.0 using the DV360 API scope (https://www.googleapis.com/auth/display-video); ensure the service account or user has the appropriate DV360 advertiser role.
  2. Identify the advertiser ID, insertion order ID, and desired line item type (e.g. LINE_ITEM_TYPE_DISPLAY_DEFAULT or LINE_ITEM_TYPE_VIDEO_DEFAULT) before making the creation call.
  3. POST to https://displayvideo.googleapis.com/v3/advertisers/{ADVERTISER_ID}/lineItems with a body containing insertionOrderId, displayName, lineItemType, entityStatus (ENTITY_STATUS_DRAFT), pacing, frequencyCap, and budget.
  4. Capture the lineItemId from the response and create targeting assignments by POSTing to /advertisers/{ADVERTISER_ID}/lineItems/{LINE_ITEM_ID}/targetingTypes/{TARGETING_TYPE}/assignedTargetingOptions.
  5. Associate creatives with the line item via the creativeAssignments field in a PATCH call on the line item.
  6. Update entityStatus to ENTITY_STATUS_ACTIVE when the line item is ready, and confirm the parent insertion order is also active.

Known gotchas

Related routes

Create a DV360 line item with frequency capping via the Display & Video 360 API
developers.google.com · 6 steps · unrated
Create a DV360 (Display and Video 360) insertion order and flight via the Display & Video 360 API
developers.google.com/display-video · 6 steps · unrated
Upload a third-party creative and assign it to a line item via the DV360 API
advertising · 6 steps · unrated

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?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans