public static class AdCreative.APIRequestCreateAdLabel extends APIRequest<AdCreative>
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 |
---|
APIRequestCreateAdLabel(String nodeId,
APIContext context) |
addToBatch, addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpoint
public APIRequestCreateAdLabel(String nodeId, APIContext context)
public AdCreative getLastResponse()
getLastResponse
in class APIRequest<AdCreative>
public AdCreative parseResponse(String response, String header) throws APIException
parseResponse
in class APIRequest<AdCreative>
APIException
public AdCreative execute() throws APIException
execute
in class APIRequest<AdCreative>
APIException
public AdCreative execute(Map<String,Object> extraParams) throws APIException
execute
in class APIRequest<AdCreative>
APIException
public com.google.common.util.concurrent.ListenableFuture<AdCreative> executeAsync() throws APIException
APIException
public com.google.common.util.concurrent.ListenableFuture<AdCreative> executeAsync(Map<String,Object> extraParams) throws APIException
APIException
public AdCreative.APIRequestCreateAdLabel setParam(String param, Object value)
setParam
in class APIRequest<AdCreative>
public AdCreative.APIRequestCreateAdLabel setParams(Map<String,Object> params)
setParams
in class APIRequest<AdCreative>
public AdCreative.APIRequestCreateAdLabel setAdlabels(List<Object> adlabels)
public AdCreative.APIRequestCreateAdLabel setAdlabels(String adlabels)
public AdCreative.APIRequestCreateAdLabel requestAllFields()
public AdCreative.APIRequestCreateAdLabel requestAllFields(boolean value)
public AdCreative.APIRequestCreateAdLabel requestFields(List<String> fields)
requestFields
in class APIRequest<AdCreative>
public AdCreative.APIRequestCreateAdLabel requestFields(List<String> fields, boolean value)
requestFields
in class APIRequest<AdCreative>
public AdCreative.APIRequestCreateAdLabel requestField(String field)
requestField
in class APIRequest<AdCreative>
public AdCreative.APIRequestCreateAdLabel requestField(String field, boolean value)
requestField
in class APIRequest<AdCreative>
Copyright © 2020. All rights reserved.