InteractiveAdvertisingBureau / Global-Privacy-Platform

IAB Tech Lab Global Privacy Platform specification
72 stars 36 forks source link

PostMessage/SendMessage version example clarification #88

Open janwinkler opened 1 year ago

janwinkler commented 1 year ago

The example under Sent Message (https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform/blob/main/Core/CMP%20API%20Specification.md#sent-message) includes a property "version" which implies that the vendor can tell the CMP which gpp version to use. In all other commands we always assumed that the vendor will call the command and receive a response containing the gpp version. We need clarification on what is the expected behavior. e.g. if the CMP supports version 1.1 (and no longer 1.0) but the vendor sends

  __gppCall: {
    command: 'command',
    parameter: 'parameter,
    **version: '1.0',**
    callId: 'randomID'
  }
}

Shall the CMP reject the call. treat it as 1.1 or is the CMP expected to support both versions?

janwinkler commented 1 year ago

Correction: The __gpp function also includes a version property (was this always there?), hence the same question applies for all command calls: What should the CMP do if a non-supported version is requested?