public static class AdAccount.APIRequestGetGeneratePreviews extends APIRequest<AdPreview>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>, APIRequest.ResponseWrapper| Modifier and Type | Field and Description |
|---|---|
static String[] |
FIELDS |
static String[] |
PARAMS |
context, endpoint, method, nodeId, paramNames, params, parser, returnFields, USER_AGENT, useVideoEndpoint| Constructor and Description |
|---|
APIRequestGetGeneratePreviews(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestGetGeneratePreviews(String nodeId, APIContext context)
public APINodeList<AdPreview> getLastResponse()
getLastResponse in class APIRequest<AdPreview>public APINodeList<AdPreview> parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<AdPreview>APIExceptionpublic APINodeList<AdPreview> execute() throws APIException
execute in class APIRequest<AdPreview>APIExceptionpublic APINodeList<AdPreview> execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<AdPreview>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<AdPreview>> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<APINodeList<AdPreview>> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic AdAccount.APIRequestGetGeneratePreviews setParam(String param, Object value)
setParam in class APIRequest<AdPreview>public AdAccount.APIRequestGetGeneratePreviews setParams(Map<String,Object> params)
setParams in class APIRequest<AdPreview>public AdAccount.APIRequestGetGeneratePreviews setAdFormat(AdPreview.EnumAdFormat adFormat)
public AdAccount.APIRequestGetGeneratePreviews setAdFormat(String adFormat)
public AdAccount.APIRequestGetGeneratePreviews setCreative(AdCreative creative)
public AdAccount.APIRequestGetGeneratePreviews setCreative(String creative)
public AdAccount.APIRequestGetGeneratePreviews setDynamicAssetLabel(String dynamicAssetLabel)
public AdAccount.APIRequestGetGeneratePreviews setDynamicCreativeSpec(Object dynamicCreativeSpec)
public AdAccount.APIRequestGetGeneratePreviews setDynamicCreativeSpec(String dynamicCreativeSpec)
public AdAccount.APIRequestGetGeneratePreviews setDynamicCustomization(Object dynamicCustomization)
public AdAccount.APIRequestGetGeneratePreviews setDynamicCustomization(String dynamicCustomization)
public AdAccount.APIRequestGetGeneratePreviews setEndDate(String endDate)
public AdAccount.APIRequestGetGeneratePreviews setHeight(Long height)
public AdAccount.APIRequestGetGeneratePreviews setHeight(String height)
public AdAccount.APIRequestGetGeneratePreviews setLocale(String locale)
public AdAccount.APIRequestGetGeneratePreviews setPlacePageId(Long placePageId)
public AdAccount.APIRequestGetGeneratePreviews setPlacePageId(String placePageId)
public AdAccount.APIRequestGetGeneratePreviews setPost(Object post)
public AdAccount.APIRequestGetGeneratePreviews setPost(String post)
public AdAccount.APIRequestGetGeneratePreviews setProductItemIds(List<String> productItemIds)
public AdAccount.APIRequestGetGeneratePreviews setProductItemIds(String productItemIds)
public AdAccount.APIRequestGetGeneratePreviews setRenderType(AdPreview.EnumRenderType renderType)
public AdAccount.APIRequestGetGeneratePreviews setRenderType(String renderType)
public AdAccount.APIRequestGetGeneratePreviews setStartDate(String startDate)
public AdAccount.APIRequestGetGeneratePreviews setWidth(Long width)
public AdAccount.APIRequestGetGeneratePreviews setWidth(String width)
public AdAccount.APIRequestGetGeneratePreviews requestAllFields()
public AdAccount.APIRequestGetGeneratePreviews requestAllFields(boolean value)
public AdAccount.APIRequestGetGeneratePreviews requestFields(List<String> fields)
requestFields in class APIRequest<AdPreview>public AdAccount.APIRequestGetGeneratePreviews requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<AdPreview>public AdAccount.APIRequestGetGeneratePreviews requestField(String field)
requestField in class APIRequest<AdPreview>public AdAccount.APIRequestGetGeneratePreviews requestField(String field, boolean value)
requestField in class APIRequest<AdPreview>public AdAccount.APIRequestGetGeneratePreviews requestBodyField()
public AdAccount.APIRequestGetGeneratePreviews requestBodyField(boolean value)
Copyright © 2020. All rights reserved.