Merchant Center hesabınızın veya MCA (çok müşterili hesap) ve bununla ilişkili tüm alt hesapların durumunu görmek için accountstatuses
kaynağını kullanabilirsiniz.
Ayrı web sitelerinde satılan birden fazla online mağazası veya markası olan satıcılar, MCA kapsamında alt hesaplara sahip olmayı seçebilir.
Alışveriş reklamları ve ücretsiz listelemeler politikalarına uymak, satıcıların sorumluluğundadır. Google Alışveriş, bu politikaları ihlal eden içerik veya davranış tespit etmemiz halinde bu politikaları uygulama ve uygun şekilde yanıt verme hakkını saklı tutar.
Yaygın hesap sorunlarının ayrıntıları 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
kullanabilirsiniz.
Hangi ürün sorunlarının döndürüleceğini kontrol etmek için destination
parametresini kullanabilirsiniz. Bir hedef belirtilmediğinde, varsayılan yanıt destination: Shopping
için durumlar içerir.
Aşağıda, merchantId
bir MCA hesap kimliği ve accountId
değerinin bu MCA'nın alt hesabı olduğu örnek bir istek verilmiştir:
GET https://shoppingcontent.googleapis.com/content/v2.1/merchantId/accountstatuses/accountId
Bağımsız bir hesap için hesap durumu bilgilerini almak istiyorsanız merchantId
ve accountId
için aynı hesap kimliğiyle accountstatuses.get
numaralı telefonu arayın.
Bu yöntem, hesap ve öğe düzeyindeki sorunları döndürür. accountstatuses.get
yanıtında döndürülen accountLevelIssues
sorununu düzeltmek için Alışveriş reklamları ve Ücretsiz listelemeler kaynaklarını kullanabilirsiniz.
Aşağıda, "açılış sayfası çalışmıyor" ihlali nedeniyle askıya alınan bir alt hesap için örnek bir yanıt verilmiştir.
{
"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
MCA'nızın tüm alt hesaplarındaki hesap durumu bilgilerini görüntülemek için accountstatuses.list
kullanabilirsiniz.
Ürün sorunlarını hedefe göre filtrelemek için accountstatuses.list
ile filtreleri kullanabilirsiniz. Hedef belirtilmediğinde yanıt, destination: Shopping
için durumlar içerir.
merchantId
kimlikli MCA kapsamındaki tüm alt hesapların hesap durumu bilgilerini almak için gönderilen örnek istek:
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"
}
}
]
}
]
}
MCA dışındaki bir hesap (örneğin, 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
çağrısına ilişkin örnek yanıt:
{
"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 işlem modu
GET
yöntemine sahip accountstatuses.custombatch
, çok müşterili bir hesaptaki birden fazla alt hesap için hesap durumu bilgilerini döndürür.
İstek JSON dosyasında MCA hesap numarasının merchantId
, alt hesabın accountId
, benzersiz batchId
ve get
olarak ayarlanmış method
bulunur.
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 MCA hesapları için alınan, listeleme ve custombatch.get
hesap durumunu alıyoruz:
accountstatuses.get
kullanarak MCA için alt hesap durumunu öğrenin.API uç noktasına
GET
işlemi uygulayarakmerchantId
veaccountId
elde edin:GET https://shoppingcontent.googleapis.com/content/v2.1/merchantId/accountstatuses/accountId
Başarılı olmak için
HTTP 200
durum kodu, hesap durumu listesi ise JSON biçiminde gönderilmiştir.
accountstatuses.list
kullanarak MCA'nın tüm alt hesap durumlarını görüntüleyebilirsiniz.merchantId
cihazınızla API uç noktasına GET işlemi gerçekleştirin:GET https://shoppingcontent.googleapis.com/content/v2.1/merchantId/accountstatuses
Başarılı olduğu için
HTTP 200
durum kodu, gönderilenmerchantId
için ise hesap durumu listesi JSON biçiminde alacaksınız.
accountstatuses.custombatch
kullanarak toplu modda MCA için birden fazla alt hesabı görüntüleyin.accountID
,merchant ID
veget
yöntemini kullanarak geçerli JSON oluşturun.API uç noktasına POST işlemi gerçekleştirin:
POST https://shoppingcontent.googleapis.com/content/v2.1/accountstatuses/batch
Başarılı olmak için
HTTP 200
durum kodu, hesap durumu listesi ise JSON biçiminde gönderilmiştir.