Context
Save a campaign context
Creates or updates the description of a campaign on a source (objective, promise, audience, landing page, entered spend), matched by source and name. Fields passed replace the stored values, which are not kept; fields left out stay as they are.
post/sites/{site}/campaign-contexts
Request
- Base URL: https://api.onelence.com/v1
- URL: https://api.onelence.com/v1/sites/{site}/campaign-contexts
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://api.onelence.com/oauth/authorize, token URL https://api.onelence.com/oauth/token, scopes: workspace:write)
- HTTP bearer
Path parameters
sitestring required
Site domain (e.g. example.com) or site id. Defaults to the workspace's newest active site.
Query parameters
dry_runboolean
true returns a preview of the change and applies nothing.
Headers
Idempotency-Keystring
8 to 200 visible ASCII characters. Retries with the same key and request return the stored response for 24 hours.
Request body
Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.