Open-source, warehouse-first Customer Data Pipeline and Segment-alternative. Collects and routes clickstream data and builds your customer data lake on your data warehouse.
IP address is required to be passed in conjunction with another identifier (twclid, email address, phone number or user agent).
User Agent is required to be passed in conjunction with another identifier (twclid, email address, phone number or IP address).
{
"conversions":[
{
...
"identifiers":[
{
"ip_address":"1.0.0.0",
"user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"
}
],
...
}
]
}
To Reproduce
When I send ip_address and user_agent properties, this happens.
{
"response": "{\"errors\":[{\"code\":\"INVALID_PARAMETER\",\"message\":\"At least one user identifier must be provided\",\"parameter\":\"\"}],\"request\":{\"params\":{\"account_id\":\"18ce55453yk\"}}}",
"firstAttemptedAt": "2024-12-01T20:39:59.109Z",
"content-type": "application/json; charset=utf-8",
"routerSubStage": "router_dest_delivery",
"payloadStage": "router_input"
}
Expected behaviorip_address and user_agent should be in a single object, not two separate ones:
{
"ip_address":"1.0.0.0",
"user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"
}
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug Error response from X: At least one user identifier must be provided.
Why it's happening: The
ip_address
anduser_agent
are placed at the conversion object level rather than combined identifier following the X docs.See X Docs: https://developer.x.com/en/docs/x-ads-api/measurement/web-conversions/api-reference/conversions
From Docs:
To Reproduce When I send
ip_address
anduser_agent
properties, this happens.Payload:
Error response from Twitter:
Expected behavior
ip_address
anduser_agent
should be in a single object, not two separate ones: { "ip_address":"1.0.0.0", "user_agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36" }Screenshots If applicable, add screenshots to help explain your problem.
Additional context See: https://github.com/rudderlabs/rudder-transformer/blob/275e971c70f2a025a6b393ea37f038bb57c8c3a2/src/v0/destinations/twitter_ads/transform.js#L134