public class DisplayVideo.Advertisers.Channels.Get extends DisplayVideoRequest<Channel>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(Long advertiserId,
Long channelId)
Gets a channel for a partner or advertiser.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
Long |
getAdvertiserId()
The ID of the advertiser that owns the fetched channel.
|
Long |
getChannelId()
Required.
|
Long |
getPartnerId()
The ID of the partner that owns the fetched channel.
|
DisplayVideo.Advertisers.Channels.Get |
set(String parameterName,
Object value) |
DisplayVideo.Advertisers.Channels.Get |
set$Xgafv(String $Xgafv)
V1 error format.
|
DisplayVideo.Advertisers.Channels.Get |
setAccessToken(String accessToken)
OAuth access token.
|
DisplayVideo.Advertisers.Channels.Get |
setAdvertiserId(Long advertiserId)
The ID of the advertiser that owns the fetched channel.
|
DisplayVideo.Advertisers.Channels.Get |
setAlt(String alt)
Data format for response.
|
DisplayVideo.Advertisers.Channels.Get |
setCallback(String callback)
JSONP
|
DisplayVideo.Advertisers.Channels.Get |
setChannelId(Long channelId)
Required.
|
DisplayVideo.Advertisers.Channels.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
DisplayVideo.Advertisers.Channels.Get |
setKey(String key)
API key.
|
DisplayVideo.Advertisers.Channels.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
DisplayVideo.Advertisers.Channels.Get |
setPartnerId(Long partnerId)
The ID of the partner that owns the fetched channel.
|
DisplayVideo.Advertisers.Channels.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
DisplayVideo.Advertisers.Channels.Get |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
DisplayVideo.Advertisers.Channels.Get |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
DisplayVideo.Advertisers.Channels.Get |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(Long advertiserId, Long channelId)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
DisplayVideo.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
advertiserId - The ID of the advertiser that owns the fetched channel.channelId - Required. The ID of the channel to fetch.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Channel>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Channel>IOExceptionpublic DisplayVideo.Advertisers.Channels.Get set$Xgafv(String $Xgafv)
DisplayVideoRequestset$Xgafv in class DisplayVideoRequest<Channel>public DisplayVideo.Advertisers.Channels.Get setAccessToken(String accessToken)
DisplayVideoRequestsetAccessToken in class DisplayVideoRequest<Channel>public DisplayVideo.Advertisers.Channels.Get setAlt(String alt)
DisplayVideoRequestsetAlt in class DisplayVideoRequest<Channel>public DisplayVideo.Advertisers.Channels.Get setCallback(String callback)
DisplayVideoRequestsetCallback in class DisplayVideoRequest<Channel>public DisplayVideo.Advertisers.Channels.Get setFields(String fields)
DisplayVideoRequestsetFields in class DisplayVideoRequest<Channel>public DisplayVideo.Advertisers.Channels.Get setKey(String key)
DisplayVideoRequestsetKey in class DisplayVideoRequest<Channel>public DisplayVideo.Advertisers.Channels.Get setOauthToken(String oauthToken)
DisplayVideoRequestsetOauthToken in class DisplayVideoRequest<Channel>public DisplayVideo.Advertisers.Channels.Get setPrettyPrint(Boolean prettyPrint)
DisplayVideoRequestsetPrettyPrint in class DisplayVideoRequest<Channel>public DisplayVideo.Advertisers.Channels.Get setQuotaUser(String quotaUser)
DisplayVideoRequestsetQuotaUser in class DisplayVideoRequest<Channel>public DisplayVideo.Advertisers.Channels.Get setUploadType(String uploadType)
DisplayVideoRequestsetUploadType in class DisplayVideoRequest<Channel>public DisplayVideo.Advertisers.Channels.Get setUploadProtocol(String uploadProtocol)
DisplayVideoRequestsetUploadProtocol in class DisplayVideoRequest<Channel>public Long getAdvertiserId()
public DisplayVideo.Advertisers.Channels.Get setAdvertiserId(Long advertiserId)
public Long getChannelId()
public DisplayVideo.Advertisers.Channels.Get setChannelId(Long channelId)
public Long getPartnerId()
public DisplayVideo.Advertisers.Channels.Get setPartnerId(Long partnerId)
public DisplayVideo.Advertisers.Channels.Get set(String parameterName, Object value)
set in class DisplayVideoRequest<Channel>Copyright © 2011–2026 Google. All rights reserved.