managed-components / tiktok

Other
2 stars 3 forks source link

The payload for events on Events API 2.0 changed - The payload on component need to update #15

Open Beethoven opened 2 weeks ago

Beethoven commented 2 weeks ago

The Events API 2.0 (/event/track/) is now the recommended endpoint for reporting events from all sources, including web, app, offline and CRM (Customer relationship management) systems. This endpoint provides a unified API schema to help advertisers simplify and streamline their integration.

https://business-api.tiktok.com/portal/docs?rid=p41a33fdhon&id=1771100779668482

The new payload: https://business-api.tiktok.com/portal/docs?id=1771100865818625

Beethoven commented 1 week ago

The payload doesn't have event_source_id This is the return of a POST event:

{ "code": 40002, "message": "Invalid value for event_source_id: not a valid string.", "request_id": "202406191421063422AF4AE0D8D70D1B6A" }

ad-astra-via commented 1 week ago

Hello @Beethoven would you be able to help us test a PR for this? If so please lemme know how I can reach out ot you! Thanks.

Beethoven commented 1 week ago

Hello @Beethoven would you be able to help us test a PR for this? If so please lemme know how I can reach out ot you! Thanks.

Yes Yair, my email: robertomedeirosgarcia@gmail.com You can reach me on Discord too.