diff --git a/src/Dfareporting/Resource/StudioCreativeAssets.php b/src/Dfareporting/Resource/StudioCreativeAssets.php index 39f45c0b476..07002975676 100644 --- a/src/Dfareporting/Resource/StudioCreativeAssets.php +++ b/src/Dfareporting/Resource/StudioCreativeAssets.php @@ -31,7 +31,17 @@ class StudioCreativeAssets extends \Google\Service\Resource { /** - * Inserts a new studio creative asset. (studioCreativeAssets.insert) + * Inserts a new studio creative asset. Requests to upload an asset file must be + * sent to the upload URI using multipart media upload (or resumable media + * upload). For [multipart uploads](https://developers.google.com/doubleclick- + * advertisers/upload#multipart) (`uploadType=multipart`), the request uses + * `multipart/related` and includes two parts: * **Metadata**: A JSON object + * representing DfareportingStudioCreativeAssetsInsertRequest with + * `studioAdvertiserId`, and optional `studioAccountId` and `studioCreativeId`. + * * **Media**: The binary data of the asset file, specifying the `Content-Type` + * of the asset and a `Content-Disposition` header with `name="media"` and + * `filename=""` (for example, `Content-Disposition: form-data; name="media"; + * filename="asset.jpg"`). (studioCreativeAssets.insert) * * @param DfareportingStudioCreativeAssetsInsertRequest $postBody * @param array $optParams Optional parameters.