From 25d494dc0705b07a924a715495d032e97fb9cb4e Mon Sep 17 00:00:00 2001 From: Ben Karl Date: Thu, 16 Apr 2026 15:21:18 +0000 Subject: [PATCH] Fix apply_incentive example to make country code required. --- examples/incentives/apply_incentive.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/incentives/apply_incentive.py b/examples/incentives/apply_incentive.py index 8a9acfe20..369a90c08 100644 --- a/examples/incentives/apply_incentive.py +++ b/examples/incentives/apply_incentive.py @@ -36,7 +36,7 @@ def main( client: GoogleAdsClient, customer_id: str, incentive_id: str, - country_code: str = None, + country_code: str, ) -> None: """Applies an incentive for the ads customer. @@ -89,7 +89,7 @@ def main( "-k", "--country_code", type=str, - required=False, + required=True, help="The country code of the user (e.g. 'US').", ) args = parser.parse_args()