bulk manage dv360 campaigns using structured data files (sdf) download and upload
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
Call SdfDownloadTaskService to create a download task specifying file types (campaign, insertion order, line item, ad group, ad) and SDF version.
Poll the returned long-running operation until it completes, then extract the resource name from the response.
Download the zip of SDFs via media.download with ?alt=media appended to the URL.
Edit the CSVs and re-upload using SdfUploadTaskService, or use Partial SDF Upload to modify only a subset of line item columns in bulk.
Confirm which SDF version your integration targets, since SDF formats are versioned up to four times a year.
Known gotchas
SDF versions are deprecated on a rolling sunset (roughly six months after being superseded) - a hardcoded old version string can start failing without any code change on your end.
Partial SDF Upload only supports a reduced column set for existing line items - it cannot create new entities like a full SDF upload can.
The Standard and QA SDF formats aren't interchangeable: QA format uses display names instead of IDs and isn't meant for round-trip updates.
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?