Skip to content

Commit db5163a

Browse files
authored
Fix apply_incentive example to make country code required. (#1070)
1 parent d66743b commit db5163a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/incentives/apply_incentive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def main(
3636
client: GoogleAdsClient,
3737
customer_id: str,
3838
incentive_id: str,
39-
country_code: str = None,
39+
country_code: str,
4040
) -> None:
4141
"""Applies an incentive for the ads customer.
4242
@@ -89,7 +89,7 @@ def main(
8989
"-k",
9090
"--country_code",
9191
type=str,
92-
required=False,
92+
required=True,
9393
help="The country code of the user (e.g. 'US').",
9494
)
9595
args = parser.parse_args()

0 commit comments

Comments
 (0)