{"id":20020115,"url":"https://github.com/wonism/react-google-ads","last_synced_at":"2025-05-04T23:32:38.820Z","repository":{"id":94612617,"uuid":"77555780","full_name":"wonism/react-google-ads","owner":"wonism","description":"React component for google adsense","archived":false,"fork":false,"pushed_at":"2018-04-03T16:48:26.000Z","size":83,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-24T05:47:57.878Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/wonism.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":"2016-12-28T19:20:15.000Z","updated_at":"2022-01-09T17:41:20.000Z","dependencies_parsed_at":"2023-03-15T07:30:44.249Z","dependency_job_id":null,"html_url":"https://github.com/wonism/react-google-ads","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"5ad94b197730f8d56768420920f864f5775994d9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonism%2Freact-google-ads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonism%2Freact-google-ads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonism%2Freact-google-ads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wonism%2Freact-google-ads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wonism","download_url":"https://codeload.github.com/wonism/react-google-ads/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224175773,"owners_count":17268389,"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":[],"created_at":"2024-11-13T08:29:54.292Z","updated_at":"2024-11-13T08:29:54.935Z","avatar_url":"https://github.com/wonism.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Google Ads\n\u003e A Component for google adsense\n\n## Getting Started\n```sh\n# Installation with package manager\n$ yarn add react react-dom react-google-ads\n# or..\n$ npm i -S react react-dom react-google-ads\n```\n\n## Development\n```sh\n$ npm run demo\n```\n- access [localhost:8888](http://localhost:8888)\n\n## Production Bundle\n```sh\n$ npm run bundle\n```\n\n## How to Use\n### Parameters\n| Parameter | Type   | Remarks         |\n|:----------|:-------|:----------------|\n| client    | string | Required        |\n| slot      | string | Required        |\n| style     | object | -               |\n| format    | string | default: 'auto' |\n\n### Basic\n```js\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport GoogleAds from '../src';\n\nconst appRoot = document.getElementById('google-adsense');\n\nReactDOM.render(\n  \u003cGoogleAds\n    client=\"\"\n    slot=\"\"\n    style={{ display: 'inline-block', width: '100%', }}\n  /\u003e, appRoot\n);\n```\n\n## Change Log\n__1.0.0__\n- Initial release\n\n__1.0.2__\n- Added `className` property to add custom class to `\u003cins\u003e` tag.\n\n__1.0.3__\n- migrate `webpack`\n- migrate `babel preset`\n\n__1.0.4__\n- fix typos in `README.md`\n\n__1.0.5__\n- add `prop-types` for `react^16`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwonism%2Freact-google-ads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwonism%2Freact-google-ads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwonism%2Freact-google-ads/lists"}