Skip to content

Ads Pixel Domain Control Rule

Updated: May 18, 2019

Reading

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

Example

Select language

HTTPPHP SDKJavaScript SDKAndroid SDKiOS SDK


GET /v25.0/{ads-pixel-id}/domain_control_rule HTTP/1.1
Host: graph.facebook.com

Try it in Graph API Explorer

If you want to learn how to use the Graph API, read our Using Graph API guide

Parameters

ParameterDescription
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 CodeDescription
190Invalid OAuth 2.0 Access Token

Creating

Updating

You can't perform this operation on this endpoint.

Deleting

Unofficial mirror for reference/search purposes. All content originates from developers.facebook.com — see the source link at the top of each page. Machine-readable indexes: llms.txt · llms-full.txt · About