EndUserMessagingSocial / Client / send_whatsapp_conversion_event
send_whatsapp_conversion_event¶
- EndUserMessagingSocial.Client.send_whatsapp_conversion_event(**kwargs)¶
Sends a conversion event to Meta’s Conversions API for the specified WhatsApp Business Account dataset.
See also: AWS API Documentation
Request Syntax
response = client.send_whatsapp_conversion_event( id='string', datasetId='string', eventData=b'bytes' )
- Parameters:
id (string) –
[REQUIRED]
The ID of the WhatsApp Business Account associated with the dataset, formatted as
waba-01234567890123456789012345678901.datasetId (string) –
[REQUIRED]
The Meta-generated dataset ID to send the event to.
eventData (bytes) –
[REQUIRED]
The raw Meta Conversions API event payload as a JSON blob. See Meta’s server event parameters for the supported format.
- Return type:
dict
- Returns:
Response Syntax
{ 'requestId': 'string' }
Response Structure
(dict) –
requestId (string) –
The unique identifier for the conversion event request.
Exceptions
EndUserMessagingSocial.Client.exceptions.ValidationExceptionEndUserMessagingSocial.Client.exceptions.AccessDeniedExceptionEndUserMessagingSocial.Client.exceptions.InvalidParametersExceptionEndUserMessagingSocial.Client.exceptions.ResourceNotFoundExceptionEndUserMessagingSocial.Client.exceptions.ThrottledRequestExceptionEndUserMessagingSocial.Client.exceptions.AccessDeniedByMetaExceptionEndUserMessagingSocial.Client.exceptions.InternalServiceExceptionEndUserMessagingSocial.Client.exceptions.DependencyException