{"openapi":"3.1.0","info":{"title":"Ad Creative Analyzer - AI Hook, Angle & Score","description":"Ad image or video to a creative review: hook, angle, offer, CTA, audience, transcript, policy risks, 0-100 scores and better hooks; bulk tags for ad libraries.","version":"v1"},"servers":[{"url":"https://ad-creative-analyzer-ai-hook-angle-score.p.rapidapi.com","description":"RapidAPI"}],"paths":{"/v1/ad-creative/analyze":{"post":{"tags":["Creative Analysis"],"summary":"Review an ad image or video from its URL","description":"Review one ad image or video (up to 3 minutes) from its URL: hook,\nangle, offer, CTA, audience, policy risks, six 0-100 scores, fixes, new\nhooks and headlines. 400 `not_an_ad` (not billed). Image 5 credits; video\n10 up to 60 s, +4 per extra started minute; landing page match +2.","operationId":"analyzeAdCreative","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdAnalyzeRequest"},"examples":{"Analyze Ad Creative":{"summary":"Analyze Ad Creative","value":{"url":"https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg","platform":"meta"}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdAnalyzeResponse"},"examples":{"Analyze Ad Creative":{"summary":"Analyze Ad Creative (real response)","value":{"source":"https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg","media":{"type":"image","mime_type":"image/jpeg","width":960,"height":1243,"aspect_ratio":"3:4","orientation":"vertical","size_bytes":200753,"placements":[]},"language":"en","platform":"meta","format":{"style":"static_product","has_voice_over":false,"has_music":false,"has_captions":false,"has_text_overlay":true,"has_people":false,"ugc_style":false},"on_screen_text":[{"text":"ZENITH"}],"hook":{"window":"first glance","description":"A striking vintage poster featuring a red winged figure flying out of a vintage Zenith pocket watch against a deep black background.","text":"ZENITH","type":"product_reveal","score":75,"reason":"The bold red winged figure and vintage aesthetic easily catch the eye against the black background."},"angle":{"type":"quality","summary":"Zenith watches represent timeless precision and legendary heritage."},"offer":{"type":"none"},"cta":{"type":"none"},"audience":{"summary":"Watch enthusiasts, collectors, and luxury buyers interested in heritage horology.","segments":["Watch collectors","Luxury accessories buyers","Art and vintage poster enthusiasts"],"awareness_stage":"solution_aware"},"emotional_triggers":["nostalgia","pride","curiosity"],"brand":{"name":"Zenith","logo_visible":true,"logo_position":"bottom-centre"},"product":{"shown":true,"name":"Zenith Pocket Watch","category":"luxury watch"},"claims":[],"policy_risks":[],"scores":{"hook":{"score":75,"reason":"The bold red winged figure and vintage aesthetic easily catch the eye against the black background."},"clarity":{"score":70,"reason":"It is clearly an advertisement for Zenith watches, though the specific model or current offering is absent."},"offer":{"score":0,"reason":"There is no promotional offer or discount presented."},"cta":{"score":0,"reason":"There is no call to action provided in the image."},"brand":{"score":90,"reason":"The Zenith brand name is prominently displayed both on the watch face and in large green text at the bottom."},"overall":{"score":60,"reason":"A visually captivating vintage brand awareness piece, but lacks modern direct-response elements like a clear offer and CTA."}},"strengths":["Striking and memorable vintage artistic style","High brand visibility with prominent logo placement","Evokes a strong sense of heritage and timelessness"],"weaknesses":["Lacks any call to action or purchasing path","No specific product features or modern collection highlighted","Static heritage branding may not drive immediate online conversions"],"improvements":["Add a clear call to action button or text for digital platforms","Include a glimpse of a modern timepiece alongside the heritage art to bridge past and present","Incorporate a value proposition or collection name to guide interest"],"alternative_hooks":["Discover the century-old legacy of Zenith timepieces.","Time flies, but true craftsmanship lasts forever.","Explore the new Zenith collection today."],"alternative_headlines":["Timeless Precision Since 1865","The Art of Swiss Watchmaking","Discover Zenith Timepieces"],"copy_checks":[],"disclaimer":"AI review of the creative as published. Scores estimate creative quality, not delivery results; policy risks name the policy areas to review, not a platform decision."}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Analyze Ad Creative"}},"/v1/ad-creative/analyze/upload":{"post":{"tags":["Creative Analysis"],"summary":"Review an uploaded ad image or video","description":"Same as /analyze, for a file sent as multipart/form-data (field\n`file`) with the same optional fields. Same credits.","operationId":"analyzeUploadedAdCreative","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_Analyze_Uploaded_Ad_Creative"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdAnalyzeResponse"},"examples":{"Analyze Uploaded Ad Creative":{"summary":"Analyze Uploaded Ad Creative","value":{"media":{"type":"image","mime_type":"video/mp4","width":720,"height":1280,"aspect_ratio":"9:16","orientation":"vertical","duration_seconds":24.2,"placements":["Instagram Reels","Facebook Stories","TikTok","YouTube Shorts"]},"language":"en","format":{"style":"ugc_testimonial"},"on_screen_text":[{}],"hook":{"window":"0-3 s","type":"problem"},"angle":{"type":"problem_solution"},"offer":{"type":"discount"},"cta":{"type":"shop_now"},"audience":{"segments":[],"awareness_stage":"problem_aware"},"brand":{"logo_position":"top-left"},"product":{},"claims":[{"type":"performance"}],"policy_risks":[{"area":"personal_attributes","severity":"low","rules":[{"platform":"meta","policy":"Meta Advertising Standards: Personal attributes"}]}],"scores":{"hook":{"score":72},"clarity":{"score":72},"offer":{"score":72},"cta":{"score":72},"brand":{"score":72},"overall":{"score":72}},"copy_checks":[],"landing_page":{"matches":[],"mismatches":[]}}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Analyze Uploaded Ad Creative"}},"/v1/ad-creative/tags":{"post":{"tags":["Bulk Tags"],"summary":"Tag up to 10 ads by format, hook, angle, offer and CTA","description":"Tag up to 10 ad images or videos (3 minutes each) to sort an ad\nlibrary at scale: brand, category, style, hook, angle, offer, CTA,\naudience, policy risks, 0-100 score. A failed ad gets its own error, not\nbilled. Per ad tagged: image 1 credit, video 3 per started minute.","operationId":"tagAdCreatives","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTagsRequest"},"examples":{"Tag Ad Creatives":{"summary":"Tag Ad Creatives","value":{"ads":[{"url":"https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg"}],"platform":"meta"}}}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdTagsResponse"},"examples":{"Tag Ad Creatives":{"summary":"Tag Ad Creatives","value":{"results":[{"error":{},"media_type":"image"}]}}}}}},"400":{"description":"Invalid input, or the target could not be processed (see `error.code`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"401":{"description":"Missing proxy secret (call through RapidAPI with your key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"403":{"description":"Invalid proxy secret.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"429":{"description":"Daily limit of your plan reached.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}},"503":{"description":"The AI provider failed (`ai_error`) or capacity is temporarily exhausted (`capacity_exhausted`); retry. Not billed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}},"x-rapidapi-endpoint":"Tag Ad Creatives"}}},"components":{"schemas":{"AdAnalyzeRequest":{"properties":{"primary_text":{"anyOf":[{"type":"string","maxLength":3000},{"type":"null"}],"title":"Primary Text","description":"The ad's primary text (body copy above the creative), as shown.","examples":[null]},"headline":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Headline","description":"The headline (bold line under the creative), as shown."},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description","description":"The link description under the headline, as shown."},"cta":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Cta","description":"The call-to-action button text, as shown (e.g. 'Shop now')."},"url":{"type":"string","maxLength":2048,"title":"Url","description":"Direct link to the creative: an image (JPEG, PNG, WEBP, HEIC, GIF, BMP, TIFF) or a video (MP4, MOV, WEBM...) of up to 3 minutes and 80 MB. Ad library CDN links work while they are valid (Meta's expire after a few days).","examples":["https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg"]},"platform":{"anyOf":[{"type":"string","enum":["meta","tiktok","youtube","google","linkedin"]},{"type":"null"}],"title":"Platform","description":"Where the ad runs: meta (Facebook, Instagram), tiktok, youtube, google or linkedin. Tunes the review and names that platform's policy areas.","examples":["meta"]},"landing_page_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Landing Page Url","description":"The landing page the ad links to: read and scored for message match (promise, offer, product and tone of the ad vs the page). +2 credits when the page could be read."},"brand":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"title":"Brand","description":"The advertiser's brand name, to check its visibility (optional)."},"language":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Language","description":"Language of the analysis (e.g. 'English', 'fr', 'Deutsch'). Default English. Transcripts and on-screen text stay in their own language."}},"type":"object","required":["url"],"title":"AdAnalyzeRequest"},"AdAnalyzeResponse":{"properties":{"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Final URL or file name."},"media":{"$ref":"#/components/schemas/AdMediaInfo"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language","description":"ISO 639-1 code of the ad's words.","examples":["en"]},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"format":{"$ref":"#/components/schemas/AdFormatFacts"},"on_screen_text":{"items":{"$ref":"#/components/schemas/AdTimedText"},"type":"array","title":"On Screen Text"},"transcript":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Transcript","description":"Video: the spoken words."},"hook":{"$ref":"#/components/schemas/AdHook"},"angle":{"$ref":"#/components/schemas/AdAngle"},"offer":{"$ref":"#/components/schemas/AdOffer"},"cta":{"$ref":"#/components/schemas/AdCta"},"audience":{"$ref":"#/components/schemas/AdAudience"},"emotional_triggers":{"items":{"type":"string"},"type":"array","title":"Emotional Triggers"},"brand":{"$ref":"#/components/schemas/AdBrand"},"product":{"$ref":"#/components/schemas/AdProduct"},"claims":{"items":{"$ref":"#/components/schemas/AdClaim"},"type":"array","title":"Claims"},"policy_risks":{"items":{"$ref":"#/components/schemas/AdPolicyRisk"},"type":"array","title":"Policy Risks"},"scores":{"$ref":"#/components/schemas/AdScores"},"strengths":{"items":{"type":"string"},"type":"array","title":"Strengths"},"weaknesses":{"items":{"type":"string"},"type":"array","title":"Weaknesses"},"improvements":{"items":{"type":"string"},"type":"array","title":"Improvements"},"alternative_hooks":{"items":{"type":"string"},"type":"array","title":"Alternative Hooks"},"alternative_headlines":{"items":{"type":"string"},"type":"array","title":"Alternative Headlines"},"copy_checks":{"items":{"$ref":"#/components/schemas/AdCopyCheck"},"type":"array","title":"Copy Checks","default":[]},"landing_page":{"anyOf":[{"$ref":"#/components/schemas/AdMessageMatch"},{"type":"null"}]},"disclaimer":{"type":"string","title":"Disclaimer"}},"type":"object","required":["media","format","on_screen_text","hook","angle","offer","cta","audience","emotional_triggers","brand","product","claims","policy_risks","scores","strengths","weaknesses","improvements","alternative_hooks","alternative_headlines","disclaimer"],"title":"AdAnalyzeResponse"},"AdAngle":{"properties":{"type":{"type":"string","title":"Type","examples":["problem_solution"]},"summary":{"type":"string","title":"Summary"}},"type":"object","required":["type","summary"],"title":"AdAngle"},"AdAudience":{"properties":{"summary":{"type":"string","title":"Summary"},"segments":{"items":{"type":"string"},"type":"array","title":"Segments","default":[]},"awareness_stage":{"type":"string","title":"Awareness Stage","description":"Schwartz awareness stage the ad speaks to.","examples":["problem_aware"]}},"type":"object","required":["summary","awareness_stage"],"title":"AdAudience"},"AdBrand":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"logo_visible":{"type":"boolean","title":"Logo Visible"},"logo_first_seen_second":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Logo First Seen Second","description":"Video: when the logo first shows."},"logo_position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Position","examples":["top-left"]},"first_mention_second":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"First Mention Second","description":"Video: seconds to the first brand mention (shown or said)."}},"type":"object","required":["logo_visible"],"title":"AdBrand"},"AdClaim":{"properties":{"text":{"type":"string","title":"Text"},"type":{"type":"string","title":"Type","examples":["performance"]},"needs_proof":{"type":"boolean","title":"Needs Proof","description":"A platform or regulator would expect substantiation."}},"type":"object","required":["text","type","needs_proof"],"title":"AdClaim"},"AdCopyCheck":{"properties":{"field":{"type":"string","title":"Field","examples":["primary_text"]},"length":{"type":"integer","title":"Length"},"limit":{"type":"integer","title":"Limit"},"note":{"type":"string","title":"Note"}},"type":"object","required":["field","length","limit","note"],"title":"AdCopyCheck"},"AdCta":{"properties":{"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"type":{"type":"string","title":"Type","examples":["shop_now"]}},"type":"object","required":["type"],"title":"AdCta"},"AdFormatFacts":{"properties":{"style":{"type":"string","title":"Style","examples":["ugc_testimonial"]},"has_voice_over":{"type":"boolean","title":"Has Voice Over"},"has_music":{"type":"boolean","title":"Has Music"},"has_captions":{"type":"boolean","title":"Has Captions","description":"Burned-in subtitles of the speech."},"has_text_overlay":{"type":"boolean","title":"Has Text Overlay"},"has_people":{"type":"boolean","title":"Has People"},"ugc_style":{"type":"boolean","title":"Ugc Style","description":"Looks filmed by a creator or customer."}},"type":"object","required":["style","has_voice_over","has_music","has_captions","has_text_overlay","has_people","ugc_style"],"title":"AdFormatFacts"},"AdHook":{"properties":{"window":{"type":"string","title":"Window","description":"What counts as the hook: the first 3 seconds of a video, the first glance at an image.","examples":["0-3 s"]},"description":{"type":"string","title":"Description","description":"What the viewer sees and hears."},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text","description":"Words shown or said in the hook."},"type":{"type":"string","title":"Type","examples":["problem"]},"score":{"type":"integer","title":"Score"},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["window","description","type","score","reason"],"title":"AdHook"},"AdMediaInfo":{"properties":{"type":{"type":"string","enum":["image","video"],"title":"Type"},"mime_type":{"type":"string","title":"Mime Type","examples":["video/mp4"]},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width","examples":[720]},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height","examples":[1280]},"aspect_ratio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aspect Ratio","examples":["9:16"]},"orientation":{"anyOf":[{"type":"string","enum":["vertical","square","horizontal"]},{"type":"null"}],"title":"Orientation"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds","examples":[24.2]},"has_audio_track":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Audio Track","description":"Video only: whether the file carries a sound track."},"size_bytes":{"type":"integer","title":"Size Bytes"},"placements":{"items":{"type":"string"},"type":"array","title":"Placements","description":"Placements this aspect ratio suits natively.","default":[],"examples":[["Instagram Reels","Facebook Stories","TikTok","YouTube Shorts"]]}},"type":"object","required":["type","mime_type","size_bytes"],"title":"AdMediaInfo"},"AdMessageMatch":{"properties":{"url":{"type":"string","title":"Url"},"final_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Url"},"read":{"type":"boolean","title":"Read","description":"Whether the page could be read and scored."},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Why not, when it could not."},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score","description":"0-100 match of the ad and the page."},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"matches":{"items":{"type":"string"},"type":"array","title":"Matches","default":[]},"mismatches":{"items":{"type":"string"},"type":"array","title":"Mismatches","default":[]}},"type":"object","required":["url","read"],"title":"AdMessageMatch"},"AdOffer":{"properties":{"type":{"type":"string","title":"Type","examples":["discount"]},"details":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Details"}},"type":"object","required":["type"],"title":"AdOffer"},"AdPolicyRisk":{"properties":{"area":{"type":"string","title":"Area","examples":["personal_attributes"]},"severity":{"type":"string","enum":["low","medium","high"],"title":"Severity"},"evidence":{"type":"string","title":"Evidence","description":"The words or visual that raise it."},"explanation":{"type":"string","title":"Explanation"},"rules":{"items":{"$ref":"#/components/schemas/AdPolicyRule"},"type":"array","title":"Rules","description":"The platform policy families to review (not a verdict)."}},"type":"object","required":["area","severity","evidence","explanation","rules"],"title":"AdPolicyRisk"},"AdPolicyRule":{"properties":{"platform":{"type":"string","title":"Platform","examples":["meta"]},"policy":{"type":"string","title":"Policy","examples":["Meta Advertising Standards: Personal attributes"]}},"type":"object","required":["platform","policy"],"title":"AdPolicyRule"},"AdProduct":{"properties":{"shown":{"type":"boolean","title":"Shown"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"first_seen_second":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"First Seen Second"}},"type":"object","required":["shown"],"title":"AdProduct"},"AdScore":{"properties":{"score":{"type":"integer","title":"Score","description":"0-100.","examples":[72]},"reason":{"type":"string","title":"Reason"}},"type":"object","required":["score","reason"],"title":"AdScore"},"AdScores":{"properties":{"hook":{"$ref":"#/components/schemas/AdScore"},"clarity":{"$ref":"#/components/schemas/AdScore"},"offer":{"$ref":"#/components/schemas/AdScore"},"cta":{"$ref":"#/components/schemas/AdScore"},"brand":{"$ref":"#/components/schemas/AdScore"},"overall":{"$ref":"#/components/schemas/AdScore"}},"type":"object","required":["hook","clarity","offer","cta","brand","overall"],"title":"AdScores"},"AdTagsItem":{"properties":{"primary_text":{"anyOf":[{"type":"string","maxLength":3000},{"type":"null"}],"title":"Primary Text","description":"The ad's primary text (body copy above the creative), as shown.","examples":[null]},"headline":{"anyOf":[{"type":"string","maxLength":300},{"type":"null"}],"title":"Headline","description":"The headline (bold line under the creative), as shown."},"description":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Description","description":"The link description under the headline, as shown."},"cta":{"anyOf":[{"type":"string","maxLength":60},{"type":"null"}],"title":"Cta","description":"The call-to-action button text, as shown (e.g. 'Shop now')."},"id":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Id","description":"Your reference for this ad (e.g. its ad library id), echoed back."},"url":{"type":"string","maxLength":2048,"title":"Url","description":"Direct link to the creative: an image (JPEG, PNG, WEBP, HEIC, GIF, BMP, TIFF) or a video (MP4, MOV, WEBM...) of up to 3 minutes and 80 MB. Ad library CDN links work while they are valid (Meta's expire after a few days).","examples":["https://upload.wikimedia.org/wikipedia/commons/thumb/1/1f/1928_advertisement_poster_-_Zenith.jpg/960px-1928_advertisement_poster_-_Zenith.jpg"]}},"type":"object","required":["url"],"title":"AdTagsItem"},"AdTagsRequest":{"properties":{"ads":{"items":{"$ref":"#/components/schemas/AdTagsItem"},"type":"array","maxItems":10,"minItems":1,"title":"Ads","description":"1 to 10 ads, each a creative URL with its optional copy."},"platform":{"anyOf":[{"type":"string","enum":["meta","tiktok","youtube","google","linkedin"]},{"type":"null"}],"title":"Platform","description":"Where the ad runs: meta (Facebook, Instagram), tiktok, youtube, google or linkedin. Tunes the review and names that platform's policy areas."},"language":{"anyOf":[{"type":"string","maxLength":40},{"type":"null"}],"title":"Language","description":"Language of the free-text tags (audience). Default English."}},"type":"object","required":["ads"],"title":"AdTagsRequest"},"AdTagsResponse":{"properties":{"count":{"type":"integer","title":"Count"},"succeeded":{"type":"integer","title":"Succeeded"},"results":{"items":{"$ref":"#/components/schemas/AdTagsResult"},"type":"array","title":"Results"}},"type":"object","required":["count","succeeded","results"],"title":"AdTagsResponse"},"AdTagsResult":{"properties":{"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"url":{"type":"string","title":"Url"},"success":{"type":"boolean","title":"Success"},"error":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Error","description":"{code, message} when this ad failed (not billed)."},"media_type":{"anyOf":[{"type":"string","enum":["image","video"]},{"type":"null"}],"title":"Media Type"},"duration_seconds":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration Seconds"},"aspect_ratio":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Aspect Ratio"},"is_ad":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Ad"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"product_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Category"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Style"},"hook_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hook Type"},"angle_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Angle Type"},"offer_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Offer Type"},"cta_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cta Type"},"awareness_stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Awareness Stage"},"audience":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Audience"},"emotional_triggers":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Emotional Triggers"},"has_voice_over":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Voice Over"},"has_captions":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has Captions"},"has_people":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Has People"},"ugc_style":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ugc Style"},"policy_risk_areas":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Policy Risk Areas"},"overall_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Overall Score"}},"type":"object","required":["url","success"],"title":"AdTagsResult"},"AdTimedText":{"properties":{"second":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Second","description":"When it first appears (video only)."},"text":{"type":"string","title":"Text"}},"type":"object","required":["text"],"title":"AdTimedText"},"Body_Analyze_Uploaded_Ad_Creative":{"properties":{"file":{"type":"string","title":"File","description":"Ad image or video, up to 30 MB and 3 minutes.","format":"binary"},"primary_text":{"type":"string","maxLength":3000,"title":"Primary Text","description":"The ad's primary text (body copy above the creative), as shown."},"headline":{"type":"string","maxLength":300,"title":"Headline","description":"The headline (bold line under the creative), as shown."},"description":{"type":"string","maxLength":500,"title":"Description","description":"The link description under the headline, as shown."},"cta":{"type":"string","maxLength":60,"title":"Cta","description":"The call-to-action button text, as shown (e.g. 'Shop now')."},"platform":{"type":"string","enum":["meta","tiktok","youtube","google","linkedin"],"title":"Platform","description":"Where the ad runs: meta (Facebook, Instagram), tiktok, youtube, google or linkedin. Tunes the review and names that platform's policy areas."},"landing_page_url":{"type":"string","maxLength":2048,"title":"Landing Page Url","description":"The landing page the ad links to: read and scored for message match (promise, offer, product and tone of the ad vs the page). +2 credits when the page could be read."},"brand":{"type":"string","maxLength":100,"title":"Brand","description":"The advertiser's brand name, to check its visibility (optional)."},"language":{"type":"string","maxLength":40,"title":"Language","description":"Language of the analysis (e.g. 'English', 'fr', 'Deutsch'). Default English. Transcripts and on-screen text stay in their own language."}},"type":"object","required":["file"],"title":"Body_Analyze Uploaded Ad Creative"},"ErrorBody":{"properties":{"status":{"type":"integer","title":"Status","examples":[400]},"code":{"type":"string","title":"Code","examples":["invalid_url"]},"message":{"type":"string","title":"Message","examples":["A website URL is required."]}},"type":"object","required":["status","code","message"],"title":"ErrorBody"},"ErrorEnvelope":{"properties":{"error":{"$ref":"#/components/schemas/ErrorBody"}},"type":"object","required":["error"],"title":"ErrorEnvelope"}},"securitySchemes":{"RapidAPIKey":{"type":"apiKey","in":"header","name":"X-RapidAPI-Key"},"RapidAPIHost":{"type":"apiKey","in":"header","name":"X-RapidAPI-Host"}}},"tags":[{"name":"Creative Analysis","description":"One ad image or video, with its copy and landing page, reviewed and scored."},{"name":"Bulk Tags","description":"Up to 10 ads a call tagged by format, hook, angle, offer, CTA and audience."}],"security":[{"RapidAPIKey":[],"RapidAPIHost":[]}]}