tonykang22 / hello-world-auto-store

3 stars 1 forks source link

[product-analyzer-v2] 분석 데이터 수집 개선 방안 #137

Open tonykang22 opened 1 year ago

tonykang22 commented 1 year ago

분석 데이터 수집 개선 방안

개요



들어가기 전



분석 데이터 수집에 따른 필요 API

PandaRank



ItemScout



image

단일 카테고리, 키워드 소싱에 포함


image

다중 카테고리, 키워드 소싱에 불포함



실 동작 (참고: 22.11.29.)



tonykang22 commented 1 year ago

개선 방안

방안 1. WebDriver 의존성 제거



Panda-rank


image

Panda-rank 에서 사용하는 카테고리 확인



ItemScout


응답: 키워드 상세 검색

{
    "status": "success",
    "data": {
        "mainProductImageUrl": "https://shopping-phinf.pstatic.net/main_3539579/35395791578.20221023084323.jpg",
        "statsFrom1Page": {
            "sales": 1113180400,
            "saleCount": 10068,
            "averagePrice": 151229
        },
        "statsFromNPay": {
            "sales": 2692474170,
            "saleCount": 27344,
            "averagePrice": 158613,
            "salesFrom80": 4662659370,
            "saleCountFrom80": 43241,
            "averagePriceFrom80": 245930
        },
        "tieProductPercent": 67.5,
        "tieProductPercentDesc": "나쁨",
        "overseaProductPercent": 0,
        "overseaProductPercentDesc": "아주나쁨",
        "soldProductPercent": 87.5,
        "soldProductPercentDesc": "아주좋음",
        "competitionTotalScore": 55.09,
        "competitionTotalScoreDesc": "보통",
        "adEfficiencyScore": 65,
        "adEfficiencyScoreDesc": "좋음",
        "brandKeywordResult": {
            "isBrandKeyword": false,
            "brandKeywords": []
        },
        "totalSearchCount": 546300,
        "searchCountPC": 64900,
        "searchCountMobile": 481400,
        "totalProductCount": 15249306,
        "clickCount": 4339.5,
        "clickCountForShowing": 4340,
        "averagePrice": 151229,
        "averageAdPrice": 1024,
        "competitionIntensity": 27.91,
        "competitionIntensityGrade": "D",
        "competitionIntensityDesc": "나쁨",
        "clickCompetitionRate": 3514.07,
        "clickCompetitionRateGrade": "F",
        "clickCompetitionRateDesc": "아주나쁨",
        "productAdPriceRate": 0.007,
        "productAdPriceRateGrade": "A",
        "productAdPriceRateDesc": "아주좋음",
        "adPriceClickRate": 0.24,
        "adPriceClickRateGrade": "A",
        "adPriceClickRateDesc": "아주좋음",
        "adClickRateStats": {
            "adClickRateTotal": 0.88,
            "adClickRateTotalGrade": "C",
            "adClickRateTotalDesc": "보통",
            "adClickRatePC": 0.49,
            "adClickRatePCGrade": "D",
            "adClickRatePCDesc": "나쁨",
            "adClickRateMobile": 0.93,
            "adClickRateMobileGrade": "C",
            "adClickRateMobileDesc": "보통"
        },
        "keywordId": 12538,
        "keyword": "패딩",
        "openProdPercentScore": 57.8125,
        "openProdPercentScoreDesc": "보통",
        "openProductPercentResult": [
            {
                "name": "1Y",
                "percent": 75
            },
            {
                "name": "6M",
                "percent": 70
            },
            {
                "name": "1Y-2Y",
                "percent": 12.5
            },
            {
                "name": "OVER-3Y",
                "percent": 12.5
            },
            {
                "name": "1M",
                "percent": 2.5
            },
            {
                "name": "2Y-3Y",
                "percent": 0
            }
        ],
        "categoryResult": [
            {
                "count": 13,
                "categoryInfoList": [
                    {
                        "id": 50000005,
                        "name": "출산/육아"
                    },
                    {
                        "id": 50000138,
                        "name": "유아동의류"
                    },
                    {
                        "id": 50000419,
                        "name": "점퍼"
                    }
                ],
                "percent": 32.5
            },
            {
                "count": 11,
                "categoryInfoList": [
                    {
                        "id": 50000000,
                        "name": "패션의류"
                    },
                    {
                        "id": 50000167,
                        "name": "여성의류"
                    },
                    {
                        "id": 50000814,
                        "name": "점퍼"
                    }
                ],
                "percent": 27.5
            },
            {
                "count": 9,
                "categoryInfoList": [
                    {
                        "id": 50000000,
                        "name": "패션의류"
                    },
                    {
                        "id": 50000169,
                        "name": "남성의류"
                    },
                    {
                        "id": 50000837,
                        "name": "점퍼"
                    }
                ],
                "percent": 22.5
            }
        ],
        "firstCategory": 694
    }
}


응답: 키워드 컨텐츠 종합지표 검색

{
    "status": "success",
    "data": {
        "grade": "E",
        "desc": "아주나쁨",
        "blogCompetitionGrade": "E",
        "blogCompetitionDesc": "아주나쁨",
        "cafeCompetitionGrade": "E",
        "cafeCompetitionDesc": "아주나쁨",
        "viewCompetitionGrade": "E",
        "viewCompetitionDesc": "아주나쁨",
        "monthRatioGrade": "A",
        "monthRatioDesc": "아주좋음",
        "blogCount": 2002094,
        "cafeCount": 3461059,
        "blogCompetitionRatio": 3.66,
        "cafeCompetitionRatio": 6.34,
        "viewCompetitionRatio": 10,
        "month1Ratio": 4.24,
        "month6Ratio": 9.36,
        "yearRatio": 16.83
    }
}



WebDriver 의존성 제거: 결론

tonykang22 commented 1 year ago

개선방안

방안 2. 로직 변경

기존 (v1)

Panda-rank 소싱 카테고리

image



카테고리 검증 source



변경 (v2)

Panda-rank 소싱 카테고리



카테고리 검증 source

tonykang22 commented 1 year ago

중간 논의 내용

tonykang22 commented 1 year ago

조치 사항