Class AccountsResource.CreativesResource
The "creatives" collection of methods.
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.CreativesResource
Constructors
CreativesResource(IClientService)
Constructs a new resource.
Declaration
public CreativesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
DealAssociations
Gets the DealAssociations resource.
Declaration
public virtual AccountsResource.CreativesResource.DealAssociationsResource DealAssociations { get; }
Property Value
Type | Description |
---|---|
AccountsResource.CreativesResource.DealAssociationsResource |
Methods
Create(Creative, string)
Creates a creative.
Declaration
public virtual AccountsResource.CreativesResource.CreateRequest Create(Creative body, string accountId)
Parameters
Type | Name | Description |
---|---|---|
Creative | body | The body of the request. |
string | accountId | The account that this creative belongs to. Can be used to filter the response of the creatives.list method. |
Returns
Type | Description |
---|---|
AccountsResource.CreativesResource.CreateRequest |
Get(string, string)
Gets a creative.
Declaration
public virtual AccountsResource.CreativesResource.GetRequest Get(string accountId, string creativeId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | The account the creative belongs to. |
string | creativeId | The ID of the creative to retrieve. |
Returns
Type | Description |
---|---|
AccountsResource.CreativesResource.GetRequest |
List(string)
Lists creatives.
Declaration
public virtual AccountsResource.CreativesResource.ListRequest List(string accountId)
Parameters
Type | Name | Description |
---|---|---|
string | accountId | The account to list the creatives from. Specify "-" to list all creatives the current user has access to. |
Returns
Type | Description |
---|---|
AccountsResource.CreativesResource.ListRequest |
StopWatching(StopWatchingCreativeRequest, string, string)
Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status.
Declaration
public virtual AccountsResource.CreativesResource.StopWatchingRequest StopWatching(StopWatchingCreativeRequest body, string accountId, string creativeId)
Parameters
Type | Name | Description |
---|---|---|
StopWatchingCreativeRequest | body | The body of the request. |
string | accountId | The account of the creative to stop notifications for. |
string | creativeId | The creative ID of the creative to stop notifications for. Specify "-" to specify stopping account level notifications. |
Returns
Type | Description |
---|---|
AccountsResource.CreativesResource.StopWatchingRequest |
Update(Creative, string, string)
Updates a creative.
Declaration
public virtual AccountsResource.CreativesResource.UpdateRequest Update(Creative body, string accountId, string creativeId)
Parameters
Type | Name | Description |
---|---|---|
Creative | body | The body of the request. |
string | accountId | The account that this creative belongs to. Can be used to filter the response of the creatives.list method. |
string | creativeId | The buyer-defined creative ID of this creative. Can be used to filter the response of the creatives.list method. |
Returns
Type | Description |
---|---|
AccountsResource.CreativesResource.UpdateRequest |
Watch(WatchCreativeRequest, string, string)
Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.
Declaration
public virtual AccountsResource.CreativesResource.WatchRequest Watch(WatchCreativeRequest body, string accountId, string creativeId)
Parameters
Type | Name | Description |
---|---|---|
WatchCreativeRequest | body | The body of the request. |
string | accountId | The account of the creative to watch. |
string | creativeId | The creative ID to watch for status changes. Specify "-" to watch all creatives under the above account. If both creative-level and account-level notifications are sent, only a single notification will be sent to the creative-level notification topic. |
Returns
Type | Description |
---|---|
AccountsResource.CreativesResource.WatchRequest |