| Package | Description |
|---|---|
| com.facebook.ads.sdk.serverside | |
| com.facebook.ads.sdk.signal |
| Modifier and Type | Method and Description |
|---|---|
Event |
Event.actionSource(ActionSource actionSource)
Set actionSource for the event.
|
Event |
Event.customData(CustomData customData)
Set customData object that includes additional business data about the event.
|
Event |
Event.dataProcessingOptions(String[] dataProcessingOptions)
Set dataProcessingOptions Processing options you would like to enable for a specific event.
|
Event |
Event.dataProcessingOptionsCountry(Integer dataProcessingOptionsCountry)
Set dataProcessingOptionsCountry for the event.
|
Event |
Event.dataProcessingOptionsState(Integer dataProcessingOptionsState)
Set dataProcessingOptionsState for the event.
|
Event |
Event.eventId(String eventId)
Sets an ID used by Facebook to deduplicate the same event sent from both server and browser.
|
Event |
Event.eventName(String eventName)
Set Facebook pixel Standard Event or Custom Event name.
|
Event |
Event.eventSourceUrl(String eventSourceUrl)
Set browser URL where the event happened.
|
Event |
Event.eventTime(Long eventTime)
Set Unix timestamp in seconds indicating when the actual event occurred.
|
Event |
Event.optOut(Boolean optOut)
Set flag that indicates we should not use this event for ads delivery optimization.
|
Event |
Event.userData(UserData userData)
Set UserData object that contains user data
|
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
HttpServiceParams.getData() |
List<Event> |
EventRequest.getData()
A list of Server Event objects
|
| Modifier and Type | Method and Description |
|---|---|
EventRequest |
EventRequest.addDataItem(Event dataItem)
Add a Server Event object
|
| Modifier and Type | Method and Description |
|---|---|
EventRequest |
EventRequest.data(List<Event> data)
Set a list of Server Event objects
|
void |
BatchProcessor.processEvents(EventRequest eventRequestToClone,
List<Event> events) |
Iterator<List<com.google.common.util.concurrent.ListenableFuture<EventResponse>>> |
BatchProcessor.processEventsIterator(EventRequest eventRequestToClone,
List<Event> events) |
void |
EventRequest.setData(List<Event> data)
Set a list of Server Event objects
|
| Constructor and Description |
|---|
EventIterator(EventRequest eventRequestToClone,
List<Event> events,
int batchSize,
int concurrentRequests) |
EventRequest(String pixelId,
APIContext context,
List<Event> data,
String testEventCode,
String partnerAgent,
String namespaceId,
String uploadId,
String uploadTag,
String uploadSource,
HttpServiceInterface httpServiceClient)
Constructor.
|
HttpServiceParams(String accessToken,
String appSecretProof,
List<Event> data,
String testEventCode,
String partnerAgent,
String namespaceId,
String uploadId,
String uploadTag,
String uploadSource) |
| Modifier and Type | Method and Description |
|---|---|
Event |
Event.getServerSideEvent()
Gets the constructed custom data for Business Data API
|
| Modifier and Type | Method and Description |
|---|---|
SignalResponse<List<Event>,List<Event>> |
EventRequest.getData()
A list of Event objects
|
Copyright © 2021. All rights reserved.