Migrate a Display & Video 360 API integration's audience and targeting calls from v3 to v4
domain: developers.google.com/display-video/api · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Update client endpoint URLs and client library version to target the v4 Display & Video 360 API surface
Replace all FirstAndThirdPartyAudience resource references with the new FirstPartyAndPartnerAudience resource, including its service methods, default page size, and field names
Update assignedTargetingOptions calls that reference audience group details to the renamed v4 fields (e.g. excludedFirstAndThirdPartyAudienceGroup to excludedFirstPartyAndPartnerAudienceGroup)
Rename calls to advertisers.adGroups.bulkListAdGroupAssignedTargetingOptions to the v4 name advertisers.adGroups.bulkListAssignedTargetingOptions
Set optimizationObjective on insertion order creation, which is now a required field in v4
Known gotchas
v4 is the current API version per Google's own migration guide; v3 callers should plan the move since Google frames this as a breaking-change migration, not an optional update
The audience resource rename affects both direct API calls and any stored request bodies/config that reference the old FirstAndThirdPartyAudience name
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?