gads
Version:
An unofficial JS client library for the SOAP-based DFP Ads API
72 lines • 2.62 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
// The endpoint server for the DFP API
exports.DEFAULT_API_ENDPOINT = 'https://ads.google.com';
// The default application name
exports.DEFAULT_APPLICATION_NAME = 'INSERT_APPLICATION_NAME_HERE';
// The endpoint server for the DFP namespace
exports.DEFAULT_XMLNS_ENDPOINT = 'https://www.google.com';
// The library signature for DFP, to be appended to all application names
exports.LIB_SIG = 'DfpApi-Node';
// Suggested timeout between ReportService requests for report job status
exports.REPORT_JOB_STATUS_TIMEOUT_MS = 30000;
// A dictionary of supported DFP services
exports.SERVICES = {
'ActivityGroupService': true,
'ActivityService': true,
'AdExclusionRuleService': true,
'AdRuleService': true,
'AudienceSegmentService': true,
'BaseRateService': true,
'CdnConfigurationService': true,
'CompanyService': true,
'ContactService': true,
'ContentBundleService': true,
'ContentMetadataKeyHierarchyService': true,
'ContentService': true,
'CreativeService': true,
'CreativeSetService': true,
'CreativeTemplateService': true,
'CreativeWrapperService': true,
'CustomFieldService': true,
'CustomTargetingService': true,
'DaiAuthenticationKeyService': true,
'ExchangeRateService': true,
'ForecastService': true,
'InventoryService': true,
'LabelService': true,
'LineItemCreativeAssociationService': true,
'LineItemService': true,
'LineItemTemplateService': true,
'LiveStreamEventService': true,
'MobileApplicationService': true,
'NativeStyleService': true,
'NetworkService': true,
'OrderService': true,
'PackageService': true,
'PlacementService': true,
'PremiumRateService': true,
'ProductPackageItemService': true,
'ProductPackageService': true,
'ProductService': true,
'ProductTemplateService': true,
'ProposalLineItemService': true,
'ProposalService': true,
'PublisherQueryLanguageService': true,
'RateCardService': true,
'ReconciliationLineItemReportService': true,
'ReconciliationOrderReportService': true,
'ReconciliationReportRowService': true,
'ReconciliationReportService': true,
'ReportService': true,
'SuggestedAdUnitService': true,
'TeamService': true,
'UserService': true,
'UserTeamAssociationService': true,
'WorkflowRequestService': true
};
// The suggested page limit per page fetched from the API
exports.SUGGESTED_PAGE_LIMIT = 500;
// The current DFP version
exports.VERSION = 'v201808';
//# sourceMappingURL=constants.js.map