จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงโฆษณาทดสอบ
ตัวอย่างนี้แสดงโฆษณาทดสอบโดยใช้ไลบรารีแท็กผู้เผยแพร่โฆษณาผ่าน 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)"]]