UNPKG

@guardian/google-admanager-api

Version:

Google Ad Manager API Client Library for NodeJs

22 lines 1.4 kB
import type { Statement } from "../../../common/types"; import type { ResultSet } from "./publisherQueryLanguage.type"; /** * Provides methods for executing a PQL {@link https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.Statement Statement} * to retrieve information from the system. In order to support the selection of columns of interest from various tables, * {@link https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.Statement Statement} objects support a "select" clause. * * An example query text might be **`"select CountryCode, Name from Geo_Target"`**, where **`CountryCode`** and **`Name`** are columns of interest and **`Geo_Target`** is the table. * * The following tables are supported: */ export interface PublisherQueryLanguageServiceOperations { /** * Retrieves rows of data that satisfy the given * {@link https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.Statement#query Statement.query} from the system. * * @param selectStatement a Publisher Query Language statement used to specify what data needs to returned * @returns a result set of data that matches the given filter */ select(selectStatement: Statement): Promise<ResultSet>; } //# sourceMappingURL=publisherQueryLanguageService.interface.d.ts.map