Retrieve daid with a redirect

circle-check
circle-info

The API is region-enabled. See the current list of regions where API can be accessed.

chevron-rightGET /bakehashtag

Purpose

Retrieve a unique digitalAudience (dA) id and redirect the response to a specific URL.

Request (cURL)

curl --location '{{_.base_url}}/bake?rvid=REDIRECT_VENDOR_ID&drdir=REDIRECT_URL&gdpr=GDPR_APPLIES&gdpr_consent=GDPR_CONSENT_STRING&car=CAROUSEL_ENABLED' \

Query parameters

Property
Description

rvid=REDIRECT_VENDOR_ID

IAB vendor id to redirect response

NOTE: this only applies to registered digitalAudience vendors

digitalAudience Vendor List

Contact:

digitalaudience.io/contact-usarrow-up-right

car=CAROUSEL_ENABLED

Platform carouselling enabled/disabled (0|1) on dA side

drdir=REDIRECT_URL

Custom URL-encoded redirect URL. Only used if your platform is not registered as a partner of digitalAudience yet.

gdpr=GDRP_APPLIES

Whether GDPR applies to the current user (0|1)

gdpr_consent=GDPR_CONSENT_STRING

The captured GDPR consent string

Redirect URL

circle-info
  • Redirect server url

    • HTTPS protocol required

    • URL encoding required

      • https%3A%2F%2Fwww.partnerdomain.com%3Fsync%3D%7BDAID%7D%26gdpr%3D%7BGA%7D%26gdpr_consent%3D%7BGS%7D%26custom%3D123
  • ▣ {DAID} macro

    • Replaced with digitalAudience id

  • ▣ {GA} macro

    • Replaced with provided GDPR applies

  • ▣ {GS} macro

    • Replaced with provided GDPR consent string

  • Custom query

    • Any additional query parameters are included in the redirect response

Response

Property
Description

StatusCode

HTTP status code 302

Response Headers

Property
Description

Content-type

text/plain

Location

Redirect url

Last updated