Call it
curl https://api.peume.com/v1/call/connect-an-applovin-account-not-available-yet \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"apiKey": "your apiKey",
"eventKey": "your eventKey"
}
}'const res = await fetch("https://api.peume.com/v1/call/connect-an-applovin-account-not-available-yet", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"apiKey": "your apiKey",
"eventKey": "your eventKey"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/connect-an-applovin-account-not-available-yet",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"apiKey": "your apiKey",
"eventKey": "your eventKey"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: connect-an-applovin-account-not-available-yet.
Parameters
apiKeystringConversion API key from the Keys page of AppLovin Axon Ads Manager. Sent with eventKey.
eventKeystringEvent Key from the Keys page of AppLovin Axon Ads Manager: 8 to 128 letters, digits, dots, dashes or underscores. Sent with apiKey.
campaignApiKeystringCampaign Management API key from the Keys page of ads.axon.ai (visible to account Admins only). Sent with accountId. Lets read, create and manage campaigns and creative sets.
accountIdstringNumeric AppLovin account id (Account menu, then Go to settings, in ads.axon.ai). Sent with campaignApiKey.
reconnectAccountIdstringThe id of the AppLovin connection being reconnected (a connection on this profile). The keys sent update that connection, which keeps its identity, instead of creating one: send it to add or replace keys on an existing connection.
reportKeystringOptional Report Key from the Keys page of your AppLovin account. With it, syncs AppLovin spend per campaign.
namestringOptional display name for the account.
statestringOptional state passthrough for the connect flow.
redirect_urlstringOptional URL to redirect to after a successful connection, echoed back as redirectUrl.
