Build a first-party audience segment in DV360 using the Audience API

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

Steps

  1. Use the Display & Video 360 REST API firstAndThirdPartyAudiences resource to create a new first-party audience; set the audienceType to FIRST_PARTY and define the audienceSource (e.g., YOUTUBE, GOOGLE_ANALYTICS, or PIXEL).
  2. For pixel-based audiences, reference the Floodlight activity tag or Google tag that fires on the relevant conversion or page-visit event.
  3. Set the membership duration (membershipDurationDays) to specify how long a user remains in the audience after qualifying; the maximum supported duration is 540 days.
  4. Link the audience to a line item's audienceTargetingConfig by including the audience segment ID in the includedFirstAndThirdPartyAudienceGroups field.
  5. Allow 24–48 hours for the audience to populate before expecting targeting to take effect; newly created segments start with zero members and will not serve until the minimum size threshold is reached.
  6. Use the audienceGroups structure to combine multiple segments with AND or OR logic; AND (intersection) logic requires all segments to be in the same group, while OR (union) logic uses separate groups.

Known gotchas

Related routes

Build and manage a Custom Audience via the X Ads API v4 Audience API
docs.x.com · 5 steps · unrated
build a snapchat custom audience from hashed customer data via snap audience match
developers.snap.com/api/marketing-api · 5 steps · unrated
Create and manage Amazon DSP audience segments via the Amazon Ads Audiences 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