We are reading the Promoted Tweets data by pulling Active Entities and then their respective data from Synchronous Analytics endpoint.
Next step is to get Promoted Tweets data for same Active Entities from Promoted Tweet Endpoint, So we can have information such as LineItemId. We need LineItemId so we can determine the hierarchy which is present here
Issue: But while fetching Promoted Tweets data we can see some of the Entity Ids that are available from Active Entities endpoint are not coming from Promoted Tweets endpoint. We are reading Promoted tweets with with_deleted=true. Just to add more details those Entities were created in February 2021.
It would be great if someone can guide us whether it is expected or we are missing something.
B.C
#2
Hi @frazsundal1
You can specify “entity” parameter to “LINE_ITEM” to get lineItem related data.
Please refer to this page.
https://developer.twitter.com/en/docs/twitter-ads-api/analytics/api-reference/active-entities
Thanks for your reply, I can get LINE_ITEM from that end point.
But my query is how can I map Promoted_Tweet to a LINE_ITEM If I don’t pull PROMOTED_TWEET data which contains LINE_ITEM_ID.
"line_item_id": "96uzp",
"id": "1efwlo"
I hope it clarify why I need to pull PROMOTED_TWEET data first.
system
closed
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.