Difference between revisions of "IOS SDK Getting Start 4.1.0"

From AdLocus
Jump to: navigation, search
(Created page with " == Getting Start with AdLocus == 以下將說明您怎麼整入 AdLocus SDK. == 取得您的 App Key == * 至 http://adlocus.com/ 申請帳號並登入。 * 在「應用程...")
 
Line 16: Line 16:
 
* [[iOS_Promotion_4.1.0|詳細說明]]
 
* [[iOS_Promotion_4.1.0|詳細說明]]
  
== Interstitial ==
 
* [[iOS_Interstitial|詳細說明]]
 
 
== Video ==
 
* [[iOS_Video|詳細說明]]
 
 
== Location based ==
 
* 當您的 App 有實作 Location Manager 時, 我們建議您透過實作下列 delegate 取得 Location-based Ad.
 
<syntaxhighlight lang="objc">
 
-(CLLocation *)locationInfo
 
{
 
    return locationManager.location;
 
}
 
</syntaxhighlight>
 
 
== AdMob Mediation ==
 
* [[iOS_AdMM|詳細說明]]
 
  
 
== 測試模式與觀眾定向(Optional) ==
 
== 測試模式與觀眾定向(Optional) ==

Revision as of 11:11, 1 June 2016

Getting Start with AdLocus

以下將說明您怎麼整入 AdLocus SDK.

取得您的 App Key

  • http://adlocus.com/ 申請帳號並登入。
  • 在「應用程式」中「新增」您的應用程式並取得app key。

準備將 SDK 加入到您的專案

InApp

Promotion


測試模式與觀眾定向(Optional)

當您完成 SDK 整合後,您可透過設定下 ALTargeting 開啟測試模式(測試模式下的互動在平台上將不記錄).

  • 年齡: - (NSInteger)age;
  • 性別: - (ALGender)gender; // ALGenderMALE, ALGenderFEMALE
  • 測試模式: - (BOOL)testMode;