Apply mapping values to an integration
Checks mapping records for one integration, as POST /v1/integration/{id}/mapping/validate does, and stores the valid ones. Valid records are written even when others fail; the refused ones are returned in failed and not written. Records are written one at a time, not in a transaction, so if one write fails, those before it stay. With mode overwrite (the default) each value is inserted or replaced; with append, a field that already has a stored value for the entity, even an empty or will-not-map one, is left alone and counted in skipped. wnm stores a will-not-map marker instead of a value. An empty value is stored as empty, which the tag skips; to remove a value, delete it. Queues tag rebuilds for the publishers the changed values reach that use the integration: every one for an integration-level value, those with a config (ad unit) on the ad stack, those in the organisation or an organisation below it, or the one publisher. Only publishers whose built config changes are rebuilt; when more than 25 publishers are reached, the check runs in background tasks. With report_redundant, also returns the lower-level values the saved ones have made redundant, for you to delete if you choose. For records across several integrations, use POST /v1/mapping/apply.
Authorizations
Path Parameters
Query Parameters
Body
How to treat a field that already has a stored value for the entity, including an empty or will-not-map one. Any other value returns a 400. Values: overwrite = Replace it (default), append = Leave it and count the record as skipped.
overwrite, append