Banners Guide
Learn how to create and manage ad creatives (banners), configure banner types, set targeting rules, and optimize banner performance.
What is a Banner?
A banner is an individual ad creative that is displayed to users. Banners can be images, HTML, text, or video. Each banner belongs to a campaign and can have its own targeting rules and delivery limitations.
Banner Types
Cogniad supports multiple banner types:
Image Banners
Standard image banners in formats like JPEG, PNG, GIF, or WebP. Most common banner type, suitable for display advertising.
HTML Banners
Custom HTML code that can include JavaScript, CSS, and interactive elements. Provides maximum flexibility for creative design.
Text Banners
Simple text-based ads with title, description, and click URL. Lightweight and fast-loading.
Video Banners
Video ads with VAST support. Can be hosted externally or uploaded to Cogniad.
Learn more about banner types and specifications.
Creating Banners
Create a banner using the API:
// Image banner
const formData = new FormData();
formData.append('campaign_id', 'camp_123');
formData.append('name', 'Summer Sale Banner');
formData.append('type', 'image');
formData.append('width', '728');
formData.append('height', '90');
formData.append('file', imageFile);
formData.append('click_url', 'https://example.com/summer-sale');
formData.append('alt_text', 'Summer Sale - 50% Off');
const banner = await fetch('https://api.cogniad.com/v1/banners', {
method: 'POST',
headers: {
'Authorization': `Bearer ${access_token}`
},
body: formData
});
const bannerData = await banner.json();
Banner Dimensions
Common banner sizes (in pixels):
- 728x90: Leaderboard
- 300x250: Medium Rectangle
- 320x50: Mobile Banner
- 160x600: Wide Skyscraper
- 300x600: Half Page
- 970x250: Billboard
Banner Targeting
Banners can have their own targeting rules in addition to campaign-level targeting. Banner targeting rules are combined with campaign rules using AND logic.
See the Banner Targeting Guide for details.
Creative Management
Manage your banner creatives effectively:
- Upload and store banner files
- Organize banners by campaign
- Preview banners before publishing
- Update banner creatives
- Manage banner versions
Learn more in the Creative Management Guide.
Best Practices
- Use standard ad sizes for better zone matching
- Optimize image file sizes for fast loading
- Ensure banners are mobile-responsive
- Test banners across different devices and browsers
- Use clear, compelling visuals and messaging
- Include a clear call-to-action
- Follow advertising guidelines and policies