Using Search Ads Attribution API in Adobe AIR
<p>I am trying to get the Search Ads Attribution API code available at <a href="http://searchads.apple.com/help/measure-results/#attribution-api" rel="nofollow">http://searchads.apple.com/help/measure-results/#attribution-api</a> working in Adobe AIR Or Unity. </p>

<p>I am copying the code below:</p>

<pre><code>    // 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”; 
}; 
}
</code></pre>

<p>How do I get this to work in Adobe AIR? Does the milkmangames iAd library support this?</p>

<p>I also referred this link: <a href="https://medium.com/@requestlabs/implementing-apple-search-ads-tracking-attribution-6e3966afdf91#.ra6ktweua" rel="nofollow">https://medium.com/@requestlabs/implementing-apple-search-ads-tracking-attribution-6e3966afdf91#.ra6ktweua</a>
I am unable to figure out how to get the Search Ads Attribution api working in Adobe Air OR Unity. Is there any plugin or library that can help?</p>

<p>Thanks,
Nishant</p>