با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
بازخوانی جایگاه های تبلیغاتی
میتوانید از عملکرد تازهسازی کتابخانه برچسب ناشر Google (GPT) برای بارگیری پویا تبلیغات بدون نیاز به بازخوانی کل محتوای صفحه خود استفاده کنید.
برای پیاده سازی این قابلیت، باید یک تگ GPT ایجاد کنید و برخی تغییرات را اعمال کنید. این پیادهسازی نمونه دارای دو اسلات تبلیغاتی و دکمههای مربوطه برای تازه کردن اسلاتها با تبلیغات جدید است.
اجرای نمونه
نمایش نسخه ی نمایشی ،
بازخوانی جایگاه های تبلیغاتی
میتوانید از عملکرد تازهسازی کتابخانه برچسب ناشر Google (GPT) برای بارگیری پویا تبلیغات بدون نیاز به بازخوانی کل محتوای صفحه خود استفاده کنید.
برای پیاده سازی این قابلیت، باید یک تگ GPT ایجاد کنید و برخی تغییرات را اعمال کنید. این پیادهسازی نمونه دارای دو اسلات تبلیغاتی و دکمههای مربوطه برای تازه کردن اسلاتها با تبلیغات جدید است.
اجرای نمونه
نمایش نسخه ی نمایشی
[null,null,[],[],[],null,["# Refresh ad slots\n================\n\nYou can use the refresh functionality of the Google Publisher Tag (GPT) library\nto dynamically reload ads without having to refresh the entire contents of your\npage.\n| **Important:** To comply with Google policy and enable your inventory to compete on Ad Exchange, you must [declare which portions of your inventory refresh](http://support.google.com/admanager/answer/6286179).\n\nIn order to implement this functionality, you'll need to generate a GPT tag and\napply some modifications. This sample implementation features two ad slots and\ncorresponding buttons to refresh the slots with new ads.\n\nSample implementation\n---------------------\n\n[View demo](https://googleads.github.io/google-publisher-tag-samples/refresh/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/refresh/js) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+refresh/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/refresh/ts) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+refresh/ts)"]]