serpapi / public-roadmap

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

[Google Ads Transparency Center API] Get direct media link instead of a link to a JavaScript file #1231

Open martin-serpapi opened 12 months ago

martin-serpapi commented 12 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 11 months ago

@djsegal seems like a lot of work indeed.

Let's froze this.

tanys123 commented 11 months ago

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

schaferyan commented 11 months ago

Another customer requested this:

Intercom

tanys123 commented 4 months ago

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

martin-serpapi commented 2 months ago

Another potential customer requested this:

Intercom

I'm updating the title of the issue as it seems that this applies to other formats as well.