serpapi / public-roadmap

Public Roadmap for SerpApi, LLC (https://serpapi.com)
50 stars 3 forks source link

[Google Ads Transparency Center API] Get direct link to the video for video format results #1231

Open martin-serpapi opened 9 months ago

martin-serpapi commented 9 months ago

A customer requested to retrieve the actual video instead of a raw JavaScript for results that have a video format:

image

Playground | Inspector

The link URL leads to a JavaScript code response:

https://displayads-formats.googleusercontent.com/ads/preview/content.js?client=ads-integrity-transparency&creativeId=680931481197&obfuscatedCustomerId=9183552685&uiFeatures=12,54&adGroupId=158700116867&itemIds=6167587766021709499,6763212636745958213,17677254667565431111,5582486791605524854,5782058483052026799&allowedVariations=44&overlay=%3DH4sIAAAAAAAAAPNS4OJPrShJLcpLzAnLTEnN90wR4uXiLjWt8PczzU63yAsFAFsyntQiAAAA&sig=ACiVB_zYSnC8cmwpLAHjIn-6BtDzXcbYTA&htmlParentId=fletch-render-16509338303855644191&responseCallback=fletchCallback16509338303855644191

Intercom

hartator commented 9 months ago

@djsegal seems like a lot of work indeed.

Let's froze this.

tanys123 commented 9 months ago

@djsegal Indeed, I have a working code in the initial engine PR, probably that require a new engine.

schaferyan commented 9 months ago

Another customer requested this:

Intercom

tanys123 commented 2 months ago

We provided a workaround in a blog post. Feel free to check it out to see if it works with your workflows.