I am experiencing an issue with the Google Content API where I am receiving empty responses when querying for price insights data.
Script Information: We run a Python script daily since February 8, 2023, to fetch price insights data using the Google Content API.
Issue Start Date: The script worked perfectly until April 24, 2023. Since then, we have been receiving empty responses from the API.
Script Details:
We authenticate using OAuth 2.0 and create a service object for the Content API.
We use the following query to fetch the data:
{
"query": "SELECT
product_view.id, product_view.title, product_view.price_micros, product_view.currency_code, price_insights.suggested_price_micros, price_insights.suggested_price_currency_code, price_insights.predicted_impressions_change_fraction, price_insights.predicted_clicks_change_fraction, price_insights.predicted_conversions_change_fraction FROM PriceInsightsProductView",
"page_size": 1
}
We have verified that our OAuth credentials and merchant ID are correct.
We have also used the Google API Explorer to run the same query and received an empty response.
Here is a sample response we are receiving:
{}
Given that this issue started suddenly after April 24 and has persisted since then, we suspect there may be an issue with the API or our account configuration.
Could you please help us troubleshoot this issue and restore the functionality of the API?
Thank you for your assistance.
Best regards,
Rasmus Lejonfelt