Saviez-vous que 10% de vos produits génèrent 80% de votre CA ? Protégez vos produits phares avec notre script de monitoring automatique gratuit.
Vos best sellers sont désapprouvés sans que vous le sachiez
Vos conversions chutent brutalement
Vous perdez des ventes pendant des heures ou des jours

Un script Google Ads qui surveille discrètement vos produits importants 24h/24
Vérifie automatiquement l'approbation et la disponibilité de vos produits phares
Recevez un email détaillé dès qu'un problème est détecté avec titre, lien et solution
Fini la surveillance manuelle - concentrez-vous sur la croissance de votre business
Laissez nos experts configurer ce script pour vous en 30 minutes
Quand un best seller est désapprouvé ou plus en stock dans Merchant Center, vos conversions chutent... souvent sans que vous le réalisiez tout de suite.

Le script peut être ajouté depuis un compte Google Ads (MCC ou individuel) : Outils → Actions groupées → Scripts, puis coller le code.
En début de script, modifiez : EMAIL – adresse de réception des alertes, SUBJECT – objet de l'email, merchants – liste des comptes Merchant Center et leurs productIds
Format productId : online:language:country:ID (ex. online:en:UK:123456)
Activez l'API Shopping Content via Advanced APIs dans l'éditeur

Cliquez sur « Authorize » pour donner les droits au script
Dans les paramètres, choisissez une exécution toutes les heures pour être alerté rapidement
/**
* Best Sellers Monitoring Script for Google Merchant Center
* Author: Hana Kobzová
* Website: https://ppcnewsfeed.com/
* Adapted by: RedCorp Agency
*
* Description:
* This Google Ads script checks selected products across one or more Google Merchant Center accounts.
* It flags products that are either:
* - Not approved for the "Shopping" destination
* - Marked as not in stock
*
* When issues are found, the script sends an email alert.
*
* Instructions:
* - Can be run from an MCC Google Ads account or an individual account
* - Shopping Content API under Advanced APIs must be enabled
* - Recommended frequency: Hourly
*/
var EMAIL = "you@example.com"; // Replace with your email address
var SUBJECT = "[Script Alert] Best sellers not eligible for Shopping";
function main() {
var merchants = [ // This example checks two Merchant Center accounts
{
merchantId: "12345678", // Replace with your Merchant Center ID
productIds: [
"online:en:UK:111111", // Add product IDs you want to monitor
"online:en:UK:222222"
]
},
{
merchantId: "87654321", // Replace with another Merchant Center ID if needed
productIds: [
"online:en:UK:333333"
]
}
];
for (var i = 0; i < merchants.length; i++) {
var merchant = merchants[i];
checkStatus(merchant.merchantId, merchant.productIds);
}
}
function checkStatus(merchantId, productIds) {
var badStatus = [];
for (var i = 0; i < productIds.length; i++) {
var productId = productIds[i];
try {
var status = ShoppingContent.Productstatuses.get(merchantId, productId);
var product = ShoppingContent.Products.get(merchantId, productId);
var availability = product.availability || "Unknown";
var title = status.title || "Unknown title";
var link = status.link || "No link available";
var destinationStatuses = status.destinationStatuses || [];
var itemIssues = status.itemLevelIssues || [];
var disapproved = false;
if (availability.toLowerCase() !== "in stock") {
Logger.log("Product " + productId + " is out of stock.");
badStatus.push({
id: productId,
title: title,
link: link,
reason: "<strong style='color:red'>" + availability + "</strong>"
});
}
for (var j = 0; j < destinationStatuses.length; j++) {
var entry = destinationStatuses[j];
if (entry.destination === 'Shopping') {
if (entry.hasOwnProperty('disapprovedCountries')) {
disapproved = true;
break;
}
}
}
if (disapproved) {
Logger.log("Product " + productId + " is NOT APPROVED in Shopping.");
var reasons = [];
var seen = {};
for (var k = 0; k < itemIssues.length; k++) {
var reason = itemIssues[k].description || "Unknown reason";
var doc = itemIssues[k].documentation || "";
if (!seen[reason]) {
seen[reason] = true;
reasons.push("<strong style='color:red'>" + reason + "</strong>" +
(doc ? " <a href='" + doc + "'>(documentation)</a>" : ""));
}
}
badStatus.push({
id: productId,
title: title,
link: link,
reason: reasons.length > 0 ? reasons.join(", ") : "Unknown reason"
});
}
} catch (e) {
Logger.log("Error retrieving product " + productId + ": " + e.message);
}
}
if (badStatus.length > 0) {
var website = ShoppingContent.Accounts.get(merchantId, merchantId).websiteUrl || "Unknown website";
sendEmail(badStatus, website);
}
}
function sendEmail(products, websiteUrl) {
var output = products.map(function(p) {
return "<p><strong>ID:</strong> " + p.id +
"<br><strong>Title:</strong> " + p.title +
"<br><strong>Link:</strong> <a href='" + p.link + "'>" + p.link + "</a>" +
"<br><strong>Reason(s):</strong> " + p.reason +
"</p>";
}).join("<hr>");
var html = [
"<html>",
"<body>",
"<p>" + SUBJECT + "</p>",
"<p>Merchant website: " + websiteUrl + "</p>",
"<p>-------------</p>",
output,
"</body>",
"</html>"
];
MailApp.sendEmail(EMAIL, SUBJECT + " - " + websiteUrl, "", {
htmlBody: html.join("\n")
});
Logger.log("Email sent.");
}Nos experts RedCorp Agency peuvent configurer ce script pour vous en 30 minutes et vous montrer comment l'optimiser pour votre business.
Une question ? Besoin d'aide ?
manager@redcorpagency.com