<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>keyama4</author_name>
  <author_url>https://blog.hatena.ne.jp/keyama4/</author_url>
  <blog_title>FFFT</blog_title>
  <blog_url>https://keyama.hatenablog.com/</blog_url>
  <categories>
    <anon>Re:dash</anon>
    <anon>MySQL</anon>
  </categories>
  <description>結論ですがmysqlとSQLiteの週単位に変換するための関数のズレが原因でした。週毎のCACをRe:dashで見れるようにしようとした際にハマりました。 CACはCost Acquisition Customerの略で「1顧客の獲得にいくらかかったか」を表す数字です。 この数字を週毎にチャートで見たいなと。週毎に獲得した新規顧客数はアプリケーションのデータベースから、 週毎に使った広告費はadwordsのレポートデータからそれぞれ取得します。アプリケーションのデータベースはmysqlを使っています。 adwordsのレポートデータは一度spread sheetに吐き出させてからRe:dash…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkeyama.hatenablog.com%2Fentry%2F2018%2F11%2F21%2F070000&quot; title=&quot;Re:dashでmysqlとQueryResultのデータソースからそれぞれ週毎にデータを集計しようとすると週がズレる。。。その対応 - FFFT&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/k/keyama4/20181118/20181118153958.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-11-21 07:00:00</published>
  <title>Re:dashでmysqlとQueryResultのデータソースからそれぞれ週毎にデータを集計しようとすると週がズレる。。。その対応</title>
  <type>rich</type>
  <url>https://keyama.hatenablog.com/entry/2018/11/21/070000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
