Free Plan
savingsEarn Credits
vpn_keyGet API Key
boltUpgrade Plan
loginLog In
chat_bubble_outlineHelp & Support
emoji_people
Enterprise
vpn_key
API Key
api
API Docs
inbox
Received
folder_open
My Scans
settings
Settings

API for HTML5 Backup Ad Generation

Ad Quality Control APIs

Create static backup ads from HTML5 banners. Fully customizable and automated.


Backup Ad Generator

Endpoint

post
/v3/backupAdGenerator



Parameters

data
string, required
The complete Zip file in base64-encoded format.
output_format
string
Either png or jpg.
max_bytes
int
Compress the output image to stay under this file size limit.


Response
200
400
401
429

job_id
string
A unique ID assigned to the job.
meta
array
Meta-data about the scan, like the CPU used, the time it took to complete the scan, the server location, etc.
tips_and_updatesscreenshots
array
An array with a high-resolution screenshot of the image.
thumbnail
array
An array with a low-resolution thumbnail of the image.
cURL
curl "https://{your_name}.api.advalify.io/v3/backupAdGenerator"
  -H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
  -X POST
  -d '{
    "data": "dGhpcyBpcyBzb21lIGltYWdlIGRhdGE..."
  }'
Example Response
{
     "job_id": "c2450-81e0a-ae2fa",
     "meta": {
         "api_version": "v3",
         "cpu": "AMD 16-Core EPYC 7302P",
         "ram": "128GB",
         "server_location": "ams",
         "timestamp": 1652869385,
         "duration": "12.017079"
    },
     "screenshots": [{
         "bytes": 35973,
         "color": "#d9c1ae",
         "height": 250,
         "mime_type": "image/png",
         "time_ms": 1000,
         "url": "https://try.cdn.advalify.io/img/9k30d-9k30d-75088-6b4be-shtznbx3.png",
         "width": 300
    }],
     "thumbnail": {
         "bytes": 2833,
         "color": "#d9c1ae",
         "height": 84,
         "mime_type": "image/jpg",
         "url": "https://try.cdn.advalify.io/img/9k30d-9k30d-75088-6b4be-srmw8pxb.jpg",
         "width": 100
    }
}