dburner
dburner

Reputation: 1007

Facebook API: How to get the conversion pixel values for an ad

How can I read the values for a conversion pixel via Facebook API v2.4?

From what I read (and tried) you can't get it via the Insights API and the Reporting API is deprecated.

I want to read the following values:

Upvotes: 2

Views: 1659

Answers (2)

Thunder Storm
Thunder Storm

Reputation: 121

Probably this might help you: https://www.facebookmarketingdevelopers.com/samples/adsreporting

You need to query the Insights-API. That sample script above is retrieving values for the "28d-click"-attribution window. You need to change or extend the if-clause and the params-dict accordingly.

Upvotes: 1

Roemer
Roemer

Reputation: 3576

Thanks for clarifying.

No, it's not possible to retrieve these values using the Public API. These values are reported by Power Editor and Ads Manager only.

Upvotes: 0

Related Questions