â»2023å¹´8æ10æ¥è¿½è¨
ãã®è¨äºã®æé éãã«ã¬ãã¼ããä½æãã¦ããã¼ã¿ã»ããã®è¨å®ã¨ã©ã¼ãã«ãªããã¨ãããã¨ããé£çµ¡ãä½ä»¶ãããã ãã¾ããã
ã¨ã©ã¼ã«ãªãã±ã¼ã¹ã¨ãªããªãã±ã¼ã¹ãããããã§ãããå¼ç¤¾ã§ã¯åç¾ã§ãã¦ããªããå ¬å¼ã®æ å ±ãè¦å½ãããªãåå ã¯ããã£ã¦ããã¾ããã
æ¨æ¸¬ã¨ãã¦ã¯ãã¼ã¿ã½ã¼ã¹ãä½æããã¨ãã®æ¡ä»¶ããåºåã¢ã«ã¦ã³ããã¨ã«ãã¼ã¿ã½ã¼ã¹ã®ä»æ§ãç°ãªããã¨ãªã©ãèãããã¾ããã詳細ã¯ä¸æã§ãã
ä½ãå¤æã次第æ¬è¨äºãããã¯SNSãªã©ã§ãç¥ãããã¾ãã
ãJADEã®ããã°ãè¦ã¦ä½ã£ãâã¬ã¹ãã³ã·ãæ¤ç´¢åºåã®ã¢ã»ããæ¯ã®ãã¼ã¿ã®ã¬ãã¼ãâã使ããªããªã£ã¦ãã¾ã£ããã¨å°ã£ã¦ããã£ããã£ãæ¹ããå¾ ãããããã¾ããã
æ¹ãã¾ãã¦ãJADEã§åºåéç¨ãä¸å¿ã«ãã¦ããçç°ã§ãï¼
2023å¹´2æã«å
¬éãããRSAã®ã¢ã»ããæ¯ãã¼ã¿ãè¦ãããã®ã¬ãã¼ãã®ä½ææ¹æ³ãã§ããã2023å¹´6ææç¹ã§Google åºåã¹ã¯ãªããã®ä»æ§ãå¤ãã£ããã¨ã«ããã使ç¨ã§ããªããªãã¾ããã
æ°ããä»æ§ã«åã£ãGoogle åºåã®ã¹ã¯ãªããã«ã¤ãã¦ã社å
ã§ç¢ºèªã»æ¤è¨¼ããRSAã®ã¢ã»ããæ¯ã®ã¬ãã¼ããä½æããæ¹æ³ãå¤æããã®ã§å
容ããç´¹ä»ãã¾ãã
ããã¦ä»åã®æ¹æ³ãããBigQueryã使ç¨ããªãã¦ãç°¡åã«èªåæ´æ°ã®ã¬ãã¼ããä½æããã ããããã«ãªãã¾ããï¼
BigQueryã®ä½¿ç¨ãéå£ã¨ãªã£ã¦ä»ã¾ã§ä½æã§ããªãã£ãæ¹ãç°¡åã«ä½æããã ããããã«ãªãã¾ããã®ã§ããã²ãæ´»ç¨ããã ããã°ã¨åãã¾ãï¼
ååè¨äºãã覧ã«ãªã£ã¦ããªãæ¹åãã«ç°¡åã«æ¦è¦ãè¨è¼ãã¾ãã
æ¬è¨äºã¯JADE社å
ã§ä½¿ç¨ãã¦ãããã¬ã¹ãã³ã·ãæ¤ç´¢åºåã®ã¢ã»ããæ¯ã®ãã¼ã¿ãè¦ããã¨ãã§ããã¬ãã¼ããã®ä½ãæ¹ã解説ããè¨äºã¨ãªãã¾ãã ãã®æ¹æ³ã«ãããä¸åº¦ã¬ãã¼ããä½æããã°æ°ããã¢ã»ããã追å ãã¦ãæ¥æ¬¡ã§èªåæ´æ°ããããããæ¥ã
ã®åæãããªã楽ã«ãªãã¾ãã
éä¸ã§JavaScriptã使ãç®æã¯ããã¾ãããç¥èããªãã¦ãä½æããã ããããã極åã³ããã§ä½ããããã«ãã¦ããã¾ãã
ãã²ã¬ãã¼ããä½æãã¦æ¥ã ã®æ¥åã§ä½¿ã£ã¦ã¿ã¦ãã ããï¼
ä»åã®ã´ã¼ã«
- Google åºåã®ã¬ã¹ãã³ã·ãæ¤ç´¢åºåã®ã¢ã»ãããã¨ã®ãã¼ã¿ããã»ã¼èªåã§Looker Studioã«åæ ãããã
ç¨æãããã®
- Google ã¹ãã¬ããã·ã¼ã
- Looker Studioã®ã¬ãã¼ã
ä»åãBigQueryã¯ä¸è¦ã§ãã
以ä¸ãããæ¹ï¼
æé ã¾ã¨ã
1. Google ã¹ãã¬ããã·ã¼ãã®ãã¡ã¤ã«ãæ°è¦ä½æããã
2. Google åºåã®ç®¡çç»é¢ã§Google Ads Scriptãæ¸ããã¬ã¹ãã³ã·ãæ¤ç´¢åºåã®ãã¼ã¿ãã¹ãã¬ããã·ã¼ãã«åºåããã
3. æé 2ã§ãã¼ã¿åºåããã¹ãã¬ããã·ã¼ããLooker Studioã«ãã¼ã¿ã½ã¼ã¹ã¨ãã¦åãè¾¼ãã
4. Looker Studioä¸ã§ãGoogle åºåã®ãã¼ã¿ã½ã¼ã¹ã¨æé 3ã§åãè¾¼ãã ãã¼ã¿ã½ã¼ã¹ã¨ãæ··åãã¼ã¿ã¨ãã¦çµåããã°ã©ããä½æããã
1.Google ã¹ãã¬ããã·ã¼ããä½ã
ã¾ãã¯åºåãã¼ã¿ãåºåããããã®Google ã¹ãã¬ããã·ã¼ããæ°è¦ä½æãã¦ãã ããã
âGoogle ã¹ãã¬ããã·ã¼ãã®TOPâ
Google Sheets: ãªã³ã©ã¤ã³ ã¹ãã¬ããã·ã¼ã ã¨ãã£ã¿ | Google Workspace
â»1åºåã¢ã«ã¦ã³ããã¨ã«ä½æãå¿ è¦ã§ãï¼(è¤æ°åºåã¢ã«ã¦ã³ãã1ã¤ã®ã¹ãã¬ããã·ã¼ãã§ç®¡çãããã¨ã¯ä»åã®æ¹æ³ã§ã¯ä¸å¯)
ã¹ãã¬ããã·ã¼ãã®ã¿ã¤ãã«ãåºåã¢ã«ã¦ã³ãåãªã©ã®ä»»æã®ååã«å¤æ´ãã¾ãããã
ã¿ã¤ãã«å¤æ´ä»¥å¤ã«ã·ã¼ãã«ä½ãæãå ããå¿ è¦ã¯ããã¾ããã®ã§ãã¿ã¤ãã«ãå¤æ´ãããä½æããã¹ãã¬ããã·ã¼ãã®URLãã¡ã¢å¸³ãªã©ã«ã³ãããã¦ä¿åãã¦ããã¾ãã
â»ã¹ãã¬ããã·ã¼ãã«ã¯åºåã®è¦åºãã説ææãªã©ã®ãã¼ã¿ãå ¥ããããè¦ãã¦ã¯ãããªããã®ãè¦ãã¦ã¯ãããªã人ã«å ±æããªããããä¿åå ´æã«ã¯æ³¨æãã¦ãã ããã
2.Google åºåã®ç®¡çç»é¢ã§ã¹ã¯ãªãããæ¸ããã¬ã¹ãã³ã·ãæ¤ç´¢åºåã®ãã¼ã¿ãã¹ãã¬ããã·ã¼ãã«åºåããã
ç¶ãã¦ãGoogle åºåããå ç¨ä½æããã¹ãã¬ããã·ã¼ãã¸åºåè¦åºããªã©ã®ãã¼ã¿åºåãããè¨å®ãè¡ãã¾ãã
Google åºåã®ç®¡çç»é¢ãéãã
ãã¼ã«ã¨è¨å® ï¼ ä¸æ¬æä½ ï¼ ã¹ã¯ãªãã
ãéãã¦ãã¹ã¯ãªããã®ä½æãè¡ãã¾ãã
ã¹ã¯ãªãã管çç»é¢å ã®éãï¼ãã¿ã³ãã¯ãªãã¯ããã¹ã¯ãªãããæ°è¦ä½æãã¾ãã
ã¹ã¯ãªãããæ°è¦ä½æããããå ã å ¥ã£ã¦ããæåã¯å ¨ã¦æ¶ãã¦ã以ä¸ã®ã³ã¼ããã³ãããã¾ãã
ãã®å¾ãã³ã¼ãå ã®
SpreadsheetApp.openByUrl("ãããããã»ã©ä½æããã¹ãã¬ããã·ã¼ãURLã«ç½®ãæã") ã®ããããããã»ã©ä½æããã¹ãã¬ããã·ã¼ãURLã«ç½®ãæããã®æè¨ããå ç¨â ã§ä¿åãã¦ãããã¹ãã¬ããã·ã¼ãã®URLã«ç½®ãæãã¾ãã
function main() {
const sheet = SpreadsheetApp.openByUrl("ãããããã»ã©ä½æããã¹ãã¬ããã·ã¼ãURLã«ç½®ãæã");
AdsApp.report('SELECT asset.id, asset.text_asset.text FROM asset').exportToSheet(sheet.getActiveSheet());
}
ã¹ã¯ãªããåããç¡åã®ã¹ã¯ãªãããããä»»æã®ååã«å¤æ´ããã°ãã¹ã¯ãªãããå®æã§ãã
ãå®è¡ããã¿ã³ãæ¼ãã¨ãå
ç¨ä½æããã¹ãã¬ããã·ã¼ãã«ãã¼ã¿ãåºåããã¾ãã
â»ã¹ã¯ãªããã®å®è¡ã«ã¯ã¢ã«ã¦ã³ãã®æ¿èªãå¿
è¦ãªå ´åãããã¾ãã
ã¹ã¯ãªããå®è¡å¾ãç»åã®ããã«2åã®ãã¼ã¿ãã¹ãã¬ããã·ã¼ãã«åºåããã¾ãã
Aåã®ãasset.idãã«ã¯èª¬ææ
Båã®ãasset.text_asset.textãã«ã¯è¦åºãã»èª¬ææã«è¨å®ããããã¹ããã¼ã¿
ãæ ¼ç´ããã¦ãã¾ãã
以åã¯1ã¤ã®ã»ã«ã®ä¸ã«ã¢ã»ããIDãè¦åºãã説ææãå ¥ã£ã¦ãã¦ãããããåãåºãå¿ è¦ãããã¾ããããã®å¦çã®ããã«BigQueryã®å©ç¨ããæ¹æ³ãå½ããã°ã§ç´¹ä»ãã¾ããã
ä»åããã¯åºåããã¦ãããã¼ã¿ããã§ã«ãã¢ã»ããIDãã¨ãè¦åºãã»èª¬ææãã®ã¿ã§æ§æããã¦ããããä¸è¦ã¨ãªãã¾ããã
â»åºåããã¹ãã¬ããã·ã¼ãã«ããã¦ãã**asset.text_asset.text**ãã®åã§ç©ºç½è¡ãåºã¦ããã®ã¯ãã¬ã¹ãã³ã·ãæ¤ç´¢åºåã®è¦åºãã説ææ以å¤ã®å ¨ã¢ã»ããã®IDãåºåãã¦ããããã§ãã(ç»åãã³ã¼ã«ã¢ã¦ããªã©)
ããè¦åºãã説ææãæ£ããæ½åºã§ãã¦ãããä¸å®ãªå ´åã¯ã以ä¸ã®ã¹ã¯ãªãããåæ§ã«Google åºåã¹ã¯ãªããã§è¨å®ãããã¼ã¿ãåºåãã¦ã¿ã¦ãã ãããã¢ã»ããã¿ã¤ããåããã¦åºåããããããæ£ããåºåã§ãã¦ãããã確èªãããã¨ãå¯è½ã§ãã
function main() {
const sheet = SpreadsheetApp.openByUrl("ãããããã»ã©ä½æããã¹ãã¬ããã·ã¼ãURLã«ç½®ãæã");
AdsApp.report('SELECT asset.text_asset.text, asset.id, asset.source, asset.resource_name, asset.type FROM asset').exportToSheet(sheet.getActiveSheet());
}
èªååã®ããã®è¨å®
ã¹ã¯ãªããã®ä¸è¦§ç»é¢ã§ä»¥ä¸èµ¤æ å
ã®æéè¨å®ãããã°ãæ¯æ¥ãã®æéã«ã¹ã¯ãªãããåãã¾ãã
ãã®éã«è¿½å ããæ°ããã¢ã»ãããããã°ãã¹ãã¬ããã·ã¼ãã«è¿½å ã§åºåãã¦ããã¾ãã
3.Looker Studioä¸ã§ãã¼ã¿ã½ã¼ã¹ãä½ã
ã¬ãã¼ããä½æãã¦ããã¾ããLooker Studioãéãã¾ãããã
Looker Studio: ãã¸ãã¹åææ å ±ã®å¯è¦å | Google Cloud
ã¾ãã¯ãä½æãããæ°ããã¬ãã¼ããä½æãã¾ãã
æ°ããã¬ãã¼ããä½æããã¨ä»¥ä¸ã®ç»é¢ã«ãªãã®ã§ã2ã¤ã®ãã¼ã¿ã½ã¼ã¹ã追å ãã¾ããããâ»2ã¤ç®ã®ãã¼ã¿ã¯ä¸é¨ã¡ãã¥ã¼ã®ããã¼ã¿ã追å ããã追å ã§ãã¾ãã
ããã¼ã¿ã追å ãããã以ä¸ã®èµ¤æ ã®ãã¼ã¿ã追å ããã
- Google åºåâGoogle åºåã®ãã¼ã¿(ã¬ãã¼ããä½æãããGoogle åºåã¢ã«ã¦ã³ã)
- Google ã¹ãã¬ããã·ã¼ãâå ã»ã©æé 2ã§ä½æããã¹ãã¬ããã·ã¼ããé¸æ
ãã®å¾ã°ã©ããä½æãã表ãé¸æãã¦ããã¼ã¿ãçµ±åããé¸æãã¾ãã
ãã¼ã¿ã®çµ±åã¯ãAssetIDããã¼ã¨ãã¦å®å
¨å¤é¨çµåã§çµåãã¾ãã
çµåã®è¨å®ã¯ããå®å
¨å¤é¨çµåããé¸æãã¾ãã
çµåæ¡ä»¶ã¯ã**asset.id**(æé 2ã§åºåããã«ã©ã å)ã¨Asset ID(Google åºåã®ãã¼ã¿ã½ã¼ã¹)ãæå®ãã¾ãã
ãã£ã¡ã³ã·ã§ã³ãææ¨ã¯ç¢ºèªãããé
ç®ãé¸æãã¦ãã ããã
以ä¸ã¯ä¸ä¾ã§ããä»»æã§è¿½å ãå¯è½ã§ãã(CTRã¨CVRã¯å¾ã»ã©ä½æããããé¸æãªãã§OKã§ãã)
é¸æãå®äºãããããä¿åããã¯ãªãã¯ãã¾ãã
æºåã¯ããã§å®äºã§ãï¼
4.Looker Studioã§ã¬ãã¼ããä½ã
ããããã¬ãã¼ããä½ãå·¥ç¨ã§ãï¼
ã¾ãã°ã©ãå ã«CTRã¨CVRã®ãã£ã¼ã«ããä½æãã¾ãã
Google åºåã®ãã¼ã¿ã½ã¼ã¹ã«ãCTRãCVRã¯åå¨ãã¾ããããã®ã¾ã¾ä½¿ç¨ããã¨æ°å¤ãåããªãããCTRã¨CVRã®ãã£ã¼ã«ããä½æãã¾ãã
ä½ææ¹æ³ã¯ä»¥ä¸ã®éãã§ãã
1.ãææ¨ã追å ãâããã£ã¼ã«ããä½æããé¸æ
2.ã°ã©ãå ã«ã¦ãCTRã»CVRãè¨ç®ãã£ã¼ã«ãã§ããããä½ã(ã³ããã§OK)
CTRã®è¨ç®å¼
SUM(ã¯ãªãã¯æ°) / SUM(表示åæ°)
CVRã®è¨ç®å¼
SUM(ã³ã³ãã¼ã¸ã§ã³) / SUM(ã¯ãªãã¯æ°)
ã¬ãã¼ãã®å®æå½¢ã®ä¾ã¯ãã¡ãã§ã!
表ã«ã¯ä»¥ä¸ã®ãã£ã¡ã³ã·ã§ã³ã¨ææ¨ãè¨å®ãã¾ãã
次ã«å ã»ã©ä½æãã表ã使ããããããããã«ãã³ã³ããã¼ã«(ãã£ã«ã¿ã®ãããªãã®)ãã追å ãã¾ãã
ã¬ãã¼ãä¸é¨ã®ã¡ãã¥ã¼å ã«ãããã³ã³ããã¼ã«ããé¸æãã¦ãããã«ãã¦ã³ ãªã¹ãããé¸æãã¾ãã
ããããã¯ããAd IDãã»ãAsset typeãã»ãDateãã»ãåºåã°ã«ã¼ããã§ãã
è¨å®ã¯ä¸ä¾ã§ããã以ä¸ã®ããã«ããã¨ä½¿ããããã¨æãã¾ãã
Dateã¯ä»»æã®æéã§ãèªç±ã«è¨å®ããã®ãè¯ãã¨æãã¾ãã
ã³ã³ããã¼ã«ã¯ä½¿ããããããã«é ç½®ãã¦ãåºåã°ã«ã¼ããã¨ã«ã¿ãããåºåIDãã¨ã«ã¿ããã¨è²ã ã¨ãããã¦ã¿ã¦ã好ããªä½è£ã§ã¬ãã¼ããä½æãã¦ã¿ã¦ãã ããã
ã¬ãã¼ãã®ä½æã«ã¤ãã¦ã¯ä»¥ä¸ã¨ãªãã¾ãï¼
ãã¨ã¯ãèªèº«ã§æ¥ã
確èªããããã¼ã¿ãªã©ã«åããã¦ã«ã¹ã¿ãã¤ãºãã¦ã¿ã¦ãã ããï¼
ã注æã»è£è¶³äºé
éå»ã¬ãã¼ãã«åºã¦ããnull表示ã«ã¤ãã¦
éå»ä½æããã¬ãã¼ãã§ã¯åé¤ããã¢ã»ãããnullã«ãªã£ã¦ãã¾ãäºè±¡ãããã¾ããããä»åã®å 容ããåé¤æ¸ã¿ã®å 容ã«ã¤ãã¦ããã¼ã¿ã表示ã§ããããã«ãªãã¾ããã
Looker Studioã®ã¬ãã¼ãã«ãããã°ã©ãã®éè¨è¡ã®æ±ãã«ã¤ãã¦
ä½æããã¬ãã¼ãã®éè¨è¡ã®åæ°å¤ã«ã¤ãã¦ã¯ãå®éã®åæ°å¤ãããå¤ã表示ããã¾ãã
ãã®ããéè¨è¡ã¯è¡¨ç¤ºããªãã§ãã ããã
ã¬ã¹ãã³ã·ãæ¤ç´¢åºåã®ã¢ã»ããã¯ã1åã®åºå表示ã®ã¨ãã«è¤æ°åæã«è¡¨ç¤ºããããã®ã§ãã£ã¦ãåã¢ã»ããã®è¡¨ç¤ºåæ°ãã¯ãªãã¯æ°ãªã©ã¯åç®ãããã®ã§ã¯ããã¾ããã
æå¾ã«
JADEã§ã¯ããã®ã¬ã¹ãã³ã·ãæ¤ç´¢åºåã®ã¬ãã¼ããã¯ãããåºåã®ãã¼ã¿ãGAã®ãã¼ã¿ãªã©ãæ§ã ãªåãå£ããåæã§ããã¬ãã¼ãããã³ãã¬ã¼ãåããæ¥ã ã®åºåéç¨ã«æ´»ç¨ãã¦ãã¾ãã
ä»åã®ã¬ãã¼ããã¿ãªããã®æ¥ã ã®åºåéç¨ã®ãå½¹ã«ç«ã¦ãã°å¹¸ãã§ãï¼