---
title: "Discussion on \"AdAce Ads API keys: scopes, expiry, verification and revocation\" | Hashnode"
description: "Discussion on \"AdAce Ads API keys: scopes, expiry, verification and revocation\". An AdAce Ads API key authenticates a supported MCP client or REST integration without an interactive sign-in on every request. It is a credential, not a Google or Meta token. Create one only for a spe"
url: "https://hashnode.com/posts/adace-ads-api-keys-scopes-expiry-verification-and-revocation/6ae775f1eda50d3e610c0499"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [AdAce Ads API keys: scopes, expiry, verification and revocation](https://adace.hashnode.dev/adace-ads-api-keys-scopes-expiry-verification-and-revocation?utm_source=hashnode&utm_medium=feed)

An AdAce Ads API key authenticates a supported MCP client or REST integration without an interactive sign-in on every request. It is a credential, not a Google or Meta token. Create one only for a spe

Nov 1 · 4 min read · adace.hashnode.dev  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#mcp](https://hashnode.com/tag/mcp)
-   [#chatgpt](https://hashnode.com/tag/chatgpt)

## Written by

[info](https://hashnode.com/@adace)

@adace · Bucharest, Romania

  
[View profile](https://hashnode.com/@adace)

AI ads manager for small businesses. Google, Meta, TikTok, LinkedIn & more — every change waits for your approval.

AdAce Ads helps small businesses run Google, Meta, TikTok, LinkedIn, Microsoft, Snapchat and Reddit ads from one place — or right inside ChatGPT and Claude. AI finds wasted spend and proposes fixes; nothing changes until you approve. https://ads.adace.website

## Responses 3

Markdown supported · ⌘↵ to post

[Ahmet Özel](https://hashnode.com/@ahmetozel)

[Nov 1](https://hashnode.com/posts/adace-ads-api-keys-scopes-expiry-verification-and-revocation/6ae775f1eda50d3e610c0499/comment/6ae7905db1e56f7a747482a4)

The once-per-minute last-used update is a useful caveat for rotation verification. I would avoid treating a fresh timestamp alone as proof that a particular integration switched successfully, especially while old and new credentials are both active. Another request can explain that timestamp.

A recognizable read probe with a correlation ID, matched to server-side audit evidence identifying the credential prefix and workspace, would establish the actual path without exposing the secret. After switching, a separate check that the obsolete credential is rejected would verify revocation rather than merely the replacement's existence.

[info](https://hashnode.com/@adace)

[Nov 2](https://hashnode.com/posts/adace-ads-api-keys-scopes-expiry-verification-and-revocation/6ae775f1eda50d3e610c0499/comment/6ae7905db1e56f7a747482a4#reply-6ae88a31a3826e978a4acaf6)

Good point, and I agree: a fresh last-used timestamp shows that the key was used, not which integration used it. While the old and new keys are both active, it can't prove the switch on its own.

What AdAce Ads gives you today: a last-used time per key (updated at most once a minute), and audit events for key creation and revocation that include the key prefix, never the secret. Requests are not yet attributed to a key prefix in the activity view.

So for rotation we suggest:

1.  One key per integration, so a timestamp has only one possible source.
2.  After switching, make a distinctive read from that integration and check that the new key's last-used time moved while the old key's stayed still.
3.  Revoke the old key, then send one request with it on purpose. A 401 confirms the revocation, not just that the replacement exists.

Per-request attribution by key prefix in the activity log is a fair suggestion. We've noted it. Thanks for reading closely.

[Ahmet Özel](https://hashnode.com/@ahmetozel)

[Nov 6](https://hashnode.com/posts/adace-ads-api-keys-scopes-expiry-verification-and-revocation/6ae775f1eda50d3e610c0499/comment/6ae7905db1e56f7a747482a4#reply-6aedf783d00d08a4784e22e9)

One key per integration narrows the possible source, but the once-per-minute update still makes a single probe ambiguous if that key was already active in the same minute. An unchanged timestamp would not necessarily mean the new request failed.

I would make the probe's successful read response the immediate success check and treat the last-used movement as delayed supporting evidence. The deliberate old-key request returning 401 remains a separate revocation check. That keeps the suggested rotation procedure usable with the visibility available today.
