public class GetMethods extends Object
Constructor and Description |
---|
GetMethods(AbstractConfig connectionStrategy) |
Modifier and Type | Method and Description |
---|---|
List<com.google.api.ads.dfp.axis.v201711.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.v201711.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.v201711.Role> |
getAllRoles()
Returns the Role objects that are defined for the users of the network.
|
List<com.google.api.ads.dfp.axis.v201711.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.v201711.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.v201711.User |
getCurrentUser()
Returns the current User.
|
List<com.google.api.ads.dfp.axis.v201711.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.v201711.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.v201711.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.v201711.AdUnit> getAdUnits(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws DfpApiException, DfpCommunicationException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringqueryOrder
- the query order for the statement
the query limit for the statementqueryOffset
- the query offset for the statementList<AdUnit>
List of ad units that match with the parametersDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<com.google.api.ads.dfp.axis.v201711.AdUnitSize> getAdUnitSizes(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws DfpApiException, DfpCommunicationException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringqueryOrder
- the query order for the statement
the query limit for the statementqueryOffset
- the query offset for the statementList<AdUnitSize>
List of ad unit sizes that match with the parametersDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<com.google.api.ads.dfp.axis.v201711.Role> getAllRoles() throws DfpApiException, DfpCommunicationException
DfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public com.google.api.ads.dfp.axis.v201711.User getCurrentUser() throws DfpApiException, DfpCommunicationException
DfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<com.google.api.ads.dfp.axis.v201711.Company> getCompanies(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws DfpApiException, DfpCommunicationException
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 parametersDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<com.google.api.ads.dfp.axis.v201711.Contact> getContacts(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws DfpApiException, DfpCommunicationException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringqueryOrder
- the query order for the statement
the query limit for the statementqueryOffset
- the query offset for the statementList<Contact>
List of contacts that match with the parametersDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<com.google.api.ads.dfp.axis.v201711.LineItem> getLineItems(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws DfpApiException, DfpCommunicationException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringqueryOrder
- the query order for the statement
the query limit for the statementqueryOffset
- the query offset for the statementList<LineItem>
List of line items that match with the parametersDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<com.google.api.ads.dfp.axis.v201711.Order> getOrders(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws DfpApiException, DfpCommunicationException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringqueryOrder
- the query order for the statement
the query limit for the statementqueryOffset
- the query offset for the statementList<Order>
List of orders that match with the parametersDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)public List<com.google.api.ads.dfp.axis.v201711.User> getUsers(String queryString, Map<String,Object> queryParams, String queryOrder, @Default(value="0") Integer queryOffset) throws DfpApiException, DfpCommunicationException
queryString
- the query string for the statementqueryParams
- a map with the query params included in the query stringqueryOrder
- the query user for the statement
the query limit for the statementqueryOffset
- the query offset for the statementList<User>
List of users that match with the parametersDfpApiException
- if an exception is thrown by the API being calledDfpCommunicationException
- if there is a communication problem with the api (such as timeouts etc)Copyright © 2010–2018. All rights reserved.