serpapi / public-roadmap

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

[Google Ads Transparency Center API] `target_domain` missing in the response when searching by `advertiser_id` #1490

Open martin-serpapi opened 5 months ago

martin-serpapi commented 5 months ago

A user reported that target_domain missing in the response of our Google Ads Transparency Center API when searching by advertiser_id. I was able to recreate it in the Playground.

image

Playground | Inspector

When using text instead of advertiser_id, the target_domain is present in the response:

image

Playground | Inspector

Intercom

Alaa-abdulridha commented 5 months ago

A user reported that target_domain missing in the response of our Google Ads Transparency Center API when searching by advertiser_id. I was able to recreate it in the Playground.

image

Playground | Inspector

When using text instead of advertiser_id, the target_domain is present in the response:

image

Playground | Inspector

Intercom

Thank you @martin-serpapi for reporting this, After investigating this I found out that the text parameter must be used to get target_domain in the response, it looks like the issue actually not from our end, but when the text is not used there's no target_domain returned from google in the response.