Eli
Eli

Reputation: 21

Facebook ads api: Retrieving deleted object ids from parent node

I'm trying to retrieve the ids of deleted objects contained within the parent node/object on the facebook ads api in order to query them directly for stats (facebook only allows querying for insights by deleted object id)

For example, I'd like to get all the:

Is there any way to get these lists?

I've attempted to use the "effective_status=deleted" param on the parent object, but it throws an error:

Any help would be appreciated :)

Upvotes: 2

Views: 1240

Answers (1)

Craig Kochis
Craig Kochis

Reputation: 883

Unfortunately, deleted objects will no longer be retrievable as a connection object. https://developers.facebook.com/docs/marketing-api/best-practices/storing_adobjects#deleted

Stats of deleted objects will still be reported in aggregate in their parent objects. But unless you have access to deleted object id, you won't be able to get individual stats for them.

See more about how delete and archive work here: https://developers.facebook.com/ads/blog/post/2014/09/24/deleted-vs-archived/

Upvotes: 2

Related Questions