chevron_rightAd Tags
chevron_rightHTML5 Ads
chevron_rightVAST Tags
chevron_rightVideo Ads
Ad Load Size Detector
Initial Load Detector
Host-initiated Subload Detector
Time to Visual Start Detector
Animation Duration Detector
Network Requests Detector
CPU Usage Tester
DOMContentLoaded Detector
Ad Size Validator
Has Video Detector
Memory Usage Detector
SSL-Compatibility Detector
Iframe Count Detector
Cookies Dropped Detector
Chrome Heavy Ad Intervention Detector
JavaScript Error Detector
Console Warning Detector
Mobile Friendly Tester
Creative Rendered Detector
Blocked by AdBlock Detector
Document.write() Detector
Creative Border Detector
Ad Server Vendor Detector
Missing Asset Detector
Dialog and Modal Detector
Measurement Pixels Detector
Local Storage Detector
HTML Syntax Error Detector
Ad Tag Landing Page Checker
TCFv2 Support Checker
Meta ad.size Detector
Click Through Checker
CSS/JS Minified Detector
Image Optimization Detector
External Asset Detector
Uses jQuery Detector
HTML5 Library Detector
Hosted File Size Detector
Zip File Count Detector
HTML5 Allowed File Type Detector
Backup Ad Detector
Ad Load Size Detector
Initial Load Detector
Host-initiated Subload Detector
Time to Visual Start Detector
Animation Duration Detector
Network Requests Detector
CPU Usage Tester
DOMContentLoaded Detector
Ad Size Validator
Has Video Detector
Memory Usage Detector
SSL-Compatibility Detector
Iframe Count Detector
Cookies Dropped Detector
Chrome Heavy Ad Intervention Detector
JavaScript Error Detector
Console Warning Detector
Creative Rendered Detector
Blocked by AdBlock Detector
Document.write() Detector
Creative Border Detector
Missing Asset Detector
Dialog and Modal Detector
Measurement Pixels Detector
Local Storage Detector
HTML Syntax Error Detector
Ad Tag Landing Page Checker
VAST Ad System Detector
VAST CORS Header Detector
VAST Creative Count Detector
VAST SSL-Compatibility Tester
VAST Version Detector
VAST Wrapper Redirect Detector
VAST XML Content-Type Detector
VAST XML Load Time Detector
VAST HTTP Code Detector
VAST XML File Size Detector
Video Bit Depth Detector
Video Scan Type Detector
Video Letterboxing Detector
VAST Audio Channels Detector
VAST Audio Compression Detector
VAST Audio Sample Rate Detector
VAST Audio Codec Detector
VAST Audio Loudness Detector
VAST True Peak Detector
VAST Audio Bit Rate Detector
VAST Video Aspect Ratio Detector
VAST Video Dimensions Detector
VAST Video Duration Detector
VAST Video Bit Rate Detector
VAST Video Bit Rate Mode Detector
VAST Video Chroma Subsampling Detector
VAST Video Color Space Detector
VAST Video Frame Rate Detector
VAST Video File Size Detector
VAST Video Container Detector
VAST Video File Extension Detector
VAST Video Codec Detector
VAST MOOV Atom Location Detector
VAST Delivery Type Detector
VAST Skip Offset Detector
VAST Video Mime-Type Detector
Video Codec Detector
Video Bit Depth Detector
Video Letterboxing Detector
Aspect Ratio Detector
Video Dimension Detector
Video Frame Rate Detector
MOOV Atom Position Detector
Video Color Space Detector
Video Chroma Subsampling Detector
Video Scan Type Detector
Audio Codec Detector
Audio Loudness Detector (LUFS)
Audio True Peak Detector
Audio Sample Rate Detector
Audio Channel Detector
Audio Compression Detector
Audio Bit Rate Detector
Video Container Format Detector
Video Bit Rate Detector
Bit Rate Mode Detector
File Size Detector
File Extension Detector
Video Duration Detector
Video Mime Type Detector
document_scanner
Ad Tag Tester
CPU/RAM usage, Dimensions, SSL...
document_scanner
HTML5 Ad Validator
Initial Load, Click Tags, Meta ad.size...
document_scanner
VAST Validator
Audio Loudness, Video Codecs, Dimensions...
document_scanner
Video Validator
MOOV Atoms, Audio Loudness, Bit Rates...
headset
Live Chat Online
Get instant answers to your questions
email
Contact Support
Reach out to see how AdValify can help
cloud
Network Status
See live network status updates
emoji_events
Customer Testimonials
Read what others have to say about AdValify
auto_stories
User Guide
Get started with AdValify in seconds
document_scanner
Creative QA Tests
CPU/RAM usage, Initial Load, SSL, etc.
emoji_events
Customer Testimonials
Read what others have to say about AdValify
api
API: Ad Tag Tester
API docs to validate ad tags
api
API: HTML5 Ad Validator
API docs to validate HTML5 ads
api
API: VAST Validator
API docs to validate VAST ads
open_in_new
GitHub PHP Class
PHP Ad Validator Class
public
Network Status
Live infrastructure status
AdValify.io Logo
AdValify.io
Automated Ad Validation
roofing Productsexpand_more Free Tools expand_more API Docs
 
Pricing

API Documentation

Automate your COMPLETE ad validation workflow.

Use AdValify's API as a first layer of defense to scan for compliant ads. Double-check only non-compliant ads.

Scan Audio

Endpoint

post
/v3/scanAudio



Parameters

data
string, required
The complete audio file in base64-encoded format.
spec_id
int, optional
The ID of an ad specification set against which you want to validate the creative. Defaults to 0 (IAB guidelines).
workspace_id
int, optional
The ID of the workspace in which you want to store the results.
name
string, optional
The file name of the audio file. Will be added to the JSON result, allowing you to keep track of which audio file you scanned.


Response
200
400
401
429

audio_wave
array
An object containing an image of the audio wave of the file.
info
array
An array with data points collected from the audio file. See the response object for more details.
job_id
string
A unique ID assigned to the scan.
meta
array
Meta-data about the scan, like the CPU used, the time it took to complete the scan, the server location, etc.
name
string
The name of the creative (copied from the payload).
tips_and_updatesscan_results
object
An object containing the full scan results, including the number of passed/failed tests. The tests array contains the result of each test performed.
screenshot
array
A thumbnail of the audio wave. The url points to a JPG image. The background_color is in hex-format. It generally goes well with the main colors of the screenshot.
cURL
curl "https://{your_name}.api.advalify.io/v3/scanAudio"
  -H "X-ApiKey: TCm2Hd_rT4pRNvSZ2cGYCJ6... (example)"
  -X POST
  -d '{
    "data": "dGhpcyBpcyBzb21lIGltYWdlIGRhdGE..."
  }'
Example Response
{
     "audio_wave": {
         "bytes": 5972,
         "color": "#e0e0e0",
         "mime_type": "image/png",
         "url": "https://try.cdn.advalify.io/img/9k30d-79707058-54ad6e51-c2450-81e0a-ae2fa-xc7sgwhn.png"
    },
     "info": {
         "bit_rate": 192,
         "bit_rate_mode": "Constant",
         "channels": 2,
         "codec": "MPEG Audio",
         "compression": "lossy",
         "duration": 414,
         "file_extension": "mpeg",
         "file_size": 9959059,
         "format": "MPEG Audio",
         "mime_type": "audio/mpeg",
         "sample_rate": 44.1
    },
     "job_id": "c2450-81e0a-ae2fa",
     "loudness": {
         "lra": 13.3,
         "lufs": -14.3,
         "true_peak": -0.6
    },
     "meta": {
         "api_version": "v3",
         "cpu": "AMD 16-Core EPYC 7302P",
         "creative_type": "audio",
         "ram": "128GB",
         "scan_duration": "1.010519",
         "server_location": "ams",
         "timestamp": 1652869385,
         "duration": "1.207079"
    },
     "name": "audio.mp3",
     "scan_results": {
         "failed": 0,
         "passed": 8,
         "report_url": "https://share.advalify.local/c2450-a876d-662d1-4a775",
         "tests": {
             "bit_rate": {
                 "actual": 192,
                 "data_type": "int",
                 "expected": 128,
                 "expected_text": "greater than or equal to 128 Kbps",
                 "name": "Audio Bit Rate",
                 "operator": ">=",
                 "result": "passed",
                 "unit": "Kbps"
            },
            
        },
        
    },
     "screenshot": {
         "thumbnail": {
             "bytes": 1634,
             "color": "#27292d",
             "height": 57,
             "mime_type": "image/jpg",
             "url": "https://try.cdn.advalify.io/img/9k30d-79707058-54ad6e51-c2450-81e0a-ae2fa-5csfh9m4.jpg",
             "width": 100
        }
    }
}
Giovanni uses the API
to enfore compliance at scale
Giovanni Sollazzo
Giovanni Sollazzo
starstarstarstarstar
Founder & Chairman, AIDEM Technologies