public-roadmap icon indicating copy to clipboard operation
public-roadmap copied to clipboard

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

Open martin-serpapi opened this issue 2 years ago • 5 comments

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

martin-serpapi avatar Nov 27 '23 17:11 martin-serpapi

@djsegal seems like a lot of work indeed.

Let's froze this.

hartator avatar Dec 04 '23 15:12 hartator

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

tanys123 avatar Dec 05 '23 06:12 tanys123

Another customer requested this:

Intercom

schaferyan avatar Dec 11 '23 18:12 schaferyan

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

tanys123 avatar Jul 08 '24 07:07 tanys123

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.

martin-serpapi avatar Sep 10 '24 13:09 martin-serpapi