UNPKG

ng-gpt

Version:
37 lines (36 loc) 1.73 kB
import { PubAdsService, SafeFrameConfig } from '../ng-gpt-googletag.interface'; import * as i0 from "@angular/core"; export declare class PubadsSetConfigService { /** * Passes location information from websites so you can geo-target line items to specific locations. * * @param address Freeform address. * @param pubads Publisher Ads service. This service is used to fetch and show ads from your Google Ad Manager account. */ addLocation(address: string, pubads: PubAdsService): void; /** * Sets the value for the publisher-provided ID. * * @param ppid An alphanumeric ID provided by the publisher with a recommended maximum of 150 characters. * @param pubads Publisher Ads service. This service is used to fetch and show ads from your Google Ad Manager account. */ addPPID(ppid: string, pubads: PubAdsService): void; /** * Sets a custom targeting parameter for this slot. * * @param globalTargeting * @param pubads Publisher Ads service. This service is used to fetch and show ads from your Google Ad Manager account. */ addTargeting(globalTargeting: { [index: string]: any; }, pubads: PubAdsService): void; /** * Sets the page-level preferences for SafeFrame configuration. * * @param safeFrameConfig The configuration object. * @param pubads Publisher Ads service. This service is used to fetch and show ads from your Google Ad Manager account. */ addSafeFrameConfig(safeFrameConfig: SafeFrameConfig, pubads: PubAdsService): void; static ɵfac: i0.ɵɵFactoryDeclaration<PubadsSetConfigService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<PubadsSetConfigService>; }