//
//  TaAd.m
//  AdIOSSDK
//
//  Created by doulai on 11/16/16.
//  Copyright © 2016 Ta. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TaTm.h"
//@interface TaAd : NSObject
////用appkey初始化
//+ (void)setupWithAppKey:(NSString *)key;
//
////普通广告位
//+(instancetype)getAdViewPoint:(CGPoint)origin
//                        adsId:(NSString*)adsId
//                         type:(TaInfoStreamType)type
//                       circle:(BOOL)circle
//         parentViewController:(UIViewController*)parentViewController
//                 successBlock:(void(^)(void))success
//                  failedBlock:(void(^)(void))failed;
//
//
////开屏广告
//+(instancetype)showAdViewWithAdslotId:(NSString*)adslotId
//                         successBlock:(void(^)(void))success
//                          failedBlock:(void(^)(void))failed
//                        finishedBlock:(void(^)(void))finished
//                       userCloseBlock:(void(^)(void))userClose;
//
////获取非标准广告展示型
//+ (void)getActivityDataWithAdslotId:(NSString*)adslotId
//               parentViewController:(UIViewController*)parentViewController
//                       successBlock:(void(^)(id resultObj))success
//                        failedBlock:(void(^)(id resultObj))failed;
////曝光
//+ (void)displayAd:(NSString*)adslotId activityId:(NSString*)activityId requestId:(NSString*)requestId;
////点击
//+ (void)clickAd:(NSString*)adslotId activityId:(NSString*)activityId requestId:(NSString*)requestId;
//
//@end
//@implementation TaAd
//+ (instancetype)shareInstance
//{
//    static TaAd *task;
//    static dispatch_once_t onceToken;
//    dispatch_once(&onceToken, ^{
//        task = [[TaAd alloc] init];
////        NSString *sessionId= [[NSUserDefaults standardUserDefaults] objectForKey:@"sessionId"];
////        task.token =sessionId;
//        
//    });
//    return task;
//}
//
//+ (void)setupWithAppKey:(NSString *)key;
//{
//     [TaTmHelper setupWithAppKey:key];
//}
//
////普通广告位
//+(instancetype)getAdViewPoint:(CGPoint)origin
//                        adsId:(NSString*)adsId
//                         type:(TaInfoStreamType)type
//                       circle:(BOOL)circle
//         parentViewController:(UIViewController*)parentViewController
//                 successBlock:(void(^)(void))success
//                  failedBlock:(void(^)(void))failed;
//{
//    
//}
//
//
////开屏广告
//+(instancetype)showAdViewWithAdslotId:(NSString*)adslotId
//                         successBlock:(void(^)(void))success
//                          failedBlock:(void(^)(void))failed
//                        finishedBlock:(void(^)(void))finished
//                       userCloseBlock:(void(^)(void))userClose;
//{
//    
//}
//
////获取非标准广告展示型
//+ (void)getActivityDataWithAdslotId:(NSString*)adslotId
//               parentViewController:(UIViewController*)parentViewController
//                       successBlock:(void(^)(id resultObj))success
//                        failedBlock:(void(^)(id resultObj))failed;
//{
//    
//}
////曝光
//+ (void)displayAd:(NSString*)adslotId activityId:(NSString*)activityId requestId:(NSString*)requestId;
//{
//    
//}
////点击
//+ (void)clickAd:(NSString*)adslotId activityId:(NSString*)activityId requestId:(NSString*)requestId;
//{
//    
//}

//@end
