target.apidocs.com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Creatives.html Maven / Gradle / Ivy
AdExchangeBuyerII.Accounts.Creatives (Ad Exchange Buyer API II v2beta1-rev20230502-2.0.0)
com.google.api.services.adexchangebuyer2.v2beta1
Class AdExchangeBuyerII.Accounts.Creatives
- java.lang.Object
-
- com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Creatives
-
- Enclosing class:
- AdExchangeBuyerII.Accounts
public class AdExchangeBuyerII.Accounts.Creatives
extends Object
The "creatives" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AdExchangeBuyerII.Accounts.Creatives.Create
class
AdExchangeBuyerII.Accounts.Creatives.DealAssociations
The "dealAssociations" collection of methods.
class
AdExchangeBuyerII.Accounts.Creatives.Get
class
AdExchangeBuyerII.Accounts.Creatives.List
class
AdExchangeBuyerII.Accounts.Creatives.StopWatching
class
AdExchangeBuyerII.Accounts.Creatives.Update
class
AdExchangeBuyerII.Accounts.Creatives.Watch
-
Constructor Summary
Constructors
Constructor and Description
Creatives()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AdExchangeBuyerII.Accounts.Creatives.Create
create(String accountId,
Creative content)
Creates a creative.
AdExchangeBuyerII.Accounts.Creatives.DealAssociations
dealAssociations()
An accessor for creating requests from the DealAssociations collection.
AdExchangeBuyerII.Accounts.Creatives.Get
get(String accountId,
String creativeId)
Gets a creative.
AdExchangeBuyerII.Accounts.Creatives.List
list(String accountId)
Lists creatives.
AdExchangeBuyerII.Accounts.Creatives.StopWatching
stopWatching(String accountId,
String creativeId,
StopWatchingCreativeRequest content)
Stops watching a creative.
AdExchangeBuyerII.Accounts.Creatives.Update
update(String accountId,
String creativeId,
Creative content)
Updates a creative.
AdExchangeBuyerII.Accounts.Creatives.Watch
watch(String accountId,
String creativeId,
WatchCreativeRequest content)
Watches a creative.
-
-
Method Detail
-
create
public AdExchangeBuyerII.Accounts.Creatives.Create create(String accountId,
Creative content)
throws IOException
Creates a creative.
Create a request for the method "creatives.create".
This request holds the parameters needed by the adexchangebuyer2 server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- The account that this creative belongs to. Can be used to filter the response of the creatives.list
method.
content
- the Creative
- Returns:
- the request
- Throws:
IOException
-
get
public AdExchangeBuyerII.Accounts.Creatives.Get get(String accountId,
String creativeId)
throws IOException
Gets a creative.
Create a request for the method "creatives.get".
This request holds the parameters needed by the adexchangebuyer2 server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- The account the creative belongs to.
creativeId
- The ID of the creative to retrieve.
- Returns:
- the request
- Throws:
IOException
-
list
public AdExchangeBuyerII.Accounts.Creatives.List list(String accountId)
throws IOException
Lists creatives.
Create a request for the method "creatives.list".
This request holds the parameters needed by the adexchangebuyer2 server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- The account to list the creatives from. Specify "-" to list all creatives the current user has
access to.
- Returns:
- the request
- Throws:
IOException
-
stopWatching
public AdExchangeBuyerII.Accounts.Creatives.StopWatching stopWatching(String accountId,
String creativeId,
StopWatchingCreativeRequest content)
throws IOException
Stops watching a creative. Will stop push notifications being sent to the topics when the
creative changes status.
Create a request for the method "creatives.stopWatching".
This request holds the parameters needed by the adexchangebuyer2 server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
accountId
- The account of the creative to stop notifications for.
creativeId
- The creative ID of the creative to stop notifications for. Specify "-" to specify stopping account
level notifications.
content
- the StopWatchingCreativeRequest
- Returns:
- the request
- Throws:
IOException
-
update
public AdExchangeBuyerII.Accounts.Creatives.Update update(String accountId,
String creativeId,
Creative content)
throws IOException
Updates a creative.
Create a request for the method "creatives.update".
This request holds the parameters needed by the adexchangebuyer2 server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- The account that this creative belongs to. Can be used to filter the response of the creatives.list
method.
creativeId
- The buyer-defined creative ID of this creative. Can be used to filter the response of the
creatives.list method.
content
- the Creative
- Returns:
- the request
- Throws:
IOException
-
watch
public AdExchangeBuyerII.Accounts.Creatives.Watch watch(String accountId,
String creativeId,
WatchCreativeRequest content)
throws IOException
Watches a creative. Will result in push notifications being sent to the topic when the creative
changes status.
Create a request for the method "creatives.watch".
This request holds the parameters needed by the adexchangebuyer2 server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
accountId
- The account of the creative to watch.
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.
content
- the WatchCreativeRequest
- Returns:
- the request
- Throws:
IOException
-
dealAssociations
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations dealAssociations()
An accessor for creating requests from the DealAssociations collection.
The typical use is:
AdExchangeBuyerII adexchangebuyer2 = new AdExchangeBuyerII(...);
AdExchangeBuyerII.DealAssociations.List request = adexchangebuyer2.dealAssociations().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy