> ## Documentation Index
> Fetch the complete documentation index at: https://docs.topsort.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Going Live

> Complete guide to preparing for and executing a smooth transition to production with comprehensive testing and monitoring strategies.

Before moving to production, conduct thorough User Acceptance Tests (UAT) to ensure a smooth transition. This guide walks you through pre-launch preparation, testing procedures, deployment steps, and post-launch monitoring.

> [!NOTE]
>
> **Your go-live process may vary** depending on your integration path and ad formats. This guide covers the most common scenarios, but your specific implementation may differ. For example:
>
> * **Sponsored Listings** require full catalog integration with product data
> * **Banner Ads** may only require vendor/advertiser setup without product-level catalog
> * **Placement configurations** vary based on your ad format choices
>
> Work with your Topsort contact to confirm which sections apply to your integration.

## Pre-Launch Checklist

> [tab] Sponsored Listings
>
> > [accordion] Catalog Integration
> >
> > * [ ] Product feed is connected and updating regularly
> > * [ ] All product attributes (id, name, price, image, category) are populated
> > * [ ] Product availability is accurate
> > * [ ] Category taxonomy is properly mapped (based on your agreed taxonomy structure)
>
> > [accordion] Auctions Integration
> >
> > * [ ] Auction requests include all required fields
> > * [ ] Response handling is implemented
>
> > [accordion] Events Integration
> >
> > * [ ] Impression tracking fires when sponsored products are visible
> > * [ ] Click tracking fires on product clicks (including "Add to Cart" if applicable)
> > * [ ] Purchase events include all order details
> > * [ ] User IDs are consistent across all events

> [tab] Banner Ads
>
> > [accordion] Vendor/Advertiser Setup
> >
> > * [ ] Vendors/advertisers are configured in the system
> > * [ ] Placements or JSON templates are created in the system
> > * [ ] Banner creative assets are uploaded and approved
> > * [ ] Click-through URLs are configured correctly
> > * [ ] (Optional) content standards are uploaded to the system
>
> > [accordion] Auctions Integration
> >
> > * [ ] Auction requests include all required fields
> > * [ ] Banner placement IDs are correctly configured
> > * [ ] Response handling returns banner creative data
> > * [ ] Banner rendering logic is implemented
>
> > [accordion] Events Integration
> >
> > * [ ] Impression tracking fires when banner is visible
> > * [ ] Click tracking fires on banner clicks
> > * [ ] User IDs are consistent across all events

### Common Configuration (All Ad Formats)

> [accordion] Environment Configuration
>
> **API Credentials:**
>
> * [ ] Sandbox API keys are properly configured
> * [ ] Production API keys are ready (don't switch yet)
> * [ ] API keys are stored securely in environment variables
> * [ ] Key rotation process is documented
>
> **Environment Setup:**
>
> * [ ] Staging environment mirrors production configuration
> * [ ] All API endpoints are configured correctly
> * [ ] Timeout values are appropriate (recommended: 500-1000ms)
> * [ ] Error handling is implemented

> [accordion] UI/UX Verification
>
> **Ad Display:**
>
> * [ ] Ad placements render correctly on all device types
> * [ ] Ad labels are clearly visible (see labeling guidelines below)
> * [ ] Ad images/creatives load properly with fallbacks
> * [ ] Click-through behavior works as expected
>
> **Performance:**
>
> * [ ] Page load times are acceptable with ads
> * [ ] Ads don't block critical page rendering
> * [ ] Mobile experience is optimized (touch targets, responsive layouts, fast load times)
> * [ ] Accessibility requirements are met

> [accordion] Monitoring & Analytics
>
> **Instrumentation:**
>
> * [ ] Error tracking is configured (Sentry, Datadog, etc.)
> * [ ] Performance monitoring is in place
> * [ ] Custom dashboards are set up
> * [ ] Alerting thresholds are defined
>
> **Logging:**
>
> * [ ] API request/response logging is enabled
> * [ ] Error logs are being captured
> * [ ] Audit trail for ad events is configured
> * [ ] Log retention policies are set

### Ad Labeling Guidelines

> [card] Recommended Labels
>
> Use labels that clearly indicate promotional content while avoiding ad-blocker triggers:
>
> * **"Featured"**
>
> * **"Recommended"**
>
> * **"Client's Choice"**
>
> * **"Top Pick"**
>
> > [!WARNING]
> >
> > Avoid using "Sponsored" or "Ad" as these terms are commonly targeted by ad blockers.

> [card] European Customers (DSA Compliance)
>
> If operating in the European Union, the **Digital Services Act (DSA)** requires:
>
> * [ ] Clear labeling that content is an advertisement
> * [ ] Display of the advertiser name in ad details
> * [ ] Transparency about why the ad was shown to the user
>
> Topsort stores the advertiser and payer for each campaign as a billing contact. See [Digital Services Act (DSA) Setup](https://docs.topsort.com/en/ad-server/additional-apis/digital-services-act.md).
>
> Work with your legal team to ensure full DSA compliance.

## User Acceptance Testing (UAT)

### 1. Catalog Testing

> [tab] Sponsored Listings
>
> > [card] Verify Product Data
> >
> > **In Topsort Admin Panel:**
> >
> > 1. Navigate to Catalog section
> > 2. Verify products are visible and searchable
> > 3. Check that product data is complete:
> >    * Product names, images, and prices are correct
> >    * Categories are properly assigned
> >    * Product availability status is accurate
> >
> > **Test Campaign Creation:**
> >
> > 1. Create a new test campaign named `UAT-TEST-[DATE]`
> > 2. Try adding products to the campaign
> > 3. Verify product search and filtering works
> > 4. Confirm product selection saves correctly
> >
> > **Expected Result:** All products should be selectable when creating campaigns, with accurate and complete information.

> [tab] Banner Ads (Vendor Setup)
>
> > [card] Verify Vendor/Banner Setup
> >
> > **In Topsort Admin Panel:**
> >
> > 1. Navigate to Vendors/Advertisers section
> > 2. Verify vendors are configured correctly
> > 3. Verify click-through URLs are correct
> >
> > **Test Campaign Creation:**
> >
> > 1. Create a new test campaign named `UAT-TEST-[DATE]`
> > 2. Select banner ad format
> > 3. Configure targeting and bid settings
> > 4. Activate the campaign
> >
> > **Expected Result:** Banner campaigns should be creatable with proper creative assets and targeting options.

### 2. Auctions & Events Testing

> [tab] Sponsored Listings
>
> > [card] Auction Testing
> >
> > **Setup:**
> >
> > * Create `UAT-TEST` campaign with 3-5 products
> > * Set high bid amount (\$10+) to ensure wins
> > * Activate the campaign
> >
> > **Test Scenarios:**
> >
> > 1. Verify auction request is sent
> > 2. Check that winning products are returned
> > 3. Confirm products render on page
> >
> > **Validation:**
> >
> > * Check browser network tab for API calls
> > * Verify auction response contains products
> > * Ensure resolvedBidId is captured for event tracking
>
> > [card] Event Testing
> >
> > **Test All Event Types:**
> >
> > **Impression Events:**
> >
> > * Load page with sponsored products
> > * Verify impression event fires when ad is visible
> > * Check resolvedBidId is included
> >
> > **Click Events:**
> >
> > * Click on sponsored product
> > * Verify click event fires immediately
> > * **Note:** "Add to Cart" actions also count as clicks if configured
> > * Confirm navigation/action works correctly
> >
> > **Purchase Events:**
> >
> > * Complete a purchase with sponsored product
> > * Verify purchase event includes:
> >   * Product ID and quantity
> >   * Order value and order ID
> >   * **User ID** (required for attribution)

> [tab] Banner Ads
>
> > [card] Auction Testing
> >
> > **Setup:**
> >
> > * Create `UAT-TEST` banner campaign
> > * Set high bid amount to ensure wins
> > * Activate the campaign
> >
> > **Test Scenarios:**
> >
> > 1. Load page with banner placement
> > 2. Verify auction request is sent
> > 3. Check that winning banner creative is returned
> > 4. Confirm banner renders correctly on page
> >
> > **Validation:**
> >
> > * Check browser network tab for API calls
> > * Verify auction response contains banner data
> > * Ensure resolvedBidId is captured for event tracking
>
> > [card] Event Testing
> >
> > **Test All Event Types:**
> >
> > **Impression Events:**
> >
> > * Load page with banner placement
> > * Verify impression event fires when banner is visible
> > * Check resolvedBidId is included
> >
> > **Click Events:**
> >
> > * Click on banner
> > * Verify click event fires immediately
> > * Confirm click-through URL navigation works
> >
> > **Note:** Purchase events may not apply to banner-only integrations unless you're tracking downstream conversions.

> [!TIP]
>
> **Test with Two Different Users:** Perform all tests with at least two unique user sessions to verify proper user tracking and attribution.

### 3. Data Validation

**1. Capture Test Evidence**

**For Each Test User:**

* Take screenshots of ad placements
* Capture network requests showing API calls
* Document order details for purchase events (if applicable)
* Note timestamps for each action

**2. Submit to Topsort**

Send the following to your Topsort contact:

* Screenshots of ad impressions
* Network logs showing auction and event calls
* Test campaign name and time range
* User identifiers used in testing

**3. Review Data Summary**

Topsort will provide a summary including:

* Total auctions received
* Impression and click counts
* Purchase counts (for listing ad integrations)
* Data quality score
* Any data discrepancies or issues

**Verify Alignment:**

* Numbers match your test actions
* Attribution chain is complete
* No missing or duplicate events

## Production Deployment

### Deployment Steps

**1. Connect Production Catalog**

> [tab] Sponsored Listings
>
> **Option 1: Product Feed**
>
> * Share your production feed URL with Topsort
> * Ensure feed is accessible and updates regularly
> * Recommended update frequency: Every 15-60 minutes
>
> **Option 2: Catalog API**
>
> * Use the [Catalog API](https://docs.topsort.com/en/ad-server/catalog.md) for real-time updates
> * Implement create, update, and delete operations
> * Set up scheduled full catalog sync
>
> **Verify:**
>
> * Product count matches expectations
> * All required fields are populated
> * Images are loading correctly

> [tab] Banner Ads
>
> **Vendor Setup:**
>
> * Confirm all vendors/advertisers are configured
> * Verify banner creatives are uploaded and approved
> * Check click-through URLs are production-ready
>
> **Verify:**
>
> * All active vendors are visible in admin
> * Banner creatives display correctly
> * Targeting options are configured

**2. Obtain Production Credentials**

**Using Topsort UI:**

1. Topsort provides admin panel credentials
2. You receive production API URL
3. [Generate API keys](https://docs.topsort.com/en/api-reference/authentication.md) in admin
4. Store keys securely in production environment

**Using Custom UI:**

1. Receive production API URL from Topsort
2. Receive production API key(s)
3. Configure keys in your environment

> [!WARNING]
>
> **Never commit API keys to version control.** Use environment variables or secure secret management systems.

**3. Deploy Integration Code**

**Pre-Deployment:**

* Review all code changes one final time
* Ensure sandbox credentials are parameterized
* Confirm rollback procedure is documented
* Schedule deployment during low-traffic period

**Deployment Process:**

1. Deploy code to production environment
2. Update environment variables with production credentials
3. Restart services to pick up new configuration
4. Verify application starts successfully

**Immediate Verification:**

* Check application logs for errors
* Test basic functionality (page loads)
* Verify API connectivity

### Traffic Ramping Strategy

> [card] Gradual Rollout
>
> **Recommended Approach:**
>
> **Day 1-2:** 10% of traffic
>
> * Monitor closely for errors
> * Validate data accuracy
> * Check performance metrics
>
> **Day 3-5:** 50% of traffic
>
> * Compare metrics with baseline
> * Ensure system stability
> * Fine-tune if needed
>
> **Day 6+:** 100% of traffic
>
> * Full production launch
> * Continue monitoring
> * Optimize performance

> [card] Feature Flags
>
> **Use Feature Flags to Control:**
>
> * Which placements show ads
> * Percentage of users seeing ads
> * A/B testing configurations
> * Emergency kill switch
>
> **Benefits:**
>
> * Instant rollback without deployment
> * Gradual rollout control
> * Per-placement configuration
> * Reduced deployment risk

## Post-Launch Monitoring

### Critical Metrics to Monitor

> [accordion] Technical Health
>
> **API Performance:**
>
> * Auction API response time (target: \<500ms p95)
> * Event API success rate (target: >99.5%)
> * Error rates and types
> * API timeout frequency
>
> **Application Performance:**
>
> * Page load time impact
> * Time to first ad render
> * JavaScript errors
> * Memory usage patterns
>
> **Action Items if Issues Detected:**
>
> * Response time >1s: Review timeout settings
> * Error rate >1%: Check API credentials and network
> * High JS errors: Review client-side implementation

> [accordion] Data Quality
>
> **Event Tracking:**
>
> * Impression-to-click ratio (typical: 1-5%)
> * Click-to-purchase ratio (typical: 2-10%, for listing ads)
> * Event volume consistency
> * Attribution completeness
>
> **Data Integrity:**
>
> * User IDs are present and consistent
> * resolvedBidIds are captured for impressions and clicks
> * Purchase amounts are reasonable (listing ads)
> * Duplicate events are minimal
>
> **Dashboard Checks:**
>
> * Compare Topsort dashboard with your analytics
> * Verify revenue attribution matches
> * Check for data gaps or spikes

> [accordion] Business Metrics
>
> **Campaign Performance:**
>
> * Total impressions delivered
> * Click-through rate (CTR)
> * Conversion rate (listing ads)
> * Return on ad spend (ROAS)
>
> **User Experience:**
>
> * Ad viewability rates
> * User engagement with ads
> * Impact on organic conversion rate
> * Page bounce rate changes
>
> **Revenue Impact:**
>
> * Incremental revenue from ads
> * Average order value changes
> * Vendor adoption rate
> * Campaign creation velocity

### Troubleshooting Common Issues

> [tab] Listing Ads
>
> > [card] No Products Showing
> >
> > **Possible Causes:**
> >
> > * No active campaigns
> > * Bid amounts too low
> > * Product targeting too narrow
> > * Auction API errors
> >
> > **Debugging Steps:**
> >
> > 1. Check browser console for errors
> > 2. Verify auction API response
> > 3. Confirm campaigns are active
> > 4. Review targeting criteria
>
> > [card] Missing Purchase Events
> >
> > **Possible Causes:**
> >
> > * Event not triggered on checkout
> > * Missing user ID in event payload
> > * Incorrect product ID format
> > * Network failures
> >
> > **Debugging Steps:**
> >
> > 1. Test purchase flow manually
> > 2. Check event payload structure
> > 3. Verify user ID is included
> > 4. Review server logs

> [tab] Banner Ads
>
> > [card] No Banners Showing
> >
> > **Possible Causes:**
> >
> > * No active banner campaigns
> > * Bid amounts too low
> > * Banner creative not approved
> > * Auction API errors
> >
> > **Debugging Steps:**
> >
> > 1. Check browser console for errors
> > 2. Verify auction API response
> > 3. Confirm campaigns are active
> > 4. Check creative approval status
>
> > [card] Banner Not Rendering
> >
> > **Possible Causes:**
> >
> > * Creative URL inaccessible
> > * Image format not supported
> > * CORS issues
> > * Container sizing issues
> >
> > **Debugging Steps:**
> >
> > 1. Check creative URL directly
> > 2. Verify image loads in browser
> > 3. Check network tab for CORS errors
> > 4. Review container CSS

> [tab] Common Issues
>
> > [card] Performance Degradation
> >
> > **Possible Causes:**
> >
> > * Slow API responses
> > * Blocking auction calls
> > * Large image files
> > * Too many placements
> >
> > **Solutions:**
> >
> > 1. Implement proper timeouts
> > 2. Use async/non-blocking calls
> > 3. Optimize image loading
> > 4. Cache auction responses
>
> > [card] Data Discrepancies
> >
> > **Possible Causes:**
> >
> > * Double-counting events
> > * Missing attribution chain
> > * Time zone mismatches
> > * Bot traffic
> >
> > **Investigation:**
> >
> > 1. Compare raw event counts
> > 2. Check for duplicate IDs
> > 3. Verify timezone handling
> > 4. Review user agent filtering

## Best Practices

> [card] Communication
>
> **Internal Coordination:**
>
> * Notify engineering team of deployment
> * Alert customer support of new features
> * Update sales team on capabilities
>
> **External Communication:**
>
> * Coordinate with Topsort team
> * Schedule launch calls
> * Establish escalation paths

> [card] Documentation
>
> **Maintain:**
>
> * Deployment runbooks
> * Rollback procedures
> * API integration specs
> * Troubleshooting guides
>
> **Keep Updated:**
>
> * Configuration changes
> * Known issues and workarounds
> * Performance benchmarks

> [card] Optimization
>
> **Continuous Improvement:**
>
> * Review performance weekly
> * Optimize slow queries
> * Refine targeting
> * Test new placements
>
> **A/B Testing:**
>
> * Ad placement positions
> * Number of ads per page
> * Ad formats and styles
> * Targeting strategies

> [card] Support
>
> **Establish:**
>
> * On-call rotation
> * Incident response process
> * Topsort escalation contacts
> * SLA expectations
>
> **Document:**
>
> * Common support scenarios
> * Resolution procedures
> * Contact information

***

Once you're live, you're ready to start optimizing. Reach out to your Topsort contact for guidance on campaign strategies, attribution tuning, and advanced configurations.

![Agustin - Integrations Team Member](https://docs.topsort.com/images/integration-team/agustin.webp)
![Amelia - Integrations Team Member](https://docs.topsort.com/images/integration-team/amelia.webp)
![Anais - Integrations Team Member](https://docs.topsort.com/images/integration-team/anais.webp)
![Bernardita - Integrations Team Member](https://docs.topsort.com/images/integration-team/bernardita.webp)
![Felipe - Integrations Team Member](https://docs.topsort.com/images/integration-team/felipe.webp)
![Gui - Integrations Team Member](https://docs.topsort.com/images/integration-team/gui.webp)
![Javiera - Integrations Team Member](https://docs.topsort.com/images/integration-team/javiera.webp)
![Linn - Integrations Team Member](https://docs.topsort.com/images/integration-team/linn.webp)
![Marc - Integrations Team Member](https://docs.topsort.com/images/integration-team/marc.webp)
![Marcio - Integrations Team Member](https://docs.topsort.com/images/integration-team/marcio.webp)
![Max - Integrations Team Member](https://docs.topsort.com/images/integration-team/max.webp)
![Natalie - Integrations Team Member](https://docs.topsort.com/images/integration-team/natalie.webp)
![Rodrigo - Integrations Team Member](https://docs.topsort.com/images/integration-team/rodrigo.webp)
![Tomás - Integrations Team Member](https://docs.topsort.com/images/integration-team/tomas.webp)

## Need help with your Topsort integration?

Talk to us, the integrations engineering team.

Reach us via **your dedicated messaging channel** or at
[support@topsort.com](mailto:support@topsort.com).

If you're not a customer yet,
[book a demo](https://www.topsort.com/book-a-demo) with our
sales team instead.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.