Moderation
- class ad_api.api.sb.Moderation(account: str = 'default', marketplace: Marketplaces = Marketplaces.EU, credentials: Dict[str, str] | None = None, proxies: Dict[str, str] | None = None, verify: bool = True, timeout: int | None = None, debug: bool = False, access_token: str | None = None, verify_additional_credentials: bool = True)
Use this interface to request and retrieve store information. This can be used for Sponsored Brands campaign creation, to pull the store URL information, and for asset registration for Stores.
- get_moderation(self, campaignId, **kwargs) ApiResponse:
Gets the moderation result for a campaign specified by identifier.
- Keyword Args
- path campaignId (integer): The campaign identifier. [required]
Warning
Note that this resource is only available for campaigns in the US marketplace.
###Example Python
campaign_id = 144329324494765093 result = Moderation().get_moderation( campaignId=campaign_id ) print(result)
- get_moderation(**kwargs)
Gets the moderation result for a campaign specified by identifier.
- Keyword Args
- path campaignId (integer): The campaign identifier. [required]