Skip to content

Commit d54d3bd

Browse files
Jingmin Yufacebook-github-bot
Jingmin Yu
authored andcommitted
update default value of ad_active_status to ALL
Reviewed By: neeksa Differential Revision: D30524020 fbshipit-source-id: eb233bdf0f5cfe638ec570bcde0d77d48a70fa83
1 parent 559cd0f commit d54d3bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Here's an example on how to use the CLI:
66

77
$ python fb_ads_library_api_cli.py -t {access_token} -f 'page_id,ad_snapshot_url,funding_entity,ad_delivery_start_time' -c 'CA' -s '.' -v count
88

9-
It count the number of active polictical ads that are running in CA(Canada);
9+
It would count the number of all polictical ads in CA(Canada);
1010

1111
Note: please replace the '{access_token}' with your [Facebook Developer access token](https://developers.facebook.com/tools/accesstoken/).
1212

python/fb_ads_library_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(
3535
search_term,
3636
country,
3737
search_page_ids="",
38-
ad_active_status="active",
38+
ad_active_status="ALL",
3939
after_date="1970-01-01",
4040
page_limit=500,
4141
api_version=None,

0 commit comments

Comments
 (0)