**Problem**: `getCampaigns` method failed with ERROR: -1 when user not authenticated due to failed `getCampaignsPersonalized` and `getAvailableCoupons` calls
**Root Cause**: The method tried to call authentication-required endpoints (`getCampaignsPersonalized` and `getAvailableCoupons`) even when user was not logged in, causing the entire flow to fail.
**Solution**: **Authentication-First Approach**
```swift
// Check if user is authenticated to determine campaign processing approach
ifself.isUserAuthenticated(){
// User is authenticated - get full experience with personalized campaigns and coupon filtering
print("✅ [WarplySDK] User authenticated - loading personalized campaigns and coupon availability")
**Problem**: `getCampaigns` method failed with ERROR: -1 when user not authenticated due to failed `getCampaignsPersonalized` and `getAvailableCoupons` calls
**Root Cause**: The method tried to call authentication-required endpoints (`getCampaignsPersonalized` and `getAvailableCoupons`) even when user was not logged in, causing the entire flow to fail.
**Solution**: **Authentication-First Approach**
```swift
// Check if user is authenticated to determine campaign processing approach
ifself.isUserAuthenticated(){
// User is authenticated - get full experience with personalized campaigns and coupon filtering
print("✅ [WarplySDK] User authenticated - loading personalized campaigns and coupon availability")