贏取方法

下列為 iOS 資料庫提供的贏取方法:

支援下列方法:

  • acquisitionCampaignStartForApp:data:

    就像使用者已按一下連結,讓開發者得以展開應用程式贏取促銷活動。此方法有助於建立手動贏取連結,並且可由您將應用程式商店重新導向,例如使用 SKStoreView

    • 以下是此方法的語法:

      + (void)acquisitionCampaignStartForApp:(NSString *) appId data:(NSDictionary *)data; 
      
    • 此方法的程式碼範例如下:

      [ADBMobile acquisitionCampaignStartForApp:@"0652024f-adcd-49f9-9bd7-2552a4564d2f" data:@{@"custom.key":@"value"}]; 
      

本頁內容

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now