Skip to content

Why are there validations when GPP encoding? #58

Description

@SNMY
  1. Regarding the GPP encoding and decoding, why must the length of bitString be a multiple of 8 first? We recently encountered some GPP strings like DBABzw~1YYNBVQVAAAAAg that don't meet this padding logic but can still be decoded via the IAB GPP Encoder / Decoder.
    Could you please share your thoughts on this?
    Thanks in advance.
  2. We want to understand why there are validations for fields like mspaServiceProviderMode https://github.com/chuff/iabgpp-java/blob/master/iabgpp-encoder/src/main/java/com/iab/gpp/encoder/segment/UsNatV1CoreSegment.java. We cannot find this validation in the IAB GPP documentation.

We'd appreciate your insights on this matter. Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions