Content API for Shopping에서 전환 소스 관리 이전하기

판매자 센터 전환 소스를 사용하면 판매자 센터 계정에서 무료 등록정보웹사이트의 전환 데이터를 볼 수 있습니다. Merchant API를 사용하면 판매자 센터 계정의 전환 소스를 관리할 수 있습니다. 자세한 내용은 전환 소스 관리를 참고하세요.

이 페이지에서는 Content API에서 Merchant API로 전환 소스 관리를 이전하는 방법을 설명합니다.

요청

다음은 전환 소스 요청을 위한 Content API for Shopping과 Merchant 전환 소스 API의 샘플 비교입니다.

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}
식별자 {MERCHANT_ID}/conversionSources/{CONVERSIONSOURCE_ID} {NAME}

메서드

전환 소스 API의 전환 소스 메서드에서 변경된 사항은 다음과 같습니다.

메서드 Content API for Shopping의 URL Merchant API의 URL Content API for Shopping의 식별자 Merchant API의 식별자 설명
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에서 propertyNameproperty라고 합니다.
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에서 destinationIddestination이라고 합니다.
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에서 attributionLookbackWindowInDaysattributionLookbackWindowDays라고 합니다.
Merchant API에서 includeInReportingreport라고 합니다.
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} Merchant API에서 URL과 식별자는 다릅니다.
전환 소스 API는 Empty 대신 ConversionSource를 반환합니다.
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} Merchant API에서 URL과 식별자는 다릅니다.
list GET https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/conversionSources GET https://merchantapi.googleapis.com/conversions/v1/{PARENT}/conversionSources {MERCHANT_ID} {PARENT} Merchant API에서 URL과 식별자는 다릅니다.

리소스

다음 표에는 전환 소스 API의 전환 소스 리소스 변경사항이 나와 있습니다.

Content API for Shopping Merchant API 설명
googleAnalyticsLink: {

property_id: int64,

attributionSettings: object,

propertyName: string

}

googleAnalyticsLink: {

propertyId: int64,

attributionSettings: object,

property: string

}

Merchant API에서 propertyNameproperty라고 합니다.
merchantCenterDestination: {

destinationId: string,

attributionSettings: object,

displayName: string,

currencyCode: string

}

merchantCenterDestination: {

destination: string,

attributionSettings: object,

displayName: string,

currencyCode: string

}

Merchant API에서 destinationIddestination이라고 합니다.
attributionSettings: {

attributionLookbackWindowDays: int32,

attributionModel: object,

repeated conversionType: {

name: string,

includeInReporting: bool

}

}

attributionSettings: {

attributionLookbackWindowDays: int32,

attributionModel: object,

repeated conversionType: {

name: string,

report: bool

}

}

Merchant API에서 attributionLookbackWindowInDaysattributionLookbackWindowDays라고 합니다.

Merchant API에서 includeInReportingreport라고 합니다.