Merchant Reports API를 사용하면 제공하는 데이터 뷰를 통해 Google에서 제품, 제품 실적, 경쟁 환경에 관해 알아볼 수 있습니다.
Merchant Reports API를 사용하여 다음을 수행할 수 있습니다.
- 제품 실적 측정:
Merchant API에서
MerchantPerformanceView가 이제product_performance_view입니다. - 특정 필드로 제품 필터링:
Merchant API를 사용하면
item_issues를 제외한 모든 사용 가능한 필드를 기준으로 필터링할 수 있습니다. - 제품 가격 책정 개선:
Merchant API를 사용하면 금액 마이크로 및 통화 필드가 하나의 필드로 병합됩니다.
유형입니다.
Price - 시장 파악: Merchant API를 사용하면 베스트셀러 제품 및 브랜드, 경쟁력 있는 가격대, 판매 가격 제안, 업계의 경쟁 환경에 관한 데이터를 가져올 수 있습니다.
- 경쟁 환경 살펴보기: 보고서를 가져와 제품 카테고리 수준에서 경쟁 환경을 파악하고 조치를 취해 노출 가능성을 높일 수 있습니다.
다음은 기존 Content API for Shopping 구현과 Merchant Reports API 를 통합하는 방법입니다.
요청
Merchant Reports API에 다음 요청 URL 형식을 사용합니다.
POST https://merchantapi.googleapis.com/reports/v1/{PARENT}/reports:search
다음은 search 요청에 대한 Content API for Shopping과 Merchant Reports API의 샘플 비교입니다.
| Content API | Merchant API | |
| URL | https://shoppingcontent.googleapis.com/content/v2.1/{MERCHANT_ID}/reports/search | https://merchantapi.googleapis.com/reports/v1/{PARENT}/reports:search |
| 식별자 | {MERCHANT_ID}
|
{PARENT}
|
메서드
ReportService.Search
메서드를 호출하여 Merchant Reports API를 쿼리할 수 있습니다.
조회수
Merchant API에서 테이블 이름이 CamelCase에서 snake_case로 변경됩니다.
MerchantPerformanceView가 이제 product_performance_view입니다.
다음은 Content API for Shopping과 Merchant API의 테이블 이름 간 매핑입니다.
| Content API | Merchant API |
MerchantPerformanceView
|
product_performance_view
|
ProductView
|
product_view
|
PriceCompetitivenesProductView
|
price_competitiveness_product_view
|
PriceInsightsProductView
|
price_insights_product_view
|
BestSellersBrandView
|
best_sellers_brand_view
|
BestSellersProductClusterView
|
best_sellers_product_cluster_view
|
CompetitiveVisibilityCompetitorView
|
competitive_visibility_competitor_view
|
CompetitiveVisibilityTopMerchantView
|
competitive_visibility_top_merchant_view
|
CompetitiveVisibilityBenchmarkView
|
competitive_visibility_benchmark_view
|
Merchant API에서는 더 이상 필드 프리픽스(예: segments.offer_id)를 지정할 필요가 없습니다. 대신 필드 이름 offer_id만 사용하세요.
다음은 Content API for Shopping과 Merchant API의 쿼리 샘플 비교입니다.
| Content API | Merchant API |
SELECT
segments.offer_id,
metrics.clicks
FROM MerchantPerformanceView
WHERE segments.date DURING LAST_7_DAYS
|
SELECT
offer_id,
clicks
FROM product_performance_view
WHERE date DURING LAST_7_DAYS
|
다음은 샘플 응답입니다.
| Content API | Merchant API |
{
"segments":{
"offerId":"abc"
},
"metrics":{
"clicks":"123"
}
} |
{
"productPerformanceView" : {
"offerId": "abc",
"clicks": "123"
}
} |
테이블 이름을 필드 프리픽스로 사용할 수 있습니다. 예를 들어 Merchant API 쿼리에서 offer_id와
product_performance_view.offer_id가 모두 허용됩니다.
성능
다음은 Merchant Reports API의 실적 뷰에서 변경된 사항입니다.
| Content API | Merchant API | 설명 |
segments.program: 문자열
|
marketing_method: 문자열
|
program 세그먼트가 새 marketing_method 필드로 대체됩니다. 자세한 내용은 새 marketing method 값을 참고하세요.
|
metrics.ctr: 배정밀도
|
clickThroughRate: 배정밀도
|
ctr 측정항목의 이름이 clickThroughRate로 변경됩니다.
|
metrics.conversionValueMicros: 정수
segments.currencyCode: 문자열
|
conversionValue: {
|
금액 마이크로 및 통화 필드가 Price 유형의 하나의 필드로 병합됩니다.
|
metrics.orders,
|
지원되지 않음 | Buy On Google 측정항목은 Merchant Reports API에서 지원되지 않습니다. |
새 마케팅 방법 값
다음은 segments.program과 marketing_method 값 간 매핑입니다.
| Content API | Merchant API |
SHOPPING_ADS
|
ADS
|
FREE_PRODUCT_LISTING
|
ORGANIC
|
FREE_LOCAL_PRODUCT_LISTING
|
ORGANIC
|
BUY_ON_GOOGLE_LISTING
|
지원되지 않음 |
제품
다음은 Merchant Reports API의 제품 뷰에서 변경된 사항입니다.
| Content API | Merchant API | 설명 |
productView.id: 문자열
|
id: 문자열
|
필드 형식이 channel:language:targetCountry:offerId에서 channel~language~feedLabel~offerId로 변경됩니다.
|
productView.priceMicros: 정수
productView.currencyCode: 문자열
|
price: {
|
금액 마이크로 및 통화 필드가 Price 유형의 하나의 필드로 병합됩니다.
|
productView.aggregated_destination_status: 문자열
|
aggregated_reporting_context_status: 문자열
|
aggregated_destination_status 필드의 이름이 aggregated_reporting_context_status로 변경되며 값은 변경되지 않습니다.
|
productView.item_issues: [
|
item_issues: [
|
ItemIssue 정의가 변경되었습니다.
|
| 지원되지 않음 | feedLabel: 문자열
|
feedLabel 필드가 도입되었습니다.
|
가격 정보
다음은 Merchant Reports API의 가격 정보 뷰에서 변경된 사항입니다.
| Content API | Merchant API | 설명 |
productView.id: 문자열
|
id: 문자열
|
필드 형식이 channel:language:targetCountry:offerId에서 channel~language~feedLabel~offerId로 변경됩니다.
|
productView.priceMicros: 정수
productView.currencyCode: 문자열
|
price: {
|
금액 마이크로 및 통화 필드가 Price 유형의 하나의 필드로 병합됩니다.
|
priceInsights.suggestedPriceMicros: 정수
priceInsights.suggestedPriceCurrencyCode: 문자열
|
suggestedPrice: {
|
금액 마이크로 및 통화 필드가 Price 유형의 하나의 필드로 병합됩니다.
|
priceInsights.predictedGrossProfitChangeFraction: 배정밀도
priceInsights.predictedMonthlyGrossProfitChangeMicros: 정수
priceInsights.predictedMonthlyGrossProfitChangeCurrencyCode: 문자열
|
지원되지 않음 | 총이익 변경과 관련된 필드는 Merchant Reports API에서 지원되지 않습니다. |
가격 경쟁력
다음은 Merchant Reports API의 가격 경쟁력 뷰에서 변경된 사항입니다.
| Content API | Merchant API | 설명 |
productView.id: 문자열
|
id: 문자열
|
필드 형식이 channel:language:targetCountry:offerId에서 channel~language~feedLabel~offerId로 변경됩니다.
|
productView.priceMicros: 정수
productView.currencyCode: 문자열
|
price: {
|
금액 마이크로 및 통화 필드가 Price 유형의 하나의 필드로 병합됩니다.
|
priceCompetitiveness.countryCode: 문자열
|
reportCountryCode: 문자열
|
countryCode 필드의 이름이 reportCountryCode로 변경됩니다.
|
priceCompetitiveness.benchmarkPriceMicros: 정수
priceCompetitiveness.benchmarkPriceCurrencyCode: 문자열
|
benchmarkPrice: {
|
금액 마이크로 및 통화 필드가 Price 유형의 하나의 필드로 병합됩니다.
|
베스트셀러
다음은 Merchant Reports API의 베스트셀러 뷰에서 변경된 사항입니다.
| Content API | Merchant API | 설명 |
bestSellers.countryCode: 문자열
|
reportCountryCode: 문자열
|
countryCode 필드의 이름이 reportCountryCode로 변경됩니다.
|
bestSellers.categoryId: 정수
|
reportCategoryId: 정수
|
categoryId 필드의 이름이 reportCategoryId로 변경됩니다.
|
노출 경쟁
다음은 Merchant Reports API의 노출 경쟁 뷰에서 변경된 사항입니다.
| Content API | Merchant API | 설명 |
competitiveVisibility.countryCode: 문자열
|
reportCountryCode: 문자열
|
countryCode 필드의 이름이 reportCountryCode로 변경됩니다.
|
competitiveVisibility.categoryId: 정수
|
reportCategoryId: 정수
|
categoryId 필드의 이름이 reportCategoryId로 변경됩니다.
|