এই বিভাগে Google Publisher Tag (GPT) লাইব্রেরির উদাহরণ এবং সম্পর্কিত সংস্থানগুলির একটি সংগ্রহ রয়েছে৷
এই বিভাগের বেশিরভাগ বিষয়বস্তু আমাদের GitHub সংগ্রহস্থলেও পাওয়া যাবে। Apache License 2.0- এর অধীনে নমুনা কোড এবং সংশ্লিষ্ট ডকুমেন্টেশন ওপেন সোর্স হিসেবে প্রকাশ করা হয়েছে।
জিপিটি নমুনা নির্মাতা (বিটা) দিয়ে আপনার নিজস্ব কাস্টম নমুনা তৈরি করার চেষ্টা করুন!
Control SRA batching
Precisely control which ad slots are requested when in Single Request Architecture (SRA) mode.
- TypeScript
- জাভাস্ক্রিপ্ট
Collapse empty ad slots
Automatically show/hide ad slots when certain criteria are met.
- TypeScript
- জাভাস্ক্রিপ্ট
Key-value targeting
Use key-value targeting to control the ads eligible to serve to specific ad slots.
- জাভাস্ক্রিপ্ট
- TypeScript
Display an H5 gaming interstitial ad
Display a GPT-managed gaming interstitial ad.
- HTML
- TypeScript
- জাভাস্ক্রিপ্ট
Display ads in the shadow DOM
Use GPT to request and render ads in the shadow DOM.
- জাভাস্ক্রিপ্ট
- TypeScript
Display a limited ad
Display an ad in the absence of consent for the use of cookies or other local identifiers.
- TypeScript
- জাভাস্ক্রিপ্ট
Tag pages with infinite content
Use GPT to dynamically generate new ad content.
- TypeScript
- জাভাস্ক্রিপ্ট