Ads and Commerce

Ad Account Deprecatedtargetingadsets

Updated: Apr 18, 2024
Copy for LLM
Ads in WhatsApp Status are available via the Marketing API. Learn more about ads in WhatsApp Status.

Reading

AdAccountDeprecatedTargetingAdsets

Example

GET /v25.0/{ad-account-id}/deprecatedtargetingadsets HTTP/1.1
Host: graph.facebook.com
If you want to learn how to use the Graph API, read our Using Graph API guide

Parameters

Parameter Description
type
string

Default value: deprecating
Query ad sets according to deprecation type. Valid options are deprecating and delivery_paused.

Fields

Reading from this edge will return a JSON formatted result:
{
"data": [],
"paging": {}
}
data
A list of AdSet nodes.
paging
For more details about pagination, see the Graph API guide.

Error Codes

Error Code Description
80004
There have been too many calls to this ad-account. Wait a bit and try again. For more info, please refer to /docs/graph-api/overview/rate-limiting#ads-management.

Creating

You can't perform this operation on this endpoint.

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.