
com.facebook.ads.sdk.serverside.CustomEndpointRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of facebook-java-business-sdk Show documentation
Show all versions of facebook-java-business-sdk Show documentation
Facebook Business Solutions SDK for Java
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.ads.sdk.serverside;
import com.facebook.ads.sdk.APIContext;
import com.facebook.ads.sdk.APIException;
import com.google.common.util.concurrent.ListenableFuture;
import java.util.List;
public interface CustomEndpointRequest {
public CustomEndpointResponse sendEvent(APIContext context, String pixelId, List data) throws APIException.FailedRequestException;
public ListenableFuture sendEventAsync(APIContext context, String pixelId, List Data);
public void setFilter(Filter filter);
public void setSendToEndpointOnly(boolean sendToEndpointOnly);
public boolean isSendToEndpointOnly();
public String getEndpoint();
interface Filter {
public boolean shouldSendEvent(Event a);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy