PoisonIvy
PoisonIvy

Reputation: 31

facebook marketing api - results and cost per result

I want to retrieve via API the values for cost per result and results columns of the facebook business manager. Is this possible?

Upvotes: 3

Views: 4651

Answers (1)

Javi
Javi

Reputation: 126

Yes its possible through the Insight API.

Request insights for a campaign and the cost_per_action_type field. The cost_per_action_type field will be an array containing the cost per result of various action types.

In a traffic campaign the action type of interest is link_click. The value for link_clicks is what you would see under results in the fb ad manager.

https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-group/insights/

Upvotes: 3

Related Questions