public static class AdAccount.APIRequestCreateBlockListDraft extends APIRequest<AdAccount>
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 |
|---|
APIRequestCreateBlockListDraft(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 APIRequestCreateBlockListDraft(String nodeId, APIContext context)
public AdAccount getLastResponse()
getLastResponse in class APIRequest<AdAccount>public AdAccount parseResponse(String response, String header) throws APIException
parseResponse in class APIRequest<AdAccount>APIExceptionpublic AdAccount execute() throws APIException
execute in class APIRequest<AdAccount>APIExceptionpublic AdAccount execute(Map<String,Object> extraParams) throws APIException
execute in class APIRequest<AdAccount>APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<AdAccount> executeAsync() throws APIException
APIExceptionpublic com.google.common.util.concurrent.ListenableFuture<AdAccount> executeAsync(Map<String,Object> extraParams) throws APIException
APIExceptionpublic AdAccount.APIRequestCreateBlockListDraft setParam(String param, Object value)
setParam in class APIRequest<AdAccount>public AdAccount.APIRequestCreateBlockListDraft setParams(Map<String,Object> params)
setParams in class APIRequest<AdAccount>public AdAccount.APIRequestCreateBlockListDraft setPublisherUrlsFile(File publisherUrlsFile)
public AdAccount.APIRequestCreateBlockListDraft setPublisherUrlsFile(String publisherUrlsFile)
public AdAccount.APIRequestCreateBlockListDraft requestAllFields()
public AdAccount.APIRequestCreateBlockListDraft requestAllFields(boolean value)
public AdAccount.APIRequestCreateBlockListDraft requestFields(List<String> fields)
requestFields in class APIRequest<AdAccount>public AdAccount.APIRequestCreateBlockListDraft requestFields(List<String> fields, boolean value)
requestFields in class APIRequest<AdAccount>public AdAccount.APIRequestCreateBlockListDraft requestField(String field)
requestField in class APIRequest<AdAccount>public AdAccount.APIRequestCreateBlockListDraft requestField(String field, boolean value)
requestField in class APIRequest<AdAccount>Copyright © 2020. All rights reserved.