Google关键字工具已被Google关键字规划师取代,不幸的是,他们更改了csv导出中的分隔符。
在此之前他们的csv导出以逗号分隔,现在很奇怪,它看起来像这样:
Campaign Currency Budget Language Networks Ad group Max CPC Keyword Avg. monthly searches Competition Avg CPC Impr. share In account? In plan? Headline Description line 1 Description line 2 Display URL Destination URL
Ideas USD en Google Search
Ideas USD Keywords like: Golf Equipment 505680 0.42 0.78
Ideas USD Keywords like: Golf Equipment golf equipment 9900 1.00 0.59 N Y
Ideas USD Keywords like: Golf Equipment ford credit 110000 0.15 1.52 N Y
我尝试了很多用于php导入的分隔符,但注意到有效... 我的旧代码是:
while (($data = fgetcsv($handle, 1000, ",")) !== FALSE)
你能告诉我这个分界符吗?谢谢:))
答案 0 :(得分:2)
如果您正在下载excel版本,我相信分隔符是标签。试试这个:
while (($data = fgetcsv($handle, 1000, "\t")) !== FALSE)