Retrieve daid with a redirect
Base url: https://target.digitalaudience.io/bakery
The API is region-enabled. See the current list of regions where API can be accessed.
GET /bake
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
rvid=REDIRECT_VENDOR_ID
IAB vendor id to redirect response
NOTE: this only applies to registered digitalAudience vendors
Contact:
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
https://www.partnerdomain.com?sync_id={DAID}&gdpr={GA}&gdpr_consent={GS}¶m=123
▣ 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
StatusCode
HTTP status code 302
Response Headers
Content-type
text/plain
Location
Redirect url
Last updated