Content API for Shopping에서 보고서 이전

Merchant Reports API를 사용하면 제공되는 데이터 보기를 통해 Google에서 제품, 제품 실적, 경쟁 환경에 대해 알아볼 수 있습니다.

판매자 보고서 API를 사용하여 다음을 수행할 수 있습니다.

  • 제품 실적 측정: Merchant API에서 MerchantPerformanceView가 이제 product_performance_view입니다.
  • 특정 필드로 제품 필터링: Merchant API를 사용하면 item_issues를 제외한 모든 사용 가능한 필드를 기준으로 필터링할 수 있습니다.
  • 제품 가격 책정 개선: Merchant API를 사용하면 금액(마이크로) 및 통화 필드가 Price 유형의 하나의 필드로 병합됩니다.
  • 시장 이해: Merchant API를 사용하면 가장 많이 판매되는 제품 및 브랜드, 경쟁력 있는 가격대, 할인가 추천, 업계의 경쟁 환경에 관한 정보를 얻을 수 있습니다.
  • 경쟁 현황 살펴보기: 보고서를 통해 제품 카테고리 수준에서 경쟁 현황을 파악하고 노출 가능성을 높이기 위한 조치를 취할 수 있습니다.

Merchant Reports API를 기존 Content API for Shopping 구현과 통합하는 방법은 다음과 같습니다.

요청

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: double clickThroughRate: double ctr 측정항목의 이름이 clickThroughRate로 변경됨
metrics.conversionValueMicros: 정수
segments.currencyCode: 문자열
conversionValue: {
object (Price)
}
금액 마이크로 및 통화 필드가 Price 유형의 필드 하나로 병합됩니다.
metrics.orders,
metrics.orderedItems,
…
지원되지 않음 Merchant Reports API에서는 Buy on Google 측정항목이 지원되지 않습니다.

새 마케팅 방법 값

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: {
object (Price)
}
금액 마이크로 및 통화 필드가 Price 유형의 필드 하나로 병합됩니다.
productView.aggregated_destination_status: 문자열 aggregated_reporting_context_status: 문자열 aggregated_destination_status 필드의 이름이 aggregated_reporting_context_status로 변경되었으며 값은 변경되지 않았습니다.
productView.item_issues: [
{
object (ItemIssue)
}
]
item_issues: [
{
object (ItemIssue)
}
]
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: {
object (Price)
}
금액 마이크로 및 통화 필드가 Price 유형의 필드 하나로 병합됩니다.
priceInsights.suggestedPriceMicros: 정수
priceInsights.suggestedPriceCurrencyCode: 문자열
suggestedPrice: {
object (Price)
}
금액 마이크로 및 통화 필드가 Price 유형의 필드 하나로 병합됩니다.
priceInsights.predictedGrossProfitChangeFraction: double
priceInsights.predictedMonthlyGrossProfitChangeMicros: integer
priceInsights.predictedMonthlyGrossProfitChangeCurrencyCode: string
지원되지 않음 총이익 변경과 관련된 필드는 Merchant Reports API에서 지원되지 않습니다.

가격 경쟁력

판매자 보고서 API의 가격 경쟁력 뷰에서 변경된 사항은 다음과 같습니다.

Content API Merchant API 설명
productView.id: 문자열 id: 문자열 필드 형식이 channel:language:targetCountry:offerId에서 channel~language~feedLabel~offerId(으)로 변경됩니다.
productView.priceMicros: 정수
productView.currencyCode: 문자열
price: {
object (Price)
}
금액 마이크로 및 통화 필드가 Price 유형의 필드 하나로 병합됩니다.
priceCompetitiveness.countryCode: 문자열 reportCountryCode: 문자열 countryCode 필드 이름이 reportCountryCode로 변경되었습니다.
priceCompetitiveness.benchmarkPriceMicros: 정수
priceCompetitiveness.benchmarkPriceCurrencyCode: 문자열
benchmarkPrice: {
object (Price)
}
금액 마이크로 및 통화 필드가 Price 유형의 필드 하나로 병합됩니다.

베스트셀러

Merchant Reports API의 베스트셀러 뷰에서 변경된 사항은 다음과 같습니다.

Content API Merchant API 설명
bestSellers.countryCode: 문자열 reportCountryCode: 문자열 countryCode 필드 이름이 reportCountryCode로 변경되었습니다.
bestSellers.categoryId: int reportCategoryId: int categoryId 필드 이름이 reportCategoryId로 변경되었습니다.

노출 경쟁

Merchant Reports API의 노출 경쟁 뷰에서 변경된 사항은 다음과 같습니다.

Content API Merchant API 설명
competitiveVisibility.countryCode: 문자열 reportCountryCode: 문자열 countryCode 필드의 이름이 reportCountryCode로 변경되었습니다.
competitiveVisibility.categoryId: 정수 reportCategoryId: 정수 categoryId 필드의 이름이 reportCategoryId로 변경되었습니다.