Content API for Shopping'den dönüşüm kaynakları yönetimini taşıma

Merchant Center dönüşüm kaynakları, ücretsiz listelemelerden ve web sitenizden gelen dönüşüm verilerini Merchant Center hesabınızda görüntülemenize olanak tanır. Merchant API, Merchant Center hesabınızdaki dönüşüm kaynaklarını yönetmenize olanak tanır. Daha fazla bilgi için Dönüşüm kaynaklarını yönetme başlıklı makaleyi inceleyin.

Bu sayfada, dönüşüm kaynağı yönetimini Content API'den Merchant API'ye nasıl taşıyabileceğiniz açıklanmaktadır.

İstekler

Dönüşüm kaynağı istekleri için Content API for Shopping ile Merchant Conversion Sources API'nin karşılaştırmasını aşağıda bulabilirsiniz:

Content API Merchant API
URL GET https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID} GET https://merchantapi.googleapis.com/conversions/v1/{NAME}
Tanımlayıcılar {MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID} {NAME}

Yöntemler

Dönüşüm Kaynakları API'sindeki dönüşüm kaynakları yöntemlerinde yapılan değişiklikler aşağıda açıklanmıştır:

Yöntem Content API for Shopping'deki URL Merchant API'deki URL Content API for Shopping'deki tanımlayıcılar Merchant API'deki tanımlayıcılar Açıklama
create POST https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/conversionSources POST https://merchantapi.googleapis.com/conversions/v1/accounts/{PARENT}/conversionSources {MERCHANT_ID} {PARENT} Merchant API'de propertyName, property olarak adlandırılır.
update PATCH https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID} PATCH https://merchantapi.googleapis.com/conversions/v1/accounts/{CONVERSIONSOURCE_NAME} {MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID} {CONVERSIONSOURCE_NAME} Merchant API'de destinationId, destination olarak adlandırılır.
delete DELETE https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID} DELETE https://merchantapi.googleapis.com/conversions/v1/accounts/{NAME} {MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID} {NAME} Merchant API'de attributionLookbackWindowInDays, attributionLookbackWindowDays olarak adlandırılır.
Merchant API'de includeInReporting, report olarak adlandırılır.
undelete POST https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID}:undelete POST https://merchantapi.googleapis.com/conversions/v1/accounts/{name}:undelete {MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID} {NAME} URL ve tanımlayıcılar Merchant API'de farklıdır.
Dönüşüm Kaynakları API'si, Empty yerine ConversionSource döndürüyor.
get GET https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID} GET https://merchantapi.googleapis.com/conversions/v1/accounts/{NAME} {MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID} {NAME} URL ve tanımlayıcılar Merchant API'de farklıdır.
list GET https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/conversionSources GET https://merchantapi.googleapis.com/conversions/v1/{PARENT}/conversionSources {MERCHANT_ID} {PARENT} URL ve tanımlayıcılar Merchant API'de farklıdır.

Kaynaklar

Aşağıdaki tabloda, Dönüşüm Kaynakları API'sindeki dönüşüm kaynakları kaynaklarında yapılan değişiklikler belirtilmektedir:

Content API for Shopping Merchant API Açıklama
googleAnalyticsLink: {

property_id: int64,

attributionSettings: object,

propertyName: string

}

googleAnalyticsLink: {

propertyId: int64,

attributionSettings: object,

property: string

}

Merchant API'de propertyName, property olarak adlandırılır.
merchantCenterDestination: {

destinationId: string,

attributionSettings: object,

displayName: string,

currencyCode: string

}

merchantCenterDestination: {

destination: string,

attributionSettings: object,

displayName: string,

currencyCode: string

}

Merchant API'de destinationId, destination olarak adlandırılır.
attributionSettings: {

attributionLookbackWindowDays: int32,

attributionModel: object,

repeated conversionType: {

name: string,

includeInReporting: bool

}

}

attributionSettings: {

attributionLookbackWindowDays: int32,

attributionModel: object,

repeated conversionType: {

name: string,

report: bool

}

}

Merchant API'de attributionLookbackWindowInDays, attributionLookbackWindowDays olarak adlandırılır.

Merchant API'de includeInReporting, report olarak adlandırılır.