Skip to content

Commit

Permalink
Revert "CMP ID additions"
Browse files Browse the repository at this point in the history
This reverts commit 9be16a3.
  • Loading branch information
lamrowena committed Jul 20, 2023
1 parent 9be16a3 commit c334e3c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Core/CMP API Specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,6 @@ Requirements for the interface:

All CMPs must support all generic commands. Generic commands are commands that can be used independent of [section specifications](https://github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform/blob/main/Sections/SectionInformation.md). All generic commands must always be executed immediately without any asynchronous logic and call the supplied callback function immediately. The generic commands are: [‘ping’](#ping), [‘addEventListener’](#addeventlistener), [‘removeEventListener’](#removeeventlistener), [‘hasSection’](#hassection), [‘getSection’](#getsection), and [‘getField’](#getfield).


### Is a CMP ID necessary?
Regional section policy writers may require CMPs to register to operate within the policies for that section. In these cases, CMP IDs must be used if the CMP has an ID. For CMPs that are not registered, a value of 1 must be used by string creators who do not have a CMP ID and are not using a commercially available CMP.

Examples:
Publisher A looking to create a GPP string that will contain the section for the US National approach must use 1 as value for CMP ID since the MSPA does not have CMP registration requirements.

Publisher B looking to create a GPP string that will contain sections for the US National approach or the TCF EU must register themselves or work with a registered CMP and use the assigned CMP ID in accordance with the TCF Policies.

________
#### `ping` <a name="ping"></a>

Expand Down Expand Up @@ -175,7 +166,7 @@ signalStatus : String, // possible values: not ready, ready

supportedAPIs : Array of string, // list of supported APIs (section ids and prefix strings), e.g. used while loading. Example: ["2:tcfeuv2","6:uspv1"]

cmpId : Number, // IAB assigned CMP ID, may be 0 during stub/loading. Reference the CMP ID question in the above section for additional information.
cmpId : Number, // IAB assigned CMP ID, may be 0 during stub/loading

sectionList : Array of Number, // may be empty during loading of the CMP

Expand Down

0 comments on commit c334e3c

Please sign in to comment.