Skip to content

Instantly share code, notes, and snippets.

@Tin-Nguyen
Created January 14, 2026 18:37
Show Gist options
  • Select an option

  • Save Tin-Nguyen/ac081802ced95b3698bc754d9c25b99f to your computer and use it in GitHub Desktop.

Select an option

Save Tin-Nguyen/ac081802ced95b3698bc754d9c25b99f to your computer and use it in GitHub Desktop.
Example 1 - Search Lift Story
Example Input 1
Search Term: Boost Mobile
Opportunity Dates Data: Boost Mobile account_name, industry, sub_industry, broadcast_product, opportunity_name, opportunity_foreign_id, advertiser_category, start_date, end_date Boost Mobile, Telecommunication, Cellular Phones, adsplus, Boost Mobi-BOOST Mobile Q2 Chicago-Tzakis, Coco-ChicIL-14891332, 006Ps00000RVuOAIA1, Cell Phones, 2025-05-19, 2025-06-22 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-WJLB-FM Boost Mobi/Gold N Fis4.28 Detroit-37901369-14890945, 006Ps00000RVnOIIA1, 2025-05-19, 2025-06-14 Boost Mobile, Telecommunication, Cellular Phones, adsplus, Boost Mobile Q2 2025 Power99-14639590, 006Ps00000MhtRDIAZ, Cell Phones, 2025-05-05, 2025-06-01 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-WKQI-FM Boost Mobi/Gold N Fis4.28 Detroit-37901370-14890943, 006Ps00000RVnOHIA1, 2025-04-28, 2025-05-11 Boost Mobile, Telecommunication, Cellular Phones, adsplus, Boost Mobile Q1 TAX SEASON Rumba, WDAS and WUSL-LOKOFF, JODI-PhilPA-Copy-14393909, 006Ps00000HEZddIAH, Cell Phones, 2025-02-17, 2025-03-16 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-WZCB-FM Boost Mobi/Gold N FisCOL-37761096-14631778, 006Ps00000MYefvIAD, 2025-02-03, 2025-02-16 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-WAKS-FM Boost Mobi/Gold N FisCLE-37759487-14626861, 006Ps00000MNrAEIA1, 2025-02-04, 2025-02-14 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-BZCB-FM Boost Mobi/Gold N FisCOL-37761097-14631770, 006Ps00000MYeftIAD, 2025-02-05, 2025-02-14 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-WNCI-FM Boost Mobi/Gold N FisCOL-37761095-14631774, 006Ps00000MYefuIAD, 2025-02-05, 2025-02-14 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-BAKS-FM Boost Mobi/Gold N FisCLE-37759488-14626865, 006Ps00000MNrAFIA1, 2025-02-04, 2025-02-14 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-WJLB-FM Boost Mobi/Gold N FisHolidays-37557151-14233240, 006Ps00000EcsaPIAR, 2024-10-14, 2024-12-29 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-BAKS-FM Boost Mobi/Gold N FisHolidays-37557122-14231162, 006Ps00000EabqcIAB, 2024-10-14, 2024-12-23 Boost Mobile, Telecommunication, Cellular Phones, adsplus, Boost Mobi-Boost Mobile Q4 Rumba, WDAS and WUSL-LOKOFF, JODI-PhilPA-14246129, 006Ps00000Emn3JIAR, Cell Phones, 2024-11-25, 2024-12-22 Boost Mobile, Telecommunication, Cellular Phones, adsplus, BoostMobileT-GivingHolidayQ42024yes-14258171, 006Ps00000F0TUPIA3, Cellular Stores, 2024-11-14, 2024-12-22 Boost Mobile, Telecommunication, Cellular Phones, adsplus, Boost Mobi-Big Jam-SHAPIRO, J.-ChicIL-14359014, 006Ps00000GgD7hIAF, Cell Phones, 2024-11-20, 2024-12-09 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-BAKS-FM Boost Mobi/Gold N FisCleveland, OH-37482928-14098191, 006Ps00000CyM3bIAF, 2024-09-09, 2024-09-29 Boost Mobile, Telecommunication, Cellular Phones, adsplus, BoostMobileQ32024EnglewoodFestBackToSchool-13969287, 006Ps00000BNPgwIAH, Cellular Stores, 2024-08-05, 2024-09-14 Boost Mobile, Telecommunication, Cellular Store, adsplus, Ntl-WJLB-FM Boost Mobi/Gold N FisDetroit-37410979-13931941, 006Ps00000B0AIoIAN, 2024-07-29, 2024-08-25
Account Daily Impressions: date, broadcast_delivered_impressions, broadcast_ordered_impressions 6/22/25, 60420, 36090 6/21/25, 40280, 24060 6/20/25, 76618, 48382 6/19/25, 58193, 36923 6/18/25, 99472, 62635 6/17/25, 94669, 59644 6/16/25, 80673, 50979 6/15/25, 124945, 75223 6/14/25, 172537, 111486 6/13/25, 104538, 80595 6/12/25, 112854, 94533 6/11/25, 121816, 94894 6/10/25, 64507, 40162 6/9/25, 60078, 37368 6/8/25, 119530, 70641 6/7/25, 119530, 70641 6/6/25, 77176, 54466 6/5/25, 82997, 54779 6/4/25, 83922, 55542 6/3/25, 30413, 18881 6/2/25, 52893, 32937 6/1/25, 72504, 47569 5/31/25, 98378, 72898 5/30/25, 206803, 176694 5/29/25, 135283, 111735 5/28/25, 155076, 130991 5/27/25, 184740, 133706 5/26/25, 182806, 133182 5/25/25, 199259, 131375 5/24/25, 184116, 123936 5/23/25, 99590, 76924 5/22/25, 213203, 169303 5/21/25, 214606, 162063 5/20/25, 101386, 77037 5/19/25, 73960, 57774 5/18/25, 21555, 20096 5/17/25, 28982, 26978 5/16/25, 54978, 52074 5/15/25, 25333, 24191 5/14/25, 31147, 29839 5/13/25, 47392, 44408 5/12/25, 43063, 40794 5/11/25, 41658, 39092 5/10/25, 119584, 116842 5/9/25, 202352, 201198 5/8/25, 154122, 151464 5/7/25, 138720, 137566 5/6/25, 127990, 126463 5/5/25, 136079, 133810 5/4/25, 25911, 25911 5/3/25, 53659, 53659 5/2/25, 59275, 59275 5/1/25, 80135, 80135 4/30/25, 76571, 76571 4/29/25, 59275, 59275 4/28/25, 56059, 56059 3/16/25, 76734, 72546 3/15/25, 51156, 48364 3/14/25, 38470, 35693 3/13/25, 32462, 29700 3/12/25, 43364, 40019 3/11/25, 59160, 54664 3/10/25, 43364, 40019 3/9/25, 36040, 34332 3/8/25, 69176, 65530 3/7/25, 59838, 55332 3/6/25, 35027, 32460 3/5/25, 37891, 34955 3/4/25, 55816, 51361 3/3/25, 50922, 47035 3/2/25, 51156, 48364 3/1/25, 54060, 51498 2/28/25, 55816, 51361 2/27/25, 59838, 55332 2/26/25, 65360, 60399 2/25/25, 7558, 7016 2/24/25, 50922, 47035 2/23/25, 61618, 58514 2/22/25, 66272, 62396 2/21/25, 26890, 24706 2/20/25, 53687, 49600 2/19/25, 41957, 38735 2/18/25, 50922, 47035 2/17/25, 43364, 40019 2/14/25, 80250, 80250 2/13/25, 79861, 79861 2/12/25, 79861, 79861 2/11/25, 79861, 79861 2/10/25, 90836, 90836 2/9/25, 90634, 90634 2/8/25, 91989, 91989 2/7/25, 120481, 120481 2/6/25, 121757, 121757 2/5/25, 119529, 119529 2/4/25, 36741, 36741 12/23/24, 4408, 4408 12/22/24, 97011, 65043 12/21/24, 352261, 263369 12/20/24, 255901, 202677 12/19/24, 336898, 269857 12/18/24, 295443, 234395 12/17/24, 315672, 249941 12/16/24, 291429, 230508 12/15/24, 568867, 435373 12/14/24, 902585, 664281 12/13/24, 303059, 251171 12/12/24, 292236, 231912 12/11/24, 328672, 256379 12/10/24, 316155, 252908 12/9/24, 305780, 239011 12/8/24, 521921, 392299 12/7/24, 129466, 117050 12/6/24, 101284, 94741 12/5/24, 153873, 133746 12/4/24, 184582, 163001 12/3/24, 113433, 96312 12/2/24, 190878, 171749 12/1/24, 328464, 258496 11/30/24, 329581, 264527 11/29/24, 324604, 283895 11/28/24, 261959, 222735 11/27/24, 238880, 200678 11/26/24, 276470, 235017 11/25/24, 233918, 194021 11/24/24, 161858, 114430 11/23/24, 203970, 146418 11/22/24, 303581, 237421 11/21/24, 292348, 231718 11/20/24, 54987, 54987 11/19/24, 51055, 51055 11/18/24, 43045, 43045 11/15/24, 239456, 159208 10/28/24, 4408, 4408 10/26/24, 35322, 35322 10/25/24, 38700, 38700 10/24/24, 19387, 19387 10/23/24, 44821, 44821 10/22/24, 51561, 51561 10/21/24, 41330, 41330 10/20/24, 22888, 22888 10/19/24, 64390, 64390 10/18/24, 69009, 69009 10/17/24, 66180, 66180 10/16/24, 46013, 46013 10/15/24, 40721, 40721 10/14/24, 50041, 50041 9/28/24, 7582, 6199 9/27/24, 7242, 6049 9/26/24, 5028, 4086 9/25/24, 5866, 4767 9/24/24, 5866, 4767 9/23/24, 5866, 4767 9/22/24, 5866, 4767 9/21/24, 5028, 4086 9/20/24, 10338, 8715 9/19/24, 5866, 4767 9/18/24, 5028, 4086 9/17/24, 5028, 4086 9/16/24, 5028, 4086 9/15/24, 5028, 4086 9/14/24, 528016, 359738 9/13/24, 59694, 41301 9/12/24, 21492, 14988 9/11/24, 38794, 26571 9/10/24, 54420, 36792 9/9/24, 71722, 48375 9/8/24, 222024, 148608 9/7/24, 375352, 251488 9/6/24, 32356, 21436 9/3/24, 32356, 21436 9/2/24, 64712, 42872 9/1/24, 169506, 113598 8/31/24, 282268, 190036 8/30/24, 48534, 32154 8/29/24, 32356, 21436 8/28/24, 64712, 42872 8/27/24, 80890, 53590 8/26/24, 48534, 32154 8/25/24, 399498, 267918 8/24/24, 196453, 121829 8/23/24, 264722, 162442 8/22/24, 226847, 136892 8/21/24, 179592, 108823 8/20/24, 168285, 106033 8/19/24, 184202, 116678 8/18/24, 425366, 280056 8/17/24, 347884, 226112 8/16/24, 330425, 207116 8/15/24, 227504, 140867 8/14/24, 220528, 133458 8/13/24, 225174, 138164 8/12/24, 372329, 231899 8/11/24, 374844, 247392 8/10/24, 275354, 174530 8/9/24, 99130, 57090 8/8/24, 63084, 35310 8/7/24, 149431, 90541 8/6/24, 180450, 106643 8/5/24, 157275, 90126 8/4/24, 35832, 20196 8/3/24, 35832, 20196 8/2/24, 36228, 20460 8/1/24, 17652, 10230 7/31/24, 11768, 6820 7/30/24, 17652, 10230 7/29/24, 11768, 6820
Search Interest Data: week_start_date, rank_value 2023-12-31, 66 2024-01-07, 59 2024-01-14, 58 2024-01-21, 56 2024-01-28, 58 2024-02-04, 59 2024-02-11, 56 2024-02-18, 72 2024-02-25, 66 2024-03-03, 62 2024-03-10, 62 2024-03-17, 59 2024-03-24, 55 2024-03-31, 60 2024-04-07, 57 2024-04-14, 55 2024-04-21, 55 2024-04-28, 58 2024-05-05, 58 2024-05-12, 55 2024-05-19, 57 2024-05-26, 60 2024-06-02, 65 2024-06-09, 63 2024-06-16, 64 2024-06-23, 62 2024-06-30, 68 2024-07-07, 62 2024-07-14, 70 2024-07-21, 66 2024-07-28, 76 2024-08-04, 76 2024-08-11, 79 2024-08-18, 76 2024-08-25, 71 2024-09-01, 73 2024-09-08, 78 2024-09-15, 82 2024-09-22, 76 2024-09-29, 76 2024-10-06, 69 2024-10-13, 68 2024-10-20, 60 2024-10-27, 68 2024-11-03, 61 2024-11-10, 63 2024-11-17, 69 2024-11-24, 85 2024-12-01, 75 2024-12-08, 71 2024-12-15, 78 2024-12-22, 98 2024-12-29, 79 2025-01-05, 62 2025-01-12, 58 2025-01-19, 59 2025-01-26, 63 2025-02-02, 69 2025-02-09, 61 2025-02-16, 85 2025-02-23, 100 2025-03-02, 78 2025-03-09, 68 2025-03-16, 66 2025-03-23, 62 2025-03-30, 77 2025-04-06, 73 2025-04-13, 69 2025-04-20, 77 2025-04-27, 77 2025-05-04, 83 2025-05-11, 69 2025-05-18, 66 2025-05-25, 69 2025-06-01, 69 2025-06-08, 64 2025-06-15, 60 2025-06-22, 58 2025-06-29, 64 2025-07-06, 64 2025-07-13, 62 2025-07-20, 64 2025-07-27, 65 2025-08-03, 64 2025-08-10, 61 2025-08-17, 62 2025-08-24, 60
Example Output 1
Computation Validation
Week of Feb 16, 2025: Feb 16-22 = 416,508 total impressions (complete data)
Week of Feb 23, 2025: Feb 23-Mar 1 = 390,816 total impressions (complete data)
Week of Dec 15, 2024: Dec 15-21 = 3,183,295 total impressions (complete data)
Week of May 4, 2025: May 4-10 = 922,005 total impressions (complete data)
Account Performance Overview
Boost Mobile search interest for "boost mobile" reached 100 during week of Feb 23, 2025 (broadcast-only active)
Additional notable peaks occurred during week of Dec 22, 2024 (index: 98, broadcast-only) and week of May 4, 2025 (index: 83, broadcast-only)
Search interest showed temporal alignment with broadcast campaign windows across multiple periods
Search Timing and Correlation Analysis
February 2025 period: search interest changed from 69 (Feb 2) to 85 (Feb 16) to 100 (Feb 23) during broadcast-only weeks with 416K-390K weekly impressions
December 2024 holiday period: search interest reached 98 (Dec 22) during broadcast-only week with 3.18M total impressions (Dec 15-21)
May 2025 Q2 launch: search interest moved from 77 (Apr 27) to 83 (May 4) during broadcast-only week with 922K total impressions
June 2025: search interest changed from 69 (Jun 1) to 58 (Jun 22) during broadcast-only active period with ongoing delivery
Post-Campaign Observation
February peak (100) changed to 78 within one week (Mar 2) and continued to 68 (Mar 9) after broadcast campaigns ended
December holiday peak (98) changed to 79 (Dec 29) then 62 (Jan 5) within two weeks post-campaign
May peak (83) changed to 69 (May 11) within one week, then remained stable at 66-69 through late May
Summer period (Jun-Aug): search interest remained stable in 58-65 range despite ongoing broadcast activity
Strategic Observations
February and December time windows showed temporal alignment between broadcast activity and search interest peaks (100 and 98 respectively)
Q2 timing (early May) showed initial movement (+6 points week-over-week) but limited sustained change through summer months
Late June delivery pattern: week of Jun 15 had 691K total impressions with search interest changing from 64 to 60 (±4 points, limited movement)
Post-peak patterns: search interest typically changed within 1-2 weeks after campaign end across all observed periods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment