Skip to content

Commit beb3bf4

Browse files
author
stlc-bot
committed
Show creators specific, actionable ad issue messages
Stainless-Generated-From: 7fe9610
1 parent 2a577b6 commit beb3bf4

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎src/whop_sdk/types/ad.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Issue(BaseModel):
1414
id: str
1515
"""Unique identifier for the issue."""
1616

17-
category: Optional[Literal["policy_rejection", "creative_media", "audience_targeting", "ad_volume_limit"]] = None
18-
"""The kind of problem the issue represents."""
17+
message: str
18+
"""A description of what the issue is and how it can be resolved."""
1919

2020
resource_id: Optional[str] = None
2121
"""The ID of the campaign, ad group, or ad the issue is attached to."""

‎src/whop_sdk/types/ad_campaign.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Issue(BaseModel):
1414
id: str
1515
"""Unique identifier for the issue."""
1616

17-
category: Optional[Literal["policy_rejection", "creative_media", "audience_targeting", "ad_volume_limit"]] = None
18-
"""The kind of problem the issue represents."""
17+
message: str
18+
"""A description of what the issue is and how it can be resolved."""
1919

2020
resource_id: Optional[str] = None
2121
"""The ID of the campaign, ad group, or ad the issue is attached to."""

‎src/whop_sdk/types/ad_group.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Issue(BaseModel):
1414
id: str
1515
"""Unique identifier for the issue."""
1616

17-
category: Optional[Literal["policy_rejection", "creative_media", "audience_targeting", "ad_volume_limit"]] = None
18-
"""The kind of problem the issue represents."""
17+
message: str
18+
"""A description of what the issue is and how it can be resolved."""
1919

2020
resource_id: Optional[str] = None
2121
"""The ID of the campaign, ad group, or ad the issue is attached to."""

0 commit comments

Comments
 (0)