public class Dfareporting.CreativeAssets.Insert extends DfareportingRequest<CreativeAssetMetadata>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Insert(Long profileId,
Long advertiserId,
CreativeAssetMetadata content)
Inserts a new creative asset.
|
protected |
Insert(Long profileId,
Long advertiserId,
CreativeAssetMetadata content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Inserts a new creative asset.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getAdvertiserId()
Advertiser ID of this creative.
|
Long |
getProfileId()
User profile ID associated with this request.
|
Dfareporting.CreativeAssets.Insert |
set(String parameterName,
Object value) |
Dfareporting.CreativeAssets.Insert |
setAdvertiserId(Long advertiserId)
Advertiser ID of this creative.
|
Dfareporting.CreativeAssets.Insert |
setAlt(String alt)
Data format for the response.
|
Dfareporting.CreativeAssets.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Dfareporting.CreativeAssets.Insert |
setKey(String key)
API key.
|
Dfareporting.CreativeAssets.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Dfareporting.CreativeAssets.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Dfareporting.CreativeAssets.Insert |
setProfileId(Long profileId)
User profile ID associated with this request.
|
Dfareporting.CreativeAssets.Insert |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Dfareporting.CreativeAssets.Insert |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Insert(Long profileId, Long advertiserId, CreativeAssetMetadata content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Dfareporting.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
profileId - User profile ID associated with this request.advertiserId - Advertiser ID of this creative. This is a required field.content - the CreativeAssetMetadataprotected Insert(Long profileId, Long advertiserId, CreativeAssetMetadata content, com.google.api.client.http.AbstractInputStreamContent mediaContent)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Dfareporting.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
This constructor should be used for uploading media content.
profileId - User profile ID associated with this request.@param advertiserId Advertiser ID of this creative. This is a required field.content - the CreativeAssetMetadata media metadata or null if nonemediaContent - The media HTTP content or null if none.public Dfareporting.CreativeAssets.Insert setAlt(String alt)
DfareportingRequestsetAlt in class DfareportingRequest<CreativeAssetMetadata>public Dfareporting.CreativeAssets.Insert setFields(String fields)
DfareportingRequestsetFields in class DfareportingRequest<CreativeAssetMetadata>public Dfareporting.CreativeAssets.Insert setKey(String key)
DfareportingRequestsetKey in class DfareportingRequest<CreativeAssetMetadata>public Dfareporting.CreativeAssets.Insert setOauthToken(String oauthToken)
DfareportingRequestsetOauthToken in class DfareportingRequest<CreativeAssetMetadata>public Dfareporting.CreativeAssets.Insert setPrettyPrint(Boolean prettyPrint)
DfareportingRequestsetPrettyPrint in class DfareportingRequest<CreativeAssetMetadata>public Dfareporting.CreativeAssets.Insert setQuotaUser(String quotaUser)
DfareportingRequestsetQuotaUser in class DfareportingRequest<CreativeAssetMetadata>public Dfareporting.CreativeAssets.Insert setUserIp(String userIp)
DfareportingRequestsetUserIp in class DfareportingRequest<CreativeAssetMetadata>public Long getProfileId()
public Dfareporting.CreativeAssets.Insert setProfileId(Long profileId)
public Long getAdvertiserId()
public Dfareporting.CreativeAssets.Insert setAdvertiserId(Long advertiserId)
public Dfareporting.CreativeAssets.Insert set(String parameterName, Object value)
set in class DfareportingRequest<CreativeAssetMetadata>Copyright © 2011–2019 Google. All rights reserved.