Auth
Each engine has its own credential model. The CLI resolves secrets with a fixed precedence: shell env > OS credential store. Secrets never come from flags or config files.
agent-ads auth statusMeta Authentication
Meta requires an access token with ads_read permission. Optionally add business_management to discover businesses and ad accounts.
agent-ads meta auth setexport META_ADS_ACCESS_TOKEN=EAABs...Google Ads Authentication
Google Ads requires a developer token, OAuth client ID/secret, and a refresh token. All four values go into the OS credential store.
agent-ads google auth setTikTok Authentication
TikTok uses app credentials (app ID + secret) to obtain a 24-hour access token. The CLI handles token refresh.
agent-ads tiktok auth setagent-ads tiktok auth refreshPinterest Authentication
Pinterest uses OAuth with app ID, app secret, and a refresh token. Tokens are stored in the OS credential store.
agent-ads pinterest auth setagent-ads pinterest auth refreshLinkedIn Authentication
LinkedIn uses an access token only. Store it in the OS credential store or override it from the shell for one-off sessions.
agent-ads linkedin auth setexport LINKEDIN_ADS_ACCESS_TOKEN=access-token