public class GetMethods extends Object
| Constructor and Description |
|---|
GetMethods(AbstractConfig connectionStrategy) |
| Modifier and Type | Method and Description |
|---|---|
List<com.google.api.ads.dfp.axis.v201805.AdUnit> |
getAdUnits(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Ad Units that match with the queryString.
|
List<com.google.api.ads.dfp.axis.v201805.AdUnitSize> |
getAdUnitSizes(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Ad Unit sizes that match with the queryString.
|
List<com.google.api.ads.dfp.axis.v201805.Role> |
getAllRoles()
Returns the Role objects that are defined for the users of the network.
|
List<com.google.api.ads.dfp.axis.v201805.Company> |
getCompanies(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the companies that match with the queryString.
|
List<com.google.api.ads.dfp.axis.v201805.Contact> |
getContacts(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the contacts that match with the queryString.
|
com.google.api.ads.dfp.axis.v201805.User |
getCurrentUser()
Returns the current User.
|
List<com.google.api.ads.dfp.axis.v201805.LineItem> |
getLineItems(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Line Items that match with the queryString.
|
List<com.google.api.ads.dfp.axis.v201805.Order> |
getOrders(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Orders that match with the queryString.
|
List<com.google.api.ads.dfp.axis.v201805.SavedQuery> |
getSavedQueryByStatement(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Reconciliation Order Reports that match with the queryString.
|
List<com.google.api.ads.dfp.axis.v201805.User> |
getUsers(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Users that match with the queryString.
|
public GetMethods(AbstractConfig connectionStrategy)
public List<com.google.api.ads.dfp.axis.v201805.AdUnit> getAdUnits(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws AdManagerApiException, AdManagerCommunicationException
queryString - the query string for the statementqueryParams - a map with the query params included in the query stringqueryOrder - the query order for the statementqueryOffset - the query offset for the statementList<AdUnit> List of ad units that match with the parametersAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as timeouts etc.)public List<com.google.api.ads.dfp.axis.v201805.AdUnitSize> getAdUnitSizes(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws AdManagerApiException, AdManagerCommunicationException
queryString - the query string for the statementqueryParams - a map with the query params included in the query stringqueryOrder - the query order for the statementqueryOffset - the query offset for the statementList<AdUnitSize> List of ad unit sizes that match with the parametersAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as timeouts etc.)public List<com.google.api.ads.dfp.axis.v201805.Role> getAllRoles() throws AdManagerApiException, AdManagerCommunicationException
AdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as timeouts etc.)public com.google.api.ads.dfp.axis.v201805.User getCurrentUser()
throws AdManagerApiException,
AdManagerCommunicationException
AdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as timeouts etc.)public List<com.google.api.ads.dfp.axis.v201805.Company> getCompanies(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws AdManagerApiException, AdManagerCommunicationException
queryString - the query string for the statementqueryParams - a map with the query params included in the query stringqueryOrder - the query order for the statementqueryOffset - the query offset for the statementList<Company> List of companies that match with the parametersAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API. (such as timeouts etc.)public List<com.google.api.ads.dfp.axis.v201805.Contact> getContacts(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws AdManagerApiException, AdManagerCommunicationException
queryString - the query string for the statementqueryParams - a map with the query params included in the query stringqueryOrder - the query order for the statementqueryOffset - the query offset for the statementList<Contact> List of contacts that match with the parametersAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as timeouts etc.)public List<com.google.api.ads.dfp.axis.v201805.LineItem> getLineItems(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws AdManagerApiException, AdManagerCommunicationException
queryString - the query string for the statementqueryParams - a map with the query params included in the query stringqueryOrder - the query order for the statementqueryOffset - the query offset for the statementList<LineItem> List of line items that match with the parametersAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as timeouts etc.)public List<com.google.api.ads.dfp.axis.v201805.Order> getOrders(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws AdManagerApiException, AdManagerCommunicationException
queryString - the query string for the statementqueryParams - a map with the query params included in the query stringqueryOrder - the query order for the statementqueryOffset - the query offset for the statementList<Order> List of orders that match with the parametersAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as timeouts etc.)public List<com.google.api.ads.dfp.axis.v201805.User> getUsers(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws AdManagerApiException, AdManagerCommunicationException
queryString - the query string for the statementqueryParams - a map with the query params included in the query stringqueryOrder - the query user for the statementqueryOffset - the query offset for the statementList<User> List of users that match with the parametersAdManagerApiException - if an exception is thrown by the API being calledAdManagerCommunicationException - if there is a communication problem with the API (such as timeouts etc.)public List<com.google.api.ads.dfp.axis.v201805.SavedQuery> getSavedQueryByStatement(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws AdManagerApiException, AdManagerCommunicationException
queryString - the query string for the statementqueryParams - a map with the query params included in the query stringqueryOrder - the query order for the statementqueryOffset - the query offset for the statementList<SavedQuery> List of saved query that match with the parametersAdManagerCommunicationException - if there is a communication problem with the API (such as timeouts etc.)AdManagerApiException - if there is a problem with the request made to the API.Copyright © 2010–2019. All rights reserved.