컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
테스트 광고 표시
이 예에서는 Google 게시자 태그 라이브러리를 사용하여 테스트 광고를 표시합니다. 이 샘플의 작동 방식에 관한 자세한 내용은 Google 게시자 태그 시작하기를 참고하세요.
샘플 구현
데모 보기
[null,null,[],[],[],null,["# Display a test ad\n=================\n\nThis example displays a test ad using the Google Publisher Tag library. See\n[Get Started with Google Publisher Tags](https://developers.google.com/publisher-tag/guides/get-started) to learn more about how\nthis sample works.\n\nSample implementation\n---------------------\n\n[View demo](https://googleads.github.io/google-publisher-tag-samples/display-test-ad/js/demo.html) \n\n### JavaScript\n\nLoading...\n----------\n\nLoading...\n----------\n\n[Improve this sample](https://github.com/googleads/google-publisher-tag-samples/tree/main/dist/display-test-ad/js) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+display-test-ad/js)\n\n### TypeScript\n\nLoading...\n----------\n\nLoading...\n----------\n\n[Improve this sample](https://github.com/googleads/google-publisher-tag-samples/tree/main/dist/display-test-ad/ts) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+display-test-ad/ts)"]]