UNPKG

@niur/google-admanager-api

Version:
31 lines 976 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CreativeService = void 0; class CreativeService { constructor(client) { this._client = client; } async createCreatives(creatives) { return this._client.createCreatives({ creatives }); } async getCreativesByStatement(filterStatement) { return this._client.getCreativesByStatement({ filterStatement, }); } async performCreativeAction(creativeAction, filterStatement) { return this._client.performCreativeAction({ creativeAction: { attributes: { 'xsi:type': creativeAction.constructor.name, }, }, filterStatement, }); } async updateCreatives(creatives) { return this._client.updateCreatives({ creatives }); } } exports.CreativeService = CreativeService; //# sourceMappingURL=creative.service.js.map