From 59373cf3461d8f2929e3aece384c9b690f6f567f Mon Sep 17 00:00:00 2001 From: Ajay Date: Wed, 14 Aug 2024 23:42:47 -0400 Subject: [PATCH] Fix rejected server-side rendered ads issue not rejecting --- src/routes/postBranding.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/postBranding.ts b/src/routes/postBranding.ts index d45d6d0..1cccfea 100644 --- a/src/routes/postBranding.ts +++ b/src/routes/postBranding.ts @@ -57,6 +57,7 @@ export async function postBranding(req: Request, res: Response) { if (videoDuration && thumbnail && await checkForWrongVideoDuration(videoID, videoDuration)) { res.status(403).send("YouTube is currently testing a new anti-adblock technique called server-side ad-injection. This causes skips and submissions to be offset by the duration of the ad. It seems that you are affected by this A/B test, so until a fix is developed, we cannot accept submissions from your device due to them potentially being inaccurate."); + return; } const lock = await acquireLock(`postBranding:${videoID}.${hashedUserID}`);