GET /v25.0/{ad-account-id}/adimages HTTP/1.1
Host: graph.facebook.com
| Parameter | Description |
|---|---|
biz_tag_idint64 |
Business tag ID to filter images.
|
business_idnumeric string or integer |
Optional.
Assists with filters such as recently used.
|
hasheslist<string> |
Hash of the image.
|
minheightint64 |
Minimum height of the image.
|
minwidthint64 |
Minimum width of the image.
|
namestring |
Image name used in image names filter.
|
{
"data": [],
"paging": {},
"summary": {}
}
| Field | Description |
|---|---|
total_countint32 |
Total number of images in the Ad Account.
default |
| Error Code | Description |
|---|---|
200 | Permissions error |
80004 | There have been too many calls to this ad-account. Wait a bit and try again. For more info, please refer to /docs/graph-api/overview/rate-limiting#ads-management. |
368 | The action attempted has been deemed abusive or is otherwise disallowed |
100 | Invalid parameter |
190 | Invalid OAuth 2.0 Access Token |
| Parameter | Description |
|---|---|
bytesBase64 UTF-8 string |
Image file. Example: bytes = <image content in bytes format> |
copy_fromJSON or object-like arrays |
This copies the Ad Image from the source to the destination account. {"source_account_id":"<SOURCE_ACCOUNT_ID>", "hash":"02bee5277ec507b6fd0f9b9ff2f22d9c"}source_account_id numeric stringhash stringShow child parameters |
Map {
string: Map {
string: Struct {
hash: string,
url: string,
url_128: string,
url_256: string,
url_256_height: string,
url_256_width: string,
height: int32,
width: int32,
name: string,
}}}
| Error Code | Description |
|---|---|
100 | Invalid parameter |
200 | Permissions error |
80004 | There have been too many calls to this ad-account. Wait a bit and try again. For more info, please refer to /docs/graph-api/overview/rate-limiting#ads-management. |
190 | Invalid OAuth 2.0 Access Token |
368 | The action attempted has been deemed abusive or is otherwise disallowed |
613 | Calls to this api have exceeded the rate limit. |
| Parameter | Description |
|---|---|
hashstring |
Hash of the image you wish to delete.
required |
image_idstring |
ID of the image you wish to delete.
|
Struct {
success: bool,
}
| Error Code | Description |
|---|---|
100 | Invalid parameter |
80004 | There have been too many calls to this ad-account. Wait a bit and try again. For more info, please refer to /docs/graph-api/overview/rate-limiting#ads-management. |