Wrong example in SKAdNetwork Install Validation Postback documentation

Hi,

We are working on implementing the 2.0 version of the install validation postback endpoint for SKAdNetwork,
following the steps detailed in the documentation:
https://developer.apple.com/documentation/storekit/skadnetwork/verifying_an_install_validation_postback

However, we've noticed the example JSON is wrong, which prevents us from testing our code is working as expected:
Code Block json
{
"version" : "2.0",
"ad-network-id" : "com.example",
"campaign-id" : 42,
"transaction-id" : "6aafb7a5-0170-41b5-bbe4-fe71dedf1e28",
"app-id" : 525463029,
"attribution-signature" : "MDYCGQCsQ4y8d4BlYU9b8Qb9BPWPi+ixk\/OiRysCGQDZZ8fpJnuqs9my8iSQVbJO\/oU1AXUROYU="
"redownload": 1,
"source-app-id": 1234567891
"conversion-value: 20
}



In particular:

  • The signature in the atttribution-signature field is not valid, as it contains a backslash character which is not Base64.

  • The app-id and source-app-id fields are Integers whilst we expect these values to be Strings.

  • The conversion-value field only has an opening quote, making this invalid JSON.

Could you please provide a valid example and update the documentation?

Thanks a lot in advance!
Wrong example in SKAdNetwork Install Validation Postback documentation
 
 
Q