Validate an integration's ad stack settings
Checks whether an integration is valid in an ad stack with the given stack settings, for example when an integration is dragged into a stack. The settings are judged as the tag would use them: empty fields take the value resolved from mapping (the stack given by sid, the integration default, and with uid the publisher, its organisations and the cid config), and values set below the stack replace the ones sent. They are type-checked against the integration’s stack schema without requiring any field. With uid, the integration is also invalid if a required field has no value for one of the publisher’s configs (ad units) that run it (only sid’s configs when given, only the cid config when given), if its owner hasn’t approved it for the publisher, or if its platform needs a policy the publisher’s organisation hasn’t accepted; and completeness lists the required fields without a value. Takes the encoded integration ID (iid).
Authorizations
Path Parameters
Query Parameters
Body
The integration's stack settings, as described by GET /v1/integration/{id}/stack-schema. Empty values are ignored
Response
OK: Validation result.
true when the integration is valid, otherwise a JSON-encoded string to parse, {"message": "<reason>", "status": 400}. The reason is a validation message (Form errors found: …), is missing required mapping: <field titles> ((the owner must set it) follows a field only the integration's owner can set), isn't approved for this publisher, or Requires policy acceptance