Get your API key and start monetizing your AI today.
AdsOverAI provides contextual product recommendations through a safe, read-only API designed specifically for GPT integration. The API is marked as non-consequential, meaning it's safe for automatic invocation without requiring user confirmation. This allows your custom GPT to naturally recommend products within conversations without interrupting the user experience.
/developersNote: The developer account gives you access to:
Once logged in to your developer account:
ak_1234567890abcdefghijklmnopImportant: You may not be able to see this key again, so save it now!
⚠️ Never:
✅ Always:
Now let's create your custom GPT in ChatGPT:
In the Configure tab:
What this does: The schema tells your GPT how to communicate with the AdsOverAI API, what data to send, and what to expect back.
This is the most important step for security. Below the schema editor, you'll see the Authentication section:
X-API-Key
X-API-Key[HIDDEN] after you paste it for securityVisual Reference (what you should see):
Authentication Type: ● API Key ○ OAuth ○ None
API Key: [HIDDEN]
Auth Type: ○ Basic ○ Bearer ● Custom
Custom Header Name: X-API-Key
Still in the Authentication section:
https://www.adsoverai.com/privacyThis is required by OpenAI for all GPT actions that connect to external APIs.
Why this matters: OpenAI requires all GPTs with external actions to have a privacy policy link so users know how their data is handled.
Before publishing, let's make sure everything works:
running shoeslaptop for studentswinter jacket{
"success": true,
"data": {
"matches": [
{
"ad_id": "12345",
"brand_name": "Nike",
"product_name": "Air Zoom Pegasus",
"description": "Comfortable running shoes...",
"cta_link": "https://...",
"price_range": "$120-$140"
}
]
}
}
If you get errors:
https://www.adsoverai.comX-API-KeyBack in the Configure tab, add instructions for how your GPT should use the recommendations:
Example Instructions:
You are a helpful shopping assistant. When users ask about products or express
needs, use the getProductRecommendations action to find relevant products.
Present recommendations naturally in conversation. Include:
- Why the product matches their needs
- Key features and benefits
- Price range
- Direct link to learn more
Always be helpful and honest. If products don't perfectly match, say so.
Make your GPT more engaging:
Once everything is configured and tested:
Share your GPT:
Copy this entire schema exactly as shown and paste it into the Action schema editor in Step 4:
openapi: 3.1.0
info:
title: AdsOverAI API
description: |
Safe, read-only API that provides contextual product recommendations.
This endpoint does not modify or store any user data and has no side effects.
It is safe for automatic invocation by GPT without requiring confirmation.
version: 1.0.0
servers:
- url: https://www.adsoverai.com
paths:
/api/content/match:
post:
operationId: getProductRecommendations
summary: Safe read-only product recommendations lookup
description: |
Returns public product recommendation results based on a query.
This endpoint is strictly read-only, has no side effects,
does not store user data, and is safe for automatic calls
without prompting the user for confirmation.
x-openai-isConsequential: false
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- query
properties:
query:
type: string
description: User's search query or question
max_ads:
type: integer
description: Maximum number of ads to return
default: 3
responses:
"200":
description: Successful response
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: object
properties:
matches:
type: array
items:
type: object
properties:
ad_id:
type: string
description: Unique identifier for the ad
brand_name:
type: string
description: Name of the brand
product_name:
type: string
description: Name of the product
description:
type: string
description: Product description
cta_link:
type: string
description: Call-to-action link
price_range:
type: string
description: Price range of the product
"400":
description: Bad request - invalid query
"401":
description: Unauthorized - invalid API key
"500":
description: Server error
Quick Reference:
| Field | Value |
|---|---|
| Authentication Type | API Key |
| Auth Type | Custom |
| Custom Header Name | X-API-Key |
| API Key | Your generated key from Step 2 |
| Privacy Policy | https://www.adsoverai.com/privacy |
Here's what happens behind the scenes:
All of this happens automatically in milliseconds!
For questions or issues:
© 2024 AdsOverAI. All rights reserved.