target.apidocs.com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Proposals.Create.html Maven / Gradle / Ivy
AdExchangeBuyerII.Accounts.Proposals.Create (Ad Exchange Buyer API II v2beta1-rev20230502-2.0.0)
com.google.api.services.adexchangebuyer2.v2beta1
Class AdExchangeBuyerII.Accounts.Proposals.Create
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.googleapis.services.AbstractGoogleClientRequest<T>
-
- com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
-
- com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerIIRequest<Proposal>
-
- com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Proposals.Create
-
- Enclosing class:
- AdExchangeBuyerII.Accounts.Proposals
public class AdExchangeBuyerII.Accounts.Proposals.Create
extends AdExchangeBuyerIIRequest<Proposal>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Modifier
Constructor and Description
protected
Create(String accountId,
Proposal content)
Create the given proposal.
-
Method Summary
-
Methods inherited from class com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerIIRequest
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
-
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest
getJsonContent, newExceptionOnError, queue
-
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
-
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
Create
protected Create(String accountId,
Proposal content)
Create the given proposal. Each created proposal and any deals it contains are assigned a
unique ID by the server.
Create a request for the method "proposals.create".
This request holds the parameters needed by the the adexchangebuyer2 server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
AdExchangeBuyerII.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
- Parameters:
accountId
- Account ID of the buyer.
content
- the Proposal
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public AdExchangeBuyerII.Accounts.Proposals.Create set$Xgafv(String $Xgafv)
Description copied from class: AdExchangeBuyerIIRequest
V1 error format.
- Overrides:
set$Xgafv
in class AdExchangeBuyerIIRequest<Proposal>
-
setAccessToken
public AdExchangeBuyerII.Accounts.Proposals.Create setAccessToken(String accessToken)
Description copied from class: AdExchangeBuyerIIRequest
OAuth access token.
- Overrides:
setAccessToken
in class AdExchangeBuyerIIRequest<Proposal>
-
setAlt
public AdExchangeBuyerII.Accounts.Proposals.Create setAlt(String alt)
Description copied from class: AdExchangeBuyerIIRequest
Data format for response.
- Overrides:
setAlt
in class AdExchangeBuyerIIRequest<Proposal>
-
setCallback
public AdExchangeBuyerII.Accounts.Proposals.Create setCallback(String callback)
Description copied from class: AdExchangeBuyerIIRequest
JSONP
- Overrides:
setCallback
in class AdExchangeBuyerIIRequest<Proposal>
-
setFields
public AdExchangeBuyerII.Accounts.Proposals.Create setFields(String fields)
Description copied from class: AdExchangeBuyerIIRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class AdExchangeBuyerIIRequest<Proposal>
-
setKey
public AdExchangeBuyerII.Accounts.Proposals.Create setKey(String key)
Description copied from class: AdExchangeBuyerIIRequest
API key. Your API key identifies your project and provides you with API access, quota, and
reports. Required unless you provide an OAuth 2.0 token.
- Overrides:
setKey
in class AdExchangeBuyerIIRequest<Proposal>
-
setOauthToken
public AdExchangeBuyerII.Accounts.Proposals.Create setOauthToken(String oauthToken)
Description copied from class: AdExchangeBuyerIIRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class AdExchangeBuyerIIRequest<Proposal>
-
setPrettyPrint
public AdExchangeBuyerII.Accounts.Proposals.Create setPrettyPrint(Boolean prettyPrint)
Description copied from class: AdExchangeBuyerIIRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class AdExchangeBuyerIIRequest<Proposal>
-
setQuotaUser
public AdExchangeBuyerII.Accounts.Proposals.Create setQuotaUser(String quotaUser)
Description copied from class: AdExchangeBuyerIIRequest
Available to use for quota purposes for server-side applications. Can be any arbitrary string
assigned to a user, but should not exceed 40 characters.
- Overrides:
setQuotaUser
in class AdExchangeBuyerIIRequest<Proposal>
-
setUploadType
public AdExchangeBuyerII.Accounts.Proposals.Create setUploadType(String uploadType)
Description copied from class: AdExchangeBuyerIIRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class AdExchangeBuyerIIRequest<Proposal>
-
setUploadProtocol
public AdExchangeBuyerII.Accounts.Proposals.Create setUploadProtocol(String uploadProtocol)
Description copied from class: AdExchangeBuyerIIRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class AdExchangeBuyerIIRequest<Proposal>
-
getAccountId
public String getAccountId()
Account ID of the buyer.
-
setAccountId
public AdExchangeBuyerII.Accounts.Proposals.Create setAccountId(String accountId)
Account ID of the buyer.
-
set
public AdExchangeBuyerII.Accounts.Proposals.Create set(String parameterName,
Object value)
- Overrides:
set
in class AdExchangeBuyerIIRequest<Proposal>
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy