{"id":19176815,"url":"https://github.com/googleads/google-publisher-tag-samples","last_synced_at":"2025-08-20T07:30:42.175Z","repository":{"id":42064647,"uuid":"303643092","full_name":"googleads/google-publisher-tag-samples","owner":"googleads","description":"Google Publisher Tag (GPT) code samples.","archived":false,"fork":false,"pushed_at":"2024-11-07T20:12:12.000Z","size":442,"stargazers_count":38,"open_issues_count":4,"forks_count":22,"subscribers_count":11,"default_branch":"main","last_synced_at":"2024-11-07T21:21:15.264Z","etag":null,"topics":["admanager","google","googleads","gpt","samples"],"latest_commit_sha":null,"homepage":"https://developers.google.com/publisher-tag/samples","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googleads.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-10-13T08:50:13.000Z","updated_at":"2024-11-07T20:12:16.000Z","dependencies_parsed_at":"2024-02-05T20:36:58.642Z","dependency_job_id":"48daed26-1d75-450a-b8b8-5eb6628384c5","html_url":"https://github.com/googleads/google-publisher-tag-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleads%2Fgoogle-publisher-tag-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleads%2Fgoogle-publisher-tag-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleads%2Fgoogle-publisher-tag-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleads%2Fgoogle-publisher-tag-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googleads","download_url":"https://codeload.github.com/googleads/google-publisher-tag-samples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230400616,"owners_count":18219831,"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":["admanager","google","googleads","gpt","samples"],"created_at":"2024-11-09T10:30:24.471Z","updated_at":"2024-12-19T08:09:07.855Z","avatar_url":"https://github.com/googleads.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Publisher Tag Samples\n\nSamples for the Google Publisher Tag (GPT) library.\n\nYou can try these samples on our\n[developer site](//developers.google.com/publisher-tag/samples/).\n\n## Project structure\n\n[`dist/`](/dist) contains complete GPT samples, built from the templates in\n[`samples/`](/samples). Each directory represents a single GPT sample, and each\nsample has multiple output formats:\n\n* `\u003csample\u003e/js/` - JavaScript (ES2020)\n* `\u003csample\u003e/legacyjs/` - JavaScript (ES5)\n* `\u003csample\u003e/ts/` - TypeScript\n\n[`samples/`](/samples) contains templates used to generate complete GPT samples.\nEach template is stored in its own directory and consists of:\n\n* `index.njk` - A [Nunjucks](//mozilla.github.io/nunjucks/) template\n    containing sample-specific CSS and HTML content.\n* `sample.ts` - Sample-specific GPT code, written in TypeScript.\n* `README.md` - Sample-specific usage instructions.\n* `\u003csample\u003e.json` - Sample-specific metadata (title, description, etc.)\n\n[`src/`](/src) contains the code necessary to transform templates into complete\nsamples.\n\n[`test/`](/test) contains tests for [`src/`](/src).\n\n## Development\n\n### Build\n1. `npm i` - Install dependencies.\n2. `npm run build` - Build all targets and update `dist/` folder.\n\n### Test\n1. `npm run test` - Run all tests.\n\n## Contributing\nPull requests are welcome! Please sign\n[this Google Code contributor agreement](CONTRIBUTING.md) before submitting.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleads%2Fgoogle-publisher-tag-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogleads%2Fgoogle-publisher-tag-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleads%2Fgoogle-publisher-tag-samples/lists"}