public class GetMethods extends Object
Constructor and Description |
---|
GetMethods(AbstractConfig connectionStrategy)
Initialise the get methods with the specified connection strategy.
|
Modifier and Type | Method and Description |
---|---|
List<com.google.api.ads.admanager.axis.v201902.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.admanager.axis.v201902.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.admanager.axis.v201902.Role> |
getAllRoles()
Returns the Role objects that are defined for the users of the network.
|
List<com.google.api.ads.admanager.axis.v201902.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.admanager.axis.v201902.Contact> |
getContacts(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the contacts that match with the queryString.
|
com.google.api.ads.admanager.axis.v201902.User |
getCurrentUser()
Returns the current User.
|
List<com.google.api.ads.admanager.axis.v201902.CustomField> |
getCustomFields(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the CustomFields that match with the queryString.
|
List<com.google.api.ads.admanager.axis.v201902.CustomTargetingKey> |
getCustomTargetingKeys(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Custom Targeting Keys that match with the queryString.
|
List<com.google.api.ads.admanager.axis.v201902.CustomTargetingValue> |
getCustomTargetingValues(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Custom Targeting Values that match with the queryString.
|
List<com.google.api.ads.admanager.axis.v201902.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.admanager.axis.v201902.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.admanager.axis.v201902.Placement> |
getPlacements(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Placements that match with the queryString.
|
List<com.google.api.ads.admanager.axis.v201902.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.admanager.axis.v201902.User> |
getUsers(String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Retrieve the Users that match with the queryString.
|
public GetMethods(AbstractConfig connectionStrategy)
connectionStrategy
- the connection strategy used to connect to the APIpublic List<com.google.api.ads.admanager.axis.v201902.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.admanager.axis.v201902.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.admanager.axis.v201902.Role> getAllRoles() throws AdManagerApiException, AdManagerCommunicationException
List<Role>
List of Roles.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.admanager.axis.v201902.User getCurrentUser() throws AdManagerApiException, AdManagerCommunicationException
User
User.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.admanager.axis.v201902.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.admanager.axis.v201902.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.admanager.axis.v201902.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.admanager.axis.v201902.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.admanager.axis.v201902.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.admanager.axis.v201902.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.public List<com.google.api.ads.admanager.axis.v201902.CustomField> getCustomFields(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<CustomField>
List of customFields 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.public List<com.google.api.ads.admanager.axis.v201902.CustomTargetingKey> getCustomTargetingKeys(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<CustomTargetingKey>
List of custom targeting keys 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.public List<com.google.api.ads.admanager.axis.v201902.CustomTargetingValue> getCustomTargetingValues(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<CustomTargetingValue>
List of custom targeting values
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.public List<com.google.api.ads.admanager.axis.v201902.Placement> getPlacements(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<Placement>
List of placements 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.