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

[Google Events API] Virtual event filter is not working as expected

Open sonika-serpapi opened this issue 1 year ago • 2 comments

For filtering for virtual events, we have a htichips filter event_type:Virtual-Event. When I specify this, I am seeing events happening in person with a physical address as well. It seems like the filter is not working, and thus is leading to incorrect results.

Documentation: https://serpapi.com/google-events-api#api-parameters-advanced-filters-htichips

Example request: https://serpapi.com/playground?engine=google_events&q=Events+in+Austin&location=Austin%2C+Texas%2C+United+States&gl=us&hl=en&start=0&htichips=event_type%3AVirtual-Event

Screenshot 2024-09-09 at 1 15 47 PM

sonika-serpapi avatar Sep 09 '24 20:09 sonika-serpapi

Looks like it's on Google side:

https://www.google.com/search?q=Events+in+Austin&ibp=htl;events&uule=w+CAIQICIaQXVzdGluLFRleGFzLFVuaXRlZCBTdGF0ZXM&hl=en&gl=us&start=0&chips=event_type:Virtual-Event#htivrt=events&htidocid=L2F1dGhvcml0eS9ob3Jpem9uL2NsdXN0ZXJlZF9ldmVudC8yMDI0LTA5LTA5fDEzMjYzOTQ5NzU3MDgyNDY1Njcw&fpstate=tldetail

Also a filter of some kind is applied, as the results are different than without htichips.

schaferyan avatar Sep 09 '24 21:09 schaferyan

It seems when we apply filters on Google they update the query to add those filters. Example: If you searched for "Events in Austin" Then when you click the filter "Next Month" The query gets updated to "Events in Austin next month" By adding "Virtual" to the end of the query it returns only Virtual events

mikemorcerf avatar Sep 27 '24 23:09 mikemorcerf

Another user asked about this: Intercom

AutumroseS avatar Jul 21 '25 18:07 AutumroseS