target.apidocs.com.google.api.services.realtimebidding.v1.RealTimeBidding.Bidders.PretargetingConfigs.Create.html Maven / Gradle / Ivy
RealTimeBidding.Bidders.PretargetingConfigs.Create (Real-time Bidding API v1-rev20240801-2.0.0)
com.google.api.services.realtimebidding.v1
Class RealTimeBidding.Bidders.PretargetingConfigs.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.realtimebidding.v1.RealTimeBiddingRequest<PretargetingConfig>
-
- com.google.api.services.realtimebidding.v1.RealTimeBidding.Bidders.PretargetingConfigs.Create
-
- Enclosing class:
- RealTimeBidding.Bidders.PretargetingConfigs
public class RealTimeBidding.Bidders.PretargetingConfigs.Create
extends RealTimeBiddingRequest<PretargetingConfig>
-
-
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 parent,
PretargetingConfig content)
Creates a pretargeting configuration.
-
Method Summary
-
Methods inherited from class com.google.api.services.realtimebidding.v1.RealTimeBiddingRequest
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 parent,
PretargetingConfig content)
Creates a pretargeting configuration. A pretargeting configuration's state
(PretargetingConfig.state) is active upon creation, and it will start to affect traffic shortly
after. A bidder may create a maximum of 10 pretargeting configurations. Attempts to exceed this
maximum results in a 400 bad request error.
Create a request for the method "pretargetingConfigs.create".
This request holds the parameters needed by the the realtimebidding server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
RealTimeBidding.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
- Parameters:
parent
- Required. Name of the bidder to create the pretargeting configuration for. Format:
bidders/{bidderAccountId}
content
- the PretargetingConfig
- Since:
- 1.13
-
Method Detail
-
set$Xgafv
public RealTimeBidding.Bidders.PretargetingConfigs.Create set$Xgafv(String $Xgafv)
Description copied from class: RealTimeBiddingRequest
V1 error format.
- Overrides:
set$Xgafv
in class RealTimeBiddingRequest<PretargetingConfig>
-
setAccessToken
public RealTimeBidding.Bidders.PretargetingConfigs.Create setAccessToken(String accessToken)
Description copied from class: RealTimeBiddingRequest
OAuth access token.
- Overrides:
setAccessToken
in class RealTimeBiddingRequest<PretargetingConfig>
-
setAlt
public RealTimeBidding.Bidders.PretargetingConfigs.Create setAlt(String alt)
Description copied from class: RealTimeBiddingRequest
Data format for response.
- Overrides:
setAlt
in class RealTimeBiddingRequest<PretargetingConfig>
-
setCallback
public RealTimeBidding.Bidders.PretargetingConfigs.Create setCallback(String callback)
Description copied from class: RealTimeBiddingRequest
JSONP
- Overrides:
setCallback
in class RealTimeBiddingRequest<PretargetingConfig>
-
setFields
public RealTimeBidding.Bidders.PretargetingConfigs.Create setFields(String fields)
Description copied from class: RealTimeBiddingRequest
Selector specifying which fields to include in a partial response.
- Overrides:
setFields
in class RealTimeBiddingRequest<PretargetingConfig>
-
setKey
public RealTimeBidding.Bidders.PretargetingConfigs.Create setKey(String key)
Description copied from class: RealTimeBiddingRequest
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 RealTimeBiddingRequest<PretargetingConfig>
-
setOauthToken
public RealTimeBidding.Bidders.PretargetingConfigs.Create setOauthToken(String oauthToken)
Description copied from class: RealTimeBiddingRequest
OAuth 2.0 token for the current user.
- Overrides:
setOauthToken
in class RealTimeBiddingRequest<PretargetingConfig>
-
setPrettyPrint
public RealTimeBidding.Bidders.PretargetingConfigs.Create setPrettyPrint(Boolean prettyPrint)
Description copied from class: RealTimeBiddingRequest
Returns response with indentations and line breaks.
- Overrides:
setPrettyPrint
in class RealTimeBiddingRequest<PretargetingConfig>
-
setQuotaUser
public RealTimeBidding.Bidders.PretargetingConfigs.Create setQuotaUser(String quotaUser)
Description copied from class: RealTimeBiddingRequest
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 RealTimeBiddingRequest<PretargetingConfig>
-
setUploadType
public RealTimeBidding.Bidders.PretargetingConfigs.Create setUploadType(String uploadType)
Description copied from class: RealTimeBiddingRequest
Legacy upload protocol for media (e.g. "media", "multipart").
- Overrides:
setUploadType
in class RealTimeBiddingRequest<PretargetingConfig>
-
setUploadProtocol
public RealTimeBidding.Bidders.PretargetingConfigs.Create setUploadProtocol(String uploadProtocol)
Description copied from class: RealTimeBiddingRequest
Upload protocol for media (e.g. "raw", "multipart").
- Overrides:
setUploadProtocol
in class RealTimeBiddingRequest<PretargetingConfig>
-
getParent
public String getParent()
Required. Name of the bidder to create the pretargeting configuration for. Format:
bidders/{bidderAccountId}
-
setParent
public RealTimeBidding.Bidders.PretargetingConfigs.Create setParent(String parent)
Required. Name of the bidder to create the pretargeting configuration for. Format:
bidders/{bidderAccountId}
-
set
public RealTimeBidding.Bidders.PretargetingConfigs.Create set(String parameterName,
Object value)
- Overrides:
set
in class RealTimeBiddingRequest<PretargetingConfig>
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy