send_whats_app_conversion_event
¶
send_whats_app_conversion_event(
id: LinkedWhatsAppBusinessAccountId,
dataset_id: WhatsAppDatasetId,
event_data: WhatsAppConversionEventBlob,
*,
config_overrides: Optional[SocialMessagingClientConfig] = None,
) -> SendWhatsAppConversionEventOutput
Sends a conversion event to Meta's Conversions API for the specified WhatsApp Business Account dataset.
Parameters:
-
id(LinkedWhatsAppBusinessAccountId) –The ID of the WhatsApp Business Account associated with the dataset, formatted as
waba-01234567890123456789012345678901. -
dataset_id(WhatsAppDatasetId) –The Meta-generated dataset ID to send the event to.
-
event_data(WhatsAppConversionEventBlob) –The raw Meta Conversions API event payload as a JSON blob. See Meta's server event parameters for the supported format.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ValidationException–The request contains an invalid parameter value.
-
AccessDeniedByMetaException–You do not have sufficient access to perform this action.
-
DependencyException–Thrown when performing an action because a dependency would be broken.
-
InternalServiceException–The request processing has failed because of an unknown error, exception, or failure.
-
InvalidParametersException–One or more parameters provided to the action are not valid.
-
ResourceNotFoundException–The resource was not found.
-
ThrottledRequestException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_socialmessaging/_services/social_messaging.py
1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 | |