Sirdata API
Semantic APISirdata CMP - APIAbout Sirdata
  • Sirdata API
  • Overview
    • API Access
    • Sandbox
    • API Updates
  • Authentification
    • Get Token
  • Taxonomy
    • Sirdata Taxonomy
    • IAB Taxonomy
    • 3rd Party Taxonomy
  • A.D.S API
    • About A.D.S
    • Tag integration V1
    • Tag integration V2
    • Test method
    • Segment Access
  • Notification API
    • About Notification API
    • Audience
    • Campaign
    • Webhook endpoint
  • 😎Customer API
    • About Customer API
    • Create storage
    • Create Filter (counting)
    • Create order
    • Segment list
  • Semantic API
  • Sirdata CMP
  • About Sirdata
  • Sirdata API SLA
Powered by GitBook
On this page
  • To test the tag integration V2, use partner_id 1 and key_id 1, and check if you get this result after having given consent on the CMP :
  • To test both integration with valid credentials, proceed like below.
  • 1) User ID creation
  • 2) Get encrypted user ID
  • 3) Force user ID into segment id
  • Force user ID

Was this helpful?

  1. A.D.S API

Test method

Make sure your integration works properly

To test the tag integration V2, use partner_id 1 and key_id 1, and check if you get this result after having given consent on the CMP :

sddanCallback({
    "segments": [111111, 222222],
    "contextual_categories": {
        "333333": 100
    },
    "shared_taxonomy": {
        "27446": {
            "segments": [444444, 555555],
            "contextual_categories": {
                "666666": 100
            }
        }
    }
})

To test both integration with valid credentials, proceed like below.

1) User ID creation

2) Get encrypted user ID

Copy the encrypted user ID into your clipboard (e.g see JSON response)

3) Force user ID into segment id

Force user ID

POST https://partner-api.sddan.com/api/v1/public/user/partner/:partnerId/user/segment

Force your user ID into a Sirdata segment. Request body is JSON format

Path Parameters

Name
Type
Description

partnerId

number

Your given partner id

Query Parameters

Name
Type
Description

userId

string

Encrypted user id obtained in step 2)

Request Body

Name
Type
Description

segments

array

List of segment ids you like to force your user ID into

curl --request POST \
  --url 'https://partner-api.sddan.com/api/v1/public/user/partner/123/user/segment?userId=NThhOGZiZGE2OGFkNjQ1ZjU0ZWExOTU0u236m6%2BlAqZlUpo%2F1%2BQfCz8323YeNtOs4aV8PUduK3jCEXvsQQWnGgo4aUGW9Gcb0Y0ob5QrXXXX' \
  --header 'content-type: application/json' \
  --data '{
	"segments": [33,73]
}'

PreviousTag integration V2NextSegment Access

Last updated 1 year ago

Was this helpful?

Go to , accept terms

Go to

http://parasolchauffant.com/
https://partner-api.sddan.com/api/v1/public/user/partner/[PARTNER_ID]/user