App ad related information to help debugging.
GET v21.0/...?fields={fieldname_of_type_ApplicationAppAdDebugInfo} 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_ApplicationAppAdDebugInfo}',
'{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_ApplicationAppAdDebugInfo}",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);
/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"...?fields={fieldname_of_type_ApplicationAppAdDebugInfo}",
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_ApplicationAppAdDebugInfo}"
parameters:params
HTTPMethod:@"GET"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
id result,
NSError *error) {
// Handle the result
}];
Parameter | Description |
---|---|
account_id numeric string | To know if the app is permitted to use CPA bidding, an ad account id associated with this application must be passed in |
Field | Description |
---|---|
android_installs_over_last_seven_days unsigned int32 | Number of reported Android installs over the last seven days |
android_missing_settings list<string> | Settings that need to be fixed before serving app ads for Android |
android_support_status enum | Status of iOS app ad support for this application |
ios_install_invalidation_schemes list<string> | Schemes used for iOS install invalidation |
ios_installs_over_last_seven_days unsigned int32 | Number of reported iOS installs over the last seven days |
ios_missing_settings list<string> | Settings that need to be fixed before serving app ads for iOS |
ios_support_status enum | Status of iOS app ad support for this application |
is_app_child_app bool | Is the application childred of aonther application, i.e. is it a test application |
is_app_in_dev_mode bool | Is the application in development mode |
is_cpa_enabled_for_android bool | Is the application allowed to use CPA bidding for Android |
is_cpa_enabled_for_ios bool | Is the application allowed to use CPA bidding for iOS |
is_ocpm_enabled bool | Is the application allowed to use optimized CPM bidding |
last_android_deferred_deep_link_call datetime | Timestamp of most recent Android deferred deep link request |
last_android_install datetime | Timestamp of most recent install event reported by Android SDK |
last_ios_deferred_deep_link_call datetime | Timestamp of most recent iOS deferred deep link request |
last_ios_install datetime | Timestamp of most recent install event reported by iOS SDK |