Ads and Commerce
Ads and Commerce
Resources

Ad Account Adrules Count By Type

Updated: Apr 25, 2022

Reading

AdAccountAdRulesCountByType

Example

GET /v25.0/{ad-account-id}/adrules_count_by_type 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
statuses
list<enum {ENABLED, DISABLED, DELETED, HAS_ISSUES}>
statuses

Fields

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

Error Codes

Error Code Description
200
Permissions error

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.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon