AssetService
Stay organized with collections
Save and categorize content based on your preferences.
Service to manage assets. Asset types can be created with AssetService are YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be created with Ad inline.
The following methods are available for this service:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["Service to manage assets. Asset types can be created with AssetService are YoutubeVideoAsset, MediaBundleAsset and ImageAsset. TextAsset should be created with Ad inline.\n\n| MutateAssets ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` rpc MutateAssets(`[MutateAssetsRequest](/google-ads/api/reference/rpc/v19/MutateAssetsRequest)`) returns (`[MutateAssetsResponse](/google-ads/api/reference/rpc/v19/MutateAssetsResponse)`) ` Creates assets. Operation statuses are returned. List of thrown errors: [AssetError](/google-ads/api/reference/rpc/v19/AssetErrorEnum.AssetError) [AuthenticationError](/google-ads/api/reference/rpc/v19/AuthenticationErrorEnum.AuthenticationError) [AuthorizationError](/google-ads/api/reference/rpc/v19/AuthorizationErrorEnum.AuthorizationError) [CollectionSizeError](/google-ads/api/reference/rpc/v19/CollectionSizeErrorEnum.CollectionSizeError) [CurrencyCodeError](/google-ads/api/reference/rpc/v19/CurrencyCodeErrorEnum.CurrencyCodeError) [DatabaseError](/google-ads/api/reference/rpc/v19/DatabaseErrorEnum.DatabaseError) [DateError](/google-ads/api/reference/rpc/v19/DateErrorEnum.DateError) [DistinctError](/google-ads/api/reference/rpc/v19/DistinctErrorEnum.DistinctError) [FieldError](/google-ads/api/reference/rpc/v19/FieldErrorEnum.FieldError) [FieldMaskError](/google-ads/api/reference/rpc/v19/FieldMaskErrorEnum.FieldMaskError) [HeaderError](/google-ads/api/reference/rpc/v19/HeaderErrorEnum.HeaderError) [IdError](/google-ads/api/reference/rpc/v19/IdErrorEnum.IdError) [InternalError](/google-ads/api/reference/rpc/v19/InternalErrorEnum.InternalError) [ListOperationError](/google-ads/api/reference/rpc/v19/ListOperationErrorEnum.ListOperationError) [MediaUploadError](/google-ads/api/reference/rpc/v19/MediaUploadErrorEnum.MediaUploadError) [MutateError](/google-ads/api/reference/rpc/v19/MutateErrorEnum.MutateError) [NotAllowlistedError](/google-ads/api/reference/rpc/v19/NotAllowlistedErrorEnum.NotAllowlistedError) [NotEmptyError](/google-ads/api/reference/rpc/v19/NotEmptyErrorEnum.NotEmptyError) [OperatorError](/google-ads/api/reference/rpc/v19/OperatorErrorEnum.OperatorError) [QuotaError](/google-ads/api/reference/rpc/v19/QuotaErrorEnum.QuotaError) [RangeError](/google-ads/api/reference/rpc/v19/RangeErrorEnum.RangeError) [RequestError](/google-ads/api/reference/rpc/v19/RequestErrorEnum.RequestError) [SizeLimitError](/google-ads/api/reference/rpc/v19/SizeLimitErrorEnum.SizeLimitError) [StringFormatError](/google-ads/api/reference/rpc/v19/StringFormatErrorEnum.StringFormatError) [StringLengthError](/google-ads/api/reference/rpc/v19/StringLengthErrorEnum.StringLengthError) [UrlFieldError](/google-ads/api/reference/rpc/v19/UrlFieldErrorEnum.UrlFieldError) [YoutubeVideoRegistrationError](/google-ads/api/reference/rpc/v19/YoutubeVideoRegistrationErrorEnum.YoutubeVideoRegistrationError) Authorization scopes : Requires the following OAuth scope: - `https://www.googleapis.com/auth/adwords` For more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2). |"]]