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,EAAW,mCAAkDL,EAAIO,OAAO,OAASH,EAAa,OAAS,GAAKA,GAAe,UAItIC,EAAWA,6FAAwHL,EAAI/tB,KAAK,KAAM,aAAapa,EAAMwP,MAAM,GAAM,GAAM24B,EAAI/tB,KAAK,aAAc,GAAGpa,EAAMwP,MAAM,GAAM,GAAM,6BAA+B24B,EAAI/tB,KAAK,aAAc,GAAGhb,EAAKgD,UAAU,0BAA0B,GAAM,GAAtUomC,kBACPxoC,EAAM8yB,aACV0V,GAAsB,6CAGtBA,GAAsB,yCAElBrpC,GAAcqzB,IAClBgW,GAAsB,iDAEtBA,GAAsB,UAEtBA,GAAsB,WAGtBA,GAAuBL,EAAIO,OAAO,OAASH,EAAa,KAAO,GAAKA,EACnE,EAAEI,KAAK/nC,KAAK,yBAA0B6nC,EAAgBA,EAAgBjW,qBAAmD,qBAAvBA,qBAAmCA,0BAAqBllB,EAAU,SAAUm7B,EAAgBA,EAAgBrpC,KAAmB,qBAAPA,KAAmBA,UAAKkO,EAAU,eAAgBm7B,EAAgBA,EAAgBtpC,WAA+B,qBAAbA,WAAyBA,gBAAWmO,EAAU,UAAWm7B,EAAgBA,EAAgBzoC,MAAqB,qBAARA,MAAoBA,WAAMsN,GAAoBk7B,CAAS,C","sources":["../../../node_modules/@bingads-webui-campaign/ad-extensions-data/src/adextension-schema-processor.js","../../../node_modules/@bingads-webui-campaign/ad-extensions-data/src/filter-config.js","../../../node_modules/@bingads-webui-campaign/ad-extensions-data/src/data-fetch-config.js","../../../node_modules/@bingads-webui-campaign/ad-extensions-data/src/column-config.js","../../../node_modules/@bingads-webui-campaign/ad-extensions-data/src/data-fetch-source.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/demo/mock/dummy-js-data-resource.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/demo/mock/dummy-data-source.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/demo/mock/schema.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/index.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/tooltips/campaign-managed-date-tooltip.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/ad-groups-grid.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/inline-editable/save.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/ad-group-cashback-percent-column.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/ad-group-cashback-scope-column.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/ad-group-coupon-column.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/inline-editable/language-view.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/language.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/inline-editable/prompt.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/index.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/ad-group.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/campaign.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/bid-strategy-type.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/bid-base-column.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/search-bid-column.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/cpm-bid-column.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/cpv-bid-column.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/percent-cpc-bid-column.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/pay-per-stay-bid-column.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/quality-score.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/medium.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/ad-group-id.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/start-date.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/end-date.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/status-enum-map.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/status-icon.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/ad-group-type.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/tracking-template-columns.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/grid-config.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/demo/mock/edm.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/plugins.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/ad-group-gridview-factory.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/bid-landscape/index.js","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/ad-group.pug","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/bid-base-column.pug","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/bid-strategy-type.pug","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/campaign.pug","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/date.pug","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/medium.pug","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/quality-score.pug","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/status-icon-header-template.pug","../../../node_modules/@bingads-webui-campaign/ad-groups-grid/src/columns/attributes/status-icon.pug"],"sourcesContent":["\r\nimport { BaseSchemaProcessor, addCampaignTypePropertyForFilter } from '@bingads-webui-campaign/common-grid-config';\r\nimport * as putil from '@bingads-webui-universal/primitive-utilities';\r\nimport globalConfig from '@bingads-webui-component-legacy/config/index';\r\nimport cacheService from '@bingads-webui-static-legacy/cache-service';\r\nimport dataContextManager from '@bingads-webui-static-legacy/summary/SummaryDataContextManager';\r\nimport jsdata from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport _ from 'underscore';\r\nimport { updateDeliveryStatusOptionForFilter } from '@bingads-webui-campaign-legacy/common-grid-config/filter/update-delivery-status-option-for-filter';\r\n\r\nexport class AdExtensionSchemaProcessor extends BaseSchemaProcessor {\r\n constructor(adextensionType, hasCampaignColumn, hasAdGroupColumn, disableScheduling, isForVNext, i18n, schemaI18nCampaign) {\r\n super({\r\n globalConfig,\r\n schemaI18nCampaign,\r\n i18n,\r\n cacheService,\r\n dataContextManager,\r\n jsdata,\r\n });\r\n this.adextensionType = adextensionType;\r\n this.hasCampaignColumn = hasCampaignColumn;\r\n this.hasAdGroupColumn = hasAdGroupColumn;\r\n this.disableScheduling = disableScheduling;\r\n this.isForVNext = isForVNext;\r\n this.i18n = i18n;\r\n }\r\n\r\n updateEntitySchemaForFeatures(entitySchema) {\r\n const updatedSchema = super.updateEntitySchemaForFeatures(entitySchema);\r\n\r\n // update schema to remove labels property\r\n updatedSchema.properties = _.omit(updatedSchema.properties, 'Labels');\r\n\r\n // update schema to reflect all conv metrics filters\r\n const allConvMetrics = [\r\n 'PerformanceMetricsAllConversionCPA',\r\n 'PerformanceMetricsAllConversions',\r\n 'PerformanceMetricsAllConversionRate',\r\n 'PerformanceMetricsAllConversionAdvertiserReportedRevenue',\r\n 'PerformanceMetricsAllConversionRevenueOnAdSpend',\r\n 'PerformanceMetricsAllPartialConversionCPA',\r\n 'PerformanceMetricsAllConversionsCredit',\r\n 'PerformanceMetricsAllPartialConversionRate',\r\n ];\r\n\r\n _.each(allConvMetrics, (allConvMetric) => {\r\n if (putil.get(updatedSchema.properties, allConvMetric)) {\r\n updatedSchema.properties[allConvMetric].filterable = true;\r\n }\r\n });\r\n\r\n // AdExtension does not support ViewThroughConversions\r\n updatedSchema.properties = _.omit(updatedSchema.properties, [\r\n 'PerformanceMetricsViewThroughConversions',\r\n 'PerformanceMetricsViewThroughConversionsCredit',\r\n ]);\r\n\r\n const deliveryStatusProperty = updatedSchema.properties.AdExtensionDelivery;\r\n\r\n let deliveryEnum = ['Eligible',\r\n 'EditorialApprovedLimited',\r\n 'InvalidFinancialStatusOther',\r\n 'CampaignDeleted',\r\n 'CampaignBudgetPaused',\r\n 'EditorialRejected',\r\n 'CampaignSuspended',\r\n 'EditorialUnderAppeal',\r\n 'EditorialPending',\r\n 'CampaignUserPaused',\r\n 'AssociationDeleted'];\r\n\r\n if (this.adextensionType === 'PriceAdExtension') {\r\n deliveryEnum.splice(6, 0, 'StoreIdNotAssociated');\r\n }\r\n\r\n if (this.adextensionType === 'AppAdExtension') {\r\n deliveryEnum = deliveryEnum.concat(['ApplicationNotFound', 'UrlInvalid', 'ApplicationDestinationUrlMismatch']);\r\n }\r\n if (this.adextensionType === 'VideoAdExtension') {\r\n deliveryEnum = deliveryEnum.concat([\r\n 'VideoExtensionProcessing',\r\n 'VideoExtensionVideoProcessingFailed',\r\n 'VideoExtensionVideoTooSmall',\r\n 'VideoExtensionVideoAspectRatioInvalid',\r\n 'VideoExtensionVideoDurationInvalid',\r\n 'VideoExtensionThumbnailProcessingFailed',\r\n 'VideoExtensionThumbnailTooSmall',\r\n 'VideoExtensionThumbnailAspectInvalid',\r\n ]);\r\n }\r\n if (!_.isEmpty(deliveryStatusProperty)) {\r\n updateDeliveryStatusOptionForFilter(deliveryStatusProperty, deliveryEnum, this.i18n);\r\n }\r\n\r\n if (!this.hasCampaignColumn) {\r\n updatedSchema.properties.CampaignName.filterable = false;\r\n }\r\n\r\n if (!this.hasAdGroupColumn) {\r\n updatedSchema.properties.AdGroupName.filterable = false;\r\n }\r\n\r\n if (this.isForVNext) {\r\n addCampaignTypePropertyForFilter({ entitySchema, permissions: this.Permissions });\r\n\r\n updatedSchema.properties.CampaignType.filterable = false;\r\n\r\n updatedSchema.properties.AdExtensionSchedulingEndDate.filterable = false;\r\n updatedSchema.properties.AdExtensionSchedulingStartDate.filterable = false;\r\n }\r\n\r\n // Hide global filters from UI\r\n updatedSchema.properties.CampaignStatus.filterable = false;\r\n updatedSchema.properties.AdGroupStatus.filterable = false;\r\n\r\n updatedSchema.properties = _.omit(updatedSchema.properties, 'PerformanceMetricsAveragePosition');\r\n\r\n if (this.adextensionType === 'CalloutAdExtension' || this.adextensionType === 'StructuredSnippetAdExtension') {\r\n updatedSchema.properties = _.omit(updatedSchema.properties, [\r\n 'PerformanceMetricsClicks',\r\n 'PerformanceMetricsCTR',\r\n ]);\r\n }\r\n\r\n // Exclude entity columns for AutomatedExtensions\r\n if (this.adextensionType === 'AutomatedAdExtension') {\r\n updatedSchema.properties = _.omit(updatedSchema.properties, [\r\n 'AdExtensionDelivery',\r\n 'AdExtensionId',\r\n 'AdExtensionSchedulingEndDate',\r\n 'AdExtensionSchedulingStartDate',\r\n 'AdExtensionStatus',\r\n 'AdExtensionUpdatedOnLastImport',\r\n 'AdGroupName',\r\n 'CampaignName',\r\n 'CampaignIsExperiment',\r\n ]);\r\n }\r\n\r\n if (this.disableScheduling) {\r\n updatedSchema.properties = _.omit(updatedSchema.properties, [\r\n 'AdExtensionSchedulingStartDate',\r\n 'AdExtensionSchedulingEndDate',\r\n ]);\r\n }\r\n\r\n return updatedSchema;\r\n }\r\n\r\n updateOdataOptions(odataOptions) {\r\n super.updateOdataOptions(odataOptions);\r\n\r\n _.extendOwn(odataOptions.custom, {\r\n 'AdExtension/UpdatedOnLastImport': {\r\n eq: (value) => {\r\n const url = `AdExtension/UpdatedOnLastImport eq ${value}`;\r\n\r\n return url.replace(/Enum.AdExtensionUpdatedOnLastImport'1'/g, '1');\r\n },\r\n },\r\n });\r\n\r\n return odataOptions;\r\n }\r\n}\r\n","import _ from 'underscore';\r\nimport { getCommonFilterConfig } from '@bingads-webui-campaign/common-grid-config';\r\nimport cacheService from '@bingads-webui-static-legacy/cache-service';\r\nimport dataContextManager from '@bingads-webui-static-legacy/summary/SummaryDataContextManager';\r\nimport { getFilters } from '@bingads-webui-component-legacy/bingads-grid/service/filter-preferences';\r\nimport globalConfig from '@bingads-webui-component-legacy/config/index';\r\nimport jsdata from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport sessionStore from '@bingads-webui-component-legacy/js-data-storage/session-storage';\r\nimport * as customColumnPreference from '@bingads-webui-component-legacy/bingads-grid/service/custom-column-preferences';\r\nimport { AdExtensionSchemaProcessor } from './adextension-schema-processor';\r\n\r\n\r\nconst AdExtensionAssociationSchema = window.globalLegacySchema.get('AdExtensionAssociation');\r\n\r\nexport const mockI18n = {\r\n get: _.identity,\r\n getString: _.identity,\r\n type: _.identity,\r\n enum: _.identity,\r\n value: _.identity,\r\n enumMappedString: _.identity,\r\n enumDescription: _.identity,\r\n valueDescription: _.identity,\r\n parseInt: _.identity,\r\n property: _.identity,\r\n};\r\nconst i18nCache = {\r\n i18n: mockI18n,\r\n newI18n: mockI18n,\r\n legacyGlobalI18n: mockI18n,\r\n schemaI18nCampaign: mockI18n,\r\n};\r\n\r\nexport function getFilterConfig(featureName, adextensionType, associationType, hasCampaignColumn, hasAdGroupColumn, disableScheduling, preferenceService, extraPerformanceColumns) {\r\n const isForVNext = true;\r\n const adExtensionSchemaProcessor = new AdExtensionSchemaProcessor(adextensionType, hasCampaignColumn, hasAdGroupColumn, disableScheduling, isForVNext, i18nCache.i18n, i18nCache.schemaI18nCampaign);\r\n\r\n const filterConfig = {\r\n featureName,\r\n preferenceService,\r\n customColumnPreference,\r\n schemaProcessor: adExtensionSchemaProcessor,\r\n enableCampaignWaterfall: true,\r\n enableAdGroupWaterfall: true,\r\n editor: {},\r\n selector: [{\r\n property: 'AdExtensionStatus',\r\n items: [{\r\n text: i18nCache.i18n.getString('AdExtensions_Quickfilter_ButDeleted'),\r\n value: ['Enum.AdExtensionStatus\\'Active\\''],\r\n }, {\r\n text: i18nCache.i18n.getString('AdExtensions_Quickfilter_All'),\r\n value: null,\r\n }],\r\n removable: false,\r\n defaultValue: ['Enum.AdExtensionStatus\\'Active\\''],\r\n }],\r\n ...i18nCache,\r\n entitySchema: AdExtensionAssociationSchema,\r\n sessionStore,\r\n preferenceStoreFactory: getFilters,\r\n globalConfig,\r\n cacheService,\r\n dataContextManager,\r\n jsdata,\r\n extraPerformanceColumns,\r\n };\r\n return getCommonFilterConfig(filterConfig);\r\n}\r\n\r\n","import _ from 'underscore';\r\nimport { getColumnsConversionMap } from '@bingads-webui-campaign/column-conversions';\r\nimport { bingadsGridColumn } from '@bingads-webui-component-legacy/bingads-grid/shared/column';\r\nimport state from '@bingads-webui-component-legacy/state/index';\r\nimport { adextensionGridColumn } from '@bingads-webui-campaign-legacy/adextension-shared/viewmodel/adextension-grid-column';\r\nimport { getUseTotalsPlugin } from '@bingads-webui-campaign-legacy/adextension-shared/util/feature-control';\r\nimport edm from '@bingads-webui-component-legacy/edm-campaign/index';\r\nimport DataStore from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport appConfig from '@bingads-webui-component-legacy/config/index';\r\nimport dateUtil from '@bingads-webui-component-legacy/humanize/date';\r\nimport * as customColumnPreference from '@bingads-webui-component-legacy/bingads-grid/service/custom-column-preferences';\r\nimport * as ColumnChooserPreference from '@bingads-webui-component-legacy/bingads-grid/service/column-chooser-preferences';\r\nimport * as SegmentationPreference from '@bingads-webui-component-legacy/bingads-grid/service/segmentation-preferences';\r\nimport { fetchPaginationConfig } from '@bingads-webui-component-legacy/bingads-grid/service/fetch-pagination';\r\nimport { fetchSortInfo } from '@bingads-webui-component-legacy/bingads-grid/service/fetch-sortinfo';\r\nimport { getGridDataParams } from '@bingads-webui-campaign/summary-grid-helper';\r\nimport { FilterService } from '@bingads-webui/filter-service';\r\nimport * as putil from '@bingads-webui/primitive-utilities';\r\nimport { getNewColumnChooserConfig } from './column-config';\r\nimport { getFilterConfig } from './filter-config';\r\n\r\nfunction specificAggRowText(item, property) {\r\n const prop = property.replace(/\\//g, '.');\r\n\r\n if (item.isAggregateRow || item.$total) {\r\n return '-';\r\n }\r\n return putil.get(item, prop);\r\n}\r\nconst AdExtensionAssociationSchema = window.globalLegacySchema.get('AdExtensionAssociation');\r\nconst isOdataActionSource = true;\r\nconst refreshCampaignCache = 'x-ms-refreshcampaigncache';\r\n\r\nexport function getDataSourceConfig({\r\n logActivity,\r\n scope,\r\n preferenceService,\r\n adextensionType,\r\n associationType,\r\n gridName,\r\n filter,\r\n}) {\r\n const permissions = appConfig.get('Permissions');\r\n const {campaignId} = scope.values;\r\n const {adGroupId} = scope.values;\r\n const headerRefreshCache = 'x-ms-refreshcampaigncache';\r\n\r\n\r\n let columns = [];\r\n let completeColumns = [];\r\n let excludedColumns = [];\r\n let extraPerformanceColumns = [];\r\n let campaignNameColumnExist;\r\n let adgroupNameColumnExist;\r\n\r\n const useTotalsPlugin = getUseTotalsPlugin(permissions);\r\n\r\n if (adextensionType === 'AutomatedAdExtension') {\r\n columns = [useTotalsPlugin ? adextensionGridColumn({\r\n property: _.identity,\r\n }) : bingadsGridColumn({\r\n name: 'AdExtension',\r\n property: {\r\n get: _.identity,\r\n key: 'Id',\r\n },\r\n })];\r\n excludedColumns = ['Status', 'AdExtensionId', 'StartDate', 'EndDate', 'TimeZone', 'Schedule', 'Delivery'];\r\n } else if (adextensionType === 'StructuredSnippetAdExtension') {\r\n columns = [useTotalsPlugin ? adextensionGridColumn({\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'Category', 'Texts');\r\n },\r\n }) : bingadsGridColumn({\r\n name: 'AdExtension',\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'Category', 'Texts');\r\n },\r\n title: 'ErrorGrid_AdExtension_Column',\r\n })];\r\n excludedColumns = ['Clicks', 'CTR'];\r\n } else if (adextensionType === 'ReviewAdExtension') {\r\n columns = [useTotalsPlugin ? adextensionGridColumn({\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'Text', 'Source');\r\n },\r\n }) : bingadsGridColumn({\r\n name: 'AdExtension',\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'Text', 'Source');\r\n },\r\n title: 'ErrorGrid_AdExtension_Column',\r\n })];\r\n } else if (adextensionType === 'PriceAdExtension') {\r\n columns = [useTotalsPlugin ? adextensionGridColumn({\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'TableRows');\r\n },\r\n }) : bingadsGridColumn({\r\n name: 'AdExtension',\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'TableRows');\r\n },\r\n title: 'ErrorGrid_AdExtension_Column',\r\n })];\r\n } else if (adextensionType === 'LocationAdExtension') {\r\n columns = [useTotalsPlugin ? adextensionGridColumn({\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.formatData, 'CompanyName', 'Address', 'PhoneNumber');\r\n },\r\n }) : bingadsGridColumn({\r\n name: 'AdExtension',\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.formatData, 'CompanyName', 'Address', 'PhoneNumber');\r\n },\r\n title: 'ErrorGrid_AdExtension_Column',\r\n })];\r\n } else if (adextensionType === 'ImageAdExtension') {\r\n columns = [useTotalsPlugin ? adextensionGridColumn({\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'DisplayText', 'AltText', 'Images', 'DestinationUrl', 'FinalUrls');\r\n },\r\n }) : bingadsGridColumn({\r\n name: 'AdExtension',\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'DisplayText', 'AltText', 'Images', 'DestinationUrl', 'FinalUrls');\r\n },\r\n title: 'ErrorGrid_AdExtension_Column',\r\n })];\r\n } else if (adextensionType === 'CalloutAdExtension') {\r\n columns = [useTotalsPlugin ? adextensionGridColumn({\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'Text');\r\n },\r\n }) : bingadsGridColumn({\r\n name: 'AdExtension',\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'Text');\r\n },\r\n title: 'ErrorGrid_AdExtension_Column',\r\n })];\r\n excludedColumns = ['Clicks', 'CTR'];\r\n } else if (adextensionType === 'CallAdExtension') {\r\n columns = [useTotalsPlugin ? adextensionGridColumn({\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'PhoneNumber', 'IsCallTrackingEnabled');\r\n },\r\n }) : bingadsGridColumn({\r\n name: 'AdExtension',\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'PhoneNumber', 'IsCallTrackingEnabled');\r\n },\r\n title: 'ErrorGrid_AdExtension_Column',\r\n })];\r\n } else if (adextensionType === 'AppAdExtension') {\r\n columns = [useTotalsPlugin ? adextensionGridColumn({\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'AppPlatform', 'DisplayText');\r\n },\r\n }) : bingadsGridColumn({\r\n name: 'AdExtension',\r\n property: (item) => {\r\n if (item.isAggregateRow) {\r\n return item.AdExtension;\r\n }\r\n return _.pick(item.AdExtension, 'AppPlatform', 'DisplayText');\r\n },\r\n title: 'ErrorGrid_AdExtension_Column',\r\n })];\r\n } else {\r\n if (adextensionType === 'VideoAdExtension') {\r\n extraPerformanceColumns = permissions.IsVideoAdExtensionsPerfMetricsEnabled ? [\r\n 'VideoViews',\r\n 'ViewThroughRate',\r\n 'AverageCPV',\r\n 'TotalWatchTimeInMS',\r\n 'AverageWatchTimePerImpression',\r\n 'AverageWatchTimePerVideoView',\r\n 'VideoViewsAt25Percent',\r\n 'VideoViewsAt50Percent',\r\n 'VideoViewsAt75Percent',\r\n 'CompletedVideoViews',\r\n 'VideoCompletionRate'] : [];\r\n }\r\n columns = [useTotalsPlugin ? adextensionGridColumn({\r\n property: item => item.AdExtension,\r\n }) : bingadsGridColumn({\r\n name: 'AdExtension',\r\n property: item => item.AdExtension,\r\n })];\r\n }\r\n\r\n const hasCampaignNameColumn = _.isUndefined(campaignNameColumnExist) ?\r\n !campaignId && associationType !== 'Account' :\r\n campaignNameColumnExist;\r\n const hasAdGroupNameColumn = _.isUndefined(adgroupNameColumnExist) ?\r\n !adGroupId && associationType === 'AdGroup' :\r\n adgroupNameColumnExist;\r\n\r\n const BaseCols = [bingadsGridColumn({\r\n name: 'Status',\r\n property: {\r\n get(item) {\r\n return specificAggRowText(item, 'AdExtension/Status');\r\n },\r\n key: 'AdExtension',\r\n },\r\n }), bingadsGridColumn({\r\n name: 'AdExtensionId',\r\n property: {\r\n get(item) {\r\n return specificAggRowText(item, 'AdExtension/Id');\r\n },\r\n key: 'AdExtension',\r\n },\r\n }), bingadsGridColumn({\r\n name: 'StartDate',\r\n property: {\r\n get(item) {\r\n return specificAggRowText(item, 'AdExtension/Scheduling/StartDate');\r\n },\r\n key: 'AdExtension',\r\n },\r\n }), bingadsGridColumn({\r\n name: 'EndDate',\r\n property: {\r\n get(item) {\r\n return specificAggRowText(item, 'AdExtension/Scheduling/EndDate');\r\n },\r\n key: 'AdExtension',\r\n },\r\n }), bingadsGridColumn({\r\n name: 'TimeZone',\r\n property: {\r\n get(item) {\r\n return specificAggRowText(item, 'AdExtension/Scheduling/UseSearcherTimeZone');\r\n },\r\n key: 'AdExtension',\r\n },\r\n }), bingadsGridColumn({\r\n name: 'Schedule',\r\n property: {\r\n get(item) {\r\n return specificAggRowText(item, 'AdExtension/Scheduling/DayTimeRanges');\r\n },\r\n key: 'AdExtension',\r\n },\r\n })];\r\n\r\n let PerformanceColumns = [bingadsGridColumn({\r\n name: 'Clicks',\r\n property: 'PerformanceMetrics/Clicks',\r\n }),\r\n bingadsGridColumn({\r\n name: 'Impressions',\r\n property: 'PerformanceMetrics/Impressions',\r\n }), bingadsGridColumn({\r\n name: 'CTR',\r\n property: 'PerformanceMetrics/CTR',\r\n }), bingadsGridColumn({\r\n name: 'AverageCPC',\r\n property: 'PerformanceMetrics/AverageCPC',\r\n }),\r\n bingadsGridColumn({\r\n name: 'AverageCPM',\r\n property: 'PerformanceMetrics/AverageCPM',\r\n }), bingadsGridColumn({\r\n name: 'Spend',\r\n property: 'PerformanceMetrics/Spend',\r\n })];\r\n\r\n\r\n const usePartialConversions = permissions.dynamic.PartialConversions && permissions.dynamic.ColumnConversion;\r\n let ConversionColumns = [\r\n usePartialConversions ? bingadsGridColumn({\r\n name: 'PartialConversionCPA',\r\n property: 'PerformanceMetrics/PartialConversionCPA',\r\n }) : bingadsGridColumn({\r\n name: 'CPA',\r\n property: 'PerformanceMetrics/CPA',\r\n }), usePartialConversions ? bingadsGridColumn({\r\n name: 'ConversionsCredit',\r\n property: 'PerformanceMetrics/ConversionsCredit',\r\n }) : bingadsGridColumn({\r\n name: 'Conversions',\r\n property: 'PerformanceMetrics/Conversions',\r\n }),\r\n bingadsGridColumn({\r\n name: 'RevenueOnAdSpend',\r\n property: 'PerformanceMetrics/RevenueOnAdSpend',\r\n }), bingadsGridColumn({\r\n name: 'AdvertiserReportedRevenue',\r\n property: 'PerformanceMetrics/AdvertiserReportedRevenue',\r\n }), usePartialConversions ?\r\n bingadsGridColumn({\r\n name: 'PartialConversionRate',\r\n property: 'PerformanceMetrics/PartialConversionRate',\r\n }) : bingadsGridColumn({\r\n name: 'ConversionRate',\r\n property: 'PerformanceMetrics/ConversionRate',\r\n }),\r\n usePartialConversions ?\r\n bingadsGridColumn({\r\n name: 'AllConversionsCredit',\r\n property: 'PerformanceMetrics/AllConversionsCredit',\r\n }) : bingadsGridColumn({\r\n name: 'AllConversions',\r\n property: 'PerformanceMetrics/AllConversions',\r\n }),\r\n usePartialConversions ?\r\n bingadsGridColumn({\r\n name: 'AllPartialConversionCPA',\r\n property: 'PerformanceMetrics/AllPartialConversionCPA',\r\n }) : bingadsGridColumn({\r\n name: 'AllConversionCPA',\r\n property: 'PerformanceMetrics/AllConversionCPA',\r\n }),\r\n usePartialConversions ?\r\n bingadsGridColumn({\r\n name: 'AllPartialConversionRate',\r\n property: 'PerformanceMetrics/AllPartialConversionRate',\r\n }) : bingadsGridColumn({\r\n name: 'AllConversionRate',\r\n property: 'PerformanceMetrics/AllConversionRate',\r\n }),\r\n bingadsGridColumn({\r\n name: 'AllConversionAdvertiserReportedRevenue',\r\n property: 'PerformanceMetrics/AllConversionAdvertiserReportedRevenue',\r\n }), bingadsGridColumn({\r\n name: 'AllConversionRevenueOnAdSpend',\r\n property: 'PerformanceMetrics/AllConversionRevenueOnAdSpend',\r\n }),\r\n ];\r\n const ExtraPerfCol = [bingadsGridColumn({\r\n name: 'VideoViews',\r\n property: 'PerformanceMetrics/VideoViews',\r\n }), bingadsGridColumn({\r\n name: 'ViewThroughRate',\r\n property: 'PerformanceMetrics/ViewThroughRate',\r\n }), bingadsGridColumn({\r\n name: 'AverageCPV',\r\n property: 'PerformanceMetrics/AverageCPV',\r\n }), bingadsGridColumn({\r\n name: 'TotalWatchTimeInMS',\r\n property: 'PerformanceMetrics/TotalWatchTimeInMS',\r\n }), bingadsGridColumn({\r\n name: 'AverageWatchTimePerImpression',\r\n property: 'PerformanceMetrics/AverageWatchTimePerImpression',\r\n }), bingadsGridColumn({\r\n name: 'AverageWatchTimePerVideoView',\r\n property: 'PerformanceMetrics/AverageWatchTimePerVideoView',\r\n }), bingadsGridColumn({\r\n name: 'VideoViewsAt25Percent',\r\n property: 'PerformanceMetrics/VideoViewsAt25Percent',\r\n }), bingadsGridColumn({\r\n name: 'VideoViewsAt50Percent',\r\n property: 'PerformanceMetrics/VideoViewsAt50Percent',\r\n }), bingadsGridColumn({\r\n name: 'VideoViewsAt75Percent',\r\n property: 'PerformanceMetrics/VideoViewsAt75Percent',\r\n }), bingadsGridColumn({\r\n name: 'CompletedVideoViews',\r\n property: 'PerformanceMetrics/CompletedVideoViews',\r\n }), bingadsGridColumn({\r\n name: 'VideoCompletionRate',\r\n property: 'PerformanceMetrics/VideoCompletionRate',\r\n })];\r\n\r\n const EntityCampaignColumn = [bingadsGridColumn({\r\n name: 'CampaignName',\r\n property: item => _.extend(_.pick(item.Campaign, 'Id', 'Name', 'BaseCampaignName'), {\r\n IsDeleted: _.result(item.AdExtension, 'Delivery', '') === 'CampaignDeleted',\r\n }),\r\n })];\r\n\r\n const EntityAdGroupColumn = [bingadsGridColumn({\r\n name: 'AdGroupName',\r\n property: item => _.defaults(_.pick(item.AdGroup, 'Id', 'Name'), {\r\n CampaignId: _.result(item.Campaign, 'Id', ''),\r\n IsDeleted: _.result(item.AdExtension, 'Delivery', '') === 'AdGroupDeleted' || _.result(item.AdExtension, 'Delivery', '') === 'CampaignDeleted',\r\n }),\r\n })];\r\n\r\n const DeliveryColumn = [bingadsGridColumn({\r\n name: 'Delivery',\r\n property: 'AdExtension',\r\n })];\r\n\r\n let SharedColumns = [\r\n bingadsGridColumn({\r\n name: 'TopImpressionRate',\r\n property: 'PerformanceMetrics/TopImpressionRate',\r\n }), bingadsGridColumn({\r\n name: 'AbsoluteTopImpressionRate',\r\n property: 'PerformanceMetrics/AbsoluteTopImpressionRate',\r\n })];\r\n\r\n SharedColumns = SharedColumns.concat(BaseCols);\r\n SharedColumns = SharedColumns.concat(ExtraPerfCol);\r\n\r\n if (excludedColumns !== []) {\r\n columns = _.reject(columns, col => _.contains(excludedColumns, col.name));\r\n SharedColumns = _.reject(SharedColumns, col => _.contains(excludedColumns, col.name));\r\n ConversionColumns = _.reject(ConversionColumns, col => _.contains(excludedColumns, col.name));\r\n PerformanceColumns = _.reject(PerformanceColumns, col => _.contains(excludedColumns, col.name));\r\n }\r\n\r\n completeColumns = completeColumns.concat(columns);\r\n completeColumns = completeColumns.concat(SharedColumns);\r\n completeColumns = completeColumns.concat(DeliveryColumn);\r\n completeColumns = completeColumns.concat(ConversionColumns);\r\n completeColumns = completeColumns.concat(PerformanceColumns);\r\n\r\n if (adextensionType === 'VideoAdExtension') { PerformanceColumns = PerformanceColumns.concat(ExtraPerfCol); }\r\n\r\n const perfColumns = _.map(PerformanceColumns, colObj => colObj.name);\r\n\r\n if (hasCampaignNameColumn) {\r\n completeColumns = completeColumns.concat(EntityCampaignColumn);\r\n }\r\n if (hasAdGroupNameColumn) {\r\n completeColumns = completeColumns.concat(EntityAdGroupColumn);\r\n }\r\n\r\n const disableScheduling = false;\r\n\r\n const filterConfig = filter || getFilterConfig(gridName, adextensionType, associationType, hasCampaignNameColumn, hasAdGroupNameColumn, disableScheduling, preferenceService, extraPerformanceColumns);\r\n const automatedType = adextensionType === 'AutomatedAdExtension';\r\n\r\n const columnConfig = getNewColumnChooserConfig({\r\n columnsConfig: completeColumns,\r\n performanceCols: perfColumns,\r\n associationType,\r\n permissions,\r\n });\r\n\r\n const extraImgExpand = adextensionType === 'ImageAdExtension' ? '($expand=Model.ImageAdExtension/Images)' : '';\r\n\r\n const { dynamic = {} } = permissions;\r\n const { ColumnConversion: IsColumnConversionEnabled } = dynamic;\r\n const initialQuery = isOdataActionSource ? { gridDataParameters: getGridDataParams(appConfig), query: { nullifynotapplybidamounts: true, $expand: `AdExtension${extraImgExpand},Campaign,AdGroup` } } : {};\r\n\r\n\r\n let edmEntity = edm.currentAccount;\r\n\r\n if (!_.isUndefined(campaignId)) {\r\n edmEntity = edmEntity.Campaigns.$withKey(campaignId);\r\n }\r\n\r\n if (!_.isUndefined(adGroupId)) {\r\n edmEntity = edmEntity.AdGroups.$withKey(adGroupId);\r\n }\r\n\r\n const entitySet = automatedType ? edmEntity.AutomatedExtensions['Default.GridData'] : edmEntity.AdExtensionAssociations['Default.GridData'];\r\n\r\n const filterService = new FilterService(filterConfig);\r\n\r\n const quickFilterName = `quick-filter-storage-campaignwebui-${filterConfig.featureName}-undefined/QuickFilter`;\r\n const quickFilterValue = preferenceService.findByNameAtUserLevel(quickFilterName);\r\n\r\n if (!quickFilterValue) {\r\n const defaultFilter = {\r\n query:\r\n {\r\n AdExtensionStatus:\r\n {\r\n $in: ['Enum.AdExtensionStatus\\'Active\\''],\r\n },\r\n },\r\n };\r\n filterService.setQuickFilter('', defaultFilter);\r\n }\r\n const gridDataParameterDecorator = { name: 'gridDataParameters', entitySet };\r\n const decorators = [\r\n {\r\n ...columnConfig,\r\n name: 'columnChooser',\r\n customColumnsEnabled: true,\r\n addPoPColumnsOnComparisonEnabled: true,\r\n IsAvgPositionDeprecationPhase2Enabled: permissions.IsAvgPositionDeprecationPhase2Enabled,\r\n comparisonPoPColumns: [\r\n 'PeriodPerformanceMetrics',\r\n 'PerformanceMetricsChange',\r\n 'PerformanceMetricsChangePercentage',\r\n ],\r\n },\r\n { name: 'dateFilter' },\r\n { name: 'segment' },\r\n { name: 'pagination', defaultPageSize: 50 },\r\n { name: 'sorting' },\r\n { name: 'filter', filterService },\r\n ];\r\n gridDataParameterDecorator.associationType = associationType;\r\n gridDataParameterDecorator.adExtensionTypes = [adextensionType];\r\n decorators.push(gridDataParameterDecorator);\r\n\r\n return {\r\n dataSource: {\r\n type: 'jsdata',\r\n primaryKey: 'Id',\r\n entity: DataStore[AdExtensionAssociationSchema.name],\r\n options:\r\n {\r\n entitySet: edmEntity.AdExtensionAssociations,\r\n usePendingFindAll: false,\r\n useDfmCache: false,\r\n cacheResponse: false,\r\n headers: {\r\n [refreshCampaignCache]: true,\r\n [headerRefreshCache]: true,\r\n },\r\n },\r\n query: {\r\n $expand: `AdExtension${extraImgExpand},Campaign,AdGroup`,\r\n },\r\n schema: AdExtensionAssociationSchema,\r\n },\r\n queryBuilder: {\r\n decorators,\r\n commonConfig: {\r\n featureName: gridName,\r\n isOdataActionSource,\r\n deps: {\r\n dateUtil,\r\n state,\r\n ColumnChooserPreference,\r\n CustomColumnPreference: customColumnPreference,\r\n SegmentationPreference,\r\n fetchPaginationConfig,\r\n fetchSortInfo,\r\n },\r\n IsColumnConversionEnabled,\r\n ...IsColumnConversionEnabled ? {\r\n columnConversions: getColumnsConversionMap('AdExtensionsGrid', permissions),\r\n } : {},\r\n },\r\n logActivity,\r\n initialQuery,\r\n },\r\n };\r\n}\r\n","import _ from 'underscore';\r\nimport { applyPartialConversionColumnName } from '@bingads-webui-campaign/column-conversions';\r\n\r\n\r\nexport function getNewColumnChooserConfig({\r\n columnsConfig,\r\n performanceCols,\r\n associationType,\r\n permissions,\r\n}) {\r\n const columnPropertyMap = {};\r\n\r\n _.each(columnsConfig, (column) => {\r\n columnPropertyMap[column.name] = column.property;\r\n });\r\n\r\n const columnsMap = _.object(_.map(columnsConfig, column => [column.name, column.property]));\r\n\r\n const perfColumns = performanceCols;\r\n\r\n const selectedColumns = _.chain(applyPartialConversionColumnName(permissions, ['AdExtension', 'Delivery', 'Conversions']))\r\n .concat((associationType === 'Campaign' || associationType === 'AdGroup') && 'CampaignName')\r\n .concat((associationType === 'AdGroup') && 'AdGroupName')\r\n .concat(perfColumns)\r\n .compact()\r\n .value();\r\n\r\n const lockedColumns = _.chain(['AdExtension', 'AdExtensionId'])\r\n .concat((associationType === 'Campaign' || associationType === 'AdGroup') && 'CampaignName')\r\n .concat((associationType === 'AdGroup') && 'AdGroupName')\r\n .compact()\r\n .value();\r\n\r\n return {\r\n lockedColumns,\r\n defaultColumns: selectedColumns,\r\n columnsMap,\r\n };\r\n}\r\n","/* eslint-disable no-param-reassign */\r\nimport Promise from 'bluebird';\r\nimport { getGridName } from '@bingads-webui-campaign/inline-download-grids-metadata';\r\nimport DataStore from '@bingads-webui-component-legacy/js-data-campaign/index';\r\nimport logger from '@bingads-webui-static-legacy/instrumentation/index';\r\nimport { connect } from '@bingads-webui-campaign/dqb-grid-datasource-connector';\r\nimport { DataSourceStore } from '@bingads-webui-campaign/data-source-store';\r\nimport { QueryBuilderFactory } from '@bingads-webui-campaign/query-builder';\r\nimport { dataSource as AdExtensionsGridDataSource } from '@bingads-webui-component-legacy/github/modules/projection-grid/module/projection-grid';\r\nimport { QueryErrorFactory } from '@bingads-webui-campaign/dqb-grid-datasource-error-handler';\r\nimport { getDataSourceConfig } from './data-fetch-config';\r\n\r\nconst extensionItems = {\r\n ActionAdExtension: { associationType: 'Account', typeString: _TL_('Action Extensions'), schema: window.globalLegacySchema.get('ActionAdExtension') },\r\n AppAdExtension: { associationType: 'Account', typeString: _TL_('App Extensions'), schema: window.globalLegacySchema.get('AppAdExtension') },\r\n CallAdExtension: { associationType: 'Campaign', typeString: _TL_('Call Extensions'), schema: window.globalLegacySchema.get('CallAdExtension') },\r\n CalloutAdExtension: { associationType: 'Account', typeString: _TL_('Callout Extensions'), schema: window.globalLegacySchema.get('CalloutAdExtension') },\r\n ImageAdExtension: { associationType: 'Account', typeString: _TL_('Image Extensions'), schema: window.globalLegacySchema.get('ImageAdExtension') },\r\n LocationAdExtension: { associationType: 'Account', typeString: _TL_('Location Extensions'), schema: window.globalLegacySchema.get('LocationAdExtension') },\r\n PriceAdExtension: { associationType: 'Account', typeString: _TL_('Price Extensions'), schema: window.globalLegacySchema.get('PriceAdExtension') },\r\n ReviewAdExtension: { associationType: 'Account', typeString: _TL_('Review Extensions'), schema: window.globalLegacySchema.get('ReviewAdExtension') },\r\n Sitelink2AdExtension: { associationType: 'Account', typeString: _TL_('Sitelink Extensions'), schema: window.globalLegacySchema.get('Sitelink2AdExtension') },\r\n StructuredSnippetAdExtension: { associationType: 'Account', typeString: _TL_('Structured Snippet Extensions'), schema: window.globalLegacySchema.get('StructuredSnippetAdExtension') },\r\n AutomatedAdExtension: { associationType: 'Account', typeString: _TL_('Automated Extensions Report'), schema: window.globalLegacySchema.get('AutomatedExtension') },\r\n PromotionAdExtension: { associationType: 'Account', typeString: _TL_('Promotion Extensions'), schema: window.globalLegacySchema.get('PromotionAdExtension') },\r\n FilterLinkAdExtension: { associationType: 'Account', typeString: _TL_('Filter Link Extensions'), schema: window.globalLegacySchema.get('FilterLinkAdExtension') },\r\n FlyerAdExtension: { associationType: 'Account', typeString: _TL_('Flyer Extensions'), schema: window.globalLegacySchema.get('FlyerAdExtension') },\r\n VideoAdExtension: { associationType: 'Account', typeString: _TL_('Video Extensions'), schema: window.globalLegacySchema.get('VideoAdExtension') },\r\n LeadFormAdExtension: { associationType: 'Account', typeString: _TL_('Lead form Extensions'), schema: window.globalLegacySchema.get('LeadFormAdExtension') },\r\n BusinessInfoAdExtension: { associationType: 'Account', typeString: _TL_('Logo Extensions'), schema: window.globalLegacySchema.get('LogoAdExtension') },\r\n // TODO CHANGE TO BusinessInfoAdExtension\r\n};\r\nconst AdExtensionAssociationSchema = window.globalLegacySchema.get('AdExtensionAssociation');\r\nexport function getDataSource({\r\n logActivity,\r\n scope,\r\n adextensionType,\r\n preferenceService,\r\n associationType,\r\n useCache,\r\n filter,\r\n}) {\r\n const { campaignId } = scope.values;\r\n const { adGroupId } = scope.values;\r\n // eslint-disable-next-line no-nested-ternary\r\n const associationScope = adGroupId ? 'AdGroup' : (campaignId ? 'Campaign' : undefined);\r\n\r\n const gridName = adextensionType === 'AutomatedAdExtension' ?\r\n getGridName('AutomatedExtension', {\r\n CampaignId: campaignId,\r\n AdGroupId: adGroupId,\r\n }) :\r\n getGridName('AdExtensionAssociation', {\r\n AdExtensionType: adextensionType,\r\n AssociationType: associationType || associationScope || extensionItems[adextensionType].associationType,\r\n CampaignId: campaignId,\r\n AdGroupId: adGroupId,\r\n });\r\n\r\n if (useCache) {\r\n const existingDataSource = DataSourceStore.get(gridName);\r\n if (existingDataSource) {\r\n return existingDataSource;\r\n }\r\n }\r\n\r\n const configParams = {\r\n logActivity,\r\n scope,\r\n preferenceService,\r\n gridName,\r\n adextensionType,\r\n associationType: associationType || associationScope || extensionItems[adextensionType].associationType,\r\n filter,\r\n };\r\n\r\n const dataFetchConfig = getDataSourceConfig(configParams);\r\n let afterFindAllPromiseResolve = null;\r\n const { featureName } = dataFetchConfig.queryBuilder.commonConfig;\r\n const queryBuilder = QueryBuilderFactory.make(dataFetchConfig.queryBuilder);\r\n const queryErrors = QueryErrorFactory.make(dataFetchConfig.dataSource);\r\n const customDataSource = new AdExtensionsGridDataSource.JSData(dataFetchConfig.dataSource.entity, dataFetchConfig.dataSource.options);\r\n const usingCacheManager = false;\r\n const useJSGridChartDataSource = false;\r\n const afterFindAllPromise = new Promise((res) => {\r\n afterFindAllPromiseResolve = res;\r\n });\r\n const dataSource = connect(\r\n dataFetchConfig.dataSource,\r\n queryBuilder,\r\n featureName,\r\n logger,\r\n usingCacheManager,\r\n useJSGridChartDataSource,\r\n customDataSource,\r\n afterFindAllPromiseResolve\r\n );\r\n dataSource.queryErrors = queryErrors;\r\n dataSource.entity = DataStore[AdExtensionAssociationSchema.name];\r\n dataSource.afterFindAllPromise = afterFindAllPromise;\r\n\r\n DataSourceStore.set(featureName, dataSource);\r\n\r\n return dataSource;\r\n}\r\n","import _ from 'underscore';\r\nimport { DS } from 'js-data';\r\nimport Promise from 'bluebird';\r\nimport mockData from './dummy-data.json';\r\n\r\nconst store = new DS();\r\n\r\nclass CustomerAdapter {\r\n // All of the methods shown here must return a promise\r\n\r\n // \"definition\" is a resource defintion that would\r\n // be returned by DS#defineResource\r\n\r\n // \"options\" would be the options argument that\r\n // was passed into the DS method that is calling\r\n // the adapter method\r\n\r\n findAll(/* definition, params, options */) {\r\n const result = _.clone(mockData.value);\r\n\r\n result.raw = mockData;\r\n return Promise.resolve(result);\r\n }\r\n}\r\n\r\nstore.registerAdapter('AdGroup', new CustomerAdapter(), { default: true });\r\n\r\nexport const adgroup = store.defineResource({\r\n name: 'AdGroup',\r\n idAttribute: 'Id',\r\n});\r\n","import { noop } from 'underscore';\r\nimport { adgroup } from './dummy-js-data-resource';\r\nimport { mockSchema } from './schema';\r\n\r\nexport const dummyDataSource = {\r\n type: 'js-data',\r\n entity: adgroup,\r\n primaryKey: 'Id',\r\n schema: mockSchema,\r\n options: {\r\n entitySet: {\r\n toJSON: noop,\r\n },\r\n },\r\n};\r\n","const PerformanceMetrics = {\r\n name: 'PerformanceMetrics',\r\n type: 'object',\r\n properties: {\r\n Impressions: {\r\n type: 'integer',\r\n nullable: true,\r\n },\r\n Clicks: {\r\n type: 'integer',\r\n nullable: true,\r\n },\r\n CTR: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n Conversions: {\r\n type: 'integer',\r\n nullable: true,\r\n },\r\n Spend: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n AverageCPC: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n AveragePosition: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n AverageCPM: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n CPA: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n WebsiteCoverage: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n AuctionWonPercent: {\r\n type: 'number',\r\n nullable: true,\r\n sovcolumn: true,\r\n isPercentValue: true,\r\n },\r\n AuctionLostToBudgetPercent: {\r\n type: 'number',\r\n nullable: true,\r\n sovcolumn: true,\r\n isPercentValue: true,\r\n },\r\n AuctionLostToRankPercent: {\r\n type: 'number',\r\n nullable: true,\r\n sovcolumn: true,\r\n isPercentValue: true,\r\n },\r\n AuctionLostToLandingPercent: {\r\n type: 'number',\r\n nullable: true,\r\n sovcolumn: true,\r\n isPercentValue: true,\r\n },\r\n AuctionLostToAdQualityPercent: {\r\n type: 'number',\r\n nullable: true,\r\n sovcolumn: true,\r\n isPercentValue: true,\r\n },\r\n AuctionLostToBidPercent: {\r\n type: 'number',\r\n nullable: true,\r\n sovcolumn: true,\r\n isPercentValue: true,\r\n },\r\n ClickSharePercent: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n RevenueOnAdSpend: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n AdvertiserReportedRevenue: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n ConversionRate: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n AllConversionCPA: {\r\n type: 'number',\r\n nullabe: true,\r\n },\r\n AllConversions: {\r\n type: 'integer',\r\n nullabe: true,\r\n },\r\n AllConversionRate: {\r\n type: 'number',\r\n nullabe: true,\r\n },\r\n AllConversionAdvertiserReportedRevenue: {\r\n type: 'number',\r\n nullabe: true,\r\n },\r\n AllConversionRevenueOnAdSpend: {\r\n type: 'number',\r\n nullabe: true,\r\n },\r\n },\r\n};\r\n\r\nconst Labels = {\r\n type: 'array',\r\n items: {\r\n type: 'object',\r\n schema: {\r\n name: 'Label',\r\n type: 'object',\r\n key: 'Id',\r\n properties: {\r\n Id: {\r\n type: 'integer',\r\n key: true,\r\n nullable: true,\r\n },\r\n Name: {\r\n type: 'string',\r\n maxLength: 80,\r\n required: true,\r\n },\r\n Description: {\r\n type: 'string',\r\n maxLength: 200,\r\n },\r\n ColorCode: {\r\n type: 'integer',\r\n nullable: true,\r\n },\r\n AssociationCounts: {\r\n type: 'object',\r\n schema: {\r\n name: 'LabelAssociationCounts',\r\n type: 'object',\r\n properties: {\r\n CampaignCount: {\r\n type: 'integer',\r\n },\r\n AdGroupCount: {\r\n type: 'integer',\r\n },\r\n AdCount: {\r\n type: 'integer',\r\n },\r\n KeywordCount: {\r\n type: 'integer',\r\n },\r\n },\r\n },\r\n },\r\n },\r\n },\r\n },\r\n isRelatedEntity: true,\r\n filterable: true,\r\n};\r\n\r\nexport const mockSchema = {\r\n name: 'AdGroup',\r\n type: 'object',\r\n key: 'Id',\r\n required: ['Name'],\r\n properties: {\r\n Id: {\r\n type: 'integer',\r\n key: true,\r\n },\r\n Name: {\r\n type: 'string',\r\n filterable: true,\r\n maxLength: 256,\r\n },\r\n Campaign: {\r\n type: 'object',\r\n filterable: ['Name'],\r\n schema: {\r\n key: 'Id',\r\n name: 'Campaign',\r\n type: 'object',\r\n properties: {\r\n Name: {\r\n type: 'string',\r\n filterable: true,\r\n },\r\n },\r\n },\r\n },\r\n StartDate: {\r\n type: 'datetime',\r\n filterable: true,\r\n },\r\n EndDate: {\r\n type: 'datetime',\r\n nullable: true,\r\n filterable: true,\r\n },\r\n Status: {\r\n type: 'string',\r\n enum: ['CampaignUserPaused', 'CampaignBudgetPaused', 'CampaignBudgetUserPaused', 'Draft', 'Active', 'Deleted', 'Paused', 'Expired'],\r\n filterable: true,\r\n enumType: 'AdGroupStatus', // the one in our adsappsUI\r\n },\r\n SearchBid: {\r\n type: 'number',\r\n nullable: true,\r\n filterable: true,\r\n },\r\n ContentBid: {\r\n type: 'number',\r\n nullable: true,\r\n filterable: true,\r\n },\r\n PercentCpcBid: {\r\n schema: {\r\n properties: {\r\n RateAmount: {\r\n schema: {\r\n type: 'object',\r\n properties: {\r\n Amount: {\r\n nullable: true,\r\n oneOf: [\r\n {\r\n $ref: 'Edm/Double',\r\n type: 'number',\r\n name: 'Double',\r\n },\r\n {\r\n type: 'null',\r\n },\r\n ],\r\n type: 'number',\r\n name: 'Double',\r\n },\r\n },\r\n $$ODataExtension: {\r\n Name: 'RateAmount',\r\n },\r\n name: 'RateAmount',\r\n $$ref: 'Model/RateAmount',\r\n },\r\n $ref: 'Model/RateAmount',\r\n type: 'object',\r\n },\r\n },\r\n type: 'object',\r\n $$ODataExtension: {\r\n Name: 'RateBid',\r\n },\r\n name: 'RateBid',\r\n $$ref: 'Model/RateBid',\r\n },\r\n $ref: 'Model/RateBid',\r\n type: 'object',\r\n },\r\n AdGroupPercentCpcBid: {\r\n nullable: true,\r\n oneOf: [\r\n {\r\n $ref: 'Edm/Double',\r\n type: 'number',\r\n name: 'Double',\r\n },\r\n {\r\n type: 'null',\r\n },\r\n ],\r\n type: 'number',\r\n name: 'Double',\r\n 'bulk-upload-header': 'Percent Cpc Bid',\r\n },\r\n CommissionRate: {\r\n schema: {\r\n properties: {\r\n RateAmount: {\r\n schema: {\r\n type: 'object',\r\n properties: {\r\n Amount: {\r\n nullable: true,\r\n oneOf: [\r\n {\r\n $ref: 'Edm/Double',\r\n type: 'number',\r\n name: 'Double',\r\n },\r\n {\r\n type: 'null',\r\n },\r\n ],\r\n type: 'number',\r\n name: 'Double',\r\n },\r\n },\r\n $$ODataExtension: {\r\n Name: 'RateAmount',\r\n },\r\n name: 'RateAmount',\r\n $$ref: 'Model/RateAmount',\r\n },\r\n $ref: 'Model/RateAmount',\r\n type: 'object',\r\n },\r\n },\r\n type: 'object',\r\n $$ODataExtension: {\r\n Name: 'RateBid',\r\n },\r\n name: 'RateBid',\r\n $$ref: 'Model/RateBid',\r\n },\r\n $ref: 'Model/RateBid',\r\n type: 'object',\r\n },\r\n AdGroupCommissionRate: {\r\n nullable: true,\r\n oneOf: [\r\n {\r\n $ref: 'Edm/Double',\r\n type: 'number',\r\n name: 'Double',\r\n },\r\n {\r\n type: 'null',\r\n },\r\n ],\r\n type: 'number',\r\n name: 'Double',\r\n 'bulk-upload-header': 'Commission Rate',\r\n },\r\n Medium: {\r\n type: 'string',\r\n enum: ['Search', 'Content', 'SearchAndContent'],\r\n },\r\n PricingModel: {\r\n type: 'string',\r\n enum: ['CPC', 'CPM'],\r\n },\r\n Language: {\r\n type: 'string',\r\n enum: ['Arabic', 'TraditionalChinese', 'Danish', 'Dutch', 'English', 'Finnish', 'French', 'German', 'Italian', 'Norwegian', 'Portuguese', 'Spanish', 'Swedish', 'SimplifiedChinese', 'All'],\r\n nullable: true,\r\n chooseType: 'select',\r\n enumType: 'Language',\r\n },\r\n BidTarget: {\r\n type: 'string',\r\n enum: ['Keyword', 'BehaviorSegment', 'Site'],\r\n },\r\n DeliveryStatus: {\r\n type: 'string',\r\n enum: ['CreditCardExpired', 'IOExceeded', 'PaymentInformationMissing', 'InvalidFinancialStatusOther', 'MigrationPaused', 'CampaignDeleted', 'CampaignSuspended', 'CampaignBudgetPaused', 'DomainLanguageNotSupported', 'ShoppingCampaignStoreNotFound', 'ShoppingCampaignNoOffersPresent', 'AdGroupExpired', 'AdGroupDraft', 'AdGroupDeleted', 'CamAssetRejected', 'CamAssetDeleted', 'EditorialRejected', 'EditorialUnderAppeal', 'UrlInvalid', 'ApplicationNotFound', 'ApplicationDestinationUrlMismatch', 'PendingMetadataSync', 'EditorialPending', 'AssociationDeleted', 'CampaignUserPaused', 'AdGroupUserPaused', 'AdUserPaused', 'KeywordMatchTypeAdGroupMediumCombinationInvalid', 'KeywordUserPaused', 'NegativeKeywordConflicts', 'EditorialApprovedLimited', 'LowSupply', 'LowQuality', 'BidBelowFirstPageBid', 'Incomplete', 'BudgetSuggestions', 'InlineOpportunity', 'GeoCodingIncomplete', 'ProductTargetUserPaused', 'AdExtensionNotPresent', 'AdExtensionDeleted', 'AdExtensionAssociationDeleted', 'StoreIdNotAssociated', 'AdGroupAudienceAssociationPaused', 'AdGroupAudienceAssociationExcluded', 'AdNotPresent', 'AdNotActive', 'ApplicationDestinationUrlValidationIncomplete', 'Eligible'],\r\n filterable: true,\r\n },\r\n CallTrackingStatus: {\r\n type: 'string',\r\n enum: ['NotApplicable', 'Eligible', 'NotEligible', 'ProvisioningPending', 'Provisioned'],\r\n },\r\n PerformanceMetrics: {\r\n type: 'object',\r\n schema: PerformanceMetrics,\r\n filterable: ['Impressions', 'Clicks', 'CTR', 'Spend', 'Conversions',\r\n 'AverageCPC', 'AverageCPM', 'AveragePosition', 'CPA', 'RevenueOnAdSpend',\r\n 'ConversionRate', 'AdvertiserReportedRevenue', 'AllConversionCPA', 'AllConversions',\r\n 'AllConversionRate', 'AllConversionAdvertiserReportedRevenue', 'AllConversionRevenueOnAdSpend'],\r\n alias: {\r\n Spend: {\r\n legacy: 'TotalEffectiveCost',\r\n },\r\n },\r\n },\r\n Labels,\r\n PhonePerformanceMetrics: {\r\n type: 'object',\r\n $schema: {},\r\n },\r\n QualityScore: {\r\n type: 'object',\r\n $schema: {},\r\n },\r\n UpdatedOnLastImport: {\r\n type: 'boolean',\r\n },\r\n HasAuctionInsight: {\r\n type: 'boolean',\r\n filterable: true,\r\n },\r\n IsBidLandscapeAvailable: {\r\n type: 'boolean',\r\n },\r\n TrackingUrlTemplate: {\r\n type: 'string',\r\n },\r\n UrlCustomParameters: {\r\n type: 'array',\r\n items: {\r\n type: 'object',\r\n $schema: {},\r\n },\r\n },\r\n BiddingScheme: {\r\n type: 'object',\r\n $schema: {},\r\n },\r\n NativeBidAdjustment: {\r\n type: 'integer',\r\n nullable: true,\r\n },\r\n Properties: {\r\n type: 'array',\r\n items: {\r\n type: 'object',\r\n },\r\n },\r\n DisplayBiddingStrategyType: {\r\n type: 'string',\r\n enum: ['InheritFromParent', 'ManualCpc', 'MaxClicks', 'MaxConversions', 'TargetCpa', 'EnhancedCpc'],\r\n },\r\n DisplayBiddingStrategyMaxCpc: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n DisplayBiddingStrategyTargetCpa: {\r\n type: 'number',\r\n nullable: true,\r\n },\r\n DsaTargets: {\r\n type: 'array',\r\n items: {\r\n type: 'object',\r\n $schema: {},\r\n },\r\n },\r\n DomainCategorys: {\r\n type: 'array',\r\n items: {\r\n type: 'object',\r\n $schema: {},\r\n },\r\n },\r\n NegativeAdGroupDsaTargets: {\r\n type: 'array',\r\n items: {\r\n type: 'object',\r\n $schema: {},\r\n },\r\n },\r\n Categories: {\r\n type: 'array',\r\n items: {\r\n type: 'object',\r\n $schema: {},\r\n },\r\n },\r\n DsaSearchTerms: {\r\n type: 'array',\r\n items: {\r\n type: 'object',\r\n $schema: {},\r\n },\r\n },\r\n },\r\n};\r\n","import Promise from 'bluebird';\r\nimport { map, object } from 'underscore';\r\nimport { uncheckedInjectionContext as globalContext } from '@bingads-webui-campaign/injection-context';\r\n\r\nimport pkg from './package.json';\r\n\r\nexport { dummyDataSource } from './demo/mock/dummy-data-source';\r\n\r\nexport function getAdGroupGridFactory(initializeGlobalContext = true) {\r\n if (initializeGlobalContext) {\r\n return globalContext.define(\r\n pkg.legacyDependencies,\r\n () => import(/* webpackMode: 'eager' */ './src/ad-group-gridview-factory')\r\n );\r\n }\r\n return import(/* webpackMode: 'eager' */ './src/ad-group-gridview-factory'); // eslint-disable-line no-unused-vars\r\n}\r\n\r\nconst bidLandscapeDependencies = [\r\n 'component/config/index',\r\n '@bingads-webui/i18n-amd-loader!campaignui/feature/ad-groups-tab',\r\n 'module/service/shared/popup',\r\n 'campaignui/feature/instrumentation/index',\r\n 'component/api-errors-campaign/index',\r\n 'component/js-data-campaign/index',\r\n 'module/service/communication/channel/odata',\r\n];\r\nlet adGroupBidLandscapeInitializer = null;\r\n\r\nexport function getAdGroupBidLandscapeInitializer(initializeGlobalContext = true) {\r\n if (initializeGlobalContext) {\r\n const landscapePromise = new Promise((resolve) => {\r\n if (adGroupBidLandscapeInitializer) {\r\n resolve(adGroupBidLandscapeInitializer);\r\n } else {\r\n window.require(bidLandscapeDependencies, () => {\r\n const dependecies = object(\r\n bidLandscapeDependencies,\r\n map(bidLandscapeDependencies, dep => window.require(dep))\r\n );\r\n\r\n globalContext.define(\r\n bidLandscapeDependencies,\r\n () => import(/* webpackMode: 'eager' */ './src/bid-landscape/index')\r\n )(dependecies).then((result) => {\r\n adGroupBidLandscapeInitializer = result;\r\n resolve(result);\r\n });\r\n });\r\n }\r\n });\r\n return landscapePromise;\r\n }\r\n return import(/* webpackMode: 'eager' */ './src/bid-landscape/index');\r\n}\r\n\r\n\r\nlet adGroupBidLandscapeInitializerWebpack = null;\r\n\r\nexport function getAdGroupBidLandscapeInitializerWebpack(\r\n initializeGlobalContext = true,\r\n dependecies\r\n) {\r\n if (initializeGlobalContext) {\r\n const landscapePromise = new Promise((resolve) => {\r\n if (adGroupBidLandscapeInitializerWebpack) {\r\n resolve(adGroupBidLandscapeInitializerWebpack);\r\n } else {\r\n globalContext.define(\r\n bidLandscapeDependencies,\r\n () => import(/* webpackMode: 'eager' */ './src/bid-landscape/index')\r\n )(dependecies).then((result) => {\r\n adGroupBidLandscapeInitializerWebpack = result;\r\n resolve(result);\r\n });\r\n }\r\n });\r\n return landscapePromise;\r\n }\r\n return import(/* webpackMode: 'eager' */ './src/bid-landscape/index');\r\n}\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport $ from 'jquery';\r\nimport URI from 'urijs';\r\nimport classnames from 'classnames';\r\nimport { mergeStyleSets } from '@fluentui/react';\r\nimport { insertPopoverContainer } from '@bingads-webui-campaign/fluctuation-common';\r\nimport { GridTooltip } from '@bingads-webui-campaign/grid-tooltip';\r\nimport { appendScopeParameter, getTargetEntity } from '@bingads-webui-campaign/summary-grid-helper';\r\n\r\nexport const campaignManagedDateContainerId = 'campaign-managed-date-tooltip';\r\n\r\nexport const dismissCampaignManagedDateCallout = () => {\r\n const calloutElement = document.getElementById(campaignManagedDateContainerId);\r\n if (calloutElement) {\r\n ReactDOM.unmountComponentAtNode(calloutElement);\r\n }\r\n};\r\n\r\nexport const renderCampaignManagedDateTooltip = ({\r\n i18n, event, view, router, scope,\r\n}) => {\r\n const styles = mergeStyleSets({\r\n content: {\r\n marginBottom: '8px',\r\n },\r\n });\r\n\r\n const { right } = event.target.getBoundingClientRect();\r\n const calloutMaxWidth = 325; // this value is defined in global style\r\n const placement = right + calloutMaxWidth > window.innerWidth ? 'left' : 'right';\r\n\r\n const url = router.getRoutePathById('settings');\r\n const uri = new URI(url);\r\n const entity = getTargetEntity(event, view);\r\n uri.addQuery('campaignId', entity.Campaign?.Id);\r\n uri.addQuery('entrypoint', 'adgroupsgrid');\r\n appendScopeParameter(uri, scope);\r\n const actionLink = uri.toString();\r\n\r\n insertPopoverContainer(campaignManagedDateContainerId);\r\n const tooltipProps = {\r\n parentView: view,\r\n popoverId: 'campaign-managed-date-tooltip-id',\r\n target: event.currentTarget,\r\n show: true,\r\n onClose: dismissCampaignManagedDateCallout,\r\n onMouseLeave: dismissCampaignManagedDateCallout,\r\n closeButton: false,\r\n placement,\r\n focusLockContent: true,\r\n content: (\r\n <>\r\n