Skip to content
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

FieldDescription
agency_representing_client<br>unsigned int32Whether this account is for an agency representing a client<br>Default
client_based_in_france<br>unsigned int32Whether the client is based in France<br>Default
client_city<br>stringClient's city<br>Default
client_country_code<br>stringClient's country code<br>Default
client_email_address<br>stringClient's email address<br>Default
client_name<br>stringName of the client<br>Default
client_postal_code<br>stringClient's postal code<br>Default
client_province<br>stringClient's province<br>Default
client_street<br>stringFirst line of client's street address<br>Default
client_street2<br>stringSecond line of client's street address<br>Default
has_written_mandate_from_advertiser<br>unsigned int32Whether the agency has a written mandate to advertise on behalf of this client<br>Default
is_client_paying_invoices<br>unsigned int32Whether 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.