account | DynamicAccount | Yes | - | Select the Snapchat Ads account to upload the media to. |
image_url | string | No | - | Image to upload. Provide an image or a video, not both. Accepts a direct URL, Google Drive share link (set to ‘Anyone with the link’), or Markifact uploaded file. Top snap images must be 1080x1920 PNG or JPG, max 5MB. The media_id output can be referenced in snapchat_ads_create_creative payloads, for example as top_snap_media_id or icon_media_id. |
video_url | string | No | - | Video to upload. Provide an image or a video, not both. Top snap videos must be 1080x1920 MP4 or MOV, 3 to 180 seconds, up to 1GB (files over 32MB are uploaded in chunks automatically). Waits for Snapchat to finish processing before returning the media_id. |
media_name | string | No | - | Optional name of the media in Snapchat. Max 375 characters. Defaults to the file name when omitted. |