/// <inheritdoc/> public object GetTargetingStats(GetTargetingStatsParams getTargetingStatsParams) { return(_vk.Call <object>("ads.getTargetingStats", new VkParameters { { "account_id", getTargetingStatsParams.AccountId }, { "criteria", getTargetingStatsParams.Criteria }, { "ad_platform", getTargetingStatsParams.AdPlatform }, { "ad_platform_no_wall", getTargetingStatsParams.AdPlatformNoWall }, { "link_url", getTargetingStatsParams.LinkUrl }, { "link_domain", getTargetingStatsParams.LinkDomain }, { "client_id", getTargetingStatsParams.ClientId }, { "ad_id", getTargetingStatsParams.AdId }, { "ad_format", getTargetingStatsParams.AdFormat } })); }
/// <inheritdoc/> public async Task <object> GetTargetingStatsAsync(GetTargetingStatsParams getTargetingStatsParams) { return(await TypeHelper.TryInvokeMethodAsync(() => GetTargetingStats(getTargetingStatsParams))); }