Ads and Commerce

Ads Pixel Domain Control Rule

Updated: May 18, 2019
Copy for LLM

Reading

This edge provides read access to the domain control rules for a given pixel.

Example

GET /v25.0/{ads-pixel-id}/domain_control_rule 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
enum {BLACKLIST, WHITELIST}
Type of domain control rule

Fields

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

Error Codes

Error Code Description
190
Invalid OAuth 2.0 Access Token

Creating

Updating

You can't perform this operation on this endpoint.

Deleting