After a few months of using it, I stumbled across a problem: It's normal to have some issues in Merchant Centre. Instead of being helpful, the solution sent me email alerts almost every day. Eventually, I stopped paying attention to those messages.
I realised I needed a script that checks the most important products based on the number of conversions they generate. If any of them have issues, then it should email me. Thanks to this, I'll know that those messages are important.
Configuration
- Enable Shopping Content (at the top right of the script edit window -> Advanced APIs).
- Set your email address in the EMAIL_SETTINGS variable.
- Set your Merchant ID in the MERCHANT_ID variable.
- Schedule the script to run once daily in the morning.
Optional Configuration
- Set the number of days to look back in the DAYS_LOOK_BACK variable.
- Set the number of products to check in the PRODUCTS_LIMIT variable.