VelocityAds
initSDK
appKey- Your application key (required)publisherUserId- User identifier (optional)debug- Enable debug logging (optional)callback- Initialization callback (optional)
loadNativeAd
prompt- User’s query/prompt (required)aiResponse- AI-generated response content (optional)conversationHistory- Optional conversation history for ad targeting (array of dictionaries with"role"and"content")dimensions- Ad dimensions in points (required)adUnitId- Ad unit identifier (optional)callback- Ad loading callback (required)
Models
AdDimensions
width- Width in pointsheight- Height in points

