{"id":28756892,"url":"https://github.com/obirikan/ad-performance-analysis","last_synced_at":"2026-04-27T18:32:19.139Z","repository":{"id":298176336,"uuid":"995542491","full_name":"obirikan/Ad-Performance-Analysis","owner":"obirikan","description":"This project Compares Ad Effectiveness Using A/B Tests; analyzes ad performance  using user interaction data, advertisement metadata, and device data. The goal is to evaluate click-through rates (CTR) across various ad versions, platforms, and devices.","archived":false,"fork":false,"pushed_at":"2025-06-09T19:33:45.000Z","size":255,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T03:09:09.379Z","etag":null,"topics":["data-analysis","pandas"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/obirikan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-03T16:30:48.000Z","updated_at":"2025-06-09T19:33:49.000Z","dependencies_parsed_at":"2025-06-09T20:41:04.442Z","dependency_job_id":null,"html_url":"https://github.com/obirikan/Ad-Performance-Analysis","commit_stats":null,"previous_names":["obirikan/ad-performance-analysis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/obirikan/Ad-Performance-Analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obirikan%2FAd-Performance-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obirikan%2FAd-Performance-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obirikan%2FAd-Performance-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obirikan%2FAd-Performance-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obirikan","download_url":"https://codeload.github.com/obirikan/Ad-Performance-Analysis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obirikan%2FAd-Performance-Analysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32349462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","pandas"],"created_at":"2025-06-17T03:09:07.905Z","updated_at":"2026-04-27T18:32:19.116Z","avatar_url":"https://github.com/obirikan.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ad Performance Analysis\n\nThis project Compares Ad Effectiveness Using A/B Tests; analyzes ad performance  using user interaction data, advertisement metadata, and device data. The goal is to evaluate click-through rates (CTR) across various ad versions, platforms, and devices.\n\n## Dataset Overview\n\n* `users.csv`: Contains user interaction data including user IDs, timestamps, device IDs, and whether an ad was clicked.\n* `advertisements.csv`: Contains metadata about advertisements shown to users.\n* `devices.csv`: Contains information about the device types used by users.\n\n## Project Structure\n\nThe analysis is divided into five major task groups:\n\n###  Import, Inspect, and Merge\n\n* Load CSV files using pandas.\n* Inspect dataframes.\n* Merge user and advertisement datasets on `user_id` and `timestamp`.\n\n### Aggregations to Calculate Click-Through Rate\n\n* Count ad views.\n* Calculate unique users per ad version.\n* Compute click-through rate (CTR) as a percentage.\n\n### Comparing Ad Performances by Social Media Platform\n\n* Analyze CTR across ad sources and versions using groupby and pivot tables.\n\n### Comparing Ad Performances by Tech Device\n\n* Merge in device data.\n* Compare CTRs by device type and ad version.\n\n### Weekday and Weekend Performance by Device Type\n\n* Extract day of the week from timestamps.\n* Compare performance metrics for weekdays vs. weekends.\n\n## How to Run\n\n1. Ensure the following dependencies are installed:\n\n   ```bash\n   pip install pandas numpy\n   ```\n2. Place the `users.csv`, `advertisements.csv`, and `devices.csv` files in the working directory.\n3. Run the Python script or load the notebook to perform the analysis.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobirikan%2Fad-performance-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobirikan%2Fad-performance-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobirikan%2Fad-performance-analysis/lists"}