Downloads a public http(s) link and stores the file as the upload operation does, with the same type, size and duplicate rules.
Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/media-library/assets/upload-from-url.do
Downloads a public http(s) link and stores the file as the upload operation does, with the same type, size and duplicate rules. Private and internal addresses are refused, and a download stops at 100 MB or the network's limit, whichever is lower. The file name is the last part of the link's path. Requires the MEDIA_LIBRARY permission and update rights on campaigns (on that advertiser when one is sent).
Form Params
urlstringrequired
Public http(s) link to the file
https://cdn.example.com/spring_sale_30.mp4
advertiserIdinteger
Advertiser the file is for; a filter label
1001
namestring
Display name; the file name when empty
Spring sale 30s
Responses
200
{success, duplicate, asset:{...}}
400
Field errors under 'errors': 'url' missing, unreachable or refused; 'file' unsupported, unreadable or too large
401
Authentication error
403
The role lacks MEDIA_LIBRARY or campaign update rights, or no rights on the advertiser