Appearance
Fresh 2026
Agency Client Declaration
Reading
Details of the agency advertising on behalf of this client account, if applicable.
Example
HTTPPHP SDKJavaScript SDKAndroid SDKiOS SDK Graph API Explorer
GET v25.0/...?fields={fieldname_of_type_AgencyClientDeclaration} HTTP/1.1
Host: graph.facebook.com/* PHP SDK v5.0.0 */
/* make the API call */
try {
// Returns a `Facebook\FacebookResponse` object
$response = $fb->get(
'...?fields={fieldname_of_type_AgencyClientDeclaration}',
'{access-token}'
);
} catch(Facebook\Exceptions\FacebookResponseException $e) {
echo 'Graph returned an error: ' . $e->getMessage();
exit;
} catch(Facebook\Exceptions\FacebookSDKException $e) {
echo 'Facebook SDK returned an error: ' . $e->getMessage();
exit;
}
$graphNode = $response->getGraphNode();
/* handle the result *//* make the API call */
FB.api(
"...?fields={fieldname_of_type_AgencyClientDeclaration}",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"...?fields={fieldname_of_type_AgencyClientDeclaration}",
null,
HttpMethod.GET,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* handle the result */
}
}
).executeAsync();/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]\
initWithGraphPath:@"...?fields={fieldname_of_type_AgencyClientDeclaration}"\
parameters:params\
HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,\
id result,\
NSError *error) {\
// Handle the result\
}];If you want to learn how to use the Graph API, read our Using Graph API guide.
Parameters
This endpoint doesn't have any parameters.
Fields
| Field | Description |
|---|---|
agency_representing_client<br>unsigned int32 | Whether this account is for an agency representing a client<br>Default |
client_based_in_france<br>unsigned int32 | Whether the client is based in France<br>Default |
client_city<br>string | Client's city<br>Default |
client_country_code<br>string | Client's country code<br>Default |
client_email_address<br>string | Client's email address<br>Default |
client_name<br>string | Name of the client<br>Default |
client_postal_code<br>string | Client's postal code<br>Default |
client_province<br>string | Client's province<br>Default |
client_street<br>string | First line of client's street address<br>Default |
client_street2<br>string | Second line of client's street address<br>Default |
has_written_mandate_from_advertiser<br>unsigned int32 | Whether the agency has a written mandate to advertise on behalf of this client<br>Default |
is_client_paying_invoices<br>unsigned int32 | Whether the client is paying via invoice<br>Default |
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.