fixed

July 19th, 2022

There was a modification in CreateAssetUploadSession API.

We've been generating the content_upload_url and asset_url based on the file_name parameter value.
However, we discovered that some cases included URL-unsafe characters in the file name, and some publishers don't support URLs with unsafe characters.
Hence, we now always generate URL-safe uploading path regardless of the file_name.
Accordingly, file_name is no longer required field, so you may omit that field.

// request 
{
        "asset_kind": "CREATIVE",
        "mime_type": "image/jpeg",
        "file_name": "[한글]_ぼく�.jpg"
}

// response before this change
{
    "asset_url": "https://cdn-f.adsmoloco.com/3dfppEE6wL7341od/creative/[한글]_ぼく�_izbyvcvcemthq7eg.jpg",
    "content_upload_url": "https://storage.googleapis.com/extitems/3dfppEE6wL7341od/creative/%5B%ED%95%9C%EA%B8%80%5D_%E3%81%BC%E3%81%8F%EF%BF%BD_izbyvcvcemthq7eg.jpg?Expires=XXXXXXXXXX&GoogleAccessId=XXXXXXXXXX&Signature=XXXXXXXXXX"
}

// response after this change
{
    "asset_url": "https://cdn-f.adsmoloco.com/3dfppEE6wL7341od/creative/l5rjlga9_zhvdfxh_vamfjfhjuhwghram.jpg",
    "content_upload_url": "https://storage.googleapis.com/extitems/3dfppEE6wL7341od/creative/l5rjlga9_zhvdfxh_vamfjfhjuhwghram.jpg?Expires=XXXXXXXXXX&GoogleAccessId=XXXXXXXXXX&Signature=XXXXXXXXXX"
}