@redonvn/zalo-ads-sdk 0.2.20 → 0.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1544,7 +1544,11 @@ interface ZaloAdsAdMultiImageItemDto {
1544
1544
  interface ZaloAdsAdImageSettingsDto {
1545
1545
  LogoUrl?: string;
1546
1546
  LandscapeCoverUrl?: string;
1547
+ BaseLandscapeCoverUrl?: string;
1548
+ PortraitCoverUrl?: string;
1547
1549
  SquareCoverUrl?: string;
1550
+ ExtraUrls?: Array<string>;
1551
+ Crops?: Array<unknown>;
1548
1552
  VideoUrl?: string;
1549
1553
  VideoDuration?: number;
1550
1554
  MediaId?: number;
@@ -1577,6 +1581,12 @@ interface ZaloAdsAdInfoSettingsDto {
1577
1581
  WebsiteCategories?: Array<number>;
1578
1582
  AdtimaAdCategories?: Array<number>;
1579
1583
  Files?: Array<unknown>;
1584
+ Size?: number;
1585
+ ZaloOwner?: string;
1586
+ AdFormat?: number;
1587
+ OriginalUrl?: Array<unknown>;
1588
+ ThirdPartyImpressionUrl?: string | null;
1589
+ ThirdPartyClickUrl?: string | null;
1580
1590
  }
1581
1591
  interface ZaloAdsAdAppInfoSettingsDto {
1582
1592
  AppType?: number;
@@ -1658,6 +1668,10 @@ interface ZaloAdsAdTargetingSettingsDto {
1658
1668
  Retargeting?: string;
1659
1669
  DmpAudience?: string;
1660
1670
  PhoneList?: Array<unknown>;
1671
+ SiteTargeting?: {
1672
+ WebSite?: number;
1673
+ Zone?: number;
1674
+ };
1661
1675
  CustomAudiences?: Array<number>;
1662
1676
  ExcludeCustomAudiences?: Array<number>;
1663
1677
  IncludedAudiences?: {
@@ -6526,6 +6540,16 @@ declare const VALID_AD_TYPES: {
6526
6540
  readonly COMMERCE: 28;
6527
6541
  readonly ARTICLE: 3;
6528
6542
  readonly DISPLAY: 21;
6543
+ readonly DISPLAY_HALFPAGE: 26;
6544
+ readonly DISPLAY_MEDIUM_RECTANGLE: 23;
6545
+ };
6546
+ /** Danh mục mã AdFormat chính thức của các định dạng Quảng cáo Display */
6547
+ declare const ZALO_DISPLAY_AD_FORMAT: {
6548
+ readonly MASTHEAD_MOBILE: 1;
6549
+ readonly MASTHEAD_DESKTOP: 2;
6550
+ readonly MEDIUM_RECTANGLE: 6;
6551
+ readonly HALFPAGE_MOBILE: 13;
6552
+ readonly HALFPAGE_PC: 14;
6529
6553
  };
6530
6554
  /** Danh sách CTA hợp lệ cho từng loại Ad */
6531
6555
  declare const ALLOWED_CTAS_PER_AD_TYPE: Record<number, number[]>;
@@ -6852,4 +6876,4 @@ declare const ZaloMediaValidator: {
6852
6876
  validateSaveMedia: typeof validateSaveMediaRequest;
6853
6877
  };
6854
6878
 
6855
- export { ALLOWED_CTAS_PER_AD_TYPE, ALL_ZALO_ADS_DOMAINS, AutomatedRuleActionTypeEnum, AutomatedRuleConditionFieldEnum, AutomatedRuleFrequencyEnum, AutomatedRuleOperatorEnum, AutomatedRuleScopeEnum, AutomatedRuleTimeRangeEnum, type AutomatedRuleValidationResult, type BodyType, type CampaignValidationResult, type CleanDateRangeReport, ConversionLabelEnum, ConversionUrlTypeEnum, type ConversionValidationResult, type DateRangeReportQuery, type FileDownloadResponse, type FileInput, type HttpMethod, type HydrateInstantPageOptions, type InstantPageBlock, type InstantPageCallHotlineBlock, type InstantPageCanvas, type InstantPageCarouselBlock, type InstantPageConsentNoticeBlock, type InstantPageCountdownBlock, type InstantPageDefaultMessageBlock, InstantPageFactory, type InstantPageFooterBlock, type InstantPageFormAddressBlock, type InstantPageFormNameBlock, type InstantPageFormPhoneBlock, type InstantPageHeroMediaBlock, type InstantPageKeyValueTableBlock, type InstantPageProductTitlePriceBlock, type InstantPageProductVariantBlock, type InstantPageQuantityBlock, type InstantPageQuickQuestionsBlock, type InstantPageRichTextBlock, type InstantPageShopDescriptionBlock, type InstantPageShopInfoBlock, type InstantPageStickyButtonBlock, MAX_REPORT_RANGE_MS, MAX_REPORT_RANGE_SECONDS, type MediaValidationResult, MemoryZaloSessionStore, type MemoryZaloSessionStoreOptions, type OperationDefinition, RedisZaloSessionStore, type RedisZaloSessionStoreOptions, type RequestOptions, TieredZaloSessionStore, type TieredZaloSessionStoreOptions, VALID_AD_TYPES, VALID_CAMPAIGN_TYPES, VIETNAM_PHONE_REGEX, type ValidateAdOptions, type ValidateCampaignOptions, type ValidateImageInput, type ValidateUploadMediaOptions, type ValidateVideoInput, type ValidationResult, ZALO_NEW_REGION_PROVINCE_CODES, ZALO_PROFILE_ADS_PROVINCES, ZALO_PROFILE_ADS_SUB_CATEGORIES, ZALO_PROVINCE_MERGE_MAPPING, ZALO_REGION_PROVINCE_CODES, type ZaloAccountScope, ZaloAccountService, type ZaloAdsAccessorItemDto, type ZaloAdsAccountAgencyInfoDto, ZaloAdsIntegrationManager as ZaloAdsAccountPool, ZaloAdsActionType, type ZaloAdsAdAppInfoSettingsDto, type ZaloAdsAdImageSettingsDto, type ZaloAdsAdInfoSettingsDto, type ZaloAdsAdLocationSettingsDto, type ZaloAdsAdMultiImageItemDto, type ZaloAdsAdMutationResultDto, type ZaloAdsAdPriceSettingsDto, type ZaloAdsAdReportItemDto, type ZaloAdsAdSettingsDto, type ZaloAdsAdTargetingLocationContainerDto, type ZaloAdsAdTargetingProvinceItemDto, type ZaloAdsAdTargetingRegionItemDto, type ZaloAdsAdTargetingSettingsDto, type ZaloAdsAdUpdatePayloadDto, type ZaloAdsAdZVideoSettingsDto, ZaloAdsAgeRangeId, type ZaloAdsAgencyEmployeeItemDto, type ZaloAdsAutomatedRuleActionDto, type ZaloAdsAutomatedRuleAppliedItemDto, type ZaloAdsAutomatedRuleConditionDto, type ZaloAdsAutomatedRuleScheduleDto, ZaloAdsBudgetScheduleType, type ZaloAdsBudgetScheduleTypeValue, type ZaloAdsCampaignCreatePayloadDto, type ZaloAdsCampaignDetailExtendDto, type ZaloAdsCampaignReportItemDto, ZaloAdsCampaignStatus, type ZaloAdsCampaignStatusValue, type ZaloAdsChangeAutomatedRuleStatusRequest, type ZaloAdsChangeAutomatedRuleStatusResponse, type ZaloAdsChangeCampaignStatusRequest, type ZaloAdsChangeCampaignStatusResponse, type ZaloAdsClientRequest, type ZaloAdsCommerceFormAudienceTargetingDto, type ZaloAdsConversionElementSelectorDto, type ZaloAdsConversionItemDto, type ZaloAdsConversionNameItemDto, type ZaloAdsCreateArticleCampaignPayloadDto, type ZaloAdsCreateArticleCampaignRequest, type ZaloAdsCreateArticleCampaignResponse, type ZaloAdsCreateAutomatedRuleRequest, type ZaloAdsCreateAutomatedRuleResponse, type ZaloAdsCreateCommerceCampaignPayloadDto, type ZaloAdsCreateCommerceCampaignRequest, type ZaloAdsCreateCommerceCampaignResponse, type ZaloAdsCreateCommerceFormAudienceRequest, type ZaloAdsCreateCommerceFormAudienceResponse, type ZaloAdsCreateConversionRequest, type ZaloAdsCreateConversionResponse, type ZaloAdsCreateCustomAudienceRequest, type ZaloAdsCreateCustomAudienceResponse, type ZaloAdsCreateDisplayCampaignPayloadDto, type ZaloAdsCreateDisplayCampaignRequest, type ZaloAdsCreateDisplayCampaignResponse, type ZaloAdsCreateEcommerceCampaignRequest, type ZaloAdsCreateEcommerceCampaignResponse, ZaloAdsCreateFlowRequest, ZaloAdsCreateFlowResponse, type ZaloAdsCreateFormCampaignPayloadDto, type ZaloAdsCreateFormCampaignRequest, type ZaloAdsCreateFormCampaignResponse, type ZaloAdsCreateFormEventAudienceRequest, type ZaloAdsCreateFormEventAudienceResponse, type ZaloAdsCreateFormLeadAudienceRequest, type ZaloAdsCreateFormLeadAudienceResponse, type ZaloAdsCreateFormPayloadDto, type ZaloAdsCreateFormRequest, type ZaloAdsCreateFormResponse, type ZaloAdsCreateLeadSignalAudienceRequest, type ZaloAdsCreateLeadSignalAudienceResponse, type ZaloAdsCreateLookalikeAudienceRequest, type ZaloAdsCreateLookalikeAudienceResponse, type ZaloAdsCreateMessageCampaignPayloadDto, type ZaloAdsCreateMessageCampaignRequest, type ZaloAdsCreateMessageCampaignResponse, type ZaloAdsCreateMessageOaEventAudienceRequest, type ZaloAdsCreateMessageOaEventAudienceResponse, type ZaloAdsCreateMessageOaLeadAudienceRequest, type ZaloAdsCreateMessageOaLeadAudienceResponse, type ZaloAdsCreateMessagePersonalEventAudienceRequest, type ZaloAdsCreateMessagePersonalEventAudienceResponse, type ZaloAdsCreateOaCampaignRequest, type ZaloAdsCreateOaCampaignResponse, type ZaloAdsCreateOfficialAccountCampaignPayloadDto, type ZaloAdsCreateOfficialAccountCampaignRequest, type ZaloAdsCreateOfficialAccountCampaignResponse, type ZaloAdsCreatePhoneAudienceRequest, type ZaloAdsCreatePhoneAudienceResponse, ZaloAdsCreatePostCampaignRequest, ZaloAdsCreatePostCampaignResponse, type ZaloAdsCreateSavedAudienceRequest, type ZaloAdsCreateSavedAudienceResponse, type ZaloAdsCreateSpellCheckV3JobRequest, type ZaloAdsCreateSpellCheckV3JobResponse, type ZaloAdsCreateVideoCampaignPayloadDto, type ZaloAdsCreateVideoCampaignRequest, type ZaloAdsCreateVideoCampaignResponse, type ZaloAdsCreateWebsiteCampaignPayloadDto, type ZaloAdsCreateWebsiteCampaignRequest, type ZaloAdsCreateWebsiteCampaignResponse, type ZaloAdsDeleteAutomatedRuleRequest, type ZaloAdsDeleteAutomatedRuleResponse, type ZaloAdsDeleteCampaignRequest, type ZaloAdsDeleteCampaignResponse, type ZaloAdsDeleteConversionRequest, type ZaloAdsDeleteConversionResponse, type ZaloAdsDeleteCustomAudienceRequest, type ZaloAdsDeleteCustomAudienceResponse, type ZaloAdsDeleteCustomReportRequest, type ZaloAdsDeleteCustomReportResponse, ZaloAdsDeliveryType, type ZaloAdsDeliveryTypeValue, type ZaloAdsDomain, type ZaloAdsDownloadReportRequest, type ZaloAdsDownloadReportResponse, type ZaloAdsDuplicateAdRequest, type ZaloAdsDuplicateAdResponse, type ZaloAdsFileGroupItemDto, ZaloAdsFlowButtonDto, ZaloAdsFlowChildMessageDto, ZaloAdsFlowMessageDto, type ZaloAdsFormAnswerDto, type ZaloAdsFormEventAudienceTargetingDto, type ZaloAdsFormLeadAudienceTargetingDto, type ZaloAdsFormQuestionDto, type ZaloAdsFormQuestionUiDto, type ZaloAdsFormSectionContentDto, type ZaloAdsFormSectionDto, type ZaloAdsFormSectionImageItemDto, type ZaloAdsFormSectionTableItemDto, type ZaloAdsGetAdByIdRequest, type ZaloAdsGetAdByIdResponse, type ZaloAdsGetAdChangeLogRequest, type ZaloAdsGetAdChangeLogResponse, type ZaloAdsGetApiAdGetlistadadvancetargetingRequest, type ZaloAdsGetApiAdGetlistadadvancetargetingResponse, type ZaloAdsGetApiBaAccountAllaccessorsRequest, type ZaloAdsGetApiBaAccountAllaccessorsResponse, type ZaloAdsGetApiBaAccountAllgrantedmembersRequest, type ZaloAdsGetApiBaAccountAllgrantedmembersResponse, type ZaloAdsGetApiBaAgencyEmployeesRequest, type ZaloAdsGetApiBaAgencyEmployeesResponse, type ZaloAdsGetApiConversionAllRequest, type ZaloAdsGetApiConversionAllResponse, type ZaloAdsGetApiConversionStandardEventsRequest, type ZaloAdsGetApiConversionStandardEventsResponse, type ZaloAdsGetApiCustomAudienceAllRequest, type ZaloAdsGetApiCustomAudienceAllResponse, type ZaloAdsGetApiFilegroupsRequest, type ZaloAdsGetApiFilegroupsResponse, type ZaloAdsGetApiLpNewsRequest, type ZaloAdsGetApiLpNewsResponse, type ZaloAdsGetApiMediaItemsRequest, type ZaloAdsGetApiMediaItemsResponse, type ZaloAdsGetApiMemberFilesRequest, type ZaloAdsGetApiMemberFilesResponse, type ZaloAdsGetApiNotifiesHeaderRequest, type ZaloAdsGetApiNotifiesHeaderResponse, type ZaloAdsGetApiPaymentTransactionHistoryRequest, type ZaloAdsGetApiPaymentTransactionHistoryResponse, type ZaloAdsGetApiPlaceGetalldistrictsRequest, type ZaloAdsGetApiPlaceGetalldistrictsResponse, type ZaloAdsGetApiSpellCheckV2Request, type ZaloAdsGetApiSpellCheckV2Response, type ZaloAdsGetApiWhoamiRequest, type ZaloAdsGetApiWhoamiResponse, type ZaloAdsGetAutomatedRuleDetailRequest, type ZaloAdsGetAutomatedRuleDetailResponse, type ZaloAdsGetAutomatedRuleHistoryRequest, type ZaloAdsGetAutomatedRuleHistoryResponse, type ZaloAdsGetDemographicsReportRequest, type ZaloAdsGetDemographicsReportResponse, type ZaloAdsGetReportOverviewRequest, type ZaloAdsGetReportOverviewResponse, type ZaloAdsGetReportapiV2AdsRequest, type ZaloAdsGetReportapiV2AdsResponse, type ZaloAdsGetReportapiV2CampaignsRequest, type ZaloAdsGetReportapiV2CampaignsResponse, type ZaloAdsGetReportapiV2UniqueUserRequest, type ZaloAdsGetReportapiV2UniqueUserResponse, type ZaloAdsGetReportapiV3CampaignsRequest, type ZaloAdsGetReportapiV3CampaignsResponse, type ZaloAdsGetSpellCheckV3JobRequest, type ZaloAdsGetSpellCheckV3JobResponse, type ZaloAdsGetZaapiCampaignReportcampaignRequest, type ZaloAdsGetZaapiCampaignReportcampaignResponse, type ZaloAdsGetZaapiCheckcamphasmanyadsRequest, type ZaloAdsGetZaapiCheckcamphasmanyadsResponse, type ZaloAdsGetZaapiGetadsfromcampaignidRequest, type ZaloAdsGetZaapiGetadsfromcampaignidResponse, type ZaloAdsGetZaapiGetallpagesRequest, type ZaloAdsGetZaapiGetallpagesResponse, type ZaloAdsGetZaapiGetownedarticlesRequest, type ZaloAdsGetZaapiGetownedarticlesResponse, type ZaloAdsGetZaapiGetownedpagesRequest, type ZaloAdsGetZaapiGetownedpagesResponse, type ZaloAdsGrantedMemberItemDto, ZaloAdsImageRatio, type ZaloAdsImageRatioValue, ZaloAdsIntegrationManager, type ZaloAdsIntegrationManagerOptions, type ZaloAdsLeadSignalAudienceTargetingDto, type ZaloAdsLeadSignalOaItem, type ZaloAdsListAgencyCustomersWithBudgetRequest, type ZaloAdsListAgencyCustomersWithBudgetResponse, type ZaloAdsListAutomatedRulesRequest, type ZaloAdsListAutomatedRulesResponse, type ZaloAdsListConversionNamesRequest, type ZaloAdsListConversionNamesResponse, type ZaloAdsListCustomReportsRequest, type ZaloAdsListCustomReportsResponse, type ZaloAdsListFlowsByOfficialAccountRequest, type ZaloAdsListFlowsByOfficialAccountResponse, type ZaloAdsListFormsByOfficialAccountRequest, type ZaloAdsListFormsByOfficialAccountResponse, type ZaloAdsListLeadSignalOasResponse, type ZaloAdsListMiniPagesByTemplateRequest, type ZaloAdsListMiniPagesByTemplateResponse, type ZaloAdsListPersonalPixelLabelsRequest, type ZaloAdsListPersonalPixelLabelsResponse, type ZaloAdsListReportFiltersRequest, type ZaloAdsListReportFiltersResponse, type ZaloAdsLookalikeAudienceTargetingDto, type ZaloAdsLpNewsButtonDto, type ZaloAdsLpNewsItemDto, type ZaloAdsMediaSavePayloadDto, type ZaloAdsMediaSaveSettingsDto, type ZaloAdsMemberFileItemDto, ZaloAdsMessageAdUpdateDataDto, type ZaloAdsMessageOaEventAudienceTargetingDto, type ZaloAdsMessageOaLeadAudienceTargetingDto, type ZaloAdsMessagePersonalEventAudienceTargetingDto, type ZaloAdsNotifyHeaderItemDto, ZaloAdsOsId, type ZaloAdsOsIdValue, type ZaloAdsOwnedArticleItemDto, type ZaloAdsOwnedPageExtraInfoDto, type ZaloAdsOwnedPageItemDto, type ZaloAdsOwnedPageLocationDto, type ZaloAdsPageConfigDto, type ZaloAdsPaymentTransactionItemDto, type ZaloAdsPhoneAudienceTargetingDto, type ZaloAdsPostApiAdEstimateaudienceRequest, type ZaloAdsPostApiAdEstimateaudienceResponse, type ZaloAdsPostApiMediaSaveRequest, type ZaloAdsPostApiMediaSaveResponse, type ZaloAdsPostApiMemberUploadImageRequest, type ZaloAdsPostApiMemberUploadImageResponse, type ZaloAdsPostZaapiDeleteadRequest, type ZaloAdsPostZaapiDeleteadResponse, ZaloAdsPriceLimitType, type ZaloAdsPriceLimitTypeValue, ZaloAdsPriceType, type ZaloAdsPriceTypeValue, ZaloAdsProvinceCode, type ZaloAdsProvinceCodeValue, ZaloAdsRegionId, type ZaloAdsRegionIdValue, type ZaloAdsRenameCampaignRequest, type ZaloAdsRenameCampaignResponse, ZaloAdsSdk, type ZaloAdsSdkOptions, ZaloAdsService, type ZaloAdsSpellCheckIssueDto, type ZaloAdsSpellCheckViolationDto, ZaloAdsSpendingMethod, type ZaloAdsSpendingMethodValue, type ZaloAdsStandardEventItemDto, type ZaloAdsUniqueUserReportDataDto, type ZaloAdsUpdateArticleAdRequest, type ZaloAdsUpdateArticleAdResponse, type ZaloAdsUpdateAutomatedRuleRequest, type ZaloAdsUpdateAutomatedRuleResponse, type ZaloAdsUpdateCommerceAdRequest, type ZaloAdsUpdateCommerceAdResponse, type ZaloAdsUpdateDisplayAdRequest, type ZaloAdsUpdateDisplayAdResponse, type ZaloAdsUpdateEcommerceAdRequest, type ZaloAdsUpdateEcommerceAdResponse, type ZaloAdsUpdateFlowRequest, type ZaloAdsUpdateFlowResponse, type ZaloAdsUpdateFormAdRequest, type ZaloAdsUpdateFormAdResponse, ZaloAdsUpdateMessageAdRequest, ZaloAdsUpdateMessageAdResponse, type ZaloAdsUpdateNewAdsRequest, type ZaloAdsUpdateNewAdsResponse, type ZaloAdsUpdateOaAdRequest, type ZaloAdsUpdateOaAdResponse, type ZaloAdsUpdateOfficialAccountAdRequest, type ZaloAdsUpdateOfficialAccountAdResponse, type ZaloAdsUpdatePostAdRequest, type ZaloAdsUpdatePostAdResponse, ZaloAdsUpdateVideoAdRequest, ZaloAdsUpdateVideoAdResponse, type ZaloAdsUpdateWebsiteAdRequest, type ZaloAdsUpdateWebsiteAdResponse, type ZaloAdsUploadCustomAudiencePhoneListRequest, type ZaloAdsUploadCustomAudiencePhoneListResponse, type ZaloAdsUploadVideoRequest, type ZaloAdsUploadVideoResponse, type ZaloAdsUpsertCustomReportRequest, type ZaloAdsUpsertCustomReportResponse, ZaloAdsUseConversion, type ZaloAdsUseConversionValue, ZaloAdsVideoSrc, type ZaloAdsVideoSrcValue, type ZaloAdsWhoamiProfile, ZaloAdsXTemplates, type ZaloAdsXTemplatesValue, type ZaloAdsZaapiCampaignReportItemDto, ZaloAudiencesService, ZaloAudiencesValidator, type ZaloAuthDomain, ZaloAuthManager, ZaloAutomatedRulesService, ZaloAutomatedRulesValidator, ZaloCampaignsService, ZaloCampaignsValidator, type ZaloChatWidgetGetChatWidgetLoginConfigRequest, type ZaloChatWidgetGetChatWidgetLoginConfigResponse, type ZaloChatWidgetGetLoginConfigRequest, type ZaloChatWidgetGetLoginConfigResponse, ZaloChatWidgetService, ZaloConversionsService, ZaloConversionsValidator, type ZaloCreateFormCleanPayload, type ZaloCreateFormRequestInput, type ZaloDomainSession, ZaloFlowsService, ZaloFlowsValidator, type ZaloFormQuestionAnswerInput, type ZaloFormQuestionInput, type ZaloFormSectionInput, type ZaloFormSessionProfile, type ZaloFormsAudienceExclusionTargetingItem, type ZaloFormsAuthSessionOaItem, type ZaloFormsConversationLeadItem, type ZaloFormsDisableFormLeadNotificationRequest, type ZaloFormsDisableFormLeadNotificationResponse, type ZaloFormsEnableFormLeadNotificationRequest, type ZaloFormsEnableFormLeadNotificationResponse, type ZaloFormsExportFormLeadReportRequest, type ZaloFormsExportFormLeadReportResponse, type ZaloFormsGetAuthSessionResponse, type ZaloFormsLeadAnswerItem, type ZaloFormsLeadItem, type ZaloFormsListAudienceExclusionTargetingRequest, type ZaloFormsListAudienceExclusionTargetingResponse, type ZaloFormsListConversationLeadsRequest, type ZaloFormsListConversationLeadsResponse, type ZaloFormsListFormLeadsRequest, type ZaloFormsListFormLeadsResponse, type ZaloFormsListManagedFormsByOfficialAccountRequest, type ZaloFormsListManagedFormsByOfficialAccountResponse, type ZaloFormsListScenariosByOfficialAccountRequest, type ZaloFormsListScenariosByOfficialAccountResponse, type ZaloFormsListSimpleFormsByOfficialAccountRequest, type ZaloFormsListSimpleFormsByOfficialAccountResponse, type ZaloFormsScenarioItem, ZaloFormsService, type ZaloFormsTrackManageFormEventRequest, type ZaloFormsTrackManageFormEventResponse, type ZaloFormsUpdateFormLeadNotificationIntervalRequest, type ZaloFormsUpdateFormLeadNotificationIntervalResponse, ZaloFormsValidator, type ZaloInstantPageActive, ZaloInstantPageBlockType, ZaloInstantPageSharePermission, type ZaloInstantPageSharePermissionValue, type ZaloInstantPageStatus, type ZaloInstantPagesCloneInstantPageRequest, type ZaloInstantPagesCloneInstantPageResponse, type ZaloInstantPagesCreateInstantPageRequest, type ZaloInstantPagesCreateInstantPageResponse, type ZaloInstantPagesFormRecordItem, type ZaloInstantPagesGetInstantPageDetailRequest, type ZaloInstantPagesGetInstantPageDetailResponse, type ZaloInstantPagesGetInstantPageSharedUserRequest, type ZaloInstantPagesGetInstantPageSharedUserResponse, type ZaloInstantPagesListInstantPageEditHistoryRequest, type ZaloInstantPagesListInstantPageEditHistoryResponse, type ZaloInstantPagesListInstantPageFormRecordsRequest, type ZaloInstantPagesListInstantPageFormRecordsResponse, type ZaloInstantPagesListInstantPageLeadsRequest, type ZaloInstantPagesListInstantPageLeadsResponse, type ZaloInstantPagesListInstantPageSharesRequest, type ZaloInstantPagesListInstantPageSharesResponse, type ZaloInstantPagesListInstantPageUsersRequest, type ZaloInstantPagesListInstantPageUsersResponse, type ZaloInstantPagesListMiniPageTemplatesRequest, type ZaloInstantPagesListMiniPageTemplatesResponse, type ZaloInstantPagesListOfficialAccountsRequest, type ZaloInstantPagesListOfficialAccountsResponse, type ZaloInstantPagesOfficialAccountItem, type ZaloInstantPagesSearchInstantPagesRequest, type ZaloInstantPagesSearchInstantPagesResponse, ZaloInstantPagesService, type ZaloInstantPagesShareMemberDto, type ZaloInstantPagesUpdateInstantPageRequest, type ZaloInstantPagesUpdateInstantPageResponse, type ZaloInstantPagesUpdateInstantPageSharesRequest, type ZaloInstantPagesUpdateInstantPageSharesResponse, type ZaloInstantPagesUpsertInstantPageFormRequest, type ZaloInstantPagesUpsertInstantPageFormResponse, ZaloInstantPagesValidator, type ZaloIntegrationCredentials, type ZaloIntegrationVerificationResult, type ZaloMediaImage, ZaloMediaService, ZaloMediaValidator, type ZaloPlaySessionPayload, type ZaloProfileAdsAdministrativeItem, type ZaloProfileAdsCreateOaPageRequest, type ZaloProfileAdsCreateOaPageResponse, type ZaloProfileAdsGetDistrictsRequest, type ZaloProfileAdsGetDistrictsResponse, type ZaloProfileAdsGetProvincesResponse, type ZaloProfileAdsProvinceId, ZaloProfileAdsService, type ZaloProfileAdsSubCategoryId, type ZaloProfileAdsUploadOaAvatarRequest, type ZaloProfileAdsUploadOaAvatarResponse, type ZaloProfileAdsUploadOaCoverRequest, type ZaloProfileAdsUploadOaCoverResponse, ZaloProfileAdsValidator, type ZaloRedisLikeClient, ZaloReportsService, ZaloReportsValidator, type ZaloSdkAuth, type ZaloSdkAuthContext, ZaloSdkError, ZaloSdkHttpClient, type ZaloSessionStore, type ZaloSsoAuthOptions, type ZaloUploadAndSaveImageRequest, type ZaloUploadAndSaveImageResult, type ZaloUploadAndSaveVideoRequest, type ZaloUploadAndSaveVideoResult, type ZaloWidgetAPIGetOfficialAccountInfoRequest, type ZaloWidgetAPIGetOfficialAccountInfoResponse, type ZaloWidgetAPIGetWidgetUserProfileRequest, type ZaloWidgetAPIGetWidgetUserProfileResponse, type ZaloWidgetAPIListStickerCategoriesRequest, type ZaloWidgetAPIListStickerCategoriesResponse, type ZaloWidgetAPIListStickersByCategoryRequest, type ZaloWidgetAPIListStickersByCategoryResponse, ZaloWidgetApiService, computeZpsidFingerprint, createZaloSsoAuth, decodePlaySessionJwt, ZaloAdsSdk as default, defaultSharedMemorySessionStore, deriveAccountKeyFromZpsid, parseZaloCookieInput, sanitizeCanvasKeys, validateChangeCampaignStatusParams, validateCloneInstantPageRequest, validateCreateArticleCampaign, validateCreateCampaignPayload, validateCreateCommerceCampaign, validateCreateCustomAudienceRequest, validateCreateDisplayCampaign, validateCreateFlowRequest, validateCreateFormCampaign, validateCreateFormEventAudienceRequest, validateCreateFormRequest, validateCreateInstantPageRequest, validateCreateLookalikeAudienceRequest, validateCreateMessageCampaign, validateCreateMessageOaEventAudienceRequest, validateCreateMessagePersonalEventAudienceRequest, validateCreateOaPageRequest, validateCreateOfficialAccountCampaign, validateCreatePhoneAudienceRequest, validateCreateSavedAudienceRequest, validateCreateVideoCampaign, validateCreateWebsiteCampaign, validateCropCoordinates, validateDateRangeReportRequest, validateDuplicateAdParams, validateEstimateAudienceRequest, validateGetInstantPageDetailRequest, validateGetInstantPageSharedUserRequest, validateInstantPageCanvas, validateListFlowsByOfficialAccountRequest, validateListFormLeadsRequest, validateListFormsByOfficialAccountRequest, validateListInstantPageEditHistoryRequest, validateListInstantPageFormRecordsRequest, validateListInstantPageLeadsRequest, validateListInstantPageSharesRequest, validateListInstantPageUsersRequest, validateListMiniPageTemplatesRequest, validateListOfficialAccountsRequest, validateRenameCampaignParams, validateSaveMediaRequest, validateSearchInstantPagesRequest, validateToggleLeadNotificationRequest, validateUpdateAdPayload, validateUpdateArticleAd, validateUpdateCommerceAd, validateUpdateDisplayAd, validateUpdateFlowRequest, validateUpdateFormAd, validateUpdateInstantPageRequest, validateUpdateInstantPageSharesRequest, validateUpdateLeadNotificationIntervalRequest, validateUpdateMessageAd, validateUpdateOfficialAccountAd, validateUpdateVideoAd, validateUpdateWebsiteAd, validateUploadCustomAudiencePhoneListRequest, validateUploadMediaRequest, validateUpsertCustomReportRequest, validateUpsertInstantPageFormRequest };
6879
+ export { ALLOWED_CTAS_PER_AD_TYPE, ALL_ZALO_ADS_DOMAINS, AutomatedRuleActionTypeEnum, AutomatedRuleConditionFieldEnum, AutomatedRuleFrequencyEnum, AutomatedRuleOperatorEnum, AutomatedRuleScopeEnum, AutomatedRuleTimeRangeEnum, type AutomatedRuleValidationResult, type BodyType, type CampaignValidationResult, type CleanDateRangeReport, ConversionLabelEnum, ConversionUrlTypeEnum, type ConversionValidationResult, type DateRangeReportQuery, type FileDownloadResponse, type FileInput, type HttpMethod, type HydrateInstantPageOptions, type InstantPageBlock, type InstantPageCallHotlineBlock, type InstantPageCanvas, type InstantPageCarouselBlock, type InstantPageConsentNoticeBlock, type InstantPageCountdownBlock, type InstantPageDefaultMessageBlock, InstantPageFactory, type InstantPageFooterBlock, type InstantPageFormAddressBlock, type InstantPageFormNameBlock, type InstantPageFormPhoneBlock, type InstantPageHeroMediaBlock, type InstantPageKeyValueTableBlock, type InstantPageProductTitlePriceBlock, type InstantPageProductVariantBlock, type InstantPageQuantityBlock, type InstantPageQuickQuestionsBlock, type InstantPageRichTextBlock, type InstantPageShopDescriptionBlock, type InstantPageShopInfoBlock, type InstantPageStickyButtonBlock, MAX_REPORT_RANGE_MS, MAX_REPORT_RANGE_SECONDS, type MediaValidationResult, MemoryZaloSessionStore, type MemoryZaloSessionStoreOptions, type OperationDefinition, RedisZaloSessionStore, type RedisZaloSessionStoreOptions, type RequestOptions, TieredZaloSessionStore, type TieredZaloSessionStoreOptions, VALID_AD_TYPES, VALID_CAMPAIGN_TYPES, VIETNAM_PHONE_REGEX, type ValidateAdOptions, type ValidateCampaignOptions, type ValidateImageInput, type ValidateUploadMediaOptions, type ValidateVideoInput, type ValidationResult, ZALO_DISPLAY_AD_FORMAT, ZALO_NEW_REGION_PROVINCE_CODES, ZALO_PROFILE_ADS_PROVINCES, ZALO_PROFILE_ADS_SUB_CATEGORIES, ZALO_PROVINCE_MERGE_MAPPING, ZALO_REGION_PROVINCE_CODES, type ZaloAccountScope, ZaloAccountService, type ZaloAdsAccessorItemDto, type ZaloAdsAccountAgencyInfoDto, ZaloAdsIntegrationManager as ZaloAdsAccountPool, ZaloAdsActionType, type ZaloAdsAdAppInfoSettingsDto, type ZaloAdsAdImageSettingsDto, type ZaloAdsAdInfoSettingsDto, type ZaloAdsAdLocationSettingsDto, type ZaloAdsAdMultiImageItemDto, type ZaloAdsAdMutationResultDto, type ZaloAdsAdPriceSettingsDto, type ZaloAdsAdReportItemDto, type ZaloAdsAdSettingsDto, type ZaloAdsAdTargetingLocationContainerDto, type ZaloAdsAdTargetingProvinceItemDto, type ZaloAdsAdTargetingRegionItemDto, type ZaloAdsAdTargetingSettingsDto, type ZaloAdsAdUpdatePayloadDto, type ZaloAdsAdZVideoSettingsDto, ZaloAdsAgeRangeId, type ZaloAdsAgencyEmployeeItemDto, type ZaloAdsAutomatedRuleActionDto, type ZaloAdsAutomatedRuleAppliedItemDto, type ZaloAdsAutomatedRuleConditionDto, type ZaloAdsAutomatedRuleScheduleDto, ZaloAdsBudgetScheduleType, type ZaloAdsBudgetScheduleTypeValue, type ZaloAdsCampaignCreatePayloadDto, type ZaloAdsCampaignDetailExtendDto, type ZaloAdsCampaignReportItemDto, ZaloAdsCampaignStatus, type ZaloAdsCampaignStatusValue, type ZaloAdsChangeAutomatedRuleStatusRequest, type ZaloAdsChangeAutomatedRuleStatusResponse, type ZaloAdsChangeCampaignStatusRequest, type ZaloAdsChangeCampaignStatusResponse, type ZaloAdsClientRequest, type ZaloAdsCommerceFormAudienceTargetingDto, type ZaloAdsConversionElementSelectorDto, type ZaloAdsConversionItemDto, type ZaloAdsConversionNameItemDto, type ZaloAdsCreateArticleCampaignPayloadDto, type ZaloAdsCreateArticleCampaignRequest, type ZaloAdsCreateArticleCampaignResponse, type ZaloAdsCreateAutomatedRuleRequest, type ZaloAdsCreateAutomatedRuleResponse, type ZaloAdsCreateCommerceCampaignPayloadDto, type ZaloAdsCreateCommerceCampaignRequest, type ZaloAdsCreateCommerceCampaignResponse, type ZaloAdsCreateCommerceFormAudienceRequest, type ZaloAdsCreateCommerceFormAudienceResponse, type ZaloAdsCreateConversionRequest, type ZaloAdsCreateConversionResponse, type ZaloAdsCreateCustomAudienceRequest, type ZaloAdsCreateCustomAudienceResponse, type ZaloAdsCreateDisplayCampaignPayloadDto, type ZaloAdsCreateDisplayCampaignRequest, type ZaloAdsCreateDisplayCampaignResponse, type ZaloAdsCreateEcommerceCampaignRequest, type ZaloAdsCreateEcommerceCampaignResponse, ZaloAdsCreateFlowRequest, ZaloAdsCreateFlowResponse, type ZaloAdsCreateFormCampaignPayloadDto, type ZaloAdsCreateFormCampaignRequest, type ZaloAdsCreateFormCampaignResponse, type ZaloAdsCreateFormEventAudienceRequest, type ZaloAdsCreateFormEventAudienceResponse, type ZaloAdsCreateFormLeadAudienceRequest, type ZaloAdsCreateFormLeadAudienceResponse, type ZaloAdsCreateFormPayloadDto, type ZaloAdsCreateFormRequest, type ZaloAdsCreateFormResponse, type ZaloAdsCreateLeadSignalAudienceRequest, type ZaloAdsCreateLeadSignalAudienceResponse, type ZaloAdsCreateLookalikeAudienceRequest, type ZaloAdsCreateLookalikeAudienceResponse, type ZaloAdsCreateMessageCampaignPayloadDto, type ZaloAdsCreateMessageCampaignRequest, type ZaloAdsCreateMessageCampaignResponse, type ZaloAdsCreateMessageOaEventAudienceRequest, type ZaloAdsCreateMessageOaEventAudienceResponse, type ZaloAdsCreateMessageOaLeadAudienceRequest, type ZaloAdsCreateMessageOaLeadAudienceResponse, type ZaloAdsCreateMessagePersonalEventAudienceRequest, type ZaloAdsCreateMessagePersonalEventAudienceResponse, type ZaloAdsCreateOaCampaignRequest, type ZaloAdsCreateOaCampaignResponse, type ZaloAdsCreateOfficialAccountCampaignPayloadDto, type ZaloAdsCreateOfficialAccountCampaignRequest, type ZaloAdsCreateOfficialAccountCampaignResponse, type ZaloAdsCreatePhoneAudienceRequest, type ZaloAdsCreatePhoneAudienceResponse, ZaloAdsCreatePostCampaignRequest, ZaloAdsCreatePostCampaignResponse, type ZaloAdsCreateSavedAudienceRequest, type ZaloAdsCreateSavedAudienceResponse, type ZaloAdsCreateSpellCheckV3JobRequest, type ZaloAdsCreateSpellCheckV3JobResponse, type ZaloAdsCreateVideoCampaignPayloadDto, type ZaloAdsCreateVideoCampaignRequest, type ZaloAdsCreateVideoCampaignResponse, type ZaloAdsCreateWebsiteCampaignPayloadDto, type ZaloAdsCreateWebsiteCampaignRequest, type ZaloAdsCreateWebsiteCampaignResponse, type ZaloAdsDeleteAutomatedRuleRequest, type ZaloAdsDeleteAutomatedRuleResponse, type ZaloAdsDeleteCampaignRequest, type ZaloAdsDeleteCampaignResponse, type ZaloAdsDeleteConversionRequest, type ZaloAdsDeleteConversionResponse, type ZaloAdsDeleteCustomAudienceRequest, type ZaloAdsDeleteCustomAudienceResponse, type ZaloAdsDeleteCustomReportRequest, type ZaloAdsDeleteCustomReportResponse, ZaloAdsDeliveryType, type ZaloAdsDeliveryTypeValue, type ZaloAdsDomain, type ZaloAdsDownloadReportRequest, type ZaloAdsDownloadReportResponse, type ZaloAdsDuplicateAdRequest, type ZaloAdsDuplicateAdResponse, type ZaloAdsFileGroupItemDto, ZaloAdsFlowButtonDto, ZaloAdsFlowChildMessageDto, ZaloAdsFlowMessageDto, type ZaloAdsFormAnswerDto, type ZaloAdsFormEventAudienceTargetingDto, type ZaloAdsFormLeadAudienceTargetingDto, type ZaloAdsFormQuestionDto, type ZaloAdsFormQuestionUiDto, type ZaloAdsFormSectionContentDto, type ZaloAdsFormSectionDto, type ZaloAdsFormSectionImageItemDto, type ZaloAdsFormSectionTableItemDto, type ZaloAdsGetAdByIdRequest, type ZaloAdsGetAdByIdResponse, type ZaloAdsGetAdChangeLogRequest, type ZaloAdsGetAdChangeLogResponse, type ZaloAdsGetApiAdGetlistadadvancetargetingRequest, type ZaloAdsGetApiAdGetlistadadvancetargetingResponse, type ZaloAdsGetApiBaAccountAllaccessorsRequest, type ZaloAdsGetApiBaAccountAllaccessorsResponse, type ZaloAdsGetApiBaAccountAllgrantedmembersRequest, type ZaloAdsGetApiBaAccountAllgrantedmembersResponse, type ZaloAdsGetApiBaAgencyEmployeesRequest, type ZaloAdsGetApiBaAgencyEmployeesResponse, type ZaloAdsGetApiConversionAllRequest, type ZaloAdsGetApiConversionAllResponse, type ZaloAdsGetApiConversionStandardEventsRequest, type ZaloAdsGetApiConversionStandardEventsResponse, type ZaloAdsGetApiCustomAudienceAllRequest, type ZaloAdsGetApiCustomAudienceAllResponse, type ZaloAdsGetApiFilegroupsRequest, type ZaloAdsGetApiFilegroupsResponse, type ZaloAdsGetApiLpNewsRequest, type ZaloAdsGetApiLpNewsResponse, type ZaloAdsGetApiMediaItemsRequest, type ZaloAdsGetApiMediaItemsResponse, type ZaloAdsGetApiMemberFilesRequest, type ZaloAdsGetApiMemberFilesResponse, type ZaloAdsGetApiNotifiesHeaderRequest, type ZaloAdsGetApiNotifiesHeaderResponse, type ZaloAdsGetApiPaymentTransactionHistoryRequest, type ZaloAdsGetApiPaymentTransactionHistoryResponse, type ZaloAdsGetApiPlaceGetalldistrictsRequest, type ZaloAdsGetApiPlaceGetalldistrictsResponse, type ZaloAdsGetApiSpellCheckV2Request, type ZaloAdsGetApiSpellCheckV2Response, type ZaloAdsGetApiWhoamiRequest, type ZaloAdsGetApiWhoamiResponse, type ZaloAdsGetAutomatedRuleDetailRequest, type ZaloAdsGetAutomatedRuleDetailResponse, type ZaloAdsGetAutomatedRuleHistoryRequest, type ZaloAdsGetAutomatedRuleHistoryResponse, type ZaloAdsGetDemographicsReportRequest, type ZaloAdsGetDemographicsReportResponse, type ZaloAdsGetReportOverviewRequest, type ZaloAdsGetReportOverviewResponse, type ZaloAdsGetReportapiV2AdsRequest, type ZaloAdsGetReportapiV2AdsResponse, type ZaloAdsGetReportapiV2CampaignsRequest, type ZaloAdsGetReportapiV2CampaignsResponse, type ZaloAdsGetReportapiV2UniqueUserRequest, type ZaloAdsGetReportapiV2UniqueUserResponse, type ZaloAdsGetReportapiV3CampaignsRequest, type ZaloAdsGetReportapiV3CampaignsResponse, type ZaloAdsGetSpellCheckV3JobRequest, type ZaloAdsGetSpellCheckV3JobResponse, type ZaloAdsGetZaapiCampaignReportcampaignRequest, type ZaloAdsGetZaapiCampaignReportcampaignResponse, type ZaloAdsGetZaapiCheckcamphasmanyadsRequest, type ZaloAdsGetZaapiCheckcamphasmanyadsResponse, type ZaloAdsGetZaapiGetadsfromcampaignidRequest, type ZaloAdsGetZaapiGetadsfromcampaignidResponse, type ZaloAdsGetZaapiGetallpagesRequest, type ZaloAdsGetZaapiGetallpagesResponse, type ZaloAdsGetZaapiGetownedarticlesRequest, type ZaloAdsGetZaapiGetownedarticlesResponse, type ZaloAdsGetZaapiGetownedpagesRequest, type ZaloAdsGetZaapiGetownedpagesResponse, type ZaloAdsGrantedMemberItemDto, ZaloAdsImageRatio, type ZaloAdsImageRatioValue, ZaloAdsIntegrationManager, type ZaloAdsIntegrationManagerOptions, type ZaloAdsLeadSignalAudienceTargetingDto, type ZaloAdsLeadSignalOaItem, type ZaloAdsListAgencyCustomersWithBudgetRequest, type ZaloAdsListAgencyCustomersWithBudgetResponse, type ZaloAdsListAutomatedRulesRequest, type ZaloAdsListAutomatedRulesResponse, type ZaloAdsListConversionNamesRequest, type ZaloAdsListConversionNamesResponse, type ZaloAdsListCustomReportsRequest, type ZaloAdsListCustomReportsResponse, type ZaloAdsListFlowsByOfficialAccountRequest, type ZaloAdsListFlowsByOfficialAccountResponse, type ZaloAdsListFormsByOfficialAccountRequest, type ZaloAdsListFormsByOfficialAccountResponse, type ZaloAdsListLeadSignalOasResponse, type ZaloAdsListMiniPagesByTemplateRequest, type ZaloAdsListMiniPagesByTemplateResponse, type ZaloAdsListPersonalPixelLabelsRequest, type ZaloAdsListPersonalPixelLabelsResponse, type ZaloAdsListReportFiltersRequest, type ZaloAdsListReportFiltersResponse, type ZaloAdsLookalikeAudienceTargetingDto, type ZaloAdsLpNewsButtonDto, type ZaloAdsLpNewsItemDto, type ZaloAdsMediaSavePayloadDto, type ZaloAdsMediaSaveSettingsDto, type ZaloAdsMemberFileItemDto, ZaloAdsMessageAdUpdateDataDto, type ZaloAdsMessageOaEventAudienceTargetingDto, type ZaloAdsMessageOaLeadAudienceTargetingDto, type ZaloAdsMessagePersonalEventAudienceTargetingDto, type ZaloAdsNotifyHeaderItemDto, ZaloAdsOsId, type ZaloAdsOsIdValue, type ZaloAdsOwnedArticleItemDto, type ZaloAdsOwnedPageExtraInfoDto, type ZaloAdsOwnedPageItemDto, type ZaloAdsOwnedPageLocationDto, type ZaloAdsPageConfigDto, type ZaloAdsPaymentTransactionItemDto, type ZaloAdsPhoneAudienceTargetingDto, type ZaloAdsPostApiAdEstimateaudienceRequest, type ZaloAdsPostApiAdEstimateaudienceResponse, type ZaloAdsPostApiMediaSaveRequest, type ZaloAdsPostApiMediaSaveResponse, type ZaloAdsPostApiMemberUploadImageRequest, type ZaloAdsPostApiMemberUploadImageResponse, type ZaloAdsPostZaapiDeleteadRequest, type ZaloAdsPostZaapiDeleteadResponse, ZaloAdsPriceLimitType, type ZaloAdsPriceLimitTypeValue, ZaloAdsPriceType, type ZaloAdsPriceTypeValue, ZaloAdsProvinceCode, type ZaloAdsProvinceCodeValue, ZaloAdsRegionId, type ZaloAdsRegionIdValue, type ZaloAdsRenameCampaignRequest, type ZaloAdsRenameCampaignResponse, ZaloAdsSdk, type ZaloAdsSdkOptions, ZaloAdsService, type ZaloAdsSpellCheckIssueDto, type ZaloAdsSpellCheckViolationDto, ZaloAdsSpendingMethod, type ZaloAdsSpendingMethodValue, type ZaloAdsStandardEventItemDto, type ZaloAdsUniqueUserReportDataDto, type ZaloAdsUpdateArticleAdRequest, type ZaloAdsUpdateArticleAdResponse, type ZaloAdsUpdateAutomatedRuleRequest, type ZaloAdsUpdateAutomatedRuleResponse, type ZaloAdsUpdateCommerceAdRequest, type ZaloAdsUpdateCommerceAdResponse, type ZaloAdsUpdateDisplayAdRequest, type ZaloAdsUpdateDisplayAdResponse, type ZaloAdsUpdateEcommerceAdRequest, type ZaloAdsUpdateEcommerceAdResponse, type ZaloAdsUpdateFlowRequest, type ZaloAdsUpdateFlowResponse, type ZaloAdsUpdateFormAdRequest, type ZaloAdsUpdateFormAdResponse, ZaloAdsUpdateMessageAdRequest, ZaloAdsUpdateMessageAdResponse, type ZaloAdsUpdateNewAdsRequest, type ZaloAdsUpdateNewAdsResponse, type ZaloAdsUpdateOaAdRequest, type ZaloAdsUpdateOaAdResponse, type ZaloAdsUpdateOfficialAccountAdRequest, type ZaloAdsUpdateOfficialAccountAdResponse, type ZaloAdsUpdatePostAdRequest, type ZaloAdsUpdatePostAdResponse, ZaloAdsUpdateVideoAdRequest, ZaloAdsUpdateVideoAdResponse, type ZaloAdsUpdateWebsiteAdRequest, type ZaloAdsUpdateWebsiteAdResponse, type ZaloAdsUploadCustomAudiencePhoneListRequest, type ZaloAdsUploadCustomAudiencePhoneListResponse, type ZaloAdsUploadVideoRequest, type ZaloAdsUploadVideoResponse, type ZaloAdsUpsertCustomReportRequest, type ZaloAdsUpsertCustomReportResponse, ZaloAdsUseConversion, type ZaloAdsUseConversionValue, ZaloAdsVideoSrc, type ZaloAdsVideoSrcValue, type ZaloAdsWhoamiProfile, ZaloAdsXTemplates, type ZaloAdsXTemplatesValue, type ZaloAdsZaapiCampaignReportItemDto, ZaloAudiencesService, ZaloAudiencesValidator, type ZaloAuthDomain, ZaloAuthManager, ZaloAutomatedRulesService, ZaloAutomatedRulesValidator, ZaloCampaignsService, ZaloCampaignsValidator, type ZaloChatWidgetGetChatWidgetLoginConfigRequest, type ZaloChatWidgetGetChatWidgetLoginConfigResponse, type ZaloChatWidgetGetLoginConfigRequest, type ZaloChatWidgetGetLoginConfigResponse, ZaloChatWidgetService, ZaloConversionsService, ZaloConversionsValidator, type ZaloCreateFormCleanPayload, type ZaloCreateFormRequestInput, type ZaloDomainSession, ZaloFlowsService, ZaloFlowsValidator, type ZaloFormQuestionAnswerInput, type ZaloFormQuestionInput, type ZaloFormSectionInput, type ZaloFormSessionProfile, type ZaloFormsAudienceExclusionTargetingItem, type ZaloFormsAuthSessionOaItem, type ZaloFormsConversationLeadItem, type ZaloFormsDisableFormLeadNotificationRequest, type ZaloFormsDisableFormLeadNotificationResponse, type ZaloFormsEnableFormLeadNotificationRequest, type ZaloFormsEnableFormLeadNotificationResponse, type ZaloFormsExportFormLeadReportRequest, type ZaloFormsExportFormLeadReportResponse, type ZaloFormsGetAuthSessionResponse, type ZaloFormsLeadAnswerItem, type ZaloFormsLeadItem, type ZaloFormsListAudienceExclusionTargetingRequest, type ZaloFormsListAudienceExclusionTargetingResponse, type ZaloFormsListConversationLeadsRequest, type ZaloFormsListConversationLeadsResponse, type ZaloFormsListFormLeadsRequest, type ZaloFormsListFormLeadsResponse, type ZaloFormsListManagedFormsByOfficialAccountRequest, type ZaloFormsListManagedFormsByOfficialAccountResponse, type ZaloFormsListScenariosByOfficialAccountRequest, type ZaloFormsListScenariosByOfficialAccountResponse, type ZaloFormsListSimpleFormsByOfficialAccountRequest, type ZaloFormsListSimpleFormsByOfficialAccountResponse, type ZaloFormsScenarioItem, ZaloFormsService, type ZaloFormsTrackManageFormEventRequest, type ZaloFormsTrackManageFormEventResponse, type ZaloFormsUpdateFormLeadNotificationIntervalRequest, type ZaloFormsUpdateFormLeadNotificationIntervalResponse, ZaloFormsValidator, type ZaloInstantPageActive, ZaloInstantPageBlockType, ZaloInstantPageSharePermission, type ZaloInstantPageSharePermissionValue, type ZaloInstantPageStatus, type ZaloInstantPagesCloneInstantPageRequest, type ZaloInstantPagesCloneInstantPageResponse, type ZaloInstantPagesCreateInstantPageRequest, type ZaloInstantPagesCreateInstantPageResponse, type ZaloInstantPagesFormRecordItem, type ZaloInstantPagesGetInstantPageDetailRequest, type ZaloInstantPagesGetInstantPageDetailResponse, type ZaloInstantPagesGetInstantPageSharedUserRequest, type ZaloInstantPagesGetInstantPageSharedUserResponse, type ZaloInstantPagesListInstantPageEditHistoryRequest, type ZaloInstantPagesListInstantPageEditHistoryResponse, type ZaloInstantPagesListInstantPageFormRecordsRequest, type ZaloInstantPagesListInstantPageFormRecordsResponse, type ZaloInstantPagesListInstantPageLeadsRequest, type ZaloInstantPagesListInstantPageLeadsResponse, type ZaloInstantPagesListInstantPageSharesRequest, type ZaloInstantPagesListInstantPageSharesResponse, type ZaloInstantPagesListInstantPageUsersRequest, type ZaloInstantPagesListInstantPageUsersResponse, type ZaloInstantPagesListMiniPageTemplatesRequest, type ZaloInstantPagesListMiniPageTemplatesResponse, type ZaloInstantPagesListOfficialAccountsRequest, type ZaloInstantPagesListOfficialAccountsResponse, type ZaloInstantPagesOfficialAccountItem, type ZaloInstantPagesSearchInstantPagesRequest, type ZaloInstantPagesSearchInstantPagesResponse, ZaloInstantPagesService, type ZaloInstantPagesShareMemberDto, type ZaloInstantPagesUpdateInstantPageRequest, type ZaloInstantPagesUpdateInstantPageResponse, type ZaloInstantPagesUpdateInstantPageSharesRequest, type ZaloInstantPagesUpdateInstantPageSharesResponse, type ZaloInstantPagesUpsertInstantPageFormRequest, type ZaloInstantPagesUpsertInstantPageFormResponse, ZaloInstantPagesValidator, type ZaloIntegrationCredentials, type ZaloIntegrationVerificationResult, type ZaloMediaImage, ZaloMediaService, ZaloMediaValidator, type ZaloPlaySessionPayload, type ZaloProfileAdsAdministrativeItem, type ZaloProfileAdsCreateOaPageRequest, type ZaloProfileAdsCreateOaPageResponse, type ZaloProfileAdsGetDistrictsRequest, type ZaloProfileAdsGetDistrictsResponse, type ZaloProfileAdsGetProvincesResponse, type ZaloProfileAdsProvinceId, ZaloProfileAdsService, type ZaloProfileAdsSubCategoryId, type ZaloProfileAdsUploadOaAvatarRequest, type ZaloProfileAdsUploadOaAvatarResponse, type ZaloProfileAdsUploadOaCoverRequest, type ZaloProfileAdsUploadOaCoverResponse, ZaloProfileAdsValidator, type ZaloRedisLikeClient, ZaloReportsService, ZaloReportsValidator, type ZaloSdkAuth, type ZaloSdkAuthContext, ZaloSdkError, ZaloSdkHttpClient, type ZaloSessionStore, type ZaloSsoAuthOptions, type ZaloUploadAndSaveImageRequest, type ZaloUploadAndSaveImageResult, type ZaloUploadAndSaveVideoRequest, type ZaloUploadAndSaveVideoResult, type ZaloWidgetAPIGetOfficialAccountInfoRequest, type ZaloWidgetAPIGetOfficialAccountInfoResponse, type ZaloWidgetAPIGetWidgetUserProfileRequest, type ZaloWidgetAPIGetWidgetUserProfileResponse, type ZaloWidgetAPIListStickerCategoriesRequest, type ZaloWidgetAPIListStickerCategoriesResponse, type ZaloWidgetAPIListStickersByCategoryRequest, type ZaloWidgetAPIListStickersByCategoryResponse, ZaloWidgetApiService, computeZpsidFingerprint, createZaloSsoAuth, decodePlaySessionJwt, ZaloAdsSdk as default, defaultSharedMemorySessionStore, deriveAccountKeyFromZpsid, parseZaloCookieInput, sanitizeCanvasKeys, validateChangeCampaignStatusParams, validateCloneInstantPageRequest, validateCreateArticleCampaign, validateCreateCampaignPayload, validateCreateCommerceCampaign, validateCreateCustomAudienceRequest, validateCreateDisplayCampaign, validateCreateFlowRequest, validateCreateFormCampaign, validateCreateFormEventAudienceRequest, validateCreateFormRequest, validateCreateInstantPageRequest, validateCreateLookalikeAudienceRequest, validateCreateMessageCampaign, validateCreateMessageOaEventAudienceRequest, validateCreateMessagePersonalEventAudienceRequest, validateCreateOaPageRequest, validateCreateOfficialAccountCampaign, validateCreatePhoneAudienceRequest, validateCreateSavedAudienceRequest, validateCreateVideoCampaign, validateCreateWebsiteCampaign, validateCropCoordinates, validateDateRangeReportRequest, validateDuplicateAdParams, validateEstimateAudienceRequest, validateGetInstantPageDetailRequest, validateGetInstantPageSharedUserRequest, validateInstantPageCanvas, validateListFlowsByOfficialAccountRequest, validateListFormLeadsRequest, validateListFormsByOfficialAccountRequest, validateListInstantPageEditHistoryRequest, validateListInstantPageFormRecordsRequest, validateListInstantPageLeadsRequest, validateListInstantPageSharesRequest, validateListInstantPageUsersRequest, validateListMiniPageTemplatesRequest, validateListOfficialAccountsRequest, validateRenameCampaignParams, validateSaveMediaRequest, validateSearchInstantPagesRequest, validateToggleLeadNotificationRequest, validateUpdateAdPayload, validateUpdateArticleAd, validateUpdateCommerceAd, validateUpdateDisplayAd, validateUpdateFlowRequest, validateUpdateFormAd, validateUpdateInstantPageRequest, validateUpdateInstantPageSharesRequest, validateUpdateLeadNotificationIntervalRequest, validateUpdateMessageAd, validateUpdateOfficialAccountAd, validateUpdateVideoAd, validateUpdateWebsiteAd, validateUploadCustomAudiencePhoneListRequest, validateUploadMediaRequest, validateUpsertCustomReportRequest, validateUpsertInstantPageFormRequest };
package/dist/index.d.ts CHANGED
@@ -1544,7 +1544,11 @@ interface ZaloAdsAdMultiImageItemDto {
1544
1544
  interface ZaloAdsAdImageSettingsDto {
1545
1545
  LogoUrl?: string;
1546
1546
  LandscapeCoverUrl?: string;
1547
+ BaseLandscapeCoverUrl?: string;
1548
+ PortraitCoverUrl?: string;
1547
1549
  SquareCoverUrl?: string;
1550
+ ExtraUrls?: Array<string>;
1551
+ Crops?: Array<unknown>;
1548
1552
  VideoUrl?: string;
1549
1553
  VideoDuration?: number;
1550
1554
  MediaId?: number;
@@ -1577,6 +1581,12 @@ interface ZaloAdsAdInfoSettingsDto {
1577
1581
  WebsiteCategories?: Array<number>;
1578
1582
  AdtimaAdCategories?: Array<number>;
1579
1583
  Files?: Array<unknown>;
1584
+ Size?: number;
1585
+ ZaloOwner?: string;
1586
+ AdFormat?: number;
1587
+ OriginalUrl?: Array<unknown>;
1588
+ ThirdPartyImpressionUrl?: string | null;
1589
+ ThirdPartyClickUrl?: string | null;
1580
1590
  }
1581
1591
  interface ZaloAdsAdAppInfoSettingsDto {
1582
1592
  AppType?: number;
@@ -1658,6 +1668,10 @@ interface ZaloAdsAdTargetingSettingsDto {
1658
1668
  Retargeting?: string;
1659
1669
  DmpAudience?: string;
1660
1670
  PhoneList?: Array<unknown>;
1671
+ SiteTargeting?: {
1672
+ WebSite?: number;
1673
+ Zone?: number;
1674
+ };
1661
1675
  CustomAudiences?: Array<number>;
1662
1676
  ExcludeCustomAudiences?: Array<number>;
1663
1677
  IncludedAudiences?: {
@@ -6526,6 +6540,16 @@ declare const VALID_AD_TYPES: {
6526
6540
  readonly COMMERCE: 28;
6527
6541
  readonly ARTICLE: 3;
6528
6542
  readonly DISPLAY: 21;
6543
+ readonly DISPLAY_HALFPAGE: 26;
6544
+ readonly DISPLAY_MEDIUM_RECTANGLE: 23;
6545
+ };
6546
+ /** Danh mục mã AdFormat chính thức của các định dạng Quảng cáo Display */
6547
+ declare const ZALO_DISPLAY_AD_FORMAT: {
6548
+ readonly MASTHEAD_MOBILE: 1;
6549
+ readonly MASTHEAD_DESKTOP: 2;
6550
+ readonly MEDIUM_RECTANGLE: 6;
6551
+ readonly HALFPAGE_MOBILE: 13;
6552
+ readonly HALFPAGE_PC: 14;
6529
6553
  };
6530
6554
  /** Danh sách CTA hợp lệ cho từng loại Ad */
6531
6555
  declare const ALLOWED_CTAS_PER_AD_TYPE: Record<number, number[]>;
@@ -6852,4 +6876,4 @@ declare const ZaloMediaValidator: {
6852
6876
  validateSaveMedia: typeof validateSaveMediaRequest;
6853
6877
  };
6854
6878
 
6855
- export { ALLOWED_CTAS_PER_AD_TYPE, ALL_ZALO_ADS_DOMAINS, AutomatedRuleActionTypeEnum, AutomatedRuleConditionFieldEnum, AutomatedRuleFrequencyEnum, AutomatedRuleOperatorEnum, AutomatedRuleScopeEnum, AutomatedRuleTimeRangeEnum, type AutomatedRuleValidationResult, type BodyType, type CampaignValidationResult, type CleanDateRangeReport, ConversionLabelEnum, ConversionUrlTypeEnum, type ConversionValidationResult, type DateRangeReportQuery, type FileDownloadResponse, type FileInput, type HttpMethod, type HydrateInstantPageOptions, type InstantPageBlock, type InstantPageCallHotlineBlock, type InstantPageCanvas, type InstantPageCarouselBlock, type InstantPageConsentNoticeBlock, type InstantPageCountdownBlock, type InstantPageDefaultMessageBlock, InstantPageFactory, type InstantPageFooterBlock, type InstantPageFormAddressBlock, type InstantPageFormNameBlock, type InstantPageFormPhoneBlock, type InstantPageHeroMediaBlock, type InstantPageKeyValueTableBlock, type InstantPageProductTitlePriceBlock, type InstantPageProductVariantBlock, type InstantPageQuantityBlock, type InstantPageQuickQuestionsBlock, type InstantPageRichTextBlock, type InstantPageShopDescriptionBlock, type InstantPageShopInfoBlock, type InstantPageStickyButtonBlock, MAX_REPORT_RANGE_MS, MAX_REPORT_RANGE_SECONDS, type MediaValidationResult, MemoryZaloSessionStore, type MemoryZaloSessionStoreOptions, type OperationDefinition, RedisZaloSessionStore, type RedisZaloSessionStoreOptions, type RequestOptions, TieredZaloSessionStore, type TieredZaloSessionStoreOptions, VALID_AD_TYPES, VALID_CAMPAIGN_TYPES, VIETNAM_PHONE_REGEX, type ValidateAdOptions, type ValidateCampaignOptions, type ValidateImageInput, type ValidateUploadMediaOptions, type ValidateVideoInput, type ValidationResult, ZALO_NEW_REGION_PROVINCE_CODES, ZALO_PROFILE_ADS_PROVINCES, ZALO_PROFILE_ADS_SUB_CATEGORIES, ZALO_PROVINCE_MERGE_MAPPING, ZALO_REGION_PROVINCE_CODES, type ZaloAccountScope, ZaloAccountService, type ZaloAdsAccessorItemDto, type ZaloAdsAccountAgencyInfoDto, ZaloAdsIntegrationManager as ZaloAdsAccountPool, ZaloAdsActionType, type ZaloAdsAdAppInfoSettingsDto, type ZaloAdsAdImageSettingsDto, type ZaloAdsAdInfoSettingsDto, type ZaloAdsAdLocationSettingsDto, type ZaloAdsAdMultiImageItemDto, type ZaloAdsAdMutationResultDto, type ZaloAdsAdPriceSettingsDto, type ZaloAdsAdReportItemDto, type ZaloAdsAdSettingsDto, type ZaloAdsAdTargetingLocationContainerDto, type ZaloAdsAdTargetingProvinceItemDto, type ZaloAdsAdTargetingRegionItemDto, type ZaloAdsAdTargetingSettingsDto, type ZaloAdsAdUpdatePayloadDto, type ZaloAdsAdZVideoSettingsDto, ZaloAdsAgeRangeId, type ZaloAdsAgencyEmployeeItemDto, type ZaloAdsAutomatedRuleActionDto, type ZaloAdsAutomatedRuleAppliedItemDto, type ZaloAdsAutomatedRuleConditionDto, type ZaloAdsAutomatedRuleScheduleDto, ZaloAdsBudgetScheduleType, type ZaloAdsBudgetScheduleTypeValue, type ZaloAdsCampaignCreatePayloadDto, type ZaloAdsCampaignDetailExtendDto, type ZaloAdsCampaignReportItemDto, ZaloAdsCampaignStatus, type ZaloAdsCampaignStatusValue, type ZaloAdsChangeAutomatedRuleStatusRequest, type ZaloAdsChangeAutomatedRuleStatusResponse, type ZaloAdsChangeCampaignStatusRequest, type ZaloAdsChangeCampaignStatusResponse, type ZaloAdsClientRequest, type ZaloAdsCommerceFormAudienceTargetingDto, type ZaloAdsConversionElementSelectorDto, type ZaloAdsConversionItemDto, type ZaloAdsConversionNameItemDto, type ZaloAdsCreateArticleCampaignPayloadDto, type ZaloAdsCreateArticleCampaignRequest, type ZaloAdsCreateArticleCampaignResponse, type ZaloAdsCreateAutomatedRuleRequest, type ZaloAdsCreateAutomatedRuleResponse, type ZaloAdsCreateCommerceCampaignPayloadDto, type ZaloAdsCreateCommerceCampaignRequest, type ZaloAdsCreateCommerceCampaignResponse, type ZaloAdsCreateCommerceFormAudienceRequest, type ZaloAdsCreateCommerceFormAudienceResponse, type ZaloAdsCreateConversionRequest, type ZaloAdsCreateConversionResponse, type ZaloAdsCreateCustomAudienceRequest, type ZaloAdsCreateCustomAudienceResponse, type ZaloAdsCreateDisplayCampaignPayloadDto, type ZaloAdsCreateDisplayCampaignRequest, type ZaloAdsCreateDisplayCampaignResponse, type ZaloAdsCreateEcommerceCampaignRequest, type ZaloAdsCreateEcommerceCampaignResponse, ZaloAdsCreateFlowRequest, ZaloAdsCreateFlowResponse, type ZaloAdsCreateFormCampaignPayloadDto, type ZaloAdsCreateFormCampaignRequest, type ZaloAdsCreateFormCampaignResponse, type ZaloAdsCreateFormEventAudienceRequest, type ZaloAdsCreateFormEventAudienceResponse, type ZaloAdsCreateFormLeadAudienceRequest, type ZaloAdsCreateFormLeadAudienceResponse, type ZaloAdsCreateFormPayloadDto, type ZaloAdsCreateFormRequest, type ZaloAdsCreateFormResponse, type ZaloAdsCreateLeadSignalAudienceRequest, type ZaloAdsCreateLeadSignalAudienceResponse, type ZaloAdsCreateLookalikeAudienceRequest, type ZaloAdsCreateLookalikeAudienceResponse, type ZaloAdsCreateMessageCampaignPayloadDto, type ZaloAdsCreateMessageCampaignRequest, type ZaloAdsCreateMessageCampaignResponse, type ZaloAdsCreateMessageOaEventAudienceRequest, type ZaloAdsCreateMessageOaEventAudienceResponse, type ZaloAdsCreateMessageOaLeadAudienceRequest, type ZaloAdsCreateMessageOaLeadAudienceResponse, type ZaloAdsCreateMessagePersonalEventAudienceRequest, type ZaloAdsCreateMessagePersonalEventAudienceResponse, type ZaloAdsCreateOaCampaignRequest, type ZaloAdsCreateOaCampaignResponse, type ZaloAdsCreateOfficialAccountCampaignPayloadDto, type ZaloAdsCreateOfficialAccountCampaignRequest, type ZaloAdsCreateOfficialAccountCampaignResponse, type ZaloAdsCreatePhoneAudienceRequest, type ZaloAdsCreatePhoneAudienceResponse, ZaloAdsCreatePostCampaignRequest, ZaloAdsCreatePostCampaignResponse, type ZaloAdsCreateSavedAudienceRequest, type ZaloAdsCreateSavedAudienceResponse, type ZaloAdsCreateSpellCheckV3JobRequest, type ZaloAdsCreateSpellCheckV3JobResponse, type ZaloAdsCreateVideoCampaignPayloadDto, type ZaloAdsCreateVideoCampaignRequest, type ZaloAdsCreateVideoCampaignResponse, type ZaloAdsCreateWebsiteCampaignPayloadDto, type ZaloAdsCreateWebsiteCampaignRequest, type ZaloAdsCreateWebsiteCampaignResponse, type ZaloAdsDeleteAutomatedRuleRequest, type ZaloAdsDeleteAutomatedRuleResponse, type ZaloAdsDeleteCampaignRequest, type ZaloAdsDeleteCampaignResponse, type ZaloAdsDeleteConversionRequest, type ZaloAdsDeleteConversionResponse, type ZaloAdsDeleteCustomAudienceRequest, type ZaloAdsDeleteCustomAudienceResponse, type ZaloAdsDeleteCustomReportRequest, type ZaloAdsDeleteCustomReportResponse, ZaloAdsDeliveryType, type ZaloAdsDeliveryTypeValue, type ZaloAdsDomain, type ZaloAdsDownloadReportRequest, type ZaloAdsDownloadReportResponse, type ZaloAdsDuplicateAdRequest, type ZaloAdsDuplicateAdResponse, type ZaloAdsFileGroupItemDto, ZaloAdsFlowButtonDto, ZaloAdsFlowChildMessageDto, ZaloAdsFlowMessageDto, type ZaloAdsFormAnswerDto, type ZaloAdsFormEventAudienceTargetingDto, type ZaloAdsFormLeadAudienceTargetingDto, type ZaloAdsFormQuestionDto, type ZaloAdsFormQuestionUiDto, type ZaloAdsFormSectionContentDto, type ZaloAdsFormSectionDto, type ZaloAdsFormSectionImageItemDto, type ZaloAdsFormSectionTableItemDto, type ZaloAdsGetAdByIdRequest, type ZaloAdsGetAdByIdResponse, type ZaloAdsGetAdChangeLogRequest, type ZaloAdsGetAdChangeLogResponse, type ZaloAdsGetApiAdGetlistadadvancetargetingRequest, type ZaloAdsGetApiAdGetlistadadvancetargetingResponse, type ZaloAdsGetApiBaAccountAllaccessorsRequest, type ZaloAdsGetApiBaAccountAllaccessorsResponse, type ZaloAdsGetApiBaAccountAllgrantedmembersRequest, type ZaloAdsGetApiBaAccountAllgrantedmembersResponse, type ZaloAdsGetApiBaAgencyEmployeesRequest, type ZaloAdsGetApiBaAgencyEmployeesResponse, type ZaloAdsGetApiConversionAllRequest, type ZaloAdsGetApiConversionAllResponse, type ZaloAdsGetApiConversionStandardEventsRequest, type ZaloAdsGetApiConversionStandardEventsResponse, type ZaloAdsGetApiCustomAudienceAllRequest, type ZaloAdsGetApiCustomAudienceAllResponse, type ZaloAdsGetApiFilegroupsRequest, type ZaloAdsGetApiFilegroupsResponse, type ZaloAdsGetApiLpNewsRequest, type ZaloAdsGetApiLpNewsResponse, type ZaloAdsGetApiMediaItemsRequest, type ZaloAdsGetApiMediaItemsResponse, type ZaloAdsGetApiMemberFilesRequest, type ZaloAdsGetApiMemberFilesResponse, type ZaloAdsGetApiNotifiesHeaderRequest, type ZaloAdsGetApiNotifiesHeaderResponse, type ZaloAdsGetApiPaymentTransactionHistoryRequest, type ZaloAdsGetApiPaymentTransactionHistoryResponse, type ZaloAdsGetApiPlaceGetalldistrictsRequest, type ZaloAdsGetApiPlaceGetalldistrictsResponse, type ZaloAdsGetApiSpellCheckV2Request, type ZaloAdsGetApiSpellCheckV2Response, type ZaloAdsGetApiWhoamiRequest, type ZaloAdsGetApiWhoamiResponse, type ZaloAdsGetAutomatedRuleDetailRequest, type ZaloAdsGetAutomatedRuleDetailResponse, type ZaloAdsGetAutomatedRuleHistoryRequest, type ZaloAdsGetAutomatedRuleHistoryResponse, type ZaloAdsGetDemographicsReportRequest, type ZaloAdsGetDemographicsReportResponse, type ZaloAdsGetReportOverviewRequest, type ZaloAdsGetReportOverviewResponse, type ZaloAdsGetReportapiV2AdsRequest, type ZaloAdsGetReportapiV2AdsResponse, type ZaloAdsGetReportapiV2CampaignsRequest, type ZaloAdsGetReportapiV2CampaignsResponse, type ZaloAdsGetReportapiV2UniqueUserRequest, type ZaloAdsGetReportapiV2UniqueUserResponse, type ZaloAdsGetReportapiV3CampaignsRequest, type ZaloAdsGetReportapiV3CampaignsResponse, type ZaloAdsGetSpellCheckV3JobRequest, type ZaloAdsGetSpellCheckV3JobResponse, type ZaloAdsGetZaapiCampaignReportcampaignRequest, type ZaloAdsGetZaapiCampaignReportcampaignResponse, type ZaloAdsGetZaapiCheckcamphasmanyadsRequest, type ZaloAdsGetZaapiCheckcamphasmanyadsResponse, type ZaloAdsGetZaapiGetadsfromcampaignidRequest, type ZaloAdsGetZaapiGetadsfromcampaignidResponse, type ZaloAdsGetZaapiGetallpagesRequest, type ZaloAdsGetZaapiGetallpagesResponse, type ZaloAdsGetZaapiGetownedarticlesRequest, type ZaloAdsGetZaapiGetownedarticlesResponse, type ZaloAdsGetZaapiGetownedpagesRequest, type ZaloAdsGetZaapiGetownedpagesResponse, type ZaloAdsGrantedMemberItemDto, ZaloAdsImageRatio, type ZaloAdsImageRatioValue, ZaloAdsIntegrationManager, type ZaloAdsIntegrationManagerOptions, type ZaloAdsLeadSignalAudienceTargetingDto, type ZaloAdsLeadSignalOaItem, type ZaloAdsListAgencyCustomersWithBudgetRequest, type ZaloAdsListAgencyCustomersWithBudgetResponse, type ZaloAdsListAutomatedRulesRequest, type ZaloAdsListAutomatedRulesResponse, type ZaloAdsListConversionNamesRequest, type ZaloAdsListConversionNamesResponse, type ZaloAdsListCustomReportsRequest, type ZaloAdsListCustomReportsResponse, type ZaloAdsListFlowsByOfficialAccountRequest, type ZaloAdsListFlowsByOfficialAccountResponse, type ZaloAdsListFormsByOfficialAccountRequest, type ZaloAdsListFormsByOfficialAccountResponse, type ZaloAdsListLeadSignalOasResponse, type ZaloAdsListMiniPagesByTemplateRequest, type ZaloAdsListMiniPagesByTemplateResponse, type ZaloAdsListPersonalPixelLabelsRequest, type ZaloAdsListPersonalPixelLabelsResponse, type ZaloAdsListReportFiltersRequest, type ZaloAdsListReportFiltersResponse, type ZaloAdsLookalikeAudienceTargetingDto, type ZaloAdsLpNewsButtonDto, type ZaloAdsLpNewsItemDto, type ZaloAdsMediaSavePayloadDto, type ZaloAdsMediaSaveSettingsDto, type ZaloAdsMemberFileItemDto, ZaloAdsMessageAdUpdateDataDto, type ZaloAdsMessageOaEventAudienceTargetingDto, type ZaloAdsMessageOaLeadAudienceTargetingDto, type ZaloAdsMessagePersonalEventAudienceTargetingDto, type ZaloAdsNotifyHeaderItemDto, ZaloAdsOsId, type ZaloAdsOsIdValue, type ZaloAdsOwnedArticleItemDto, type ZaloAdsOwnedPageExtraInfoDto, type ZaloAdsOwnedPageItemDto, type ZaloAdsOwnedPageLocationDto, type ZaloAdsPageConfigDto, type ZaloAdsPaymentTransactionItemDto, type ZaloAdsPhoneAudienceTargetingDto, type ZaloAdsPostApiAdEstimateaudienceRequest, type ZaloAdsPostApiAdEstimateaudienceResponse, type ZaloAdsPostApiMediaSaveRequest, type ZaloAdsPostApiMediaSaveResponse, type ZaloAdsPostApiMemberUploadImageRequest, type ZaloAdsPostApiMemberUploadImageResponse, type ZaloAdsPostZaapiDeleteadRequest, type ZaloAdsPostZaapiDeleteadResponse, ZaloAdsPriceLimitType, type ZaloAdsPriceLimitTypeValue, ZaloAdsPriceType, type ZaloAdsPriceTypeValue, ZaloAdsProvinceCode, type ZaloAdsProvinceCodeValue, ZaloAdsRegionId, type ZaloAdsRegionIdValue, type ZaloAdsRenameCampaignRequest, type ZaloAdsRenameCampaignResponse, ZaloAdsSdk, type ZaloAdsSdkOptions, ZaloAdsService, type ZaloAdsSpellCheckIssueDto, type ZaloAdsSpellCheckViolationDto, ZaloAdsSpendingMethod, type ZaloAdsSpendingMethodValue, type ZaloAdsStandardEventItemDto, type ZaloAdsUniqueUserReportDataDto, type ZaloAdsUpdateArticleAdRequest, type ZaloAdsUpdateArticleAdResponse, type ZaloAdsUpdateAutomatedRuleRequest, type ZaloAdsUpdateAutomatedRuleResponse, type ZaloAdsUpdateCommerceAdRequest, type ZaloAdsUpdateCommerceAdResponse, type ZaloAdsUpdateDisplayAdRequest, type ZaloAdsUpdateDisplayAdResponse, type ZaloAdsUpdateEcommerceAdRequest, type ZaloAdsUpdateEcommerceAdResponse, type ZaloAdsUpdateFlowRequest, type ZaloAdsUpdateFlowResponse, type ZaloAdsUpdateFormAdRequest, type ZaloAdsUpdateFormAdResponse, ZaloAdsUpdateMessageAdRequest, ZaloAdsUpdateMessageAdResponse, type ZaloAdsUpdateNewAdsRequest, type ZaloAdsUpdateNewAdsResponse, type ZaloAdsUpdateOaAdRequest, type ZaloAdsUpdateOaAdResponse, type ZaloAdsUpdateOfficialAccountAdRequest, type ZaloAdsUpdateOfficialAccountAdResponse, type ZaloAdsUpdatePostAdRequest, type ZaloAdsUpdatePostAdResponse, ZaloAdsUpdateVideoAdRequest, ZaloAdsUpdateVideoAdResponse, type ZaloAdsUpdateWebsiteAdRequest, type ZaloAdsUpdateWebsiteAdResponse, type ZaloAdsUploadCustomAudiencePhoneListRequest, type ZaloAdsUploadCustomAudiencePhoneListResponse, type ZaloAdsUploadVideoRequest, type ZaloAdsUploadVideoResponse, type ZaloAdsUpsertCustomReportRequest, type ZaloAdsUpsertCustomReportResponse, ZaloAdsUseConversion, type ZaloAdsUseConversionValue, ZaloAdsVideoSrc, type ZaloAdsVideoSrcValue, type ZaloAdsWhoamiProfile, ZaloAdsXTemplates, type ZaloAdsXTemplatesValue, type ZaloAdsZaapiCampaignReportItemDto, ZaloAudiencesService, ZaloAudiencesValidator, type ZaloAuthDomain, ZaloAuthManager, ZaloAutomatedRulesService, ZaloAutomatedRulesValidator, ZaloCampaignsService, ZaloCampaignsValidator, type ZaloChatWidgetGetChatWidgetLoginConfigRequest, type ZaloChatWidgetGetChatWidgetLoginConfigResponse, type ZaloChatWidgetGetLoginConfigRequest, type ZaloChatWidgetGetLoginConfigResponse, ZaloChatWidgetService, ZaloConversionsService, ZaloConversionsValidator, type ZaloCreateFormCleanPayload, type ZaloCreateFormRequestInput, type ZaloDomainSession, ZaloFlowsService, ZaloFlowsValidator, type ZaloFormQuestionAnswerInput, type ZaloFormQuestionInput, type ZaloFormSectionInput, type ZaloFormSessionProfile, type ZaloFormsAudienceExclusionTargetingItem, type ZaloFormsAuthSessionOaItem, type ZaloFormsConversationLeadItem, type ZaloFormsDisableFormLeadNotificationRequest, type ZaloFormsDisableFormLeadNotificationResponse, type ZaloFormsEnableFormLeadNotificationRequest, type ZaloFormsEnableFormLeadNotificationResponse, type ZaloFormsExportFormLeadReportRequest, type ZaloFormsExportFormLeadReportResponse, type ZaloFormsGetAuthSessionResponse, type ZaloFormsLeadAnswerItem, type ZaloFormsLeadItem, type ZaloFormsListAudienceExclusionTargetingRequest, type ZaloFormsListAudienceExclusionTargetingResponse, type ZaloFormsListConversationLeadsRequest, type ZaloFormsListConversationLeadsResponse, type ZaloFormsListFormLeadsRequest, type ZaloFormsListFormLeadsResponse, type ZaloFormsListManagedFormsByOfficialAccountRequest, type ZaloFormsListManagedFormsByOfficialAccountResponse, type ZaloFormsListScenariosByOfficialAccountRequest, type ZaloFormsListScenariosByOfficialAccountResponse, type ZaloFormsListSimpleFormsByOfficialAccountRequest, type ZaloFormsListSimpleFormsByOfficialAccountResponse, type ZaloFormsScenarioItem, ZaloFormsService, type ZaloFormsTrackManageFormEventRequest, type ZaloFormsTrackManageFormEventResponse, type ZaloFormsUpdateFormLeadNotificationIntervalRequest, type ZaloFormsUpdateFormLeadNotificationIntervalResponse, ZaloFormsValidator, type ZaloInstantPageActive, ZaloInstantPageBlockType, ZaloInstantPageSharePermission, type ZaloInstantPageSharePermissionValue, type ZaloInstantPageStatus, type ZaloInstantPagesCloneInstantPageRequest, type ZaloInstantPagesCloneInstantPageResponse, type ZaloInstantPagesCreateInstantPageRequest, type ZaloInstantPagesCreateInstantPageResponse, type ZaloInstantPagesFormRecordItem, type ZaloInstantPagesGetInstantPageDetailRequest, type ZaloInstantPagesGetInstantPageDetailResponse, type ZaloInstantPagesGetInstantPageSharedUserRequest, type ZaloInstantPagesGetInstantPageSharedUserResponse, type ZaloInstantPagesListInstantPageEditHistoryRequest, type ZaloInstantPagesListInstantPageEditHistoryResponse, type ZaloInstantPagesListInstantPageFormRecordsRequest, type ZaloInstantPagesListInstantPageFormRecordsResponse, type ZaloInstantPagesListInstantPageLeadsRequest, type ZaloInstantPagesListInstantPageLeadsResponse, type ZaloInstantPagesListInstantPageSharesRequest, type ZaloInstantPagesListInstantPageSharesResponse, type ZaloInstantPagesListInstantPageUsersRequest, type ZaloInstantPagesListInstantPageUsersResponse, type ZaloInstantPagesListMiniPageTemplatesRequest, type ZaloInstantPagesListMiniPageTemplatesResponse, type ZaloInstantPagesListOfficialAccountsRequest, type ZaloInstantPagesListOfficialAccountsResponse, type ZaloInstantPagesOfficialAccountItem, type ZaloInstantPagesSearchInstantPagesRequest, type ZaloInstantPagesSearchInstantPagesResponse, ZaloInstantPagesService, type ZaloInstantPagesShareMemberDto, type ZaloInstantPagesUpdateInstantPageRequest, type ZaloInstantPagesUpdateInstantPageResponse, type ZaloInstantPagesUpdateInstantPageSharesRequest, type ZaloInstantPagesUpdateInstantPageSharesResponse, type ZaloInstantPagesUpsertInstantPageFormRequest, type ZaloInstantPagesUpsertInstantPageFormResponse, ZaloInstantPagesValidator, type ZaloIntegrationCredentials, type ZaloIntegrationVerificationResult, type ZaloMediaImage, ZaloMediaService, ZaloMediaValidator, type ZaloPlaySessionPayload, type ZaloProfileAdsAdministrativeItem, type ZaloProfileAdsCreateOaPageRequest, type ZaloProfileAdsCreateOaPageResponse, type ZaloProfileAdsGetDistrictsRequest, type ZaloProfileAdsGetDistrictsResponse, type ZaloProfileAdsGetProvincesResponse, type ZaloProfileAdsProvinceId, ZaloProfileAdsService, type ZaloProfileAdsSubCategoryId, type ZaloProfileAdsUploadOaAvatarRequest, type ZaloProfileAdsUploadOaAvatarResponse, type ZaloProfileAdsUploadOaCoverRequest, type ZaloProfileAdsUploadOaCoverResponse, ZaloProfileAdsValidator, type ZaloRedisLikeClient, ZaloReportsService, ZaloReportsValidator, type ZaloSdkAuth, type ZaloSdkAuthContext, ZaloSdkError, ZaloSdkHttpClient, type ZaloSessionStore, type ZaloSsoAuthOptions, type ZaloUploadAndSaveImageRequest, type ZaloUploadAndSaveImageResult, type ZaloUploadAndSaveVideoRequest, type ZaloUploadAndSaveVideoResult, type ZaloWidgetAPIGetOfficialAccountInfoRequest, type ZaloWidgetAPIGetOfficialAccountInfoResponse, type ZaloWidgetAPIGetWidgetUserProfileRequest, type ZaloWidgetAPIGetWidgetUserProfileResponse, type ZaloWidgetAPIListStickerCategoriesRequest, type ZaloWidgetAPIListStickerCategoriesResponse, type ZaloWidgetAPIListStickersByCategoryRequest, type ZaloWidgetAPIListStickersByCategoryResponse, ZaloWidgetApiService, computeZpsidFingerprint, createZaloSsoAuth, decodePlaySessionJwt, ZaloAdsSdk as default, defaultSharedMemorySessionStore, deriveAccountKeyFromZpsid, parseZaloCookieInput, sanitizeCanvasKeys, validateChangeCampaignStatusParams, validateCloneInstantPageRequest, validateCreateArticleCampaign, validateCreateCampaignPayload, validateCreateCommerceCampaign, validateCreateCustomAudienceRequest, validateCreateDisplayCampaign, validateCreateFlowRequest, validateCreateFormCampaign, validateCreateFormEventAudienceRequest, validateCreateFormRequest, validateCreateInstantPageRequest, validateCreateLookalikeAudienceRequest, validateCreateMessageCampaign, validateCreateMessageOaEventAudienceRequest, validateCreateMessagePersonalEventAudienceRequest, validateCreateOaPageRequest, validateCreateOfficialAccountCampaign, validateCreatePhoneAudienceRequest, validateCreateSavedAudienceRequest, validateCreateVideoCampaign, validateCreateWebsiteCampaign, validateCropCoordinates, validateDateRangeReportRequest, validateDuplicateAdParams, validateEstimateAudienceRequest, validateGetInstantPageDetailRequest, validateGetInstantPageSharedUserRequest, validateInstantPageCanvas, validateListFlowsByOfficialAccountRequest, validateListFormLeadsRequest, validateListFormsByOfficialAccountRequest, validateListInstantPageEditHistoryRequest, validateListInstantPageFormRecordsRequest, validateListInstantPageLeadsRequest, validateListInstantPageSharesRequest, validateListInstantPageUsersRequest, validateListMiniPageTemplatesRequest, validateListOfficialAccountsRequest, validateRenameCampaignParams, validateSaveMediaRequest, validateSearchInstantPagesRequest, validateToggleLeadNotificationRequest, validateUpdateAdPayload, validateUpdateArticleAd, validateUpdateCommerceAd, validateUpdateDisplayAd, validateUpdateFlowRequest, validateUpdateFormAd, validateUpdateInstantPageRequest, validateUpdateInstantPageSharesRequest, validateUpdateLeadNotificationIntervalRequest, validateUpdateMessageAd, validateUpdateOfficialAccountAd, validateUpdateVideoAd, validateUpdateWebsiteAd, validateUploadCustomAudiencePhoneListRequest, validateUploadMediaRequest, validateUpsertCustomReportRequest, validateUpsertInstantPageFormRequest };
6879
+ export { ALLOWED_CTAS_PER_AD_TYPE, ALL_ZALO_ADS_DOMAINS, AutomatedRuleActionTypeEnum, AutomatedRuleConditionFieldEnum, AutomatedRuleFrequencyEnum, AutomatedRuleOperatorEnum, AutomatedRuleScopeEnum, AutomatedRuleTimeRangeEnum, type AutomatedRuleValidationResult, type BodyType, type CampaignValidationResult, type CleanDateRangeReport, ConversionLabelEnum, ConversionUrlTypeEnum, type ConversionValidationResult, type DateRangeReportQuery, type FileDownloadResponse, type FileInput, type HttpMethod, type HydrateInstantPageOptions, type InstantPageBlock, type InstantPageCallHotlineBlock, type InstantPageCanvas, type InstantPageCarouselBlock, type InstantPageConsentNoticeBlock, type InstantPageCountdownBlock, type InstantPageDefaultMessageBlock, InstantPageFactory, type InstantPageFooterBlock, type InstantPageFormAddressBlock, type InstantPageFormNameBlock, type InstantPageFormPhoneBlock, type InstantPageHeroMediaBlock, type InstantPageKeyValueTableBlock, type InstantPageProductTitlePriceBlock, type InstantPageProductVariantBlock, type InstantPageQuantityBlock, type InstantPageQuickQuestionsBlock, type InstantPageRichTextBlock, type InstantPageShopDescriptionBlock, type InstantPageShopInfoBlock, type InstantPageStickyButtonBlock, MAX_REPORT_RANGE_MS, MAX_REPORT_RANGE_SECONDS, type MediaValidationResult, MemoryZaloSessionStore, type MemoryZaloSessionStoreOptions, type OperationDefinition, RedisZaloSessionStore, type RedisZaloSessionStoreOptions, type RequestOptions, TieredZaloSessionStore, type TieredZaloSessionStoreOptions, VALID_AD_TYPES, VALID_CAMPAIGN_TYPES, VIETNAM_PHONE_REGEX, type ValidateAdOptions, type ValidateCampaignOptions, type ValidateImageInput, type ValidateUploadMediaOptions, type ValidateVideoInput, type ValidationResult, ZALO_DISPLAY_AD_FORMAT, ZALO_NEW_REGION_PROVINCE_CODES, ZALO_PROFILE_ADS_PROVINCES, ZALO_PROFILE_ADS_SUB_CATEGORIES, ZALO_PROVINCE_MERGE_MAPPING, ZALO_REGION_PROVINCE_CODES, type ZaloAccountScope, ZaloAccountService, type ZaloAdsAccessorItemDto, type ZaloAdsAccountAgencyInfoDto, ZaloAdsIntegrationManager as ZaloAdsAccountPool, ZaloAdsActionType, type ZaloAdsAdAppInfoSettingsDto, type ZaloAdsAdImageSettingsDto, type ZaloAdsAdInfoSettingsDto, type ZaloAdsAdLocationSettingsDto, type ZaloAdsAdMultiImageItemDto, type ZaloAdsAdMutationResultDto, type ZaloAdsAdPriceSettingsDto, type ZaloAdsAdReportItemDto, type ZaloAdsAdSettingsDto, type ZaloAdsAdTargetingLocationContainerDto, type ZaloAdsAdTargetingProvinceItemDto, type ZaloAdsAdTargetingRegionItemDto, type ZaloAdsAdTargetingSettingsDto, type ZaloAdsAdUpdatePayloadDto, type ZaloAdsAdZVideoSettingsDto, ZaloAdsAgeRangeId, type ZaloAdsAgencyEmployeeItemDto, type ZaloAdsAutomatedRuleActionDto, type ZaloAdsAutomatedRuleAppliedItemDto, type ZaloAdsAutomatedRuleConditionDto, type ZaloAdsAutomatedRuleScheduleDto, ZaloAdsBudgetScheduleType, type ZaloAdsBudgetScheduleTypeValue, type ZaloAdsCampaignCreatePayloadDto, type ZaloAdsCampaignDetailExtendDto, type ZaloAdsCampaignReportItemDto, ZaloAdsCampaignStatus, type ZaloAdsCampaignStatusValue, type ZaloAdsChangeAutomatedRuleStatusRequest, type ZaloAdsChangeAutomatedRuleStatusResponse, type ZaloAdsChangeCampaignStatusRequest, type ZaloAdsChangeCampaignStatusResponse, type ZaloAdsClientRequest, type ZaloAdsCommerceFormAudienceTargetingDto, type ZaloAdsConversionElementSelectorDto, type ZaloAdsConversionItemDto, type ZaloAdsConversionNameItemDto, type ZaloAdsCreateArticleCampaignPayloadDto, type ZaloAdsCreateArticleCampaignRequest, type ZaloAdsCreateArticleCampaignResponse, type ZaloAdsCreateAutomatedRuleRequest, type ZaloAdsCreateAutomatedRuleResponse, type ZaloAdsCreateCommerceCampaignPayloadDto, type ZaloAdsCreateCommerceCampaignRequest, type ZaloAdsCreateCommerceCampaignResponse, type ZaloAdsCreateCommerceFormAudienceRequest, type ZaloAdsCreateCommerceFormAudienceResponse, type ZaloAdsCreateConversionRequest, type ZaloAdsCreateConversionResponse, type ZaloAdsCreateCustomAudienceRequest, type ZaloAdsCreateCustomAudienceResponse, type ZaloAdsCreateDisplayCampaignPayloadDto, type ZaloAdsCreateDisplayCampaignRequest, type ZaloAdsCreateDisplayCampaignResponse, type ZaloAdsCreateEcommerceCampaignRequest, type ZaloAdsCreateEcommerceCampaignResponse, ZaloAdsCreateFlowRequest, ZaloAdsCreateFlowResponse, type ZaloAdsCreateFormCampaignPayloadDto, type ZaloAdsCreateFormCampaignRequest, type ZaloAdsCreateFormCampaignResponse, type ZaloAdsCreateFormEventAudienceRequest, type ZaloAdsCreateFormEventAudienceResponse, type ZaloAdsCreateFormLeadAudienceRequest, type ZaloAdsCreateFormLeadAudienceResponse, type ZaloAdsCreateFormPayloadDto, type ZaloAdsCreateFormRequest, type ZaloAdsCreateFormResponse, type ZaloAdsCreateLeadSignalAudienceRequest, type ZaloAdsCreateLeadSignalAudienceResponse, type ZaloAdsCreateLookalikeAudienceRequest, type ZaloAdsCreateLookalikeAudienceResponse, type ZaloAdsCreateMessageCampaignPayloadDto, type ZaloAdsCreateMessageCampaignRequest, type ZaloAdsCreateMessageCampaignResponse, type ZaloAdsCreateMessageOaEventAudienceRequest, type ZaloAdsCreateMessageOaEventAudienceResponse, type ZaloAdsCreateMessageOaLeadAudienceRequest, type ZaloAdsCreateMessageOaLeadAudienceResponse, type ZaloAdsCreateMessagePersonalEventAudienceRequest, type ZaloAdsCreateMessagePersonalEventAudienceResponse, type ZaloAdsCreateOaCampaignRequest, type ZaloAdsCreateOaCampaignResponse, type ZaloAdsCreateOfficialAccountCampaignPayloadDto, type ZaloAdsCreateOfficialAccountCampaignRequest, type ZaloAdsCreateOfficialAccountCampaignResponse, type ZaloAdsCreatePhoneAudienceRequest, type ZaloAdsCreatePhoneAudienceResponse, ZaloAdsCreatePostCampaignRequest, ZaloAdsCreatePostCampaignResponse, type ZaloAdsCreateSavedAudienceRequest, type ZaloAdsCreateSavedAudienceResponse, type ZaloAdsCreateSpellCheckV3JobRequest, type ZaloAdsCreateSpellCheckV3JobResponse, type ZaloAdsCreateVideoCampaignPayloadDto, type ZaloAdsCreateVideoCampaignRequest, type ZaloAdsCreateVideoCampaignResponse, type ZaloAdsCreateWebsiteCampaignPayloadDto, type ZaloAdsCreateWebsiteCampaignRequest, type ZaloAdsCreateWebsiteCampaignResponse, type ZaloAdsDeleteAutomatedRuleRequest, type ZaloAdsDeleteAutomatedRuleResponse, type ZaloAdsDeleteCampaignRequest, type ZaloAdsDeleteCampaignResponse, type ZaloAdsDeleteConversionRequest, type ZaloAdsDeleteConversionResponse, type ZaloAdsDeleteCustomAudienceRequest, type ZaloAdsDeleteCustomAudienceResponse, type ZaloAdsDeleteCustomReportRequest, type ZaloAdsDeleteCustomReportResponse, ZaloAdsDeliveryType, type ZaloAdsDeliveryTypeValue, type ZaloAdsDomain, type ZaloAdsDownloadReportRequest, type ZaloAdsDownloadReportResponse, type ZaloAdsDuplicateAdRequest, type ZaloAdsDuplicateAdResponse, type ZaloAdsFileGroupItemDto, ZaloAdsFlowButtonDto, ZaloAdsFlowChildMessageDto, ZaloAdsFlowMessageDto, type ZaloAdsFormAnswerDto, type ZaloAdsFormEventAudienceTargetingDto, type ZaloAdsFormLeadAudienceTargetingDto, type ZaloAdsFormQuestionDto, type ZaloAdsFormQuestionUiDto, type ZaloAdsFormSectionContentDto, type ZaloAdsFormSectionDto, type ZaloAdsFormSectionImageItemDto, type ZaloAdsFormSectionTableItemDto, type ZaloAdsGetAdByIdRequest, type ZaloAdsGetAdByIdResponse, type ZaloAdsGetAdChangeLogRequest, type ZaloAdsGetAdChangeLogResponse, type ZaloAdsGetApiAdGetlistadadvancetargetingRequest, type ZaloAdsGetApiAdGetlistadadvancetargetingResponse, type ZaloAdsGetApiBaAccountAllaccessorsRequest, type ZaloAdsGetApiBaAccountAllaccessorsResponse, type ZaloAdsGetApiBaAccountAllgrantedmembersRequest, type ZaloAdsGetApiBaAccountAllgrantedmembersResponse, type ZaloAdsGetApiBaAgencyEmployeesRequest, type ZaloAdsGetApiBaAgencyEmployeesResponse, type ZaloAdsGetApiConversionAllRequest, type ZaloAdsGetApiConversionAllResponse, type ZaloAdsGetApiConversionStandardEventsRequest, type ZaloAdsGetApiConversionStandardEventsResponse, type ZaloAdsGetApiCustomAudienceAllRequest, type ZaloAdsGetApiCustomAudienceAllResponse, type ZaloAdsGetApiFilegroupsRequest, type ZaloAdsGetApiFilegroupsResponse, type ZaloAdsGetApiLpNewsRequest, type ZaloAdsGetApiLpNewsResponse, type ZaloAdsGetApiMediaItemsRequest, type ZaloAdsGetApiMediaItemsResponse, type ZaloAdsGetApiMemberFilesRequest, type ZaloAdsGetApiMemberFilesResponse, type ZaloAdsGetApiNotifiesHeaderRequest, type ZaloAdsGetApiNotifiesHeaderResponse, type ZaloAdsGetApiPaymentTransactionHistoryRequest, type ZaloAdsGetApiPaymentTransactionHistoryResponse, type ZaloAdsGetApiPlaceGetalldistrictsRequest, type ZaloAdsGetApiPlaceGetalldistrictsResponse, type ZaloAdsGetApiSpellCheckV2Request, type ZaloAdsGetApiSpellCheckV2Response, type ZaloAdsGetApiWhoamiRequest, type ZaloAdsGetApiWhoamiResponse, type ZaloAdsGetAutomatedRuleDetailRequest, type ZaloAdsGetAutomatedRuleDetailResponse, type ZaloAdsGetAutomatedRuleHistoryRequest, type ZaloAdsGetAutomatedRuleHistoryResponse, type ZaloAdsGetDemographicsReportRequest, type ZaloAdsGetDemographicsReportResponse, type ZaloAdsGetReportOverviewRequest, type ZaloAdsGetReportOverviewResponse, type ZaloAdsGetReportapiV2AdsRequest, type ZaloAdsGetReportapiV2AdsResponse, type ZaloAdsGetReportapiV2CampaignsRequest, type ZaloAdsGetReportapiV2CampaignsResponse, type ZaloAdsGetReportapiV2UniqueUserRequest, type ZaloAdsGetReportapiV2UniqueUserResponse, type ZaloAdsGetReportapiV3CampaignsRequest, type ZaloAdsGetReportapiV3CampaignsResponse, type ZaloAdsGetSpellCheckV3JobRequest, type ZaloAdsGetSpellCheckV3JobResponse, type ZaloAdsGetZaapiCampaignReportcampaignRequest, type ZaloAdsGetZaapiCampaignReportcampaignResponse, type ZaloAdsGetZaapiCheckcamphasmanyadsRequest, type ZaloAdsGetZaapiCheckcamphasmanyadsResponse, type ZaloAdsGetZaapiGetadsfromcampaignidRequest, type ZaloAdsGetZaapiGetadsfromcampaignidResponse, type ZaloAdsGetZaapiGetallpagesRequest, type ZaloAdsGetZaapiGetallpagesResponse, type ZaloAdsGetZaapiGetownedarticlesRequest, type ZaloAdsGetZaapiGetownedarticlesResponse, type ZaloAdsGetZaapiGetownedpagesRequest, type ZaloAdsGetZaapiGetownedpagesResponse, type ZaloAdsGrantedMemberItemDto, ZaloAdsImageRatio, type ZaloAdsImageRatioValue, ZaloAdsIntegrationManager, type ZaloAdsIntegrationManagerOptions, type ZaloAdsLeadSignalAudienceTargetingDto, type ZaloAdsLeadSignalOaItem, type ZaloAdsListAgencyCustomersWithBudgetRequest, type ZaloAdsListAgencyCustomersWithBudgetResponse, type ZaloAdsListAutomatedRulesRequest, type ZaloAdsListAutomatedRulesResponse, type ZaloAdsListConversionNamesRequest, type ZaloAdsListConversionNamesResponse, type ZaloAdsListCustomReportsRequest, type ZaloAdsListCustomReportsResponse, type ZaloAdsListFlowsByOfficialAccountRequest, type ZaloAdsListFlowsByOfficialAccountResponse, type ZaloAdsListFormsByOfficialAccountRequest, type ZaloAdsListFormsByOfficialAccountResponse, type ZaloAdsListLeadSignalOasResponse, type ZaloAdsListMiniPagesByTemplateRequest, type ZaloAdsListMiniPagesByTemplateResponse, type ZaloAdsListPersonalPixelLabelsRequest, type ZaloAdsListPersonalPixelLabelsResponse, type ZaloAdsListReportFiltersRequest, type ZaloAdsListReportFiltersResponse, type ZaloAdsLookalikeAudienceTargetingDto, type ZaloAdsLpNewsButtonDto, type ZaloAdsLpNewsItemDto, type ZaloAdsMediaSavePayloadDto, type ZaloAdsMediaSaveSettingsDto, type ZaloAdsMemberFileItemDto, ZaloAdsMessageAdUpdateDataDto, type ZaloAdsMessageOaEventAudienceTargetingDto, type ZaloAdsMessageOaLeadAudienceTargetingDto, type ZaloAdsMessagePersonalEventAudienceTargetingDto, type ZaloAdsNotifyHeaderItemDto, ZaloAdsOsId, type ZaloAdsOsIdValue, type ZaloAdsOwnedArticleItemDto, type ZaloAdsOwnedPageExtraInfoDto, type ZaloAdsOwnedPageItemDto, type ZaloAdsOwnedPageLocationDto, type ZaloAdsPageConfigDto, type ZaloAdsPaymentTransactionItemDto, type ZaloAdsPhoneAudienceTargetingDto, type ZaloAdsPostApiAdEstimateaudienceRequest, type ZaloAdsPostApiAdEstimateaudienceResponse, type ZaloAdsPostApiMediaSaveRequest, type ZaloAdsPostApiMediaSaveResponse, type ZaloAdsPostApiMemberUploadImageRequest, type ZaloAdsPostApiMemberUploadImageResponse, type ZaloAdsPostZaapiDeleteadRequest, type ZaloAdsPostZaapiDeleteadResponse, ZaloAdsPriceLimitType, type ZaloAdsPriceLimitTypeValue, ZaloAdsPriceType, type ZaloAdsPriceTypeValue, ZaloAdsProvinceCode, type ZaloAdsProvinceCodeValue, ZaloAdsRegionId, type ZaloAdsRegionIdValue, type ZaloAdsRenameCampaignRequest, type ZaloAdsRenameCampaignResponse, ZaloAdsSdk, type ZaloAdsSdkOptions, ZaloAdsService, type ZaloAdsSpellCheckIssueDto, type ZaloAdsSpellCheckViolationDto, ZaloAdsSpendingMethod, type ZaloAdsSpendingMethodValue, type ZaloAdsStandardEventItemDto, type ZaloAdsUniqueUserReportDataDto, type ZaloAdsUpdateArticleAdRequest, type ZaloAdsUpdateArticleAdResponse, type ZaloAdsUpdateAutomatedRuleRequest, type ZaloAdsUpdateAutomatedRuleResponse, type ZaloAdsUpdateCommerceAdRequest, type ZaloAdsUpdateCommerceAdResponse, type ZaloAdsUpdateDisplayAdRequest, type ZaloAdsUpdateDisplayAdResponse, type ZaloAdsUpdateEcommerceAdRequest, type ZaloAdsUpdateEcommerceAdResponse, type ZaloAdsUpdateFlowRequest, type ZaloAdsUpdateFlowResponse, type ZaloAdsUpdateFormAdRequest, type ZaloAdsUpdateFormAdResponse, ZaloAdsUpdateMessageAdRequest, ZaloAdsUpdateMessageAdResponse, type ZaloAdsUpdateNewAdsRequest, type ZaloAdsUpdateNewAdsResponse, type ZaloAdsUpdateOaAdRequest, type ZaloAdsUpdateOaAdResponse, type ZaloAdsUpdateOfficialAccountAdRequest, type ZaloAdsUpdateOfficialAccountAdResponse, type ZaloAdsUpdatePostAdRequest, type ZaloAdsUpdatePostAdResponse, ZaloAdsUpdateVideoAdRequest, ZaloAdsUpdateVideoAdResponse, type ZaloAdsUpdateWebsiteAdRequest, type ZaloAdsUpdateWebsiteAdResponse, type ZaloAdsUploadCustomAudiencePhoneListRequest, type ZaloAdsUploadCustomAudiencePhoneListResponse, type ZaloAdsUploadVideoRequest, type ZaloAdsUploadVideoResponse, type ZaloAdsUpsertCustomReportRequest, type ZaloAdsUpsertCustomReportResponse, ZaloAdsUseConversion, type ZaloAdsUseConversionValue, ZaloAdsVideoSrc, type ZaloAdsVideoSrcValue, type ZaloAdsWhoamiProfile, ZaloAdsXTemplates, type ZaloAdsXTemplatesValue, type ZaloAdsZaapiCampaignReportItemDto, ZaloAudiencesService, ZaloAudiencesValidator, type ZaloAuthDomain, ZaloAuthManager, ZaloAutomatedRulesService, ZaloAutomatedRulesValidator, ZaloCampaignsService, ZaloCampaignsValidator, type ZaloChatWidgetGetChatWidgetLoginConfigRequest, type ZaloChatWidgetGetChatWidgetLoginConfigResponse, type ZaloChatWidgetGetLoginConfigRequest, type ZaloChatWidgetGetLoginConfigResponse, ZaloChatWidgetService, ZaloConversionsService, ZaloConversionsValidator, type ZaloCreateFormCleanPayload, type ZaloCreateFormRequestInput, type ZaloDomainSession, ZaloFlowsService, ZaloFlowsValidator, type ZaloFormQuestionAnswerInput, type ZaloFormQuestionInput, type ZaloFormSectionInput, type ZaloFormSessionProfile, type ZaloFormsAudienceExclusionTargetingItem, type ZaloFormsAuthSessionOaItem, type ZaloFormsConversationLeadItem, type ZaloFormsDisableFormLeadNotificationRequest, type ZaloFormsDisableFormLeadNotificationResponse, type ZaloFormsEnableFormLeadNotificationRequest, type ZaloFormsEnableFormLeadNotificationResponse, type ZaloFormsExportFormLeadReportRequest, type ZaloFormsExportFormLeadReportResponse, type ZaloFormsGetAuthSessionResponse, type ZaloFormsLeadAnswerItem, type ZaloFormsLeadItem, type ZaloFormsListAudienceExclusionTargetingRequest, type ZaloFormsListAudienceExclusionTargetingResponse, type ZaloFormsListConversationLeadsRequest, type ZaloFormsListConversationLeadsResponse, type ZaloFormsListFormLeadsRequest, type ZaloFormsListFormLeadsResponse, type ZaloFormsListManagedFormsByOfficialAccountRequest, type ZaloFormsListManagedFormsByOfficialAccountResponse, type ZaloFormsListScenariosByOfficialAccountRequest, type ZaloFormsListScenariosByOfficialAccountResponse, type ZaloFormsListSimpleFormsByOfficialAccountRequest, type ZaloFormsListSimpleFormsByOfficialAccountResponse, type ZaloFormsScenarioItem, ZaloFormsService, type ZaloFormsTrackManageFormEventRequest, type ZaloFormsTrackManageFormEventResponse, type ZaloFormsUpdateFormLeadNotificationIntervalRequest, type ZaloFormsUpdateFormLeadNotificationIntervalResponse, ZaloFormsValidator, type ZaloInstantPageActive, ZaloInstantPageBlockType, ZaloInstantPageSharePermission, type ZaloInstantPageSharePermissionValue, type ZaloInstantPageStatus, type ZaloInstantPagesCloneInstantPageRequest, type ZaloInstantPagesCloneInstantPageResponse, type ZaloInstantPagesCreateInstantPageRequest, type ZaloInstantPagesCreateInstantPageResponse, type ZaloInstantPagesFormRecordItem, type ZaloInstantPagesGetInstantPageDetailRequest, type ZaloInstantPagesGetInstantPageDetailResponse, type ZaloInstantPagesGetInstantPageSharedUserRequest, type ZaloInstantPagesGetInstantPageSharedUserResponse, type ZaloInstantPagesListInstantPageEditHistoryRequest, type ZaloInstantPagesListInstantPageEditHistoryResponse, type ZaloInstantPagesListInstantPageFormRecordsRequest, type ZaloInstantPagesListInstantPageFormRecordsResponse, type ZaloInstantPagesListInstantPageLeadsRequest, type ZaloInstantPagesListInstantPageLeadsResponse, type ZaloInstantPagesListInstantPageSharesRequest, type ZaloInstantPagesListInstantPageSharesResponse, type ZaloInstantPagesListInstantPageUsersRequest, type ZaloInstantPagesListInstantPageUsersResponse, type ZaloInstantPagesListMiniPageTemplatesRequest, type ZaloInstantPagesListMiniPageTemplatesResponse, type ZaloInstantPagesListOfficialAccountsRequest, type ZaloInstantPagesListOfficialAccountsResponse, type ZaloInstantPagesOfficialAccountItem, type ZaloInstantPagesSearchInstantPagesRequest, type ZaloInstantPagesSearchInstantPagesResponse, ZaloInstantPagesService, type ZaloInstantPagesShareMemberDto, type ZaloInstantPagesUpdateInstantPageRequest, type ZaloInstantPagesUpdateInstantPageResponse, type ZaloInstantPagesUpdateInstantPageSharesRequest, type ZaloInstantPagesUpdateInstantPageSharesResponse, type ZaloInstantPagesUpsertInstantPageFormRequest, type ZaloInstantPagesUpsertInstantPageFormResponse, ZaloInstantPagesValidator, type ZaloIntegrationCredentials, type ZaloIntegrationVerificationResult, type ZaloMediaImage, ZaloMediaService, ZaloMediaValidator, type ZaloPlaySessionPayload, type ZaloProfileAdsAdministrativeItem, type ZaloProfileAdsCreateOaPageRequest, type ZaloProfileAdsCreateOaPageResponse, type ZaloProfileAdsGetDistrictsRequest, type ZaloProfileAdsGetDistrictsResponse, type ZaloProfileAdsGetProvincesResponse, type ZaloProfileAdsProvinceId, ZaloProfileAdsService, type ZaloProfileAdsSubCategoryId, type ZaloProfileAdsUploadOaAvatarRequest, type ZaloProfileAdsUploadOaAvatarResponse, type ZaloProfileAdsUploadOaCoverRequest, type ZaloProfileAdsUploadOaCoverResponse, ZaloProfileAdsValidator, type ZaloRedisLikeClient, ZaloReportsService, ZaloReportsValidator, type ZaloSdkAuth, type ZaloSdkAuthContext, ZaloSdkError, ZaloSdkHttpClient, type ZaloSessionStore, type ZaloSsoAuthOptions, type ZaloUploadAndSaveImageRequest, type ZaloUploadAndSaveImageResult, type ZaloUploadAndSaveVideoRequest, type ZaloUploadAndSaveVideoResult, type ZaloWidgetAPIGetOfficialAccountInfoRequest, type ZaloWidgetAPIGetOfficialAccountInfoResponse, type ZaloWidgetAPIGetWidgetUserProfileRequest, type ZaloWidgetAPIGetWidgetUserProfileResponse, type ZaloWidgetAPIListStickerCategoriesRequest, type ZaloWidgetAPIListStickerCategoriesResponse, type ZaloWidgetAPIListStickersByCategoryRequest, type ZaloWidgetAPIListStickersByCategoryResponse, ZaloWidgetApiService, computeZpsidFingerprint, createZaloSsoAuth, decodePlaySessionJwt, ZaloAdsSdk as default, defaultSharedMemorySessionStore, deriveAccountKeyFromZpsid, parseZaloCookieInput, sanitizeCanvasKeys, validateChangeCampaignStatusParams, validateCloneInstantPageRequest, validateCreateArticleCampaign, validateCreateCampaignPayload, validateCreateCommerceCampaign, validateCreateCustomAudienceRequest, validateCreateDisplayCampaign, validateCreateFlowRequest, validateCreateFormCampaign, validateCreateFormEventAudienceRequest, validateCreateFormRequest, validateCreateInstantPageRequest, validateCreateLookalikeAudienceRequest, validateCreateMessageCampaign, validateCreateMessageOaEventAudienceRequest, validateCreateMessagePersonalEventAudienceRequest, validateCreateOaPageRequest, validateCreateOfficialAccountCampaign, validateCreatePhoneAudienceRequest, validateCreateSavedAudienceRequest, validateCreateVideoCampaign, validateCreateWebsiteCampaign, validateCropCoordinates, validateDateRangeReportRequest, validateDuplicateAdParams, validateEstimateAudienceRequest, validateGetInstantPageDetailRequest, validateGetInstantPageSharedUserRequest, validateInstantPageCanvas, validateListFlowsByOfficialAccountRequest, validateListFormLeadsRequest, validateListFormsByOfficialAccountRequest, validateListInstantPageEditHistoryRequest, validateListInstantPageFormRecordsRequest, validateListInstantPageLeadsRequest, validateListInstantPageSharesRequest, validateListInstantPageUsersRequest, validateListMiniPageTemplatesRequest, validateListOfficialAccountsRequest, validateRenameCampaignParams, validateSaveMediaRequest, validateSearchInstantPagesRequest, validateToggleLeadNotificationRequest, validateUpdateAdPayload, validateUpdateArticleAd, validateUpdateCommerceAd, validateUpdateDisplayAd, validateUpdateFlowRequest, validateUpdateFormAd, validateUpdateInstantPageRequest, validateUpdateInstantPageSharesRequest, validateUpdateLeadNotificationIntervalRequest, validateUpdateMessageAd, validateUpdateOfficialAccountAd, validateUpdateVideoAd, validateUpdateWebsiteAd, validateUploadCustomAudiencePhoneListRequest, validateUploadMediaRequest, validateUpsertCustomReportRequest, validateUpsertInstantPageFormRequest };
package/dist/index.js CHANGED
@@ -49,6 +49,7 @@ __export(index_exports, {
49
49
  VALID_AD_TYPES: () => VALID_AD_TYPES,
50
50
  VALID_CAMPAIGN_TYPES: () => VALID_CAMPAIGN_TYPES,
51
51
  VIETNAM_PHONE_REGEX: () => VIETNAM_PHONE_REGEX,
52
+ ZALO_DISPLAY_AD_FORMAT: () => ZALO_DISPLAY_AD_FORMAT,
52
53
  ZALO_NEW_REGION_PROVINCE_CODES: () => ZALO_NEW_REGION_PROVINCE_CODES,
53
54
  ZALO_PROFILE_ADS_PROVINCES: () => ZALO_PROFILE_ADS_PROVINCES,
54
55
  ZALO_PROFILE_ADS_SUB_CATEGORIES: () => ZALO_PROFILE_ADS_SUB_CATEGORIES,
@@ -2234,7 +2235,24 @@ var VALID_AD_TYPES = {
2234
2235
  COMMERCE: 28,
2235
2236
  // Server trả về 28 (không phải 23)
2236
2237
  ARTICLE: 3,
2237
- DISPLAY: 21
2238
+ DISPLAY: 21,
2239
+ // Masthead Mobile (Format 1) & Masthead Desktop (Format 2)
2240
+ DISPLAY_HALFPAGE: 26,
2241
+ // Halfpage Mobile (Format 13) & Halfpage PC (Format 14)
2242
+ DISPLAY_MEDIUM_RECTANGLE: 23
2243
+ // Medium Rectangle 300x250 (Format 6)
2244
+ };
2245
+ var ZALO_DISPLAY_AD_FORMAT = {
2246
+ MASTHEAD_MOBILE: 1,
2247
+ // Kích thước 640x360, Os: [0, 1]
2248
+ MASTHEAD_DESKTOP: 2,
2249
+ // Kích thước 970x250, Os: [3]
2250
+ MEDIUM_RECTANGLE: 6,
2251
+ // Kích thước 300x250, Os: [0, 1]
2252
+ HALFPAGE_MOBILE: 13,
2253
+ // Kích thước 300x600, Os: [0, 1]
2254
+ HALFPAGE_PC: 14
2255
+ // Kích thước 300x600, Os: [3]
2238
2256
  };
2239
2257
  var ALLOWED_CTAS_PER_AD_TYPE = {
2240
2258
  // Website (Type 5): 9 CTAs
@@ -2285,7 +2303,41 @@ var ALLOWED_CTAS_PER_AD_TYPE = {
2285
2303
  ZaloAdsActionType.XEM_THEM
2286
2304
  ],
2287
2305
  // OA (Type 2): Cố định Quan tâm OA (6)
2288
- [VALID_AD_TYPES.OA]: [ZaloAdsActionType.QUAN_TAM_OA]
2306
+ [VALID_AD_TYPES.OA]: [ZaloAdsActionType.QUAN_TAM_OA],
2307
+ // Display (Type 21) & Display Halfpage (Type 26): Hỗ trợ các hành động cơ bản
2308
+ [VALID_AD_TYPES.DISPLAY]: [
2309
+ ZaloAdsActionType.DAT_NGAY,
2310
+ ZaloAdsActionType.MUA_NGAY,
2311
+ ZaloAdsActionType.THU_NGAY,
2312
+ ZaloAdsActionType.TAI_NGAY,
2313
+ ZaloAdsActionType.XEM_THEM,
2314
+ ZaloAdsActionType.NGHE_NGAY,
2315
+ ZaloAdsActionType.CHOI_NGAY,
2316
+ ZaloAdsActionType.DANG_KY,
2317
+ ZaloAdsActionType.GOI_DIEN
2318
+ ],
2319
+ [VALID_AD_TYPES.DISPLAY_HALFPAGE]: [
2320
+ ZaloAdsActionType.DAT_NGAY,
2321
+ ZaloAdsActionType.MUA_NGAY,
2322
+ ZaloAdsActionType.THU_NGAY,
2323
+ ZaloAdsActionType.TAI_NGAY,
2324
+ ZaloAdsActionType.XEM_THEM,
2325
+ ZaloAdsActionType.NGHE_NGAY,
2326
+ ZaloAdsActionType.CHOI_NGAY,
2327
+ ZaloAdsActionType.DANG_KY,
2328
+ ZaloAdsActionType.GOI_DIEN
2329
+ ],
2330
+ [VALID_AD_TYPES.DISPLAY_MEDIUM_RECTANGLE]: [
2331
+ ZaloAdsActionType.DAT_NGAY,
2332
+ ZaloAdsActionType.MUA_NGAY,
2333
+ ZaloAdsActionType.THU_NGAY,
2334
+ ZaloAdsActionType.TAI_NGAY,
2335
+ ZaloAdsActionType.XEM_THEM,
2336
+ ZaloAdsActionType.NGHE_NGAY,
2337
+ ZaloAdsActionType.CHOI_NGAY,
2338
+ ZaloAdsActionType.DANG_KY,
2339
+ ZaloAdsActionType.GOI_DIEN
2340
+ ]
2289
2341
  };
2290
2342
  function validateCreateCampaignPayload(payload, options = {}) {
2291
2343
  const errors = [];
@@ -2381,11 +2433,15 @@ function validateUpdateAdPayload(payload, options = {}) {
2381
2433
  if (!adInfo) {
2382
2434
  errors.push("Settings.AdInfo l\xE0 b\u1EAFt bu\u1ED9c.");
2383
2435
  } else {
2436
+ const rawTypeNum = Number(payload.Type);
2437
+ const isDisplayAd = rawTypeNum === 21 || rawTypeNum === 23 || rawTypeNum === 26 || adInfo.AdFormat === 1 || adInfo.AdFormat === 2 || adInfo.AdFormat === 6 || adInfo.AdFormat === 13 || adInfo.AdFormat === 14;
2384
2438
  if (!adInfo.Caption || !adInfo.Caption.trim()) {
2385
- errors.push("Settings.AdInfo.Caption l\xE0 b\u1EAFt bu\u1ED9c.");
2439
+ if (!isDisplayAd) {
2440
+ errors.push("Settings.AdInfo.Caption l\xE0 b\u1EAFt bu\u1ED9c.");
2441
+ }
2386
2442
  } else {
2387
2443
  const captionLen = adInfo.Caption.trim().length;
2388
- if (captionLen < 35) {
2444
+ if (!isDisplayAd && captionLen < 35) {
2389
2445
  errors.push(`Settings.AdInfo.Caption qu\xE1 ng\u1EAFn (${captionLen}/35 k\xFD t\u1EF1 t\u1ED1i thi\u1EC3u).`);
2390
2446
  } else if (captionLen > 90) {
2391
2447
  errors.push(`Settings.AdInfo.Caption qu\xE1 d\xE0i (${captionLen}/90 k\xFD t\u1EF1 t\u1ED1i \u0111a).`);
@@ -2409,6 +2465,14 @@ function validateUpdateAdPayload(payload, options = {}) {
2409
2465
  );
2410
2466
  }
2411
2467
  }
2468
+ if (isDisplayAd) {
2469
+ const targetUrl = typeof adInfo.TargetUrl === "object" ? adInfo.TargetUrl?.Url : adInfo.TargetUrl;
2470
+ if (!targetUrl || typeof targetUrl !== "string" || !targetUrl.trim()) {
2471
+ errors.push("Settings.AdInfo.TargetUrl l\xE0 b\u1EAFt bu\u1ED9c \u0111\u1ED1i v\u1EDBi Qu\u1EA3ng c\xE1o Display.");
2472
+ } else if (!/^https?:\/\//i.test(targetUrl.trim())) {
2473
+ errors.push("Settings.AdInfo.TargetUrl ph\u1EA3i l\xE0 m\u1ED9t \u0111\u01B0\u1EDDng d\u1EABn h\u1EE3p l\u1EC7 (b\u1EAFt \u0111\u1EA7u b\u1EB1ng http:// ho\u1EB7c https://).");
2474
+ }
2475
+ }
2412
2476
  if (adInfo.Action !== void 0 && payload.Type) {
2413
2477
  const allowedCtas = ALLOWED_CTAS_PER_AD_TYPE[payload.Type];
2414
2478
  if (allowedCtas && !allowedCtas.includes(adInfo.Action)) {
@@ -2532,6 +2596,65 @@ function validateUpdateAdPayload(payload, options = {}) {
2532
2596
  "Ng\xE2n s\xE1ch t\u1ED1i thi\u1EC3u cho Qu\u1EA3ng c\xE1o Tin nh\u1EAFn l\xE0 600,000 VN\u0110 (Price.Limit >= 600000). N\u1EBFu \u0111\u1EB7t d\u01B0\u1EDBi 600k m\xE1y ch\u1EE7 s\u1EBD t\u1EEB ch\u1ED1i."
2533
2597
  );
2534
2598
  }
2599
+ } else if (Number(payload.Type) === 21 || Number(payload.Type) === 23 || Number(payload.Type) === 26 || payload.Type === VALID_AD_TYPES.DISPLAY || payload.Type === VALID_AD_TYPES.DISPLAY_HALFPAGE || payload.Type === VALID_AD_TYPES.DISPLAY_MEDIUM_RECTANGLE) {
2600
+ const adFormat = payload.Settings?.AdInfo?.AdFormat;
2601
+ const typeNum = Number(payload.Type);
2602
+ const isHalfpage = typeNum === 26 || adFormat === 13 || adFormat === 14 || (payload.AdName || "").toLowerCase().includes("halfpage");
2603
+ const isMediumRectangle = typeNum === 23 || adFormat === 6 || (payload.AdName || "").toLowerCase().includes("medium rectangle") || (payload.AdName || "").toLowerCase().includes("300x250");
2604
+ const adNameLower = (payload.AdName || "").toLowerCase();
2605
+ const isWelcome = adNameLower.includes("welcome");
2606
+ const isMasthead = (adNameLower.includes("masthead") || typeNum === 21 || adFormat === 1 || adFormat === 2) && !isWelcome && !isMediumRectangle;
2607
+ if (price.Type !== 1 && price.Type !== 2) {
2608
+ errors.push(
2609
+ "\u0110\u1ED1i v\u1EDBi Qu\u1EA3ng c\xE1o Display, Price.Type ch\u1EC9 ch\u1EA5p nh\u1EADn 1 (CPM - L\u01B0\u1EE3t hi\u1EC3n th\u1ECB) ho\u1EB7c 2 (CPC - L\u01B0\u1EE3t nh\u1EA5n)."
2610
+ );
2611
+ }
2612
+ if ((isHalfpage || isMasthead) && price.Type === 2) {
2613
+ errors.push(
2614
+ `Qu\u1EA3ng c\xE1o ${isHalfpage ? "Halfpage (Type 26 / AdFormat 13, 14)" : "Masthead (Type 21)"} ch\u1EC9 h\u1ED7 tr\u1EE3 t\xEDnh ti\u1EC1n theo l\u01B0\u1EE3t hi\u1EC3n th\u1ECB CPM (Price.Type = 1), kh\xF4ng h\u1ED7 tr\u1EE3 CPC.`
2615
+ );
2616
+ }
2617
+ if (price.Type === 1) {
2618
+ if (price.Bid !== void 0) {
2619
+ if (isWelcome && price.Bid < 3e4) {
2620
+ errors.push(
2621
+ `Gi\xE1 \u0111\u1EB7t m\u1ED7i 1,000 l\u01B0\u1EE3t hi\u1EC3n th\u1ECB (Price.Bid) cho Qu\u1EA3ng c\xE1o Welcome Mobile t\u1ED1i thi\u1EC3u l\xE0 30,000 VN\u0110. Hi\u1EC7n t\u1EA1i \u0111ang truy\u1EC1n: ${price.Bid}\u0111.`
2622
+ );
2623
+ } else if (isHalfpage && price.Bid < 16e3) {
2624
+ errors.push(
2625
+ `Gi\xE1 \u0111\u1EB7t m\u1ED7i 1,000 l\u01B0\u1EE3t hi\u1EC3n th\u1ECB (Price.Bid) cho Qu\u1EA3ng c\xE1o Halfpage t\u1ED1i thi\u1EC3u l\xE0 16,000 VN\u0110. Hi\u1EC7n t\u1EA1i \u0111ang truy\u1EC1n: ${price.Bid}\u0111.`
2626
+ );
2627
+ } else if (isMasthead && price.Bid < 13e3) {
2628
+ errors.push(
2629
+ `Gi\xE1 \u0111\u1EB7t m\u1ED7i 1,000 l\u01B0\u1EE3t hi\u1EC3n th\u1ECB (Price.Bid) cho Qu\u1EA3ng c\xE1o Masthead t\u1ED1i thi\u1EC3u l\xE0 13,000 VN\u0110. Hi\u1EC7n t\u1EA1i \u0111ang truy\u1EC1n: ${price.Bid}\u0111.`
2630
+ );
2631
+ } else if (isMediumRectangle && price.Bid < 8e3) {
2632
+ errors.push(
2633
+ `Gi\xE1 \u0111\u1EB7t m\u1ED7i 1,000 l\u01B0\u1EE3t hi\u1EC3n th\u1ECB (Price.Bid) cho Qu\u1EA3ng c\xE1o Medium Rectangle CPM t\u1ED1i thi\u1EC3u l\xE0 8,000 VN\u0110. Hi\u1EC7n t\u1EA1i \u0111ang truy\u1EC1n: ${price.Bid}\u0111.`
2634
+ );
2635
+ } else if (price.Bid < 8e3) {
2636
+ errors.push(
2637
+ `Gi\xE1 \u0111\u1EB7t m\u1ED7i 1,000 l\u01B0\u1EE3t hi\u1EC3n th\u1ECB (Price.Bid) cho Qu\u1EA3ng c\xE1o Display CPM t\u1ED1i thi\u1EC3u l\xE0 8,000 VN\u0110 (s\xE0n h\u1EC7 th\u1ED1ng). Hi\u1EC7n t\u1EA1i \u0111ang truy\u1EC1n: ${price.Bid}\u0111.`
2638
+ );
2639
+ }
2640
+ }
2641
+ if (price.Limit !== void 0 && price.Limit > 0 && price.Limit < 50) {
2642
+ errors.push(
2643
+ "S\u1ED1 l\u01B0\u1EE3ng l\u01B0\u1EE3t hi\u1EC3n th\u1ECB t\u1ED1i thi\u1EC3u (Price.Limit) cho Qu\u1EA3ng c\xE1o Display CPM l\xE0 50 (t\u01B0\u01A1ng \u1EE9ng 50,000 l\u01B0\u1EE3t hi\u1EC3n th\u1ECB)."
2644
+ );
2645
+ }
2646
+ } else if (price.Type === 2) {
2647
+ if (price.Bid !== void 0 && price.Bid < 1800) {
2648
+ errors.push(
2649
+ `Gi\xE1 \u0111\u1EB7t m\u1ED7i l\u01B0\u1EE3t nh\u1EA5n (Price.Bid) cho Qu\u1EA3ng c\xE1o Display CPC t\u1ED1i thi\u1EC3u l\xE0 1,800 VN\u0110. Hi\u1EC7n t\u1EA1i \u0111ang truy\u1EC1n: ${price.Bid}\u0111.`
2650
+ );
2651
+ }
2652
+ if (price.Limit !== void 0 && price.Limit > 0 && price.Limit < 50) {
2653
+ errors.push(
2654
+ "S\u1ED1 l\u01B0\u1EE3ng l\u01B0\u1EE3t nh\u1EA5n t\u1ED1i thi\u1EC3u (Price.Limit) cho Qu\u1EA3ng c\xE1o Display CPC l\xE0 50 l\u01B0\u1EE3t nh\u1EA5n."
2655
+ );
2656
+ }
2657
+ }
2535
2658
  }
2536
2659
  if (payload.Settings && payload.Settings.DeliveryType !== void 0) {
2537
2660
  const deliveryType = payload.Settings.DeliveryType;
@@ -2548,6 +2671,21 @@ function validateUpdateAdPayload(payload, options = {}) {
2548
2671
  }
2549
2672
  const targeting = payload.Settings?.Targeting;
2550
2673
  if (targeting) {
2674
+ if (targeting.Gender !== void 0 && targeting.Gender !== null) {
2675
+ if (![0, 1, 2].includes(Number(targeting.Gender))) {
2676
+ errors.push(`M\xE3 gi\u1EDBi t\xEDnh 'Gender' (${targeting.Gender}) kh\xF4ng h\u1EE3p l\u1EC7. H\u1EE3p l\u1EC7: 0 (T\u1EA5t c\u1EA3), 1 (Nam), 2 (N\u1EEF).`);
2677
+ }
2678
+ }
2679
+ if (targeting.CustomAudienceId !== void 0 && targeting.CustomAudienceId !== null) {
2680
+ if (typeof targeting.CustomAudienceId !== "number" || targeting.CustomAudienceId < 0) {
2681
+ errors.push("CustomAudienceId ph\u1EA3i l\xE0 s\u1ED1 nguy\xEAn kh\xF4ng \xE2m (>= 0).");
2682
+ }
2683
+ }
2684
+ if (targeting.ExcludedAudienceId !== void 0 && targeting.ExcludedAudienceId !== null) {
2685
+ if (typeof targeting.ExcludedAudienceId !== "number" || targeting.ExcludedAudienceId < 0) {
2686
+ errors.push("ExcludedAudienceId ph\u1EA3i l\xE0 s\u1ED1 nguy\xEAn kh\xF4ng \xE2m (>= 0).");
2687
+ }
2688
+ }
2551
2689
  const newAges = targeting.NewAgeRanges;
2552
2690
  const oldAges = targeting.AgeRanges;
2553
2691
  if (newAges && newAges.length > 0) {
@@ -2670,6 +2808,14 @@ function validateUpdateAdPayload(payload, options = {}) {
2670
2808
  if (!payload.ZaloFeedId && !payload.articleId) {
2671
2809
  errors.push("ZaloFeedId ho\u1EB7c articleId l\xE0 b\u1EAFt bu\u1ED9c \u0111\u1ED1i v\u1EDBi Qu\u1EA3ng c\xE1o B\xE0i Vi\u1EBFt (Ad Type 3).");
2672
2810
  }
2811
+ } else if (Number(payload.Type) === 21 || Number(payload.Type) === 23 || Number(payload.Type) === 26 || payload.Type === VALID_AD_TYPES.DISPLAY || payload.Type === VALID_AD_TYPES.DISPLAY_HALFPAGE || payload.Type === VALID_AD_TYPES.DISPLAY_MEDIUM_RECTANGLE) {
2812
+ const img = payload.Settings?.Image;
2813
+ const hasImage = img?.LandscapeCoverUrl || img?.BaseLandscapeCoverUrl || img?.PortraitCoverUrl || img?.SquareCoverUrl;
2814
+ if (!hasImage) {
2815
+ errors.push(
2816
+ "Qu\u1EA3ng c\xE1o Display b\u1EAFt bu\u1ED9c ph\u1EA3i c\xF3 \xEDt nh\u1EA5t m\u1ED9t banner h\xECnh \u1EA3nh (Settings.Image.LandscapeCoverUrl ho\u1EB7c BaseLandscapeCoverUrl)."
2817
+ );
2818
+ }
2673
2819
  }
2674
2820
  return {
2675
2821
  isValid: errors.length === 0,
@@ -2911,7 +3057,19 @@ function validateUpdateWebsiteAd(payload, options = {}) {
2911
3057
  return validateUpdateAdPayload({ ...payload, Type: VALID_AD_TYPES.WEBSITE }, options);
2912
3058
  }
2913
3059
  function validateUpdateDisplayAd(payload, options = {}) {
2914
- return validateUpdateAdPayload({ ...payload, Type: VALID_AD_TYPES.DISPLAY }, options);
3060
+ const adFormat = payload.Settings?.AdInfo?.AdFormat;
3061
+ const rawType = Number(payload.Type);
3062
+ const isHalfpage = rawType === 26 || adFormat === 13 || adFormat === 14;
3063
+ const isMediumRectangle = rawType === 23 || adFormat === 6;
3064
+ let effectiveType;
3065
+ if (isHalfpage) {
3066
+ effectiveType = VALID_AD_TYPES.DISPLAY_HALFPAGE;
3067
+ } else if (isMediumRectangle) {
3068
+ effectiveType = VALID_AD_TYPES.DISPLAY_MEDIUM_RECTANGLE;
3069
+ } else {
3070
+ effectiveType = payload.Type ?? VALID_AD_TYPES.DISPLAY;
3071
+ }
3072
+ return validateUpdateAdPayload({ ...payload, Type: effectiveType }, options);
2915
3073
  }
2916
3074
  function validateUpdateVideoAd(payload, options = {}) {
2917
3075
  return validateUpdateAdPayload({ ...payload, Type: VALID_AD_TYPES.VIDEO }, options);
@@ -9058,6 +9216,7 @@ var ZaloMediaValidator = {
9058
9216
  VALID_AD_TYPES,
9059
9217
  VALID_CAMPAIGN_TYPES,
9060
9218
  VIETNAM_PHONE_REGEX,
9219
+ ZALO_DISPLAY_AD_FORMAT,
9061
9220
  ZALO_NEW_REGION_PROVINCE_CODES,
9062
9221
  ZALO_PROFILE_ADS_PROVINCES,
9063
9222
  ZALO_PROFILE_ADS_SUB_CATEGORIES,