esc0rp 发表于 2024-7-9 12:39:58

获取百度搜索要紧字的5个办法


    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2015年百度全面升级https后,屏蔽了搜索词wd/word,第三方网站分析<span style="color: black;">工具</span>获取不到百度的搜索<span style="color: black;">重要</span>字,不管是SEO还是SEM的,只<span style="color: black;">供给</span>一个eqid,用eqid<span style="color: black;">能够</span><span style="color: black;">经过</span>Referral API<span style="color: black;">查找</span>到搜索<span style="color: black;">重要</span>字,此时品牌专区不受影响,<span style="color: black;">能够</span>直接传递wd。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">2020年,付费搜索的SEM的eqid移除,SEO的还有eqid,此时品牌专区不受影响,<span style="color: black;">能够</span>直接传递wd。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">但还是<span style="color: black;">能够</span><span style="color: black;">经过</span><span style="color: black;">有些</span><span style="color: black;">办法</span>获取搜索<span style="color: black;">重要</span>字的,下面介绍几种获取百度<span style="color: black;">重要</span>字的<span style="color: black;">办法</span>:</span></p>
    <h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">&nbsp; &nbsp;<span style="color: black;">经过</span>UTM标记</span></h2>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">UTM有三个<span style="color: black;">必要</span>参数,还有两个可选参数term和content,<span style="color: black;">能够</span>用这两个可选参数存放搜索<span style="color: black;">重要</span>字,<span style="color: black;">例如</span>用户搜索“GA小站”的时候对应的投放的着陆页为:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">http://www.ichdata.com/?utm_source=baidu&amp;utm_medium=cpc&amp;utm_campaign=summer&amp;utm_content=GA小站</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这般</span>从这个词搜索进来的流量都会<span style="color: black;">经过</span>这个UTM上的参数<span style="color: black;">晓得</span>,从而实现了<span style="color: black;">重要</span>字的抓取。</span><span style="color: black;"><span style="color: black;">然则</span>这种<span style="color: black;">办法</span>获取到的投放<span style="color: black;">重要</span>字和用户搜索<span style="color: black;">重要</span>字是两个<span style="color: black;">区别</span>的概念,但<span style="color: black;">倘若</span>做得足够细致,<span style="color: black;">能够</span>看似相等。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">重视</span>:但这个<span style="color: black;">办法</span>有局限性,<span style="color: black;">便是</span><span style="color: black;">只适用于SEM的<span style="color: black;">重要</span>字</span>,<span style="color: black;">倘若</span>是SEO,就<span style="color: black;">没</span>能为力了。</span></p>
    <h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">&nbsp; &nbsp;百度的Referral API</span></h2>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">百度虽然将搜索<span style="color: black;">重要</span>字屏蔽了,<span style="color: black;">然则</span>百度<span style="color: black;">供给</span>了Referral API,让用户<span style="color: black;">能够</span>获取得到<span style="color: black;">区别</span>着陆页对应的<span style="color: black;">重要</span>字。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">详细</span>原理是百度在搜索的时候,会先<span style="color: black;">转</span>到一个带有eqid的url,<span style="color: black;">而后</span>才<span style="color: black;">转</span>到搜索的页面,这中间带有eqid的url<span style="color: black;">便是</span>将<span style="color: black;">重要</span>字<span style="color: black;">相关</span>起来的。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/1Q4UgeiaibMQ5ibzkdgJupKD8nH15JlG3oo50d9qj87Kclhsk4PGJnu8TGuWc8z8qf4SH0q1tvlad3v3M3oIrSiaaw/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">例如</span>我在百度中搜索“GA小站”,<span style="color: black;">表示</span>的URL是https://www.baidu.com/s?wd=GA小站,<span style="color: black;">能够</span>看到上面的wd<span style="color: black;">便是</span>搜索<span style="color: black;">重要</span>字。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">然则</span>点击一个链接后它会先<span style="color: black;">转</span>到一个百度的中转页上面就<span style="color: black;">无</span>wd了。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">咱们</span><span style="color: black;">必须</span>在获取eqid,<span style="color: black;">而后</span><span style="color: black;">经过</span>百度Referral API将eqid将<span style="color: black;">重要</span>字<span style="color: black;">相关</span>起来。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">百度<span style="color: black;">供给</span>的API接口有这么几个特点:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">付费的,<span style="color: black;">然则</span><span style="color: black;">花费</span>很<span style="color: black;">低价</span>,0.001元/次</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">注册<span style="color: black;">必须</span>有百度推广账号,完成<span style="color: black;">公司</span>认证</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">必须</span>百度云北京地区的服务器才<span style="color: black;">能够</span><span style="color: black;">运用</span>Referral API。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">只<span style="color: black;">供给</span>近两天的数据,<span style="color: black;">因此</span><span style="color: black;">必须</span><span style="color: black;">经过</span>程序<span style="color: black;">按时</span>的将API的数据导入到GA</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">百度referralapi的<span style="color: black;">位置</span>:https://cloud.baidu.com/doc/RefererAPI/s/hjwvycn07</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;"><span style="color: black;">重视</span>:2020年7月,SEM的eqid<span style="color: black;">已然</span>移除,<span style="color: black;">因此</span>SEM的<span style="color: black;">重要</span>字<span style="color: black;">不可</span><span style="color: black;">经过</span>这个<span style="color: black;">办法</span>实现,<span style="color: black;">SEO的还<span style="color: black;">能够</span></span>。</span></span></p>
    <h2 style="color: black; text-align: left; margin-bottom: 10px;">百度统计API</h2>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">倘若</span>你不想付费,还<span style="color: black;">能够</span><span style="color: black;">运用</span>百度统计API,其实<span style="color: black;">便是</span>百度统计里的数据导出服务了。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这种方式<span style="color: black;">必须</span><span style="color: black;">守护</span>一张表格,当有用户搜索的时候,就<span style="color: black;">经过</span>百度统计API导出当天的所有的搜索<span style="color: black;">重要</span>字,跟上一次导出的数据之间做匹对,看新增的是哪个<span style="color: black;">重要</span>字或哪个<span style="color: black;">重要</span>字的IP数据<span style="color: black;">增多</span>了,<span style="color: black;">那样</span>这次用户的搜索词<span style="color: black;">便是</span>它。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/1Q4UgeiaibMQ5ibzkdgJupKD8nH15JlG3oo95W1wZ6DPW1FNn3Fl6VeibOVEzS9fV1ul2TrkSbvTyxQrBjV01Cw4xQ/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">创意触发的keywordId</span></h2>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这种是免费的<span style="color: black;">办法</span>,是<span style="color: black;">经过</span>URL通配符实现的,<span style="color: black;">日前</span>百度凤巢系统只支持将<span style="color: black;">重要</span>词ID,创意ID开放到第三方平台,国内有增长<span style="color: black;">工具</span><span style="color: black;">便是</span><span style="color: black;">经过</span>这种方式获取百度<span style="color: black;">重要</span>字,如诸葛IO、TalkingData是采用这种方式。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">经过</span>向<span style="color: black;">重要</span>词<span style="color: black;">目的</span>链接中添加{keywordid},如</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">http://www.baidu.com?keywordid={keywordid}&amp;creative={creative}&amp;{mediatype}={mediatype}&amp;matchtype={matchtype}&amp;adposition={adposition}&amp;pagenum={pagenum}</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用户点击<span style="color: black;">宣传</span>的时候,百度会自动替换{keywordid}为该<span style="color: black;">重要</span>词在百度系统里的id:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">http://www.baidu.com?keywordid=12123&amp;creative=45632&amp;amp;{mediatype}=1&amp;matchtype=2&amp;adposition=mb1&amp;pagenum=1</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">其中动态参数解析:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">keywordid= <span style="color: black;">重要</span>词<span style="color: black;">独一</span>标识</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">matchtype={matchtype} 匹配模式</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">creative={creative} 触发创意</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">adposition={adposition}展现排名</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">着陆页上会有keywordid=12123,<span style="color: black;">咱们</span>要用这个keywordid<span style="color: black;">经过</span>百度统计API里去获取搜索<span style="color: black;">重要</span>字,<span style="color: black;">能够</span>看上一种<span style="color: black;">办法</span>中导出的数据中有keywordid这个字段,跟搜索<span style="color: black;">重要</span>字是一一对应的,从而实现<span style="color: black;">重要</span>字匹配。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">重视</span>:这种方式只适用于SEM。</span></strong></p>
    <h2 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">&nbsp; &nbsp;搜索词回传API</span></h2>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">回传API链接方式是在<span style="color: black;">宣传</span>点击后,由百度服务器端向客户监测服务器(这个<span style="color: black;">必须</span>用户设置)延时发送的一个监测请求(可能会有15-30分钟延迟),客户基于收集到的回传信息进行进一步的加工处理,<span style="color: black;">日前</span>支持账户ID、搜索词、ip和点击时间这4个信息:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><img src="https://mmbiz.qpic.cn/mmbiz_png/1Q4UgeiaibMQ5ibzkdgJupKD8nH15JlG3ooNhO19cJiadWa76R4BLwJkHPEOhYDtAmYtRMiaTlWMSvPAyPt7DAUugrw/640?wx_fmt=png&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" style="width: 50%; margin-bottom: 20px;"></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">例如</span><span style="color: black;">咱们</span>要订阅账户ID、搜索词、时间和ip,<span style="color: black;">那样</span>回传链接<span style="color: black;">能够</span>这么设置:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">https://www.bbb.com?uid={userid}&amp;query={query}&amp;ip={ip}&amp;time={time}</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">当<span style="color: black;">宣传</span>点击时的真实请求示例如下:</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">https://www.bbb.com?uid=123456&amp;query=%e9%b2%9c%e8%8a%b1&amp;ip=106.115.104.89&amp;time=1594260440000</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">而后</span>你就<span style="color: black;">能够</span><span style="color: black;">按照</span>IP和时间戳跟着陆页匹配了,就<span style="color: black;">能够</span><span style="color: black;">晓得</span>对应着陆页是哪个搜索<span style="color: black;">重要</span>字进来的。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">更加多</span>信息<span style="color: black;">能够</span>看:http://dev2.baidu.com/newdev2/dist/index.html#/content/?pageType=1&amp;productlineId=3&amp;nodeId=475&amp;pageId=373&amp;url=</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">重视</span>:这种方式是适用于SEM</span></p>
    <h2 style="color: black; text-align: left; margin-bottom: 10px;">&nbsp; &nbsp;总结</h2>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">办法</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">是不是</span>付费</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">SEM</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">SEO</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">需求</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">UTM</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">免费</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">支持</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">不支持</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">百度</strong></span><span style="color: black;"><strong style="color: blue;">Referral API</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">付费</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">不支持</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">支持</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">公司</span>认证、百度云北京地区的服务器</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">百度统计</strong></span><span style="color: black;"><strong style="color: blue;">API</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">免费</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">支持</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">支持</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">KeywordId</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">免费</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">支持</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">不支持</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">宣传</span>投放<span style="color: black;">必须</span>开启通配符,依赖百度统计API</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;">搜索词回传</strong></span><span style="color: black;"><strong style="color: blue;">API</strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">免费</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">支持</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">不支持</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">需开通服务apihelp@baidu.com</p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">总有一款适合你的。</p>





DH802036 发表于 2024-9-10 06:04:12

感谢你的精彩评论,为我的思绪打开了新的窗口。

m5k1umn 发表于 2024-9-29 22:51:25

说得好啊!我在外链论坛打滚这么多年,所谓阅人无数,就算没有见过猪走路,也总明白猪肉是啥味道的。

wrjc1hod 发表于 2024-10-6 02:29:37

你的言辞如同繁星闪烁,点亮了我心中的夜空。

1fy07h 发表于 2024-10-9 12:25:35

论坛的成功是建立在我们诚恳、务实、高效、创新和团结合作基础上,我们要把这种精神传递下去。

1fy07h 发表于 2024-10-30 17:19:33

回顾过去一年,是艰难的一年;展望未来,是辉煌的一年。

nykek5i 发表于 2024-11-9 19:42:53

对于这个问题,我有不同的看法...

m5k1umn 发表于 前天 13:40

百度seo优化论坛 http://www.fok120.com/
页: [1]
查看完整版本: 获取百度搜索重要字的5个办法