2016-10-17 5 views
0

Adob​​e AIRまたはUnityで動作するhttp://searchads.apple.com/help/measure-results/#attribution-apiで利用可能な検索広告アトリビューションAPIコードを取得しようとしています。Adob​​e AIRの検索広告アトリビューションAPIの使用

私は以下のコードをコピーしています:

// Check for iOS 10 attribution implementation 
if ([[ADClient sharedClient] respondsToSelector:@selector(requestAttributionDetailsWithBlock:)]) { 
NSLog(@"iOS 10 call exists"); 
[[ADClient sharedClient] requestAttributionDetailsWithBlock:^(NSDictionary *attributionDetails, NSError *error) { 
// Look inside of the returned dictionary for all attribution details 
NSLog(@"Attribution Dictionary: %@", attributionDetails); 
}]; 
} 

Here’s the response object (version 3.1) from attribution API that contains campaign hierarchy details, bided keyword, download date and click date. 

{ 
"Version3.1" = { 
"iad-attribution" = true; 
"iad-campaign-id" = 15292426; 
"iad-campaign-name" = “Light Bright Launch"; 
“iad-conversion-date" = “2016-06-14T17:18:07Z"; 
"iad-click-date" = “2016-06-14T17:17:00Z"; 
"iad-group-id" = 15307675; 
"iad-adgroup-name" = "LightRight Launch Group"; 
“iad-keyword” = “light right”; 
}; 
} 

私はこれは、Adobe AIRで動作するように取得するにはどうすればよいですか? milkmangames iAdライブラリはこれをサポートしていますか?

私はこのリンクも参照しています:https://medium.com/@requestlabs/implementing-apple-search-ads-tracking-attribution-6e3966afdf91#.ra6ktweua Adob​​e Air OR Unityで検索広告アトリビューションAPIを使用する方法を理解できません。助けることができるプラグインやライブラリはありますか?

おかげで、 Nishant

答えて

0

あなたは、私は良い出発場所としてApple Search Ads Attribution API for tracking installs by keywordsを設定することができた方法についての私のブログの記事をチェックアウトすることができます。

アトリビューションAPIを実装するオープンソースSDKもhttps://github.com/kitefaster/kitemetrics_iOSに作成しました。そこのコードを見て、それが役立つかどうか確認することができます。また、SDKをCocoaPodまたはフレームワークとしてインストールし、それをクラウドサービスhttp://kitemetrics.com/に接続することもできます。