You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*FacebookApi* | [**facebookGetAMarketplaceItem**](docs/Api/FacebookApi.md#facebookgetamarketplaceitem) | **GET** /v1/facebook/marketplace/item/{item_id} | Get a Marketplace item
224
+
*FacebookApi* | [**facebookGetAdvertiserPageInfo**](docs/Api/FacebookApi.md#facebookgetadvertiserpageinfo) | **GET** /v1/facebook/ads/pages/{page_id} | Get advertiser page info
224
225
*FacebookApi* | [**facebookGetAnAd**](docs/Api/FacebookApi.md#facebookgetanad) | **GET** /v1/facebook/ads/{ad_archive_id} | Get an ad
225
226
*FacebookApi* | [**facebookGetGroupDetail**](docs/Api/FacebookApi.md#facebookgetgroupdetail) | **GET** /v1/facebook/groups/{group_id} | Get group detail
226
227
*FacebookApi* | [**facebookGetGroupPosts**](docs/Api/FacebookApi.md#facebookgetgroupposts) | **GET** /v1/facebook/groups/{group_id}/posts | Get group posts
Copy file name to clipboardExpand all lines: docs/Api/FacebookApi.md
+135-3Lines changed: 135 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ All URIs are relative to https://scrapebadger.com, except if the operation defin
6
6
| ------------- | ------------- | ------------- |
7
7
|[**facebookBrowseAMarketplaceCategory()**](FacebookApi.md#facebookBrowseAMarketplaceCategory)|**GET** /v1/facebook/marketplace/category/{category} | Browse a Marketplace category |
8
8
|[**facebookGetAMarketplaceItem()**](FacebookApi.md#facebookGetAMarketplaceItem)|**GET** /v1/facebook/marketplace/item/{item_id} | Get a Marketplace item |
9
+
|[**facebookGetAdvertiserPageInfo()**](FacebookApi.md#facebookGetAdvertiserPageInfo)|**GET** /v1/facebook/ads/pages/{page_id} | Get advertiser page info |
9
10
|[**facebookGetAnAd()**](FacebookApi.md#facebookGetAnAd)|**GET** /v1/facebook/ads/{ad_archive_id} | Get an ad |
10
11
|[**facebookGetGroupDetail()**](FacebookApi.md#facebookGetGroupDetail)|**GET** /v1/facebook/groups/{group_id} | Get group detail |
11
12
|[**facebookGetGroupPosts()**](FacebookApi.md#facebookGetGroupPosts)|**GET** /v1/facebook/groups/{group_id}/posts | Get group posts |
@@ -17,6 +18,7 @@ All URIs are relative to https://scrapebadger.com, except if the operation defin
17
18
|[**facebookGetProfilePosts()**](FacebookApi.md#facebookGetProfilePosts)|**GET** /v1/facebook/profiles/{identifier}/posts | Get profile posts |
18
19
|[**facebookListCategories()**](FacebookApi.md#facebookListCategories)|**GET** /v1/facebook/marketplace/categories | List categories |
19
20
|[**facebookListLocations()**](FacebookApi.md#facebookListLocations)|**GET** /v1/facebook/marketplace/locations | List locations |
Get advertiser page info: category, followers, page transparency (creation date, name history, managing organization, admin-account locations), related pages, and ad spend (for political/issue advertisers).
|**country**|**string**||[optional][default to 'US']|
213
+
214
+
### Return type
215
+
216
+
**mixed**
217
+
218
+
### Authorization
219
+
220
+
[ApiKeyAuth](../../README.md#ApiKeyAuth)
221
+
222
+
### HTTP request headers
223
+
224
+
-**Content-Type**: Not defined
225
+
-**Accept**: `application/json`
226
+
227
+
[[Back to top]](#)[[Back to API list]](../../README.md#endpoints)
228
+
[[Back to Model list]](../../README.md#models)
229
+
[[Back to README]](../../README.md)
230
+
165
231
## `facebookGetAnAd()`
166
232
167
233
```php
168
-
facebookGetAnAd($ad_archive_id): mixed
234
+
facebookGetAnAd($ad_archive_id, $country): mixed
169
235
```
170
236
171
237
Get an ad
172
238
173
-
Get a single Ad Library ad by its archive id.
239
+
Get a single Ad Library ad by its archive id. For EU/UK-targeted ads the response also includes transparency insights (payer/beneficiary, total EU reach, and age/gender/country reach breakdowns).
174
240
175
241
### Example
176
242
@@ -192,9 +258,10 @@ $apiInstance = new ScrapeBadger\Api\FacebookApi(
0 commit comments