AI-generated Key Takeaways
-
You can create an asset with a single operation.
-
Supported asset types include YoutubeVideoAsset, MediaBundleAsset, ImageAsset, LeadFormAsset, and LocationAsset; TextAsset can be created inline with an Ad or separately.
-
The
operation
field determines the mutate operation, which can be eithercreate
orupdate
. -
When creating an asset, no resource name is expected, but for updates, a valid resource name in the format
customers/{customer_id}/assets/{asset_id}
is required.
A single operation to create an asset. Supported asset types are YoutubeVideoAsset, MediaBundleAsset, ImageAsset, LeadFormAsset, LocationAsset, and ImageAsset. TextAsset can be created with an Ad inline, but it can also be created apart from an Ad like other assets.
Fields | |
---|---|
|
FieldMask that determines which resource fields are modified in an update. |
Union field
|
|
|
Create operation: No resource name is expected for the new asset. |
|
Update operation: The asset is expected to have a valid resource name in this format:
|