/mapping/query
Searches stored mapping values across every integration in scope and returns flat, labelled rows, one per (integration, level, entity, field). Use it to answer questions like “which ad units use placement X” (field=plc&value=X, optionally entity_type=config), “what is mapped for publisher 19210” (publisher_uid=19210) or “every value of field Y on platform Z” (platform=Z&field=Y).
Rows are the values stored at each level, not the value an ad unit finally resolves to. Resolution takes the most specific: config > publisher > organisation chain > ad stack > integration, skipping empty and wnm rows. Each row carries ids and labels (entity_label, field_label, integration_name), so no second lookup is needed.
Scope. Integrations available to the caller’s organisation chain (its own, its parents’, CORE’s), without fallback creatives or integrations hidden from it. With publisher_uid, the chain is the publisher’s, narrowed to the integrations the publisher uses and to rows that can apply to it. Non-CORE callers only see rows on entities inside their organisation tree; integration-level rows are always shown. Archived entities’ rows can appear.
Filters combine with AND. value is an exact, case-insensitive match that also hits one item of a list or of a comma-separated string; booleans match true / false.
Order and limit. By level (integration, ad_stack, organisation, publisher, config), then integration, entity id and field. limit defaults to 200 (max 2000); truncated: true means narrow the filters.
To change a value found here, POST a record with the same integration_id / level / entity_id / field to /v1/mapping/validate then /v1/mapping/apply; to remove it, use DELETE /v1/mapping. Requires the integration.view permission.
Authorizations
Query Parameters
Only rows that can apply to this publisher: its ad units, the publisher itself, its organisation and parent organisations, the ad stacks its units use, and the integration-level defaults of the integrations it uses (its ad stacks' and pub stack's). Switches the integration scope to the publisher's organisation chain. 404 Not Found when the caller can't access the publisher.