{"id":19404211,"url":"https://github.com/p32929/houseads2","last_synced_at":"2026-05-16T04:04:16.195Z","repository":{"id":105972517,"uuid":"200757058","full_name":"p32929/HouseAds2","owner":"p32929","description":"A library ( V2 ) for cross promoting own apps within own apps - for Android","archived":false,"fork":false,"pushed_at":"2021-01-02T16:32:06.000Z","size":167,"stargazers_count":27,"open_issues_count":1,"forks_count":17,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-07T12:47:22.337Z","etag":null,"topics":["advertisement","advertising","android","android-development","android-library","android-studio","banner","cross-promotion","custom-ads","interstitial-ads","promotion","self-advertising"],"latest_commit_sha":null,"homepage":"","language":"Java","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/p32929.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":"2019-08-06T01:53:51.000Z","updated_at":"2024-02-10T22:05:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae235de1-0525-467d-ba56-2c7998251fab","html_url":"https://github.com/p32929/HouseAds2","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p32929%2FHouseAds2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p32929%2FHouseAds2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p32929%2FHouseAds2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/p32929%2FHouseAds2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/p32929","download_url":"https://codeload.github.com/p32929/HouseAds2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240581473,"owners_count":19824139,"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":["advertisement","advertising","android","android-development","android-library","android-studio","banner","cross-promotion","custom-ads","interstitial-ads","promotion","self-advertising"],"created_at":"2024-11-10T11:33:35.785Z","updated_at":"2026-05-16T04:04:16.094Z","avatar_url":"https://github.com/p32929.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## HouseAds2\nA library ( V2 ) for cross promoting own apps within own apps - for Android\n\n[![](https://badgen.net/github/release/p32929/HouseAds2)]() [![](https://badgen.net/github/release/p32929/HouseAds2/stable)]() [![](https://badgen.net/github/tag/p32929/HouseAds2)]() [![](https://badgen.net/github/watchers/p32929/HouseAds2)]() [![](https://badgen.net/github/checks/p32929/HouseAds2)]() [![](https://badgen.net/github/status/p32929/HouseAds2)]() [![](https://badgen.net/github/stars/p32929/HouseAds2)]() [![](https://badgen.net/github/forks/p32929/HouseAds2)]() [![](https://badgen.net/github/issues/p32929/HouseAds2)]() [![](https://badgen.net/github/open-issues/p32929/HouseAds2)]() [![](https://badgen.net/github/closed-issues/p32929/HouseAds2)]() [![](https://badgen.net/github/label-issues/p32929/HouseAds2/help-wanted/open)]() [![](https://badgen.net/github/prs/p32929/HouseAds2)]() [![](https://badgen.net/github/open-prs/p32929/HouseAds2)]() [![](https://badgen.net/github/closed-prs/p32929/HouseAds2)]() [![](https://badgen.net/github/merged-prs/p32929/HouseAds2)]() [![](https://badgen.net/github/commits/p32929/HouseAds2)]() [![](https://badgen.net/github/last-commit/p32929/HouseAds2)]() [![](https://badgen.net/github/branches/p32929/HouseAds2)]() [![](https://badgen.net/github/releases/p32929/HouseAds2)]() [![](https://badgen.net/github/tags/p32929/HouseAds2)]() [![](https://badgen.net/github/license/p32929/HouseAds2)]() [![](https://badgen.net/github/contributors/p32929/HouseAds2)]() [![](https://badgen.net/github/dependents-pkg/p32929/HouseAds2)]() \n\n## Share\nSharing with your friends is just one click away from here\n\n[![facebook](https://image.flaticon.com/icons/png/32/124/124010.png)](https://www.facebook.com/sharer/sharer.php?u=https://github.com/p32929/HouseAds2)\n[![twitter](https://image.flaticon.com/icons/png/32/124/124021.png)](https://twitter.com/intent/tweet?source=https://github.com/p32929/HouseAds2)\n[![tumblr](https://image.flaticon.com/icons/png/32/124/124012.png)](https://www.tumblr.com/share?v=3\u0026u=https://github.com/p32929/HouseAds2)\n[![pocket](https://image.flaticon.com/icons/png/32/732/732238.png)](https://getpocket.com/save?url=https://github.com/p32929/HouseAds2)\n[![pinterest](https://image.flaticon.com/icons/png/32/124/124039.png)](https://pinterest.com/pin/create/button/?url=https://github.com/p32929/HouseAds2)\n[![reddit](https://image.flaticon.com/icons/png/32/2111/2111589.png)](https://www.reddit.com/submit?url=https://github.com/p32929/HouseAds2)\n[![linkedin](https://image.flaticon.com/icons/png/32/1409/1409945.png)](https://www.linkedin.com/shareArticle?mini=true\u0026url=https://github.com/p32929/HouseAds2)\n[![whatsapp](https://image.flaticon.com/icons/png/32/733/733585.png)](https://api.whatsapp.com/send?text=https://github.com/p32929/HouseAds2)\n\n## Support\nIf you like my works and want to support me/my works, feel free to support or donate. My payment details can be found here: https://p32929.github.io/SendMoney2Me/\n\n(V1 here: https://github.com/p32929/MyHouseAdsAndroid)\n\n## Screenshot:\n### Banner Ad\n\n\u003cimg src=\"https://user-images.githubusercontent.com/6418354/62546571-856a2d00-b885-11e9-87e4-d3dbe24435f1.jpg\" width=\"350\"\u003e\n\n### Interstitial ad:\n\n\u003cimg src=\"https://user-images.githubusercontent.com/6418354/62546573-8602c380-b885-11e9-89be-12ba2643fa55.jpg\" width=\"350\"\u003e\n\n### Rating Dialog:\n\n\u003cimg src=\"https://user-images.githubusercontent.com/6418354/64273036-57e6d100-cf62-11e9-847e-25db88fc2d9d.jpg\" width=\"350\"\u003e\n\n## How to use:\n### Steps:\n* Initialize\n* Show ads\n\n## Installation\nAdd it in your root build.gradle at the end of repositories:\n\n```\n\tallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n\nAdd the dependency\n\n```\ndependencies {\n\t        implementation 'com.github.p32929:HouseAds2:1.0.0.16'\n\t}\n```\n\n## Code Example:\n### Initialization:\n\nIf you just want to show interstitial ads , initialize like this:\n\n```\nHouseAds houseAds = new HouseAds(this,\n                \"https://raw.githubusercontent.com/p32929/SomeHowTosAndTexts/master/HouseAdsJson/house_ads2.json\"\n        );\n```\n\nIf you want to show both interstitial ads and banner ads, initialize like this:\n\n```\nHouseAds houseAds = new HouseAds(this,\n                \"https://raw.githubusercontent.com/p32929/SomeHowTosAndTexts/master/HouseAdsJson/house_ads2.json\",\n                linearLayout\n        );\n```\n\nTo show interstitial ad on back press:\n\n```\nhouseAds.showInterAds();\n```\nThe banner ad will be added on the json data load.\n\nIf you want to change the banner ads every `n` seconds:\n\n```\nhouseAds.autoChangeBannerAds(seconds);\n```\n\nIf you want to show a Rating Dialog before sending the user to the Google Play Store, you need to set a feedback email using `setFeedbackEmail` method like this:\n\n```\nhouseAds.setFeedbackEmail(\"p32929@gmail.com\");\n```\n\nThe JSON data should be like this:\n```\n[\n\t{\n\t\t\"appIcon\": \"https://lh3.googleusercontent.com/vvp6Ev33xPerWBBOtIRyAHl7k5c4wQ72hGwG3EU4JC-BTjfvb5DSJDeMABaRg0fy_KI\",\n\t\t\"appName\": \"Sleepy - Phone Addiction Controller\",\n\t\t\"appDescription\": \"The smartest app to reduce phone addiction\",\n\t\t\"url\": \"https://play.google.com/store/apps/details?id=p32929.lazyphone\"\n\t},\n\t{\n\t\t\"appIcon\": \"https://lh3.googleusercontent.com/EPW9ERgwRYA47SsgLCiA0vF7irRoPIhS0tA3JdIrgQ5-xmaqVBJKt69-jLW1JAtgD6w\",\n\t\t\"appName\": \"Best CGPA Calculator\",\n\t\t\"appDescription\": \"Best CGPA Calculator app for Android\",\n\t\t\"url\": \"https://play.google.com/store/apps/details?id=p32929.cgpa_calculator2\"\n\t},\n\t{\n\t\t\"appIcon\": \"https://lh3.googleusercontent.com/xtHAhxY3kp0O2hDSgLIQlXvreSQsHV-6ApulPeLJ-j4QrjyXD_OQfYdk88hbFYad8q0\",\n\t\t\"appName\": \"Buy Sell BD\",\n\t\t\"appDescription\": \"Buy-Sell everything easily in Bangladesh\",\n\t\t\"url\": \"https://play.google.com/store/apps/details?id=p32929.buysellbd\"\n\t},\n\t{\n\t\t\"appIcon\": \"https://lh3.googleusercontent.com/ILrto9KguXlr-clbhYKUonpnHszgNp_N5Qvc8_u9QaM71oaqNKcYql2sV3sqZ7nqzsc\",\n\t\t\"appName\": \"Desplash\",\n\t\t\"appDescription\": \"Beautiful automatic wallpapers from Unsplash\",\n\t\t\"url\": \"https://play.google.com/store/apps/details?id=p32929.desplash\"\n\t},\n\t{\n\t\t\"appIcon\": \"https://lh3.googleusercontent.com/ni-lk3b2nTMZyC7r1wYBW6cm9eYqGAN-t6fXV-kD0lSyw1lO3kenC1We71fZjSryvFII\",\n\t\t\"appName\": \"The Great Postman\",\n\t\t\"appDescription\": \"Best REST API Client for Android\",\n\t\t\"url\": \"https://play.google.com/store/apps/details?id=p32929.greatpostman\"\n\t},\n\t{\n\t\t\"appIcon\": \"https://lh3.googleusercontent.com/X8mRJd7JajvDXoW7NaluKt2IvC3osH6czkTPoWeSYJ96U2LWLKT4xiFgvNouwf-UvEk\",\n\t\t\"appName\": \"ExIn\",\n\t\t\"appDescription\": \"A very simple Income-Expense tracker\",\n\t\t\"url\": \"https://play.google.com/store/apps/details?id=p32929.exin\"\n\t}\n]\n```\n\nCheck the app example in the project. Hope, you will enjoy using the library :)\n\n## License\n\n```\nMIT License\n\nCopyright (c) 2019 Fayaz Bin Salam\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp32929%2Fhouseads2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fp32929%2Fhouseads2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fp32929%2Fhouseads2/lists"}