public abstract class NativeAssets
extends java.lang.Object
| Constructor and Description |
|---|
NativeAssets() |
| Modifier and Type | Method and Description |
|---|---|
static com.criteo.publisher.model.nativeads.NativeAssets.Builder |
builder() |
java.lang.String |
getAdvertiserDescription() |
java.lang.String |
getAdvertiserDomain() |
java.net.URI |
getAdvertiserLogoClickUrl() |
java.net.URL |
getAdvertiserLogoUrl() |
java.util.List<java.net.URL> |
getImpressionPixels() |
java.lang.String |
getPrivacyLongLegalText() |
java.net.URI |
getPrivacyOptOutClickUrl() |
java.net.URL |
getPrivacyOptOutImageUrl() |
NativeProduct |
getProduct()
Return the first product in the payload.
|
static com.google.gson.TypeAdapter<NativeAssets> |
typeAdapter(com.google.gson.Gson gson) |
public static com.google.gson.TypeAdapter<NativeAssets> typeAdapter(com.google.gson.Gson gson)
@NonNull public NativeProduct getProduct()
For the moment only one native product is handled by the SDK, so the getNativeProducts() is package private.
@NonNull public java.lang.String getAdvertiserDescription()
@NonNull public java.lang.String getAdvertiserDomain()
@NonNull public java.net.URL getAdvertiserLogoUrl()
@NonNull public java.net.URI getAdvertiserLogoClickUrl()
@NonNull public java.net.URI getPrivacyOptOutClickUrl()
@NonNull public java.net.URL getPrivacyOptOutImageUrl()
@NonNull public java.lang.String getPrivacyLongLegalText()
@NonNull public java.util.List<java.net.URL> getImpressionPixels()
public static com.criteo.publisher.model.nativeads.NativeAssets.Builder builder()