public static class AdAccount.APIRequestCreateAdPlayable extends APIRequest<PlayableContent>
APIRequest.DefaultAsyncRequestExecutor, APIRequest.DefaultRequestExecutor, APIRequest.IAsyncRequestExecutor, APIRequest.IRequestExecutor, APIRequest.RequestHelper, APIRequest.ResponseParser<T extends APINode>| 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 |
|---|
APIRequestCreateAdPlayable(String nodeId,
APIContext context) |
addToBatch, addToBatch, changeAsyncRequestExecutor, changeRequestExecutor, executeAsyncBase, executeAsyncBase, executeAsyncInternal, executeAsyncInternal, executeInternal, executeInternal, getAsyncExecutor, getContext, getExecutor, joinStringList, requestFieldInternal, setContext, setOverrideUrl, setParamInternal, setParamsInternal, setUseVideoEndpointpublic APIRequestCreateAdPlayable(String nodeId, APIContext context)
public PlayableContent getLastResponse()
getLastResponse in class APIRequest<PlayableContent>public PlayableContent parseResponse(String response) throws APIException
parseResponse in class APIRequest<PlayableContent>APIExceptionpublic PlayableContent execute() throws APIException
execute in class APIRequest<PlayableContent>APIExceptionpublic PlayableContent execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<PlayableContent>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<PlayableContent> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<PlayableContent> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic AdAccount.APIRequestCreateAdPlayable setParam(String param, Object value)
setParam in class APIRequest<PlayableContent>public AdAccount.APIRequestCreateAdPlayable setParams(Map<String,Object> params)
setParams in class APIRequest<PlayableContent>public AdAccount.APIRequestCreateAdPlayable setName(String name)
public AdAccount.APIRequestCreateAdPlayable setSource(File source)
public AdAccount.APIRequestCreateAdPlayable setSource(String source)
public AdAccount.APIRequestCreateAdPlayable setSourceUrl(String sourceUrl)
public AdAccount.APIRequestCreateAdPlayable requestAllFields()
public AdAccount.APIRequestCreateAdPlayable requestAllFields(boolean value)
public AdAccount.APIRequestCreateAdPlayable requestFields(List<String> fields)
requestFields in class APIRequest<PlayableContent>public AdAccount.APIRequestCreateAdPlayable requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<PlayableContent>public AdAccount.APIRequestCreateAdPlayable requestField(String field)
requestField in class APIRequest<PlayableContent>public AdAccount.APIRequestCreateAdPlayable requestField(String field, boolean value)
requestField in class APIRequest<PlayableContent>Copyright © 2018. All rights reserved.