Skip to main content
Glama

Whathead Ad Operations

Display & Video 360

dv360_native_action
Destructive

Execute any Display & Video 360 v4 REST action from the generated docs-backed catalog. Use canonical DV360_* actions such as DV360_ADVERTISERS_LIST, or resource + method such as resource=advertisers and method=list. Pass path/query parameters through params, pathParams, or query; pass create/update request bodies through body or payload. body/payload may also be nested under params and may be a JSON object or a stringified JSON object. Campaign flow: create the paused campaign shell with create_campaign or DV360_ADVERTISERS_CAMPAIGNS_CREATE, create the insertion order with DV360_ADVERTISERS_INSERTION_ORDERS_CREATE, create display/video/audio/Demand Gen or explicit YouTube & Partners line items with create_adset or DV360_ADVERTISERS_LINE_ITEMS_CREATE, then upload/create/assign creatives before activating. For YouTube & Partners line item writes, provide the exact lineItemType and bidStrategy.youtubeAndPartnersBid. Existing DV360 accounts can return YouTube & Partners line items through read/list, so MCP does not locally block explicit payloads; Google remains the final authority for account/type-specific write support. For creative assets use DV360_ADVERTISERS_ASSETS_UPLOAD with advertiserId plus body/payload { filename, mediaBase64 or mediaContent, mimeType }. For generic media upload use DV360_MEDIA_UPLOAD with resourceName plus mediaBase64 or mediaContent and mimeType; the backend adds upload_type=media. For generic media download use DV360_MEDIA_DOWNLOAD with resourceName; the backend adds alt=media. For creative creation use DV360_ADVERTISERS_CREATIVES_CREATE or the semantic create_creative tool, then assign creatives by patching DV360_ADVERTISERS_LINE_ITEMS_PATCH with updateMask=creativeIds. For YouTube line item asset launch work, manage location lists with DV360_ADVERTISERS_LOCATION_LISTS_* and link sitelink/location assets with DV360_ADVERTISERS_LINE_ITEMS_YOUTUBE_ASSET_TYPES_YOUTUBE_ASSET_ASSOCIATIONS_*; Google marks association create/delete as available only to an informed subset of users. For location/POI/business-chain lookup, use DV360_TARGETING_TYPES_TARGETING_OPTIONS_SEARCH with targetingType plus advertiserId and body aliases such as searchTerms/query; MCP normalizes them to geoRegionSearchTerms.geoRegionQuery, poiSearchTerms.poiQuery, or businessChainSearchTerms.businessChainQuery. Do not guess geo targetingOptionId values. For interests/audiences such as cars, do not use targetingOptions.search. Use DV360_GOOGLE_AUDIENCES_LIST, DV360_CUSTOM_LISTS_LIST, DV360_COMBINED_AUDIENCES_LIST, and/or DV360_FIRST_PARTY_AND_PARTNER_AUDIENCES_LIST with advertiserId or partnerId and query/searchTerms/displayName; MCP normalizes those aliases to the documented displayName filter. Target selected results with TARGETING_TYPE_AUDIENCE_GROUP via audienceGroupDetails. For channels and inventory/deal discovery, use DV360_ADVERTISERS_CHANNELS_LIST, DV360_PARTNERS_CHANNELS_LIST, DV360_INVENTORY_SOURCES_LIST, or DV360_INVENTORY_SOURCE_GROUPS_LIST with query/searchTerms/displayName; MCP normalizes supported displayName filters. For finite targeting taxonomies such as categories, devices, browsers, languages, and exchanges, use DV360_TARGETING_TYPES_TARGETING_OPTIONS_LIST and filter returned names client-side unless the docs expose a server filter. For Bid Manager reports, standard report runs, query runs, report retrieval, or report listing, use dv360_reporting_ops instead of this generic REST tool. Write actions default to dry_run: true and require confirmed: true when dry_run is false.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dv360_native_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoRequest body for POST/PATCH DV360 actions. Accepts an object, an array, or stringified object/array JSON. Upload helpers accept filename, mediaBase64/mediaContent, and mimeType/mediaMimeType.
queryNoOptional query-only parameter bag. Values here override params for query parameters.
actionNoCanonical DV360 action. Legacy aliases without the DV360_ prefix are accepted for compatibility.
methodNoDV360 method name, for example list, get, patch, bulkUpdate, or upload. Use with resource when action is omitted.
paramsNoPath and query parameters, for example advertiserId, partnerId, campaignId, pageSize, filter, or orderBy.
dry_runNoDefaults to true for write actions and false for read actions.
payloadNoAlias for body. Accepts an object, an array, or stringified object/array JSON for cached-client compatibility.
allPagesNoAlias for paginate.
paginateNoFor list methods, fetch and merge all pages until nextPageToken is exhausted.
resourceNoDV360 REST resource path, for example advertisers.lineItems. Use with method when action is omitted.
confirmedNoRequired for executing DV360 write actions with dry_run: false.
pathParamsNoOptional path-only parameter bag. Values here override params for URL path expansion.
idempotency_keyNoRecommended for create/update calls. Forwarded to the backend idempotency layer.
allowUnsupportedLineItemTypesNoExplicit escape hatch for one-off DV360 API experiments with line item types that local validation still blocks. YouTube & Partners line item payloads no longer require this flag when they include bidStrategy.youtubeAndPartnersBid.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations (destructiveHint=true), the description specifies critical behavioral traits like the default safety mechanism (write actions default to dry_run: true and require confirmed: true). It also details API nuances like media upload backend flags and parameter priority.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

While the description is highly detailed and avoids redundancy, it is extremely long and dense, making it difficult to scan quickly. However, given the sheer volume of DV360 API complexity, this level of detail is arguably necessary, preventing a lower score.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a generic API wrapper covering hundreds of endpoints and various API methods, the description is exceptionally complete. It covers workflows, targeting logic, safety defaults, and API idiosyncrasies, leaving very little for the agent to infer.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description adds significant semantic meaning to complex parameters. It clarifies the hierarchy of parameters (params vs query vs pathParams), how body/payload handling works (stringified JSON capability), and defines the context of 'action' (canonical vs. resource/method).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The tool is defined as a generic wrapper for executing any DV360 v4 REST action, making its high-level purpose clear. It helps differentiate itself from specialized tools like reporting_ops, but since it handles hundreds of actions, a singular verb/resource definition is intentionally broad.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides comprehensive usage guidelines, including a sequential workflow (campaign -> IO -> line items -> creatives), specific syntax for payloads (e.g., lineItemType), and explicitly directs the agent to use alternative tools for reporting.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.