https://wiki.taptica.com/api.php?action=feedcontributions&user=Lior.b&feedformat=atomwiki.taptica.com - User contributions [en]2024-03-28T11:19:16ZUser contributionsMediaWiki 1.19.1https://wiki.taptica.com/index.php/IOS_SDKIOS SDK2015-05-04T07:44:19Z<p>Lior.b: Created page with " == iOS Integration== You can serve native, interstitial and banner ads very quickly and with little effort using Taptica SDK. == Download the Taptica iOS SDK == Download t..."</p>
<hr />
<div><br />
== iOS Integration==<br />
<br />
You can serve native, interstitial and banner ads very quickly and with little effort using Taptica SDK.<br />
<br />
== Download the Taptica iOS SDK ==<br />
<br />
Download the Taptica SDK. The download contains both the HydraSDK framework and the HydraResources bundle.<br />
<br />
== Integrate the SDK With Your App ==<br />
<br />
Once you have downloaded the Hydra SDK, follow these steps to integrate the SDK with your app:<br />
<br />
#. Linked frameworks:<br />
##AVfoundation<br />
##CoreTelephony<br />
##AdSupport<br />
##WebKit<br />
#. Linking the HydraSDK:<br />
##Open the HydraSDK folder and drag the HydraSDK.framework into the frameworks.<br />
#Drag the Resources.bundle into the project files.<br />
#Select your project target, in the ‘build settings’ section look for ‘other linker flags’ and add -ObjC flag.<br />
You can clone the HydraSDKDemo which demonstrate how to create a<br />
banner ad and interstitial ad: [https://github.com/TapticaAd/HydraSDKDemo]<br />
<br />
== Creating Banner Ad: ==<br />
<br />
<pre><br />
#import <HydraSDK/HydraSDK.h><br />
<br />
@interface ViewController () <HAdBannerDelegate> {<br />
HAdBanner *banner;<br />
__weak IBOutlet UIView *bannerHolderView;<br />
}<br />
@end<br />
@implementation ViewController<br />
- (void)viewDidAppear:(BOOL)animated {<br />
[super viewDidAppear:animated];<br />
if (!banner) {<br />
banner = [[HAdBanner alloc] initWithAdSize:(CGSize){320, 50}<br />
origin:CGPointZero];<br />
banner.unitAdID = @"115";<br />
banner.delegate = self;<br />
banner.rootViewController = self;<br />
banner.requestParams.shouldOpenInNativeBrowser = YES;<br />
[banner loadAd];<br />
[bannerHolderView addSubview:banner];<br />
}<br />
}<br />
</pre><br />
<br />
You can listen to all ads events using the HAdBannerDelegate methods:<br />
<br />
<pre><br />
/// Called when an ad request loaded an ad. This is a good opportunity to add<br />
this view to the<br />
/// hierarchy if it has not been added yet.<br />
- (void)adViewDidReceiveAd:(HAdBanner *)adView;<br />
/// Called when an ad request failed. Normally this is because no network<br />
connection was available<br />
/// or no ads were available (i.e. no fill).<br />
- (void)adView:(HAdBanner *)adView didFailToReceiveAdWithError:(NSError *)error;<br />
#pragma mark Click-Time Lifecycle Notifications<br />
/// Called just before presenting the user a full screen view, such as a<br />
browser, in response to<br />
/// clicking on an ad. Use this opportunity to stop animations, time sensitive<br />
interactions, etc.<br />
///<br />
/// Normally the user looks at the ad, dismisses it, and control returns to your<br />
application by<br />
/// calling adViewDidDismissScreen:. However if the user hits the Home button or<br />
clicks on an App<br />
/// Store link your application will end. On iOS 4.0+ the next method called<br />
will be<br />
/// applicationWillResignActive: of your UIViewController<br />
/// (UIApplicationWillResignActiveNotification). Immediately after that<br />
adViewWillLeaveApplication:<br />
/// is called.<br />
- (void)adViewWillPresentScreen:(HAdBanner *)adView;<br />
/// Called just before dismissing a full screen view.<br />
- (void)adViewWillDismissScreen:(HAdBanner *)adView;<br />
/// Called just after dismissing a full screen view. Use this opportunity to<br />
restart anything you<br />
/// may have stopped as part of adViewWillPresentScreen:.<br />
- (void)adViewDidDismissScreen:(HAdBanner *)adView;<br />
/// Called just before the application will background or terminate because the<br />
user clicked on an<br />
/// ad that will launch another application (such as the App Store). The normal<br />
/// UIApplicationDelegate methods, like applicationDidEnterBackground:, will be<br />
called immediately<br />
- (void)adViewWillLeaveApplication:(HAdBanner *)adView;<br />
</pre><br />
<br />
<br />
==Creating Interstitial Ad:==<br />
<br />
Update the private interface:<br />
<pre><br />
@interface ViewController () <HAdBannerDelegate, HInterstitialDelegate>{<br />
HAdBanner *banner;<br />
HInterstitial *interstitial;<br />
__weak IBOutlet UIView *bannerHolderView;<br />
}<br />
@end<br />
- (IBAction)presentInterstitial:(UIButton *)sender {<br />
interstitial = [[HInterstitial alloc] init];<br />
interstitial.unitAdID = @"113";<br />
interstitial.delegate = self;<br />
[interstitial loadAd];<br />
}<br />
</pre><br />
<br />
Present the Interstitial controller when the ad is ready, you can listen to the interstitialDidReceiveAd: method.<br />
<br />
<pre><br />
#pragma mark HInterstitialDelegate<br />
- (void)interstitialDidReceiveAd:(HInterstitial *)ad {<br />
[ad presentFromRootViewController:self];<br />
}<br />
</pre></div>Lior.bhttps://wiki.taptica.com/index.php/Main_PageMain Page2015-04-30T08:48:59Z<p>Lior.b: /* Taptica SSP */</p>
<hr />
<div>== Taptica Services Wiki ==<br />
<br />
Welcome to Taptica,<br />
<br />
Taptica is a performance based mobile ad network for premium brands, which delivers the perfect combination of technology and profound mobile app marketing know-how. Our goal is to connect advertisers with their most relevant audiences and help publishers maximize their full earning potential<br />
<br />
Taptica - performance ad network – the current technology we are leading is for a full monetization solution for publishers. App and mobile web developer can benefit from a one simple integrations that will generate for them best eCPMs, by rotating and optimizing advertising products on their locations with optimization tools that will maximize the results. Advertisers and their offers are being pulled through eCPM optimizers, from a proprietary CPA network and a list of top mobile ad networks as a backfill.<br />
a one-stop shop for in-app payments, distribution and monetization wiki that can take your apps a whole lot further.<br />
We all know apps love exposure. But exposure is nothing without creating the right revenue. Taptica was established with that exact thought in mind: offer developers a full package of monetization options for all carriers as well as worldwide distribution with a whole lot of benefits.<br />
<br />
This wiki provides documentation for the Taptica services, as well as a guide to the Taptica API for Service Providers Customers.<br />
<br />
If you have additional information or further clarity on related subjects, we encourage you to contribute to this Wiki. Submit your contributions to: [mailto:support@taptica.com support]<br />
<br />
== Getting Started ==<br />
<br />
New clients and potential clients, this information is for you!<br />
<br />
* [http://wiki.taptica.com/index.php/Signing_Up Sign Up!]<br />
* [http://wiki.taptica.com/index.php/API_Documentation API Documentation]<br />
<!--* [http://wiki.taptica.com/index.php/SDK_Documentation SDK Documentation]--><br />
* [http://wiki.taptica.com/index.php/Advertiser_integration Advertiser Integration]<br />
* [http://wiki.taptica.com/index.php/Link_integration Link Integration]<br />
* [http://wiki.taptica.com/index.php/Keys_full_list Taptica Keys full list]<br />
* [http://wiki.taptica.com/index.php/Banner_sizes Supported Banner Sizes]<br />
<br />
== API Documentation ==<br />
<br />
Complete documentation on all of Taptica functionality. Includes FAQ.<br />
<br />
TapticaAd Core:<br />
<br />
* [http://wiki.taptica.com/index.php/Advertisement_Services TapticaAd - Ads services]<br />
* [http://wiki.taptica.com/index.php/Advertisement_Services_Report TapticaAd - Ads reporting services]<br />
<br />
<br />
All data from Taptica can be can accessed through the API. This section of the Wiki will guide your interaction with the complete Taptica API.<br />
<br />
<br />
== Taptica SSP ==<br />
<br />
* Taptica SSP (BETA) [https://reporting.taptica.com/pub_signup.html Signup]<br />
* API documentation<br />
* iOS SDK<br />
* Android SDK (in development)<br />
* Admin Manual<br />
<br />
[http://taptica.com/ Email - Share] this page to a friend or co-worker</div>Lior.bhttps://wiki.taptica.com/index.php/Main_PageMain Page2015-04-30T08:47:05Z<p>Lior.b: /* Taptica SSP */</p>
<hr />
<div>== Taptica Services Wiki ==<br />
<br />
Welcome to Taptica,<br />
<br />
Taptica is a performance based mobile ad network for premium brands, which delivers the perfect combination of technology and profound mobile app marketing know-how. Our goal is to connect advertisers with their most relevant audiences and help publishers maximize their full earning potential<br />
<br />
Taptica - performance ad network – the current technology we are leading is for a full monetization solution for publishers. App and mobile web developer can benefit from a one simple integrations that will generate for them best eCPMs, by rotating and optimizing advertising products on their locations with optimization tools that will maximize the results. Advertisers and their offers are being pulled through eCPM optimizers, from a proprietary CPA network and a list of top mobile ad networks as a backfill.<br />
a one-stop shop for in-app payments, distribution and monetization wiki that can take your apps a whole lot further.<br />
We all know apps love exposure. But exposure is nothing without creating the right revenue. Taptica was established with that exact thought in mind: offer developers a full package of monetization options for all carriers as well as worldwide distribution with a whole lot of benefits.<br />
<br />
This wiki provides documentation for the Taptica services, as well as a guide to the Taptica API for Service Providers Customers.<br />
<br />
If you have additional information or further clarity on related subjects, we encourage you to contribute to this Wiki. Submit your contributions to: [mailto:support@taptica.com support]<br />
<br />
== Getting Started ==<br />
<br />
New clients and potential clients, this information is for you!<br />
<br />
* [http://wiki.taptica.com/index.php/Signing_Up Sign Up!]<br />
* [http://wiki.taptica.com/index.php/API_Documentation API Documentation]<br />
<!--* [http://wiki.taptica.com/index.php/SDK_Documentation SDK Documentation]--><br />
* [http://wiki.taptica.com/index.php/Advertiser_integration Advertiser Integration]<br />
* [http://wiki.taptica.com/index.php/Link_integration Link Integration]<br />
* [http://wiki.taptica.com/index.php/Keys_full_list Taptica Keys full list]<br />
* [http://wiki.taptica.com/index.php/Banner_sizes Supported Banner Sizes]<br />
<br />
== API Documentation ==<br />
<br />
Complete documentation on all of Taptica functionality. Includes FAQ.<br />
<br />
TapticaAd Core:<br />
<br />
* [http://wiki.taptica.com/index.php/Advertisement_Services TapticaAd - Ads services]<br />
* [http://wiki.taptica.com/index.php/Advertisement_Services_Report TapticaAd - Ads reporting services]<br />
<br />
<br />
All data from Taptica can be can accessed through the API. This section of the Wiki will guide your interaction with the complete Taptica API.<br />
<br />
<br />
== Taptica SSP ==<br />
<br />
* Taptica SSP (BETA) [https://reporting.taptica.com/pub_signup.html Signup]<br />
<br />
[http://taptica.com/ Email - Share] this page to a friend or co-worker</div>Lior.bhttps://wiki.taptica.com/index.php/Main_PageMain Page2015-04-30T08:45:58Z<p>Lior.b: /* Taptica SSP */</p>
<hr />
<div>== Taptica Services Wiki ==<br />
<br />
Welcome to Taptica,<br />
<br />
Taptica is a performance based mobile ad network for premium brands, which delivers the perfect combination of technology and profound mobile app marketing know-how. Our goal is to connect advertisers with their most relevant audiences and help publishers maximize their full earning potential<br />
<br />
Taptica - performance ad network – the current technology we are leading is for a full monetization solution for publishers. App and mobile web developer can benefit from a one simple integrations that will generate for them best eCPMs, by rotating and optimizing advertising products on their locations with optimization tools that will maximize the results. Advertisers and their offers are being pulled through eCPM optimizers, from a proprietary CPA network and a list of top mobile ad networks as a backfill.<br />
a one-stop shop for in-app payments, distribution and monetization wiki that can take your apps a whole lot further.<br />
We all know apps love exposure. But exposure is nothing without creating the right revenue. Taptica was established with that exact thought in mind: offer developers a full package of monetization options for all carriers as well as worldwide distribution with a whole lot of benefits.<br />
<br />
This wiki provides documentation for the Taptica services, as well as a guide to the Taptica API for Service Providers Customers.<br />
<br />
If you have additional information or further clarity on related subjects, we encourage you to contribute to this Wiki. Submit your contributions to: [mailto:support@taptica.com support]<br />
<br />
== Getting Started ==<br />
<br />
New clients and potential clients, this information is for you!<br />
<br />
* [http://wiki.taptica.com/index.php/Signing_Up Sign Up!]<br />
* [http://wiki.taptica.com/index.php/API_Documentation API Documentation]<br />
<!--* [http://wiki.taptica.com/index.php/SDK_Documentation SDK Documentation]--><br />
* [http://wiki.taptica.com/index.php/Advertiser_integration Advertiser Integration]<br />
* [http://wiki.taptica.com/index.php/Link_integration Link Integration]<br />
* [http://wiki.taptica.com/index.php/Keys_full_list Taptica Keys full list]<br />
* [http://wiki.taptica.com/index.php/Banner_sizes Supported Banner Sizes]<br />
<br />
== API Documentation ==<br />
<br />
Complete documentation on all of Taptica functionality. Includes FAQ.<br />
<br />
TapticaAd Core:<br />
<br />
* [http://wiki.taptica.com/index.php/Advertisement_Services TapticaAd - Ads services]<br />
* [http://wiki.taptica.com/index.php/Advertisement_Services_Report TapticaAd - Ads reporting services]<br />
<br />
<br />
All data from Taptica can be can accessed through the API. This section of the Wiki will guide your interaction with the complete Taptica API.<br />
<br />
<br />
== Taptica SSP ==<br />
<br />
* [https://reporting.taptica.com/pub_signup.html]<br />
<br />
[http://taptica.com/ Email - Share] this page to a friend or co-worker</div>Lior.bhttps://wiki.taptica.com/index.php/Main_PageMain Page2015-04-30T08:45:18Z<p>Lior.b: </p>
<hr />
<div>== Taptica Services Wiki ==<br />
<br />
Welcome to Taptica,<br />
<br />
Taptica is a performance based mobile ad network for premium brands, which delivers the perfect combination of technology and profound mobile app marketing know-how. Our goal is to connect advertisers with their most relevant audiences and help publishers maximize their full earning potential<br />
<br />
Taptica - performance ad network – the current technology we are leading is for a full monetization solution for publishers. App and mobile web developer can benefit from a one simple integrations that will generate for them best eCPMs, by rotating and optimizing advertising products on their locations with optimization tools that will maximize the results. Advertisers and their offers are being pulled through eCPM optimizers, from a proprietary CPA network and a list of top mobile ad networks as a backfill.<br />
a one-stop shop for in-app payments, distribution and monetization wiki that can take your apps a whole lot further.<br />
We all know apps love exposure. But exposure is nothing without creating the right revenue. Taptica was established with that exact thought in mind: offer developers a full package of monetization options for all carriers as well as worldwide distribution with a whole lot of benefits.<br />
<br />
This wiki provides documentation for the Taptica services, as well as a guide to the Taptica API for Service Providers Customers.<br />
<br />
If you have additional information or further clarity on related subjects, we encourage you to contribute to this Wiki. Submit your contributions to: [mailto:support@taptica.com support]<br />
<br />
== Getting Started ==<br />
<br />
New clients and potential clients, this information is for you!<br />
<br />
* [http://wiki.taptica.com/index.php/Signing_Up Sign Up!]<br />
* [http://wiki.taptica.com/index.php/API_Documentation API Documentation]<br />
<!--* [http://wiki.taptica.com/index.php/SDK_Documentation SDK Documentation]--><br />
* [http://wiki.taptica.com/index.php/Advertiser_integration Advertiser Integration]<br />
* [http://wiki.taptica.com/index.php/Link_integration Link Integration]<br />
* [http://wiki.taptica.com/index.php/Keys_full_list Taptica Keys full list]<br />
* [http://wiki.taptica.com/index.php/Banner_sizes Supported Banner Sizes]<br />
<br />
== API Documentation ==<br />
<br />
Complete documentation on all of Taptica functionality. Includes FAQ.<br />
<br />
TapticaAd Core:<br />
<br />
* [http://wiki.taptica.com/index.php/Advertisement_Services TapticaAd - Ads services]<br />
* [http://wiki.taptica.com/index.php/Advertisement_Services_Report TapticaAd - Ads reporting services]<br />
<br />
<br />
All data from Taptica can be can accessed through the API. This section of the Wiki will guide your interaction with the complete Taptica API.<br />
<br />
<br />
== Taptica SSP ==<br />
<br />
* [http://wiki.taptica.com/index.php/Signing_Up Sign Up!]<br />
<br />
[http://taptica.com/ Email - Share] this page to a friend or co-worker</div>Lior.b