public class PqlService extends Object
Constructor and Description |
---|
PqlService() |
Modifier and Type | Method and Description |
---|---|
protected com.google.api.ads.admanager.axis.v201902.PublisherQueryLanguageServiceInterface |
createPqlService(com.google.api.ads.admanager.lib.client.AdManagerSession session) |
List<String[]> |
selectPql(com.google.api.ads.admanager.lib.client.AdManagerSession session,
String selectCols,
String fromTable,
String queryString,
Map<String,Object> queryParams,
String queryOrder,
Integer queryOffset)
Select the respective PQL.
|
protected com.google.api.ads.admanager.axis.v201902.PublisherQueryLanguageServiceInterface createPqlService(com.google.api.ads.admanager.lib.client.AdManagerSession session)
public List<String[]> selectPql(com.google.api.ads.admanager.lib.client.AdManagerSession session, String selectCols, String fromTable, String queryString, Map<String,Object> queryParams, String queryOrder, Integer queryOffset) throws AdManagerCommunicationException
session
- the API sessionselectCols
- the columnsfromTable
- the table namequeryString
- the queryqueryParams
- the query parametersqueryOrder
- the orderqueryOffset
- the offsetList<String[]>
the PQLsAdManagerCommunicationException
- if there is a communication problem with the API (such as
timeouts etc.)Copyright © 2010–2019. All rights reserved.