{"id":21051738,"url":"https://github.com/unity-package/advertising-unity","last_synced_at":"2025-08-22T13:16:39.552Z","repository":{"id":196526920,"uuid":"695461236","full_name":"wolf-org/advertising-unity","owner":"wolf-org","description":"Support advertising unity","archived":false,"fork":false,"pushed_at":"2024-08-27T09:11:55.000Z","size":169,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-08-28T09:43:21.504Z","etag":null,"topics":["admob","advertising","applovin-max","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wolf-org.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-09-23T08:54:00.000Z","updated_at":"2024-08-27T09:05:04.000Z","dependencies_parsed_at":"2023-09-26T00:44:33.010Z","dependency_job_id":"be19222e-a29b-4812-b531-f852b0cc1c32","html_url":"https://github.com/wolf-org/advertising-unity","commit_stats":null,"previous_names":["wolf-package/advertising","wolf-package/advertising-unity","wolf-org/advertising-unity"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolf-org%2Fadvertising-unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolf-org%2Fadvertising-unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolf-org%2Fadvertising-unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wolf-org%2Fadvertising-unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wolf-org","download_url":"https://codeload.github.com/wolf-org/advertising-unity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225384353,"owners_count":17465879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["admob","advertising","applovin-max","unity","unity3d"],"created_at":"2024-11-19T15:59:38.032Z","updated_at":"2025-08-22T13:16:39.542Z","avatar_url":"https://github.com/wolf-org.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"left\"\u003e\n  \u003ca\u003e\n    \u003cimg alt=\"Made With Unity\" src=\"https://img.shields.io/badge/made%20with-Unity-57b9d3.svg?logo=Unity\"\u003e\n  \u003c/a\u003e\n  \u003ca\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/unity-package/advertising-unity?logo=github\"\u003e\n  \u003c/a\u003e\n  \u003ca\u003e\n    \u003cimg alt=\"Last Commit\" src=\"https://img.shields.io/github/last-commit/unity-package/advertising-unity?logo=Mapbox\u0026color=orange\"\u003e\n  \u003c/a\u003e\n  \u003ca\u003e\n    \u003cimg alt=\"Repo Size\" src=\"https://img.shields.io/github/repo-size/unity-package/advertising-unity?logo=VirtualBox\"\u003e\n  \u003c/a\u003e\n  \u003ca\u003e\n    \u003cimg alt=\"Last Release\" src=\"https://img.shields.io/github/v/release/unity-package/advertising-unity?include_prereleases\u0026logo=Dropbox\u0026color=yellow\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## What\n### Show ads tool for unity games (support for Max-Applovin, Google Mobile Ads and IronSource-UnityLevelPlay)\n\n## How To Install\n\n### Add the line below to `Packages/manifest.json`\n\nfor version `1.1.8`\n```json\n\"com.wolf-org.advertising\":\"https://github.com/unity-package/advertising-unity.git#1.1.8\",\n```\ndependency `extensions-unity-1.0.6`\n```json\n\"com.wolf-org.extensions\":\"https://github.com/unity-package/extensions-unity.git#1.0.6\",\n```\n\nInstall `app-tracking-unity` and add define symbol `VIRTUESKY_TRACKING` if you need ad revenue tracking\n```json\n\"com.wolf-org.tracking\":\"https://github.com/unity-package/app-tracking-unity.git#1.0.3\",\n```\n\n## Use\n\n- Use via MenuItem `Unity-Common` \u003e `AdSettings` or shortcut `Ctrl + E / Command + E` to open `AdSettings`\n\n\n![Unity_SkbG2UOp9G](https://github.com/wolf-package/advertising/assets/126542083/ce4bddc9-61ae-4b62-b7bc-0588d0eacff6)\n\n\n\n- Here, select `Ad Network` and enter the ad unit id you want to use, don't forget add `Define Symbol`.\n\n- Add `Scripting Define Symbols` in `Project Settings` \u003e `Player` \u003e `Other Settings`\n    - Applovin: `VIRTUESKY_ADS` and `VIRTUESKY_APPLOVIN`\n    - Admob: `VIRTUESKY_ADS` and `VIRTUESKY_ADMOB`\n    - IronSource: `VIRTUESKY_ADS` and `VIRTUESKY_IRONSOURCE`\n  \n- If you use `Runtime auto init`, `Advertising` will be created automatically when you load the scene. Conversely, you would attach `Advertising` to the GameObject in the scene so that the ads can be loaded\n\n![Screenshot 2024-05-16 174541](https://github.com/wolf-package/unity-common/assets/102142404/451834ff-91e3-4ccf-90bd-b0c1d4b4f440)\n\n\n- Demo API Show Ads\n\n```csharp\n\n    public void ShowBanner()\n    {\n        Advertising.BannerAd.Show();\n    }\n\n    public void HideBanner()\n    {\n        Advertising.BannerAd.HideBanner();\n    }\n\n    public void ShowInter()\n    {\n        Advertising.InterstitialAd.Show().OnCompleted(() =\u003e\n        {\n            // handle show inter completed\n        });\n    }\n\n    public void ShowReward()\n    {\n        Advertising.RewardAd.Show().OnCompleted(() =\u003e\n        {\n            // handle show reward completed\n        }).OnSkipped(() =\u003e\n        {\n            // handle skip reward\n        });\n    }\n\n    public void ShowRewardInter()\n    {\n        Advertising.RewardedInterstitialAd.Show().OnCompleted(() =\u003e { });\n    }\n\n    public void ShowAppOpen()\n    {\n        Advertising.AppOpenAd.Show();\n    }\n\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funity-package%2Fadvertising-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funity-package%2Fadvertising-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funity-package%2Fadvertising-unity/lists"}