together object: require lists fields that are all necessary, and require_any lists fields of which one or more are necessary. The rule applies on create and on update when the request sends the field, for each keyed instance. An example is goal_type with goal_amount: an update can no longer change the goal type and keep an amount that had a different meaning. A request that does not follow the rule gets 400 validation_failed. No product has the rule until its retailer adds it. See Get Schema. Additive.info.version in the file, and the first lines of its description in Postman), so you can tell which release a downloaded copy matches. This changelog lists its changes from now on.delete_campaign_id variable by hand./d/v2/retailer paths (they called the legacy /d/v1/retailers aliases); the three Create Campaign requests accept 200 or 202; List Campaigns reads total_items; Update Campaign accepts 202 and captures change_request_id; Search Catalog Products captures the new catalog_item_id variable.POST /d/v2/advertiser/:kevel_advertiser_id/asset), read its status live (GET /d/v2/asset/:asset_id) and list the advertiser’s library (GET /d/v2/advertiser/:kevel_advertiser_id/asset). Ad products can declare asset fields: a string field whose value is an asset id, with the accepted types and file limits in the schema’s new asset object. Ads that can’t use their asset are refused at submit with validation_failed and an asset.* reason. Asset changes can be approval triggers. Uploads take an Idempotency-Key; new 413 payload_too_large and 502 asset_upload_failed. Images only for now (up to 2MB); no delete. See How Assets Work. Additive.category_targeting, an array of {id, is_exclude} rules sent whole on create and update, with the product’s exclusion setting, allowed and disallowed categories, and the retailer’s availability and per-flight maximum in the schema’s category object. Each rule is an exact match, ignoring case: a parent category does not cover the categories below it. Validation errors carry category.* codes. Category additions and removals can be approval triggers. New category list at /d/v2/retailer/:retailer_id/category-catalog, and the error code category_targeting_unavailable (409), also returned when Kevel would have saved a flight without its rules. See How Category Targeting Works. Additive.geo_targeting, an array of include and exclude rules sent whole on create and update, with the product’s levels, exclusion setting and allowed/disallowed values in the schema’s geo object. Validation errors carry geo.* codes, including geo.unsupported for combinations the ad platform cannot apply. Geo rule additions and removals can be approval triggers. New location lists under /d/v2/geo/. See How Geo Targeting Works. Additive.code, error and request_id: 401s (unauthorized, previously {error} only), malformed JSON and other body rejections (previously plain text), an unknown retailer (404, previously plain text retailer not found), ad-server failures (upstream_error, previously an empty 502), reporting (previously {error} only), catalogs and the /d/v1 paths. Status codes are unchanged. The status reference and code table now list 422 (typed-body shape errors, bad_request), unauthorized and upstream_error. See Error Handling.403 Partner does not have a seat on this retailer on every route (it said Partner’s seat on this retailer is deactivated, … an active seat … or API key does not have access to this retailer depending on the route)./d/v1 errors match /d/v2 — /d/v1/retailers and /d/v1/retailers/:id/advertisers refusals are the same JSON as their /d/v2 paths (previously plain text access denied).error — A request refused by a demand entitlement or retailer validation rule has that message (e.g. Violates demand entitlements set by the retailer: bid <=5) as its top-level error instead of parameter validation failed; details is unchanged.outputs report every entity — Create and Update now name every entity of the campaign: singletons the product declares no output for appear as <group>_id, and an Update reports the instances it added (previously only the template’s declared outputs, and on Update only the pre-existing instances).[a-z0-9][a-z0-9_-]*, 1–63 characters) like Create (it was accepted unchecked).format wins over Accept — ?format=csv now returns CSV even with Accept: application/json, as documented.Ad Name for every ad group, numeric ids — Ad Name shows your key for ads in any group (e.g. product_ad:hero → hero; a singleton ad shows its group name), not only groups named ad. Ad ID (and Campaign ID / Flight ID) are JSON numbers.is_active and you leave it out (and the schema gives no default), the ad is created inactive, as documented (it was created live).attribution_click / attribution_view, and product ads that offer a title override name it headline_override. The Entity Fields entries now give the real shape: an object {match_type, lookback_window} with the window in days (1, 7, 14, 30), not an integer of seconds; attribution_model was removed (the match type is part of each window).q — Body.q is the ad server’s clause list ([["kevel/name", "Running Shoe"]]) and is now accepted as JSON as well as string-encoded; the documented SQL-like form (brand_name = 'AcmeRun') never worked and was replaced.404, so the 403 reference no longer says “no access to the advertiser”.Attributed Sales counts purchases — It is the number of attributed purchase events; the ad server’s reporting carries no per-row quantity, so a purchase of quantity 3 counts once. This reverses the v0.11.3 entry; Conversion Rate is purchases per 100 clicks.403 to Get Schema, Create, List and Get Campaign (seat; read_write grant for Create), drops the impossible 429 from List Campaigns, and adds 500 / 502 to List Advertisers.…T00:00:00.0000000+00:00; the views agree); under ?include=settable each product_ad instance comes back with its recorded product_uri (it was described as empty); the advertiser-scoped Get of a product-bound campaign lists its actual fields instead of “the same rich shape”, and wildcard List items document status / approval_state / change_request_id.requires_approval, edit_approval_triggers and revoked; the Product Catalog Ads example calls product_ad a keyed child (it said fixed); the change-request review example’s product ad field is product_uri; Ad is_active’s default is the product schema’s (approval holds only the campaign).202 Accepted — On an approval product, Create Campaign now answers 202 (was 200); the body is unchanged (approval_state: "pending", change_request_id). Creates on other products still answer 200. Check for any 2xx, not 200, if you treat the status code as success. See Create Campaign.Idempotency-Key on Create and Update Campaign — Send the header to make retries safe: within 24 hours, a repeat with the same key (same account, same product / campaign) replays the original response with X-Idempotent-Replay: true instead of building a second campaign; concurrent duplicates collapse onto one. Failed requests are not remembered; a different body with the same key is 409.create request retires its campaign — The held campaign’s flights and campaign are set inactive and archived on the ad server and the campaign moves to the new terminal status: cancelled (it used to stay pending_approval forever). Cancelled campaigns are left out of List Campaigns and the per-status counts; Get returns them. See Cancel Change Request.409 while a change is applying; an ad-server failure fails the delete with nothing removed.200 — Retailer-side: an approve whose provisioning fails now answers 502 with the change request (state: error, error_detail) as the body. Partners see the same state: error on the request as before.daily_cap_amount or lifetime_cap_amount but no cap_type (400 validation_failed); the ad server would ignore the amount. Products that pin or default the cap type are unaffected.is_active you requested. Approval restores the campaign’s requested is_active rather than always switching it on, so a campaign created with is_active: false (or defaulting to it) stays inactive after approval. The v0.9.0 entry below is corrected to match. Quick Start now notes that an approval product’s campaign is held in pending_approval rather than live.provisioning is not reported. A campaign whose create is still in flight already reads ready; provisioning remains a reserved value (always 0 in campaign_counts_by_status).params already include unset settable fields as null, the same shape as ?include=settable on most products; it was described as carrying only set fields.additional_information is always present and null when the retailer configured none (it was described as absent).limit is always an integer; the ad server requires every wallet to carry a limit (it was documented as nullable)."600" for a number field is a 400 validation_failed. The review example now shows the snake_case members (term / match_type) the API returns. The v0.10.1 entry below now reads error → applying → approved.forbidden (403), conflict (409) and upstream_rejected (400); the status reference lists 202 for review-gated edits and 409 conflict; Update Campaign’s row adds 403 and 409. Approve and reject routes exist and answer partner keys with 403.GET /d/v2/failed-stack are now described under Update Campaign → Other campaign routes.fields.campaign.is_active (it is params.campaign.is_active); Entity Fields cap names are daily_cap_amount / lifetime_cap_amount; the Postman Traffic Generation request does not set eligibleFlightIds — Kevel picks the winning flight, so bias it with a unique keyword./d/v2 read and write under an advertiser requires an active seat and a grant on that advertiser: read for reads and reports, read_write for writes. Previously some routes accepted a seat alone, or treated having created a campaign as access. See Authentication → Advertiser Grants.404 otherwise). Delete now requires read_write (403), like update, suspend and resume.404); with a deactivated seat List is empty and Get is 403. Resubmit and cancel require an active seat and read_write (403); resubmitting without params no longer succeeds after your seat is deactivated. If you lose access while a request is pending, the retailer’s approve fails with 409 and the request stays pending.GET /d/v2/notification shows and counts only notifications for advertisers you still hold a grant on; marking a hidden one read returns 404, and read-all marks only visible ones. No notification is created for a decision made while your grant or seat is inactive. GET /d/v2/failed-stack and ?include=campaign_count on List Products are filtered the same way.403, including for reports created earlier.http:// requests are redirected to HTTPS. The Postman collection’s base_url is now https://krx.kevel.co; update any integration still using http://.Attributed Sales counts units — Report Metrics previously described Attributed Sales as a count of purchase events rather than units (repeated in the v0.9.3 entry below). That was incorrect: it is the number of units sold, summed from each attributed purchase’s quantity, so a purchase of quantity 3 counts as 3. Conversion Rate is therefore units per 100 clicks and can exceed 100. Reported values are unchanged; only the documentation was wrong.compliance and product_info — Each change request now records, at submission, product_info (id, URI, catalogue, name and image for every product in its original and requested content) and, where the retailer runs compliance checks, compliance.hfss (applies, flagged, unchecked) for the products it newly requests. Resubmitting with revised params recomputes both; resubmitting as it stands keeps them, re-checking only when a product went unchecked, and drops compliance if the retailer no longer runs checks. A catalogue lookup failure marks the product unchecked and never fails the submission. Updates that fire no trigger open no request and are not checked. Additive. See Get Change Request.?include=review — Get and List Change Requests accept ?include=review, which adds a review object: every entity and field the request covers with its state (added, removed, modified, unchanged), before and after values, list elements as added / removed / unchanged, and the stored fired_triggers attached to the entity or field they fired on. See Get Change Request. Additive.applying state — An approval now provisions in the background. Between the retailer’s approve and the outcome, the request (and the campaign’s approval_state) is applying; it ends in approved or error. The retailer’s approve call returns 202 when provisioning is still running. While a request is applying, updates, suspend, resume and delete on its campaign return 409, and it cannot be cancelled. A retried create approval moves error → applying. New error_detail.code values: apply_timeout, apply_panicked, outcome_unknown. Handle applying wherever you read state or approval_state.200. Those edits now return 202 with a pending change request. The fields of a new instance are evaluated as set from nothing (except fields sent as an empty array, null or false; "" and 0 count as set); removing an instance fires the remove triggers of its search terms and nested ads, never a change trigger. No shape changes.?include=campaign_count — With ?include=campaign_count each product carries campaign_count and campaign_counts_by_status (ready / pending_approval / provisioning / error; failed campaigns are not counted). Additive.fired_triggers[].instance_path — Each fired trigger now names the keyed instance it fired on as a structured path including parent keys (flight_products:main/product_ad:hero), omitted when no instance is involved. detail is unchanged. Additive.price changes, an Update that re-sent the flight’s current bid as price was compared against a missing baseline (the snapshot names the field bid_price) and gated as price: null → …. Both spellings are now compared as the same field. No shape changes.200 with X-Idempotent-Replay: true instead of 409. A conflicting decision is still 409 conflict, now with current_state, decided_at, decided_by, decided_by_user and the full request in the body.error_detail, create retry, decided_by_user — A request in error now says why in error_detail. A create request in error can be approved again by the retailer (error → applying → approved); edits stay in error until cancelled. decided_by_user names the retailer-side individual behind the latest retailer decision when the retailer’s tool supplies one; your cancels and resubmits leave it unchanged. Additive.fields removed from campaign responses — Get Campaign (product-scoped and advertiser-scoped) no longer returns the read-only fields object. params is read live from the ad server and carries every partner-settable value that is set and readable back, so read runtime state from params.<entity_key>.is_active for each entity whose schema exposes is_active. Values that were only in fields (system-managed caps, goal type, attribution, or is_active on an entity whose schema does not expose it) are no longer readable through this API. Use ?include=settable for the full, null-padded shape.?include=fields retired — The flag is ignored; List is always a DB-only read with page_size defaulting to 50 (max 200). Call Get Campaign for live per-entity state.200 OK (not 202; only a still-processing Get Report is 202). The Get Report examples now use the real default column set (Attributed Sales, Sales Revenue, Ad Spend, Clickthrough Rate, Conversion Rate, ROAS, eCPM, Average CPC) with unrounded values consistent with the documented formulas. network_id is marked required on Get Report. Documented that derived metrics are null / empty when their denominator is zero (with the Conversion Rate exception), that Attributed Sales counts purchases rather than units, and that report configuration is per partner account. The error reference now lists 403 and 502 for both reporting endpoints and the reporting error body shape.default (in practice the flight bid_price) was re-applying that default on every edit, so e.g. editing daily_cap_amount after setting bid_price: 0.6 silently reverted the bid price. Update Campaign now writes only the fields you send; anything omitted keeps its live value, as documented. Defaults still apply on Create Campaign and when an edit adds a new keyed instance (a new flight or ad). No request or response shape changes.requires_approval in Get Schema — The schema response now carries requires_approval alongside description and schema, so a single schema fetch also tells you whether campaigns on the product go through retailer review. Same field List Products already returns. Additive; consumers that strictly validate the response shape should allow the new key.GET /d/v2/change-request lists your requests (filterable by state — single or comma-separated — request_type, advertiser_id, campaign_id, and a created-at window); GET /d/v2/change-request/:id returns one in full, including requested_content, the original_content snapshot on edits, request_comment / response_comment, a structured rejection_reason slug, and fired_triggers. POST .../cancel abandons an open request (either side may cancel); POST .../resubmit is the recovery path for rejections — a partial params revision is merged over a create request’s previous content (and applied to the held campaign so the reviewer approves exactly what will go live) or replaces an edit request’s proposal wholesale, opening a fresh pending request with a new ID while the campaign ID stays stable. Request states: pending, approved, rejected, cancelled, error.requires_approval product, Create Campaign provisions the stack with its campaign held inactive (flights and ads keep their requested is_active) and opens a create change request instead of going live: the response carries approval_state: "pending" and change_request_id, and the campaign sits in the new stack status pending_approval — not editable, not activatable — until the retailer decides. Approval restores the campaign’s requested is_active (status → ready); rejection leaves it held for resubmit or cancel.approval_state and change_request_id for the campaign’s latest change request, so the approval loop is trackable from the campaign list without extra queries. Both fields are absent on campaigns that never had a request. List Products now documents requires_approval and edit_approval_triggers on each product.GET /d/v2/notification is a paginated, account-scoped inbox of change_request.approved / change_request.rejected events with an unread_count for badges; POST /d/v2/notification/:id/read and POST /d/v2/notification/read-all mark them read. Rejection notifications carry the reviewer’s response_comment and rejection_reason in payload. Cancellations and provisioning errors do not notify — poll the request.GET /d/v2/retailer/:retailer_id/rate-card returns the floor prices a retailer publishes per search term and per category, as {targeting_type, targeting_value, floor_price, currency} entries. Gated by the same active-seat check as the rest of /d/v2 (403 without one) and paginated on the familiar page / page_size contract with page, page_size, total_pages, and total_items in the envelope — sized for rate cards at page_size=500 by default, max 5000, with out-of-range values clamping rather than erroring. Floors are informational: delivery does not read them, so a bid below a floor is still accepted and can still win. Retailers maintain the card by uploading a replacement CSV on their own key.GET /d/v2/advertiser/:kevel_advertiser_id/wallet lists the retailer-managed budget wallets available to an advertiser, so you can offer the advertiser a choice before you build a campaign. A wallet is attached to a campaign at creation time, through the ad product's wallet parameter — check GET /d/v2/product/:product_id/schema for whether a product exposes one. Phase one is single-wallet-per-campaign. This path takes a Kevel integer ID (not the KRX registry UUID). Balances are not exposed; wallet-eligibility rules are enforced by the platform and surface as 400 with the upstream message.requires_approval product are no longer gated wholesale. Retailers flag which parameters send an edit to review (direction-aware — e.g. adding a search term can require approval while removing one doesn’t). Un-flagged edits apply immediately with 200; flagged edits return 202 with a pending change request whose fired_triggers lists the parameters that gated it. While a request is open, further updates return 409. Campaign creation on these products still always requires approval.items shape and array-level min_items/max_items; object fields (and object array items) carry a fields list of their members, each with its own required flag; and fields with a fixed value set carry enum. This lets you discover the exact shape of composite fields (e.g. a search-terms array of {term, match_type, is_exclude}) directly from the schema. Additive; scalar fields are unchanged. Note the object member list is named fields — the same key a group uses — so a nested object reads exactly like a group. Member names are snake_case, the same convention as top-level field names: send them exactly as the schema shows and KRX maps them to the retailer's native casing internally. Member values (including enum values like "Strict") pass through verbatim.additional_information — The schema response now carries an optional additional_information object alongside description and attribution_description. It is free-form, retailer-defined metadata about the product (e.g. regulatory notices such as HFSS advertising restrictions), display-only, and absent when the retailer configured none. Additive and safe to ignore, but consumers that strictly validate the response shape should allow the new key.Ad Name column now reflects the key you supplied for that ad in your campaign params (e.g. ad_retinol_night) instead of the underlying Kevel Creative title (e.g. "Search SPA (Sponsored Product Ad) (de)"), which collides across every ad sharing the same ad template. Campaign Name and Flight Name are unchanged. Ads created outside KRX, or for partners without a registry entry for that ad, continue to show the Kevel-default name.Title: { "!param": AdTitle } to its kevel/Ad resource, the supplied title in your campaign params is sent to Kevel as the Creative title for that ad. This makes the title consistent everywhere — Kevel UI, Kevel reports, and KRX reports — rather than only in KRX’s view of the report. Templates that don’t expose the slot are unaffected; report behavior falls back to the registry-key override above.fields (potentially breaking) — Get Campaign’s fields.<entity_key> object now surfaces campaign and flight cap values as daily_cap_amount and lifetime_cap_amount (previously daily_cap and lifetime_cap), matching the underlying Kevel field names. Action required: partners reading the previous keys should switch to the new names.Campaign Name, Flight Name, and Ad Name columns — Each row in a report carries the human-readable name of every entity it identifies, alongside the existing ID columns. Useful for handing CSV exports to non-technical stakeholders without a separate ID-to-name lookup.group_by_date — Create Report now accepts an optional group_by_date field set to "day", "week", or "month". When set, each report row is additionally broken out by the requested time bucket and gains a Date column identifying it. Omit the field for the previous behavior of one row per campaign / flight / ad over the full date range.GET /d/v2/product/_/campaign?advertiser_id=N and GET /d/v2/product/_/campaign/:kevel_campaign_id?advertiser_id=N endpoints. With the literal _ in place of :product_id (and advertiser_id as a query parameter), partners with a retailer-issued umbrella read grant can list and inspect every campaign under an advertiser — including campaigns that exist directly in Kevel without a KRX ad product. Equivalent advertiser-scoped paths are also available: GET /d/v2/advertiser/:kevel_advertiser_id/campaign[/:kevel_campaign_id].has_product discriminator — List items and Get responses include has_product. Product-bound items carry the existing rich shape (params, fields, entities) on Get; product-less items carry a minimal nested shape (campaign → flights → ads, identifiers and names only).?include=children — Opt-in expansion that adds nested flights and ads to product-less items in a List response. Default page size is reduced to 10 (max 25) when this flag is set, since each page issues additional Kevel calls for nested expansion. Product-bound items are unaffected by the flag.GET /d/v2/product/:product_id/campaign now accepts page and page_size query parameters and the response wrapper carries page, page_size, total_pages, and total_items alongside the existing items. Defaults: page_size=50 (max 200), reduced to page_size=10 (max 25) when ?include=fields is set. Results are now ordered by created_at ascending. Action required: partners that previously expected the entire campaign list in a single response should add pagination iteration, or pass ?page_size=200 if they have at most 200 campaigns per product.Ad ID column — Partner reports are now grouped by campaignId, flightId, and adId by default, so every row of every report carries the Kevel ad ID it represents alongside the existing campaign and flight IDs. include_keywords: true still adds an additional per-keyword breakdown on top.?advertiser_id query param — GET /d/v2/product/:product_id/campaign now accepts an optional advertiser_id integer query parameter to filter results to a single advertiser. Omit it to keep the previous behavior of returning every campaign you have created for the product.status narrowed to lifecycle only — status now describes whether KRX built the campaign stack and nothing broke: provisioning, ready, failed, or error. The previous values pending, active, suspended, and completed are removed — runtime serving state now lives exclusively in fields.<entity_key>.is_active. Check that field to tell whether a given thing is serving.is_active in fields — fields.<flight_key>.is_active is now populated alongside the existing campaign and ad entries, so every entity exposes its serving toggle the same way.?include=fields flag — Default List is a lean response. Pass ?include=fields to populate fields.<entity_key>.is_active for each campaign in the page.params.campaign.is_active: false or true instead. A single endpoint for state changes keeps the mental model straightforward: flight- and ad-level is_active are always independent partner-controlled levers, and the campaign-level toggle is just another field you Update.status field removed from responses — Get Campaign still returns the entities array for entity-key lookup, but the per-entity status field is gone. Runtime state lives in fields.<entity_key>.is_active.?include=settable — New query parameter that replaces params with every partner-settable field from your product schema (required and optional) and omits fields. Values come from the live entity state; unset optional fields appear as null. Convenient for round-tripping Update Campaign requests.is_active. Per-ad is_active values you set during Create or Update are preserved across suspend/resume cycles, so resuming restores your previous ad-level state instead of forcing every ad back on.active based on the campaign’s is_active alone, not on every child entity. Set "is_active": true on the campaign in your Create request if you want ads to begin serving as soon as the campaign promotes.params and fields objects in Get Campaign now use the same nested hierarchy as the schema and create/update request body. Keyed instances are grouped under their resource name with child resources nested inside each parent instance, rather than using flat entity keys like flight:k1/ad:a1.!json_string, !object), so fields like pzn (inside CustomFieldsJSON) and ad creative fields (click_url, product_id, offer_id) now appear in the params response."vitamins", "magnesium") for addressing in updates and deletes.collection and children fields instead of the previous flat repeat/parent format. The schema shape mirrors the request body shape. See Understanding Schemas.null — Setting a keyed instance to null in an update request deactivates that entity and removes it from the campaign stack. Deleting a flight cascades to all its child ads.description and attribution_description fields, surfaced in product listings.campaign, flight_products, and product_ad groups.fields example — The Get Campaign response now shows all fields from the read config, including null values for unconfigured caps, targeting, and attribution.params and fields always included — Get Campaign now returns params and fields by default. The ?include=params query parameter is no longer required.fields in campaign detail — GET .../campaign/:id now returns a fields object alongside params. fields is a read-only snapshot of each entity’s current state, including system-managed values like is_active, goal_type, frequency caps, and attribution windows. Grouped by entity key, same as params.advertiser_id to advertiser responses — List Advertisers now includes the integer advertiser_id for each advertiser, in addition to the KRX UUID id.fields response represents attribution settings as an attribution array of objects (click_window, view_window, match_type), supporting flights with multiple attribution windows.advertiser_id to campaign responses — List Campaigns and Get Campaign now include the advertiser ID associated with the campaign.parent field — Each group in the schema response now includes an optional parent field indicating which group it belongs to (e.g. a flight’s parent is the campaign, an ad’s parent is its flight). Derived automatically from the template’s entity references.GET .../campaign no longer returns campaigns with a failed status.grant_id → product_id — Campaign responses now use product_id instead of grant_id.GET .../campaign/:id now checks live entity state. Pending campaigns are automatically promoted to active when all underlying entities become active.POST .../suspend and POST .../resume endpoints to pause and reactivate campaigns. These toggle the campaign-level active flag.pending, active, suspended, completed, failed, and error. The previous creating status is now reported as pending.GET /d/v2/product now accepts an optional advertiser_id query parameter to return only products the advertiser has been granted access to.