public class Dfareporting.CreativeAssets
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Dfareporting.CreativeAssets.Insert |
| Constructor and Description |
|---|
Dfareporting.CreativeAssets() |
| Modifier and Type | Method and Description |
|---|---|
Dfareporting.CreativeAssets.Insert |
insert(java.lang.Long profileId,
java.lang.Long advertiserId,
CreativeAssetMetadata content)
Inserts a new creative asset.
|
Dfareporting.CreativeAssets.Insert |
insert(java.lang.Long profileId,
java.lang.Long advertiserId,
CreativeAssetMetadata content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Inserts a new creative asset.
|
public Dfareporting.CreativeAssets.Insert insert(java.lang.Long profileId, java.lang.Long advertiserId, CreativeAssetMetadata content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.profileId - User profile ID associated with this request.advertiserId - Advertiser ID of this creative. This is a required field.content - the CreativeAssetMetadatajava.io.IOExceptionpublic Dfareporting.CreativeAssets.Insert insert(java.lang.Long profileId, java.lang.Long advertiserId, CreativeAssetMetadata content, com.google.api.client.http.AbstractInputStreamContent mediaContent) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
This method 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.java.io.IOException - if the initialization of the request fails