Targeting
Generate targeting
Changed onStarts generating in the background. With no audienceIds, generates every audience that has none yet; naming an audience regenerates it. Audiences need data stores. Poll Get targeting until ready.
Scope: campaigns:write.
Send an Idempotency-Key header to make retries safe.
post/campaigns/{campaignId}/targeting/generate
Request
- Base URLhttps://www.fandom.ai/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
campaignIdstring required
Campaign id.
Headers
Idempotency-Keystring
Any unique string. Repeating a request with the same key returns the first result instead of doing it twice.
Request body
Response
Success
Changes
- info
endpoint added
- info