/** * This is auto-generated file, don't modify this file manually */ import { AdsAccount } from '../objects/ads/AdsAccount'; import { AdsAd } from '../objects/ads/AdsAd'; import { AdsAdLayout } from '../objects/ads/AdsAdLayout'; import { AdsCampaign } from '../objects/ads/AdsCampaign'; import { AdsCategory } from '../objects/ads/AdsCategory'; import { AdsClient } from '../objects/ads/AdsClient'; import { AdsCreateAdStatus } from '../objects/ads/AdsCreateAdStatus'; import { AdsCreateCampaignStatus } from '../objects/ads/AdsCreateCampaignStatus'; import { AdsCreateClientsStatus } from '../objects/ads/AdsCreateClientsStatus'; import { AdsDemoStats } from '../objects/ads/AdsDemoStats'; import { AdsFloodStats } from '../objects/ads/AdsFloodStats'; import { AdsLinkStatus } from '../objects/ads/AdsLinkStatus'; import { AdsLookalikeRequest } from '../objects/ads/AdsLookalikeRequest'; import { AdsMusician } from '../objects/ads/AdsMusician'; import { AdsPromotedPostReach } from '../objects/ads/AdsPromotedPostReach'; import { AdsRejectReason } from '../objects/ads/AdsRejectReason'; import { AdsStats } from '../objects/ads/AdsStats'; import { AdsTargetGroup } from '../objects/ads/AdsTargetGroup'; import { AdsTargetPixelInfo } from '../objects/ads/AdsTargetPixelInfo'; import { AdsTargSettings } from '../objects/ads/AdsTargSettings'; import { AdsTargStats } from '../objects/ads/AdsTargStats'; import { AdsTargSuggestions } from '../objects/ads/AdsTargSuggestions'; import { AdsTargSuggestionsCities } from '../objects/ads/AdsTargSuggestionsCities'; import { AdsTargSuggestionsRegions } from '../objects/ads/AdsTargSuggestionsRegions'; import { AdsTargSuggestionsSchools } from '../objects/ads/AdsTargSuggestionsSchools'; import { AdsUpdateAdsStatus } from '../objects/ads/AdsUpdateAdsStatus'; import { AdsUpdateClientsStatus } from '../objects/ads/AdsUpdateClientsStatus'; import { AdsUpdateOfficeUsersResult } from '../objects/ads/AdsUpdateOfficeUsersResult'; import { AdsUsers } from '../objects/ads/AdsUsers'; /** * ads.addOfficeUsers * * Adds managers and/or supervisors to advertising account. */ export interface AdsAddOfficeUsersParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array of objects that describe added managers. Description of 'user_specification' objects see below. */ data: string; } export declare type AdsAddOfficeUsersResponse = boolean[]; /** * ads.checkLink * * Allows to check the ad link. */ export interface AdsCheckLinkParams { /** * Advertising account ID. */ account_id: number; /** * Object type: *'community' - community,, *'post' - community post,, *'application' - VK application,, *'video' - video,, *'site' - external site. */ link_type: 'application' | 'community' | 'mobile_app' | 'post' | 'site' | 'user' | 'user_post' | 'video'; /** * Object URL. */ link_url: string; /** * Campaign ID */ campaign_id?: number; } export declare type AdsCheckLinkResponse = AdsLinkStatus; /** * ads.createAds * * Creates ads. */ export interface AdsCreateAdsParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array of objects that describe created ads. Description of 'ad_specification' objects see below. */ data: string; } export declare type AdsCreateAdsResponse = AdsCreateAdStatus[]; /** * ads.createCampaigns * * Creates advertising campaigns. */ export interface AdsCreateCampaignsParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array of objects that describe created campaigns. Description of 'campaign_specification' objects see below. */ data: string; } export declare type AdsCreateCampaignsResponse = AdsCreateCampaignStatus[]; /** * ads.createClients * * Creates clients of an advertising agency. */ export interface AdsCreateClientsParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array of objects that describe created campaigns. Description of 'client_specification' objects see below. */ data: string; } export declare type AdsCreateClientsResponse = AdsCreateClientsStatus[]; /** * ads.createLookalikeRequest */ export interface AdsCreateLookalikeRequestParams { account_id: number; client_id?: number; source_type: string; retargeting_group_id?: number; } export interface AdsCreateLookalikeRequestResponse { /** * Request ID */ request_id?: number; } /** * ads.createTargetGroup * * Creates a group to re-target ads for users who visited advertiser's site (viewed information about the product, registered, etc.). */ export interface AdsCreateTargetGroupParams { /** * Advertising account ID. */ account_id: number; /** * 'Only for advertising agencies.', ID of the client with the advertising account where the group will be created. */ client_id?: number; /** * Name of the target group - a string up to 64 characters long. */ name: string; /** * 'For groups with auditory created with pixel code only.', , Number of days after that users will be automatically removed from the group. */ lifetime: number; target_pixel_id?: number; target_pixel_rules?: string; } export interface AdsCreateTargetGroupResponse { /** * Group ID */ id?: number; /** * Pixel code */ pixel?: string; } /** * ads.createTargetPixel */ export interface AdsCreateTargetPixelParams { account_id: number; client_id?: number; name: string; domain?: string; category_id: number; } export interface AdsCreateTargetPixelResponse { /** * Pixel ID */ id?: number; /** * Pixel code */ pixel?: string; } /** * ads.deleteAds * * Archives ads. */ export interface AdsDeleteAdsParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array with ad IDs. */ ids: string; } export declare type AdsDeleteAdsResponse = number[]; /** * ads.deleteCampaigns * * Archives advertising campaigns. */ export interface AdsDeleteCampaignsParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array with IDs of deleted campaigns. */ ids: string; } export declare type AdsDeleteCampaignsResponse = number[]; /** * ads.deleteClients * * Archives clients of an advertising agency. */ export interface AdsDeleteClientsParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array with IDs of deleted clients. */ ids: string; } export declare type AdsDeleteClientsResponse = number[]; /** * ads.deleteTargetGroup * * Deletes a retarget group. */ export interface AdsDeleteTargetGroupParams { /** * Advertising account ID. */ account_id: number; /** * 'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created. */ client_id?: number; /** * Group ID. */ target_group_id: number; } export declare type AdsDeleteTargetGroupResponse = 1; /** * ads.deleteTargetPixel */ export interface AdsDeleteTargetPixelParams { account_id: number; client_id?: number; target_pixel_id: number; } export interface AdsDeleteTargetPixelResponse { [key: string]: any; } /** * ads.getAccounts * * Returns a list of advertising accounts. */ export interface AdsGetAccountsParams { } export declare type AdsGetAccountsResponse = AdsAccount[]; /** * ads.getAds * * Returns number of ads. */ export interface AdsGetAdsParams { /** * Advertising account ID. */ account_id: number; /** * 'Available and required for advertising agencies.' ID of the client ads are retrieved from. */ client_id?: number; /** * Flag that specifies whether archived ads shall be shown: *0 - show only active ads,, *1 - show all ads. */ include_deleted?: 0 | 1; /** * Flag that specifies whether to show only archived ads: *0 - show all ads,, *1 - show only archived ads. Available when include_deleted flag is *1 */ only_deleted?: 0 | 1; /** * Filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown. */ campaign_ids?: string; /** * Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown. */ ad_ids?: string; /** * Limit of number of returned ads. Used only if ad_ids parameter is null, and 'campaign_ids' parameter contains ID of only one campaign. */ limit?: number; /** * Offset. Used in the same cases as 'limit' parameter. */ offset?: number; } export declare type AdsGetAdsResponse = AdsAd[]; /** * ads.getAdsLayout * * Returns descriptions of ad layouts. */ export interface AdsGetAdsLayoutParams { /** * Advertising account ID. */ account_id: number; /** * 'For advertising agencies.' ID of the client ads are retrieved from. */ client_id?: number; /** * Flag that specifies whether archived ads shall be shown. *0 - show only active ads,, *1 - show all ads. */ include_deleted?: 0 | 1; /** * Flag that specifies whether to show only archived ads: *0 - show all ads,, *1 - show only archived ads. Available when include_deleted flag is *1 */ only_deleted?: 0 | 1; /** * Filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown. */ campaign_ids?: string; /** * Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown. */ ad_ids?: string; /** * Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and 'campaign_ids' parameter contains ID of only one campaign. */ limit?: number; /** * Offset. Used in the same cases as 'limit' parameter. */ offset?: number; } export declare type AdsGetAdsLayoutResponse = AdsAdLayout[]; /** * ads.getAdsTargeting * * Returns ad targeting parameters. */ export interface AdsGetAdsTargetingParams { /** * Advertising account ID. */ account_id: number; /** * 'For advertising agencies.' ID of the client ads are retrieved from. */ client_id?: number; /** * flag that specifies whether archived ads shall be shown: *0 - show only active ads,, *1 - show all ads. */ include_deleted?: 0 | 1; only_deleted?: 0 | 1; /** * Filter by advertising campaigns. Serialized JSON array with campaign IDs. If the parameter is null, ads of all campaigns will be shown. */ campaign_ids?: string; /** * Filter by ads. Serialized JSON array with ad IDs. If the parameter is null, all ads will be shown. */ ad_ids?: string; /** * Limit of number of returned ads. Used only if 'ad_ids' parameter is null, and 'campaign_ids' parameter contains ID of only one campaign. */ limit?: number; /** * Offset needed to return a specific subset of results. */ offset?: number; } export declare type AdsGetAdsTargetingResponse = AdsTargSettings[]; /** * ads.getBudget * * Returns current budget of the advertising account. */ export interface AdsGetBudgetParams { /** * Advertising account ID. */ account_id: number; } export declare type AdsGetBudgetResponse = string; /** * ads.getCampaigns * * Returns a list of campaigns in an advertising account. */ export interface AdsGetCampaignsParams { /** * Advertising account ID. */ account_id: number; /** * 'For advertising agencies'. ID of the client advertising campaigns are retrieved from. */ client_id?: number; /** * Flag that specifies whether archived ads shall be shown. *0 - show only active campaigns,, *1 - show all campaigns. */ include_deleted?: 0 | 1; /** * Filter of advertising campaigns to show. Serialized JSON array with campaign IDs. Only campaigns that exist in 'campaign_ids' and belong to the specified advertising account will be shown. If the parameter is null, all campaigns will be shown. */ campaign_ids?: string; fields?: string; } export declare type AdsGetCampaignsResponse = AdsCampaign[]; /** * ads.getCategories * * Returns a list of possible ad categories. */ export interface AdsGetCategoriesParams { /** * Language. The full list of supported languages is [vk.com/dev/api_requests|here]. */ lang?: string; } export interface AdsGetCategoriesResponse { /** * Old categories */ v1?: AdsCategory[]; /** * Actual categories */ v2?: AdsCategory[]; } /** * ads.getClients * * Returns a list of advertising agency's clients. */ export interface AdsGetClientsParams { /** * Advertising account ID. */ account_id: number; } export declare type AdsGetClientsResponse = AdsClient[]; /** * ads.getDemographics * * Returns demographics for ads or campaigns. */ export interface AdsGetDemographicsParams { /** * Advertising account ID. */ account_id: number; /** * Type of requested objects listed in 'ids' parameter: *ad - ads,, *campaign - campaigns. */ ids_type: 'ad' | 'campaign'; /** * IDs requested ads or campaigns, separated with a comma, depending on the value set in 'ids_type'. Maximum 2000 objects. */ ids: string; /** * Data grouping by dates: *day - statistics by days,, *month - statistics by months,, *overall - overall statistics. 'date_from' and 'date_to' parameters set temporary limits. */ period: 'day' | 'month' | 'overall'; /** * Date to show statistics from. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 - September 27, 2011, **0 - day it was created on,, *month: YYYY-MM, example: 2011-09 - September 2011, **0 - month it was created in,, *overall: 0. */ date_from: string; /** * Date to show statistics to. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 - September 27, 2011, **0 - current day,, *month: YYYY-MM, example: 2011-09 - September 2011, **0 - current month,, *overall: 0. */ date_to: string; } export declare type AdsGetDemographicsResponse = AdsDemoStats[]; /** * ads.getFloodStats * * Returns information about current state of a counter - number of remaining runs of methods and time to the next counter nulling in seconds. */ export interface AdsGetFloodStatsParams { /** * Advertising account ID. */ account_id: number; } export declare type AdsGetFloodStatsResponse = AdsFloodStats; /** * ads.getLookalikeRequests */ export interface AdsGetLookalikeRequestsParams { account_id: number; client_id?: number; requests_ids?: string; offset?: number; limit?: number; sort_by?: string; } export interface AdsGetLookalikeRequestsResponse { /** * Total count of found lookalike requests */ count?: number; /** * found lookalike requests */ items?: AdsLookalikeRequest[]; } /** * ads.getMusicians */ export interface AdsGetMusiciansParams { artist_name: string; } export interface AdsGetMusiciansResponse { /** * Musicians */ items?: AdsMusician[]; } /** * ads.getMusiciansByIds */ export interface AdsGetMusiciansByIdsParams { ids: string; } export interface AdsGetMusiciansByIdsResponse { /** * Musicians */ items?: AdsMusician[]; } /** * ads.getOfficeUsers * * Returns a list of managers and supervisors of advertising account. */ export interface AdsGetOfficeUsersParams { /** * Advertising account ID. */ account_id: number; } export declare type AdsGetOfficeUsersResponse = AdsUsers[]; /** * ads.getPostsReach * * Returns detailed statistics of promoted posts reach from campaigns and ads. */ export interface AdsGetPostsReachParams { /** * Advertising account ID. */ account_id: number; /** * Type of requested objects listed in 'ids' parameter: *ad - ads,, *campaign - campaigns. */ ids_type: 'ad' | 'campaign'; /** * IDs requested ads or campaigns, separated with a comma, depending on the value set in 'ids_type'. Maximum 100 objects. */ ids: string; } export declare type AdsGetPostsReachResponse = AdsPromotedPostReach[]; /** * ads.getRejectionReason * * Returns a reason of ad rejection for pre-moderation. */ export interface AdsGetRejectionReasonParams { /** * Advertising account ID. */ account_id: number; /** * Ad ID. */ ad_id: number; } export declare type AdsGetRejectionReasonResponse = AdsRejectReason; /** * ads.getStatistics * * Returns statistics of performance indicators for ads, campaigns, clients or the whole account. */ export interface AdsGetStatisticsParams { /** * Advertising account ID. */ account_id: number; /** * Type of requested objects listed in 'ids' parameter: *ad - ads,, *campaign - campaigns,, *client - clients,, *office - account. */ ids_type: 'ad' | 'campaign' | 'client' | 'office'; /** * IDs requested ads, campaigns, clients or account, separated with a comma, depending on the value set in 'ids_type'. Maximum 2000 objects. */ ids: string; /** * Data grouping by dates: *day - statistics by days,, *month - statistics by months,, *overall - overall statistics. 'date_from' and 'date_to' parameters set temporary limits. */ period: 'day' | 'month' | 'overall' | 'week' | 'year'; /** * Date to show statistics from. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 - September 27, 2011, **0 - day it was created on,, *month: YYYY-MM, example: 2011-09 - September 2011, **0 - month it was created in,, *overall: 0. */ date_from: string; /** * Date to show statistics to. For different value of 'period' different date format is used: *day: YYYY-MM-DD, example: 2011-09-27 - September 27, 2011, **0 - current day,, *month: YYYY-MM, example: 2011-09 - September 2011, **0 - current month,, *overall: 0. */ date_to: string; /** * Additional fields to add to statistics */ stats_fields?: string; } export declare type AdsGetStatisticsResponse = AdsStats[]; /** * ads.getSuggestions * * Returns a set of auto-suggestions for various targeting parameters. */ export interface AdsGetSuggestionsParams { /** * Section, suggestions are retrieved in. Available values: *countries - request of a list of countries. If q is not set or blank, a short list of countries is shown. Otherwise, a full list of countries is shown. *regions - requested list of regions. 'country' parameter is required. *cities - requested list of cities. 'country' parameter is required. *districts - requested list of districts. 'cities' parameter is required. *stations - requested list of subway stations. 'cities' parameter is required. *streets - requested list of streets. 'cities' parameter is required. *schools - requested list of educational organizations. 'cities' parameter is required. *interests - requested list of interests. *positions - requested list of positions (professions). *group_types - requested list of group types. *religions - requested list of religious commitments. *browsers - requested list of browsers and mobile devices. */ section: 'browsers' | 'cities' | 'cities_regions' | 'countries' | 'districts' | 'group_types' | 'interest_categories' | 'interest_categories_v2' | 'interests' | 'operators' | 'positions' | 'price_lists' | 'regions' | 'religions' | 'schools' | 'stations' | 'streets' | 'user_browsers' | 'user_devices' | 'user_operating_systems' | 'user_os'; /** * Objects IDs separated by commas. If the parameter is passed, 'q, country, cities' should not be passed. */ ids?: string; /** * Filter-line of the request (for countries, regions, cities, streets, schools, interests, positions). */ q?: string; /** * ID of the country objects are searched in. */ country?: number; /** * IDs of cities where objects are searched in, separated with a comma. */ cities?: string; /** * Language of the returned string values. Supported languages: *ru - Russian,, *ua - Ukrainian,, *en - English. */ lang?: string; } export declare type AdsGetSuggestionsResponse = AdsTargSuggestions[]; export declare type AdsGetSuggestionsRegionsResponse = AdsTargSuggestionsRegions[]; export declare type AdsGetSuggestionsCitiesResponse = AdsTargSuggestionsCities[]; export declare type AdsGetSuggestionsSchoolsResponse = AdsTargSuggestionsSchools[]; /** * ads.getTargetGroups * * Returns a list of target groups. */ export interface AdsGetTargetGroupsParams { /** * Advertising account ID. */ account_id: number; /** * 'Only for advertising agencies.', ID of the client with the advertising account where the group will be created. */ client_id?: number; /** * '1' - to return pixel code. */ extended?: 0 | 1; } export declare type AdsGetTargetGroupsResponse = AdsTargetGroup[]; /** * ads.getTargetPixels */ export interface AdsGetTargetPixelsParams { account_id: number; client_id?: number; } export declare type AdsGetTargetPixelsResponse = AdsTargetPixelInfo[]; /** * ads.getTargetingStats * * Returns the size of targeting audience, and also recommended values for CPC and CPM. */ export interface AdsGetTargetingStatsParams { /** * Advertising account ID. */ account_id: number; client_id?: number; /** * Serialized JSON object that describes targeting parameters. Description of 'criteria' object see below. */ criteria?: string; /** * ID of an ad which targeting parameters shall be analyzed. */ ad_id?: number; /** * Ad format. Possible values: *'1' - image and text,, *'2' - big image,, *'3' - exclusive format,, *'4' - community, square image,, *'7' - special app format,, *'8' - special community format,, *'9' - post in community,, *'10' - app board. */ ad_format?: 1 | 2 | 4 | 7 | 10 | 6 | 9 | 11; /** * Platforms to use for ad showing. Possible values: (for 'ad_format' = '1'), *'0' - VK and partner sites,, *'1' - VK only. (for 'ad_format' = '9'), *'all' - all platforms,, *'desktop' - desktop version,, *'mobile' - mobile version and apps. */ ad_platform?: string; ad_platform_no_wall?: string; ad_platform_no_ad_network?: string; publisher_platforms?: string; /** * URL for the advertised object. */ link_url: string; /** * Domain of the advertised object. */ link_domain?: string; /** * Additionally return recommended cpc and cpm to reach 5,10..95 percents of audience. */ need_precise?: 0 | 1; /** * Impressions limit period in seconds, must be a multiple of 86400(day) */ impressions_limit_period?: number; } export declare type AdsGetTargetingStatsResponse = AdsTargStats; /** * ads.getUploadURL * * Returns URL to upload an ad photo to. */ export interface AdsGetUploadURLParams { /** * Ad format: *1 - image and text,, *2 - big image,, *3 - exclusive format,, *4 - community, square image,, *7 - special app format. */ ad_format: 1 | 2 | 4 | 7 | 10 | 11; icon?: number; } export declare type AdsGetUploadURLResponse = string; /** * ads.getVideoUploadURL * * Returns URL to upload an ad video to. */ export interface AdsGetVideoUploadURLParams { } export declare type AdsGetVideoUploadURLResponse = string; /** * ads.importTargetContacts * * Imports a list of advertiser's contacts to count VK registered users against the target group. */ export interface AdsImportTargetContactsParams { /** * Advertising account ID. */ account_id: number; /** * 'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created. */ client_id?: number; /** * Target group ID. */ target_group_id: number; /** * List of phone numbers, emails or user IDs separated with a comma. */ contacts: string; } export declare type AdsImportTargetContactsResponse = number; /** * ads.removeOfficeUsers * * Removes managers and/or supervisors from advertising account. */ export interface AdsRemoveOfficeUsersParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array with IDs of deleted managers. */ ids: string; } export declare type AdsRemoveOfficeUsersResponse = boolean[]; /** * ads.removeTargetContacts */ export interface AdsRemoveTargetContactsParams { account_id: number; client_id?: number; target_group_id: number; contacts: string; } export declare const AdsRemoveTargetContactsResponseResultEnumNames: { readonly OK: 1; }; export interface AdsRemoveTargetContactsResponse { /** * Operation result * * `1` — ok */ result?: 1; } /** * ads.saveLookalikeRequestResult */ export interface AdsSaveLookalikeRequestResultParams { account_id: number; client_id?: number; request_id: number; level: number; } export interface AdsSaveLookalikeRequestResultResponse { /** * Retargeting group ID */ retargeting_group_id?: number; /** * Audience count */ audience_count?: number; } /** * ads.shareTargetGroup */ export interface AdsShareTargetGroupParams { account_id: number; client_id?: number; target_group_id: number; share_with_client_id?: number; } export interface AdsShareTargetGroupResponse { /** * Group ID */ id?: number; } /** * ads.updateAds * * Edits ads. */ export interface AdsUpdateAdsParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array of objects that describe changes in ads. Description of 'ad_edit_specification' objects see below. */ data: string; } export declare type AdsUpdateAdsResponse = AdsUpdateAdsStatus[]; /** * ads.updateCampaigns * * Edits advertising campaigns. */ export interface AdsUpdateCampaignsParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array of objects that describe changes in campaigns. Description of 'campaign_mod' objects see below. */ data: string; } export declare type AdsUpdateCampaignsResponse = AdsCreateCampaignStatus[]; /** * ads.updateClients * * Edits clients of an advertising agency. */ export interface AdsUpdateClientsParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array of objects that describe changes in clients. Description of 'client_mod' objects see below. */ data: string; } export declare type AdsUpdateClientsResponse = AdsUpdateClientsStatus[]; /** * ads.updateOfficeUsers * * Adds managers and/or supervisors to advertising account. */ export interface AdsUpdateOfficeUsersParams { /** * Advertising account ID. */ account_id: number; /** * Serialized JSON array of objects that describe added managers. Description of 'user_specification' objects see below. */ data: string; } export declare type AdsUpdateOfficeUsersResponse = AdsUpdateOfficeUsersResult[]; /** * ads.updateTargetGroup * * Edits a retarget group. */ export interface AdsUpdateTargetGroupParams { /** * Advertising account ID. */ account_id: number; /** * 'Only for advertising agencies.' , ID of the client with the advertising account where the group will be created. */ client_id?: number; /** * Group ID. */ target_group_id: number; /** * New name of the target group - a string up to 64 characters long. */ name: string; /** * Domain of the site where user accounting code will be placed. */ domain?: string; /** * 'Only for the groups that get audience from sites with user accounting code.', Time in days when users added to a retarget group will be automatically excluded from it. '0' - automatic exclusion is off. */ lifetime: number; target_pixel_id?: number; target_pixel_rules?: string; } export declare type AdsUpdateTargetGroupResponse = 1; /** * ads.updateTargetPixel */ export interface AdsUpdateTargetPixelParams { account_id: number; client_id?: number; target_pixel_id: number; name: string; domain?: string; category_id: number; } export interface AdsUpdateTargetPixelResponse { [key: string]: any; }