تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
أحجام الإعلانات
يوضّح هذا المثال طرقًا مختلفة لتحديد أحجام الإعلانات المؤهَّلة
لعرضها في خانة إعلان باستخدام مكتبة "علامة الناشر من Google". اطّلِع على مزيد من المعلومات عن
الخيارات المتاحة في دليل أحجام الإعلانات.
مثال على التنفيذ
عرض العرض التوضيحي
[null,null,[],[],[],null,["# Ad sizes\n========\n\nThis example demonstrates various ways of specifying which ad sizes are eligible\nto serve to an ad slot using the Google Publisher Tag library. Learn more about\nthe available options in the [ad sizes guide](//developers.google.com/publisher-tag/guides/ad-sizes).\n| **Caution:** Be aware of [ad slot expansion](//support.google.com/admanager/answer/9117822) and [contraction settings](//support.google.com/admanager/answer/9433610), which can affect the range of sizes eligible to serve to your ad slots.\n\nSample implementation\n---------------------\n\n[View demo](https://googleads.github.io/google-publisher-tag-samples/ad-sizes/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/ad-sizes/js) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+ad-sizes/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/ad-sizes/ts) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+ad-sizes/ts)"]]