---
title: "PATCH /v4/advertisers/{advertisersId}/adAssets/{adAssetsId}"
method: PATCH
path: "/v4/advertisers/{advertisersId}/adAssets/{adAssetsId}"
tags: ["advertisers"]
---

# PATCH /v4/advertisers/{advertisersId}/adAssets/{adAssetsId}

`PATCH /v4/advertisers/{advertisersId}/adAssets/{adAssetsId}`

## Request

- Base URL: `https://displayvideo.googleapis.com`
- URL: `https://displayvideo.googleapis.com/v4/advertisers/{advertisersId}/adAssets/{adAssetsId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/display-video`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/display-video`
- TypeScript: <https://skmtc.dev/google/apis/displayvideo/docs/v4/advertisers/:advertisersId/adAssets/:adAssetsId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates an ad asset. Returns the updated ad asset if successful. Supports updating assets of AdAssetType `AD_ASSET_TYPE_YOUTUBE_VIDEO` and `AD_ASSET_TYPE_IMAGE`. Only the AdAsset.synthetic_content_attestation_status field is mutable.

## Path parameters

- `advertisersId` string, required
- `adAssetsId` string, required

## Query parameters

- `updateMask` string, google-fieldmask

## Request body

- AdAsset: A single ad asset.
  - `adAssetId` string, int64: Output only. The ID of the ad asset. Referred to as the asset ID when assigned to an ad.
  - `adAssetType` 'AD_ASSET_TYPE_UNSPECIFIED' | 'AD_ASSET_TYPE_IMAGE' | 'AD_ASSET_TYPE_YOUTUBE_VIDEO': Required. The type of the ad asset.
  - `entityStatus` 'ENTITY_STATUS_UNSPECIFIED' | 'ENTITY_STATUS_ACTIVE' | 'ENTITY_STATUS_ARCHIVED' | 'ENTITY_STATUS_DRAFT' | 'ENTITY_STATUS_PAUSED' | 'ENTITY_STATUS_SCHEDULED_FOR_DELETION': Output only. The entity status of the ad asset.
  - `name` string: Identifier. The resource name of the ad asset.
  - `syntheticContentAttestationStatus` 'SYNTHETIC_CONTENT_ATTESTATION_STATUS_UNSPECIFIED' | 'NOT_SYNTHETIC' | 'IS_SYNTHETIC': Optional. Whether to add a label to the asset as created or edited using AI when served in regions with local AI labeling regulations.
  - `youtubeVideoAsset` YoutubeVideoAsset: Data for a YouTube video ad asset.
    - `youtubeVideoId` string: Required. The YouTube video id of the asset. This is the 11 char string value used in the YouTube video URL.

## Response `200`

Successful response

- AdAsset: A single ad asset.
  - `adAssetId` string, int64: Output only. The ID of the ad asset. Referred to as the asset ID when assigned to an ad.
  - `adAssetType` 'AD_ASSET_TYPE_UNSPECIFIED' | 'AD_ASSET_TYPE_IMAGE' | 'AD_ASSET_TYPE_YOUTUBE_VIDEO': Required. The type of the ad asset.
  - `entityStatus` 'ENTITY_STATUS_UNSPECIFIED' | 'ENTITY_STATUS_ACTIVE' | 'ENTITY_STATUS_ARCHIVED' | 'ENTITY_STATUS_DRAFT' | 'ENTITY_STATUS_PAUSED' | 'ENTITY_STATUS_SCHEDULED_FOR_DELETION': Output only. The entity status of the ad asset.
  - `name` string: Identifier. The resource name of the ad asset.
  - `syntheticContentAttestationStatus` 'SYNTHETIC_CONTENT_ATTESTATION_STATUS_UNSPECIFIED' | 'NOT_SYNTHETIC' | 'IS_SYNTHETIC': Optional. Whether to add a label to the asset as created or edited using AI when served in regions with local AI labeling regulations.
  - `youtubeVideoAsset` YoutubeVideoAsset: Data for a YouTube video ad asset.
    - `youtubeVideoId` string: Required. The YouTube video id of the asset. This is the 11 char string value used in the YouTube video URL.

---

[API](https://skmtc.dev/google/apis/displayvideo.md) - [All operations](https://skmtc.dev/google/apis/displayvideo/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/displayvideo/revisions/d80b56b6703a?raw)
