pytrends icon indicating copy to clipboard operation
pytrends copied to clipboard

Interest_over_time missing data

Open nicktba opened this issue 2 years ago • 5 comments

Today I started facing an issue with the Interest_over_time missing data.

The trend data just drops to 0 for about a year or so then the data picks back up.

Last night I had no issues then this morning it started. Tested on multiple machines and different networks.

For example, try running Interest_over_time for the keyword "barefoot shoes" you'll see around 2020 the data goes to 0 and then returns to normal.

It only happens for some keywords while others are fine.

Anyone else facing this issue?

nicktba avatar Nov 16 '22 21:11 nicktba

I am facing the same issue. Indeed, it only happens for certain keywords.

CBJSS avatar Nov 17 '22 09:11 CBJSS

I am facing the same issue. Indeed, it only happens for certain keywords.

It's even worse today. Not sure what changes they're making but it could make PyTrends obsolete.

nicktba avatar Nov 17 '22 16:11 nicktba

I chunked the queries to 30 days each and accumulated the received data, this resolved this issue for me.

MoritzDPTV avatar Dec 12 '22 08:12 MoritzDPTV

I chunked the queries to 30 days each and accumulated the received data, this resolved this issue for me.

My question is, Google Trends works by giving the search traffic relevance for the time period? For ex. If in a 30-day period, the highest volume is 100k the chart will show it at an indexed number of '100' but if in a 5-year period, the highest search volume is 300k, it should never be indexed to '100' when the search volume was at 100k.

How did you keep the 0-100 relevant search volume accurate for a 5-year period when chunking it into 30-day periods?

nicktba avatar Jan 11 '23 16:01 nicktba

Related question on StackOverflow: https://stackoverflow.com/q/73988220/1291371

Related issues in g-trends repository: https://github.com/x-fran/g-trends/issues/54

ilyazub avatar Jan 17 '23 13:01 ilyazub