target.apidocs.com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Creatives.DealAssociations.html Maven / Gradle / Ivy
AdExchangeBuyerII.Accounts.Creatives.DealAssociations (Ad Exchange Buyer API II v2beta1-rev20230502-2.0.0)
com.google.api.services.adexchangebuyer2.v2beta1
Class AdExchangeBuyerII.Accounts.Creatives.DealAssociations
- java.lang.Object
-
- com.google.api.services.adexchangebuyer2.v2beta1.AdExchangeBuyerII.Accounts.Creatives.DealAssociations
-
- Enclosing class:
- AdExchangeBuyerII.Accounts.Creatives
public class AdExchangeBuyerII.Accounts.Creatives.DealAssociations
extends Object
The "dealAssociations" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add
class
AdExchangeBuyerII.Accounts.Creatives.DealAssociations.List
class
AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Remove
-
Constructor Summary
Constructors
Constructor and Description
DealAssociations()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add
add(String accountId,
String creativeId,
AddDealAssociationRequest content)
Associate an existing deal with a creative.
AdExchangeBuyerII.Accounts.Creatives.DealAssociations.List
list(String accountId,
String creativeId)
List all creative-deal associations.
AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Remove
remove(String accountId,
String creativeId,
RemoveDealAssociationRequest content)
Remove the association between a deal and a creative.
-
-
Method Detail
-
add
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Add add(String accountId,
String creativeId,
AddDealAssociationRequest content)
throws IOException
Associate an existing deal with a creative.
Create a request for the method "dealAssociations.add".
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 associated with the deal.
content
- the AddDealAssociationRequest
- Returns:
- the request
- Throws:
IOException
-
list
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.List list(String accountId,
String creativeId)
throws IOException
List all creative-deal associations.
Create a request for the method "dealAssociations.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 associations from. Specify "-" to list all creatives the current user has
access to.
creativeId
- The creative ID to list the associations from. Specify "-" to list all creatives under the above
account.
- Returns:
- the request
- Throws:
IOException
-
remove
public AdExchangeBuyerII.Accounts.Creatives.DealAssociations.Remove remove(String accountId,
String creativeId,
RemoveDealAssociationRequest content)
throws IOException
Remove the association between a deal and a creative.
Create a request for the method "dealAssociations.remove".
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 associated with the deal.
content
- the RemoveDealAssociationRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy