Merchant Center hesabınızın veya bir MCA'nın (çok müşterili hesap) ve onunla ilişkili tüm alt hesapların durumunu görmek için
accountstatuses<0x0x0A>kaynağını kullanabilirsiniz.
Ayrı web sitelerinde satılan birden fazla online mağazası veya markası olan satıcılar, MCA altında alt hesaplar oluşturmayı tercih edebilir.
Satıcılar, Alışveriş reklamları ve ücretsiz listelemeler politikalarına uymakla yükümlüdür. Google Alışveriş, bu politikaları uygulama ve bu politikaları ihlal eden içerik veya davranış tespit etmesi durumunda gerekli işlemleri yapma hakkını saklı tutar.

Sık karşılaşılan hesap sorunları hakkında ayrıntılı bilgi için Hesap sorunları referansına bakın.
accountstatuses.get
Tek bir satıcı hesabının hesap durumu bilgilerini görüntülemek için accountstatuses.get simgesini kullanabilirsiniz.
Hangi ürün sorunlarının döndürüleceğini kontrol etmek için destination parametresini kullanabilirsiniz. Hedef belirtilmediğinde varsayılan yanıtta destination: Shopping için durumlar yer alır.
merchantId değerinin MCA hesap kimliği, accountId değerinin ise bu MCA'nın alt hesabı olduğu örnek bir istek aşağıda verilmiştir:
GET https://shoppingcontent.googleapis.com/content/v2.1/merchantId/accountstatuses/accountId
Bağımsız bir hesabın hesap durumu bilgilerini almak için accountstatuses.get ile merchantId ve accountId için aynı hesap kimliğiyle çağrı yapın.
Bu yöntem, hesap ve öğe düzeyindeki sorunları döndürür. accountstatuses.get'tan gelen yanıtta döndürülen accountLevelIssues sorununu düzeltmek için Alışveriş
reklamları ve ücretsiz
listelemeler kaynaklarını kullanabilirsiniz.
"Çalışmayan açılış sayfası" ihlali nedeniyle askıya alınan bir alt hesapla ilgili örnek yanıtı aşağıda bulabilirsiniz.
{
"kind": "content#accountStatus",
"accountId": "123456789",
"websiteClaimed": true,
"accountLevelIssues": [
{
"id": "editorial_and_professional_standards_destination_url_down_policy",
"title": "Account suspended due to policy violation: landing page not working",
"country": "US",
"severity": "critical",
"documentation": "https://support.google.com/merchants/answer/6150244#wycd-usefulness"
},
{
"id": "missing_ad_words_link",
"title": "No Google Ads account linked",
"severity": "error",
"documentation": "https://support.google.com/merchants/answer/6159060"
}
],
"products": [
{
"channel": "online",
"destination": "Shopping",
"country": "US",
"statistics": {
"active": "0",
"pending": "0",
"disapproved": "5",
"expiring": "0"
},
"itemLevelIssues": [
{
"code": "image_link_broken",
"servability": "disapproved",
"resolution": "merchant_action",
"attributeName": "image link",
"description": "Invalid image [image link]",
"detail": "Ensure the image is accessible and uses an accepted image format (JPEG, PNG, GIF)",
"documentation": "https://support.google.com/merchants/answer/6098289",
"numItems": "2"
},
{
"code": "landing_page_error",
"servability": "disapproved",
"resolution": "merchant_action",
"attributeName": "link",
"description": "Unavailable desktop landing page",
"detail": "Update your website or landing page URL to enable access from desktop devices",
"documentation": "https://support.google.com/merchants/answer/6098155",
"numItems": "5"
},
{
"code": "missing_condition_microdata",
"servability": "unaffected",
"resolution": "merchant_action",
"description": "Missing or invalid data [condition]",
"detail": "Add valid structured data markup to your landing page",
"documentation": "https://support.google.com/merchants/answer/6183460",
"numItems": "5"
},
{
"code": "mobile_landing_page_error",
"servability": "disapproved",
"resolution": "merchant_action",
"attributeName": "link",
"description": "Unavailable mobile landing page",
"detail": "Update your website or landing page URL to enable access from mobile devices",
"documentation": "https://support.google.com/merchants/answer/6098296",
"numItems": "3"
}
]
}
]
}
accountstatuses.list
accountstatuses.list simgesini kullanarak MM hesabınızın tüm alt hesaplarındaki hesap durumu bilgilerini görüntüleyebilirsiniz.
Ürün sorunlarını hedefe göre filtrelemek için accountstatuses.list ile filtreleri kullanabilirsiniz. Hedef belirtilmediğinde yanıtta destination: Shopping için durumlar yer alır.
merchantId MCA'sı altındaki tüm alt hesapların hesap durumu bilgilerini almak için örnek bir istek aşağıda verilmiştir:
GET https://shoppingcontent.googleapis.com/content/v2.1/merchantId/accountstatuses
Aşağıda örnek bir yanıt verilmiştir:
{
"kind": "content#accountstatusesListResponse",
"resources": [
{
"kind": "content#accountStatus",
"accountId": "1234567",
"websiteClaimed": true,
"accountLevelIssues": [
{
"id": "editorial_and_professional_standards_destination_url_down_policy",
"title": "Account suspended due to policy violation: landing page not working",
"country": "US",
"severity": "critical",
"documentation": "https://support.google.com/merchants/answer/6150244#wycd-usefulness"
},
{
"id": "missing_ad_words_link",
"title": "No Google Ads account linked",
"severity": "error",
"documentation": "https://support.google.com/merchants/answer/6159060"
}
],
"products": [
{
"channel": "online",
"destination": "Shopping",
"country": "US",
"statistics": {
"active": "0",
"pending": "0",
"disapproved": "0",
"expiring": "0"
}
}
]
},
{
"kind": "content#accountStatus",
"accountId": "123456789",
"websiteClaimed": true,
"accountLevelIssues": [
{
"id": "home_page_issue",
"title": "Website URL not provided",
"severity": "critical",
"documentation": "https://support.google.com/merchants/answer/176793"
},
{
"id": "missing_ad_words_link",
"title": "No Google Ads account linked",
"severity": "error",
"documentation": "https://support.google.com/merchants/answer/6159060"
}
],
"products": [
{
"channel": "online",
"destination": "Shopping",
"country": "US",
"statistics": {
"active": "0",
"pending": "0",
"disapproved": "0",
"expiring": "0"
}
}
]
}
]
}
Çok müşterili hesap olmayan bir hesap (ör. bağımsız bir Merchant Center hesabı) için accountstatuses.list çağrısı yapıldığında 403 hatası döndürülür.
Bağımsız bir hesap için accountstatuses.list'ı arama ile ilgili örnek yanıtı aşağıda bulabilirsiniz:
{
"error": {
"errors": [
{
"domain": "global",
"reason": "forbidden",
"message": "111111111 is not a multi-client account (MCA). The only account
service operations allowed on non-MCAs are 'get', 'update',
'authinfo' and 'claimwebsite'."
}
],
"code": 403,
"message": "111111111 is not a multi-client account (MCA). The only account
service operations allowed on non-MCAs are 'get', 'update',
'authinfo' and 'claimwebsite'."
}
}
Toplu mod
GET yöntemiyle kullanılan bir accountstatuses.custombatch, çok müşterili hesaptaki birden fazla alt hesap için hesap durumu bilgilerini döndürür.
İstek JSON'u, MCA hesap numarasının merchantId, alt hesabın accountId, benzersiz bir batchId ve method değerini get olarak ayarlanmış şekilde içerir.
POST https://shoppingcontent.googleapis.com/content/v2.1/accountstatuses/batch
Aşağıda örnek bir istek JSON gövdesi verilmiştir:
{
"entries": [
{
"accountId": 1212121212,
"merchantId": 4444444444,
"method": "get",
"batchId": 9
},
{
"accountId": 1313131313,
"merchantId": 4444444444,
"method": "get",
"batchId": 99
}
]
}
Aşağıda örnek bir JSON yanıt gövdesi verilmiştir:
{
"kind": "content#accountstatusesCustomBatchResponse",
"entries": [
{
"batchId": 9,
"accountStatus": {
"kind": "content#accountStatus",
"accountId": "1212121212",
"websiteClaimed": true,
"accountLevelIssues": [
{
"id": "home_page_issue",
"title": "Website URL not provided",
"severity": "critical",
"documentation": "https://support.google.com/merchants/answer/176793"
},
{
"id": "missing_ad_words_link",
"title": "No Google Ads account linked",
"severity": "error",
"documentation": "https://support.google.com/merchants/answer/6159060"
}
],
"products": [
{
"channel": "online",
"destination": "Shopping",
"country": "US",
"statistics": {
"active": "0",
"pending": "0",
"disapproved": "0",
"expiring": "0"
}
}
]
}
},
{
"batchId": 99,
"accountStatus": {
"kind": "content#accountStatus",
"accountId": "1313131313",
"websiteClaimed": true,
"accountLevelIssues": [
{
"id": "editorial_and_professional_standards_destination_url_down_policy",
"title": "Account suspended due to policy violation: landing page not working",
"country": "US",
"severity": "critical",
"documentation": "https://support.google.com/merchants/answer/6150244#wycd-usefulness"
},
{
"id": "missing_ad_words_link",
"title": "No Google Ads account linked",
"severity": "error",
"documentation": "https://support.google.com/merchants/answer/6159060"
}
],
"products": [
{
"channel": "online",
"destination": "Shopping",
"country": "US",
"statistics": {
"active": "0",
"pending": "0",
"disapproved": "0",
"expiring": "0"
}
}
]
}
}
]
}
Hesap durumları kaynağını test etme
Aşağıdaki örnekte, MM hesapları için custombatch.get hesap durumunu alıyoruz, listeliyoruz ve güncelliyoruz:
accountstatuses.getkullanarak bir MCA'nın alt hesap durumunu almaAPI uç noktasına
GETişlemi uygulayarakmerchantIdveaccountIddeğerlerini alın:GET https://shoppingcontent.googleapis.com/content/v2.1/merchantId/accountstatuses/accountIdBaşarı için
HTTP 200durum kodu ve JSON biçiminde hesap durumu listesi almanız gerekir.
accountstatuses.listkullanarak bir MCA'nın tüm alt hesap durumunu görüntüleyin.merchantIdile API uç noktasına GET isteği gönderin:GET https://shoppingcontent.googleapis.com/content/v2.1/merchantId/accountstatusesBaşarı için
HTTP 200durum kodu ve gönderilenmerchantIdiçin JSON biçiminde hesap durumu listesi almanız gerekir.
accountstatuses.custombatchkullanarak MCA'nın birden fazla alt hesabını toplu modda görüntüleyin.accountID,merchant IDvegetyönteminizi kullanarak geçerli bir JSON oluşturun.API uç noktasına bir POST işlemi gerçekleştirin:
POST https://shoppingcontent.googleapis.com/content/v2.1/accountstatuses/batchBaşarı için
HTTP 200durum kodu ve JSON biçiminde hesap durumu listesi almanız gerekir.