target.apidocs.com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add.html Maven / Gradle / Ivy
AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add (Ad Exchange Buyer API II v2beta1-rev20230502-2.0.0)
com.google.api.services.adexchangebuyer2.v2beta1
Class AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add
- 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<Empty>
-
- com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add
-
- Enclosing class:
- AdExchangeBuyerII.Accounts.Creatives.DealAssociations
public class AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add
extends AdExchangeBuyerIIRequest<Empty>
-
-
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
Add(String accountId,
String creativeId,
AddDealAssociationRequest content)
Associate an existing deal with a creative.
-
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
-
Add
protected Add(String accountId,
String creativeId,
AddDealAssociationRequest content)
Associate an existing deal with a creative.
Create a request for the method "dealAssociations.add".
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
- The account the creative belongs to.
creativeId
- The ID of the creative associated with the deal.
content
- the AddDealAssociationRequest
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add set$Xgafv(String $Xgafv)
Description copied from class: AdExchangeBuyerIIRequest
V1 error format.
- Overrides:
set$Xgafv
in class AdExchangeBuyerIIRequest<Empty>
-
setAccessToken
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add setAccessToken(String accessToken)
Description copied from class: AdExchangeBuyerIIRequest
OAuth access token.
- Overrides:
setAccessToken
in class AdExchangeBuyerIIRequest<Empty>
-
setAlt
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add setAlt(String alt)
Description copied from class: AdExchangeBuyerIIRequest
Data format for response.
- Overrides:
setAlt
in class AdExchangeBuyerIIRequest<Empty>
-
setCallback
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add setCallback(String callback)
Description copied from class: AdExchangeBuyerIIRequest
JSONP
- Overrides:
setCallback
in class AdExchangeBuyerIIRequest<Empty>
-
setFields
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add setFields(String fields)
Description copied from class: AdExchangeBuyerIIRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class AdExchangeBuyerIIRequest<Empty>
-
setKey
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add 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<Empty>
-
setOauthToken
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add setOauthToken(String oauthToken)
Description copied from class: AdExchangeBuyerIIRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class AdExchangeBuyerIIRequest<Empty>
-
setPrettyPrint
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add setPrettyPrint(Boolean prettyPrint)
Description copied from class: AdExchangeBuyerIIRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class AdExchangeBuyerIIRequest<Empty>
-
setQuotaUser
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add 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<Empty>
-
setUploadType
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add setUploadType(String uploadType)
Description copied from class: AdExchangeBuyerIIRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class AdExchangeBuyerIIRequest<Empty>
-
setUploadProtocol
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add setUploadProtocol(String uploadProtocol)
Description copied from class: AdExchangeBuyerIIRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class AdExchangeBuyerIIRequest<Empty>
-
getAccountId
public String getAccountId()
The account the creative belongs to.
-
setAccountId
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add setAccountId(String accountId)
The account the creative belongs to.
-
getCreativeId
public String getCreativeId()
The ID of the creative associated with the deal.
-
setCreativeId
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add setCreativeId(String creativeId)
The ID of the creative associated with the deal.
-
set
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add set(String parameterName,
Object value)
- Overrides:
set
in class AdExchangeBuyerIIRequest<Empty>
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy