advertisers

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.

patch/v4/advertisers/{+advertiserId}/adAssets/{+adAssetId}

Request

  • Base URL: https://displayvideo.googleapis.com
  • URL: https://displayvideo.googleapis.com/v4/advertisers/{+advertiserId}/adAssets/{+adAssetId}
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/display-video) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/display-video)

Path parameters

advertiserIdstring required

Required. The ID of the advertiser this ad asset belongs to.

adAssetIdstring required

Output only. The ID of the ad asset. Referred to as the asset ID when assigned to an ad.

Query parameters

updateMaskstring

Required. The list of fields to update. Only AdAsset.synthetic_content_attestation_status is mutable.

Request body

adAssetIdstring 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.

namestring

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.

Response

Successful response

Changes