This commit is contained in:
xiaohui.wang 2022-05-25 10:49:36 +08:00
parent 56dc65df90
commit 994ee8acaf
1232 changed files with 27310 additions and 0 deletions

View File

@ -0,0 +1,28 @@
fileFormatVersion: 2
guid: c9aa4dadbb24443eeb41d60d7cefa35b
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a2efaed32c7a64e8aa0e409b42152932
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 03eab935d177b47d298e958df2903beb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
//
// AdColony.h
// AdColony
//
// Copyright © 2018 AdColony. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AdColony/AdColonyAdOptions.h>
#import <AdColony/AdColonyAdRequestError.h>
#import <AdColony/AdColonyAppOptions.h>
#import <AdColony/AdColonyEventTracker.h>
#import <AdColony/AdColonyInterstitial.h>
#import <AdColony/AdColonyOptions.h>
#import <AdColony/AdColonyPublic.h>
#import <AdColony/AdColonyTypes.h>
#import <AdColony/AdColonyUserMetadata.h>
#import <AdColony/AdColonyZone.h>
#import <AdColony/AdColonyAdView.h>
#import <AdColony/AdColonyAdSize.h>

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6768c18417ee3439b9658c973bffc2e4
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,31 @@
#import <AdColony/AdColonyOptions.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
AdColonyAdOptions objects are used to set configurable aspects of an ad session, such as third-party network settings, user metadata, etc.
Set the properties below to configure a pre-defined ad option. Note that you can also set arbitrary options using the AdColonyOptions API.
This class is NOT thread safe.
*/
@interface AdColonyAdOptions : AdColonyOptions
/** @name Properties */
/**
@abstract Enables reward dialogs to be shown before an advertisement.
@discussion These popups are disabled by default.
Set this property with a corresponding value of `YES` to enable.
*/
@property (nonatomic) BOOL showPrePopup;
/**
@abstract Enables reward dialogs to be shown after an advertisement.
@discussion These popups are disabled by default.
Set this property with a corresponding value of `YES` to enable.
*/
@property (nonatomic) BOOL showPostPopup;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 43d02e86e8a3c421685c888d3ac3a601
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,20 @@
#import <AdColony/AdColonyTypes.h>
/**
Typed error for AdColony ad requests.
*/
@interface AdColonyAdRequestError : NSError
- (nonnull instancetype)init NS_UNAVAILABLE;
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)coder NS_UNAVAILABLE;
- (nonnull instancetype)initWithDomain:(nonnull NSErrorDomain)domain code:(NSInteger)code userInfo:(nullable NSDictionary<NSErrorUserInfoKey, id> *)dict NS_UNAVAILABLE;
/**
@abstract Zone ID
@discussion ID of the zone that was requested
*/
@property (nonatomic, nonnull, strong, readonly) NSString *zoneId;
@end

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a85170f30d8a1415fa0b97542ff09c5a
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,65 @@
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
@struct AdColonyAdSize
@abstract Size for banner ads
*/
struct AdColonyAdSize {
CGFloat width;
CGFloat height;
};
/** AdColony ad size */
typedef struct AdColonyAdSize AdColonyAdSize;
/**
@function AdColonyAdSizeMake
@abstract Get a custom AdColonyAdSize
@discussion Use this method if you want to display non-standard ad size banner. Otherwise, use one of the standard size constants.
@param width height for a banner ad.
@param height width for a banner ad.
*/
extern AdColonyAdSize AdColonyAdSizeMake(CGFloat width, CGFloat height);
/**
@function AdColonyAdSizeFromCGSize
@abstract Get a custom AdColonyAdSize from CGSize.
@discussion Use this method if you want to display non-standard ad size banner. Otherwise, use one of the standard size constants.
@param size The size for a banner ad.
*/
extern AdColonyAdSize AdColonyAdSizeFromCGSize(CGSize size);
/**
@const kAdColonyAdSizeBanner
@abstract 320 x 50
@discussion The constant for a banner with 320 in width and 50 in height.
*/
extern AdColonyAdSize const kAdColonyAdSizeBanner;
/**
@const kAdColonyAdSizeMediumRectangle
@abstract 300 x 250
@discussion The constant for a banner with 300 in width and 250 in height.
*/
extern AdColonyAdSize const kAdColonyAdSizeMediumRectangle;
/**
@const kAdColonyAdSizeLeaderboard
@abstract 728 x 90
@discussion The constant for a banner with 728 in width and 90 in height.
*/
extern AdColonyAdSize const kAdColonyAdSizeLeaderboard;
/**
@const kAdColonyAdSizeSkyscraper
@abstract 160 x 600
@discussion The constant for a banner with 160 in width and 600 in height.
*/
extern AdColonyAdSize const kAdColonyAdSizeSkyscraper;
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 25ccd599b29ae4656823ced452164a4e
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,36 @@
#import <UIKit/UIKit.h>
#import <AdColony/AdColonyAdViewDelegate.h>
NS_ASSUME_NONNULL_BEGIN
/**
AdColonyAdViews is used to display AdColony Banner ads.
*/
@interface AdColonyAdView : UIView
/** @name Zone */
/**
@abstract Represents the unique zone identifier string from which the AdColonyAdView was requested.
@discussion AdColony zone IDs can be created at the [Control Panel](http://clients.adcolony.com).
*/
@property (nonatomic, strong, readonly) NSString *zoneID;
/**
@abstract AdColonyAdView's delegate.
@discussion Use this delegate to get ad event callbacks.
*/
@property (nonatomic, weak, nullable) id<AdColonyAdViewDelegate> delegate __attribute__((deprecated("Deprecated in v4.7.0")));
/**
@abstract Indicates that the AdColonyAdView has been removed from the view hierarchy and should be destroyed.
@discussion The AdColony SDK maintains internal resources when the ad is being displayed.
When this method is called, all internal resources are destroyed and the associated memory is freed.
*/
- (void)destroy;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f4b34f546e7fc4104bddf7d6f1dbe2a4
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,67 @@
//
// AdColonyAdViewDelegate.h
// adc-ios-sdk
//
// Copyright © 2018 AdColony. All rights reserved.
//
@class AdColonyAdView;
@class AdColonyAdRequestError;
/**
* The delegate of an AdColonyAdView object. This delegate receives ad view lifecycle notifications.
*/
@protocol AdColonyAdViewDelegate <NSObject>
@required
/**
@abstract Did load notification
@discussion Notifies you when ad view has been created, received the ad and is ready to use. Call is dispatched on main thread.
@param adView Loaded ad view
*/
- (void)adColonyAdViewDidLoad:(AdColonyAdView * _Nonnull)adView;
/**
@abstract No ad notification
@discussion Notifies you when SDK was not able to load the ad for requested zone. Call is dispatched on main thread.
@param error Error with failure explanation
*/
- (void)adColonyAdViewDidFailToLoad:(AdColonyAdRequestError * _Nonnull)error;
@optional
/**
@abstract Application leave notification
@discussion Notifies you when ad view is going to redirect user to content outside of the application.
@param adView The ad view which caused the user to leave the application.
*/
- (void)adColonyAdViewWillLeaveApplication:(AdColonyAdView * _Nonnull)adView;
/**
@abstract Open fullscreen content notification
@discussion Notifies you when ad view is going to display fullscreen content. Call is dispatched on worker thread.
@param adView Ad view that is going to display fullscreen content.
*/
- (void)adColonyAdViewWillOpen:(AdColonyAdView * _Nonnull)adView;
/**
@abstract Did close fullscreen content notification
@discussion Notifies you when ad view stopped displaying fullscreen content
@param adView Ad view that stopped displaying fullscreen content
*/
- (void)adColonyAdViewDidClose:(AdColonyAdView * _Nonnull)adView;
/**
@abstract Received a click notification
@discussion Notifies you when adView receives a click
@param adView Ad view that received a click
*/
- (void)adColonyAdViewDidReceiveClick:(AdColonyAdView * _Nonnull)adView;
@end
#ifndef AdColonyAdViewDelegate_h
#define AdColonyAdViewDelegate_h
#endif /* AdColonyAdViewDelegate_h */

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 01c76d30d255f48cf86ecb5b16b59aea
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,179 @@
#import <AdColony/AdColonyOptions.h>
#import <AdColony/AdColonyTypes.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Use the following pre-defined constants to configure mediation network names.
*/
/** AdMob */
FOUNDATION_EXPORT NSString *const ADCAdMob;
/** MoPub */
FOUNDATION_EXPORT NSString *const ADCMoPub;
/** ironSource */
FOUNDATION_EXPORT NSString *const ADCIronSource;
/** Appodeal */
FOUNDATION_EXPORT NSString *const ADCAppodeal;
/** Fuse Powered */
FOUNDATION_EXPORT NSString *const ADCFusePowered;
/** AerServe */
FOUNDATION_EXPORT NSString *const ADCAerServe;
/** AdMarvel */
FOUNDATION_EXPORT NSString *const ADCAdMarvel;
/** Fyber */
FOUNDATION_EXPORT NSString *const ADCFyber;
/** Corona */
FOUNDATION_EXPORT NSString *const ADCCorona;
/**
* Use the following pre-defined constants to configure plugin names.
*/
/** Unity */
FOUNDATION_EXPORT NSString *const ADCUnity;
/** AdobeAir */
FOUNDATION_EXPORT NSString *const ADCAdobeAir;
/** Cocos2d-x */
FOUNDATION_EXPORT NSString *const ADCCocos2dx;
/**
* Use the following pre-defined constants for type of privacy framework.
*/
FOUNDATION_EXPORT NSString *const ADC_GDPR;
FOUNDATION_EXPORT NSString *const ADC_CCPA;
FOUNDATION_EXPORT NSString *const ADC_COPPA;
/**
AdColonyAppOptions objects are used to set configurable aspects of SDK state and behavior, such as a custom user identifier.
The common usage scenario is to instantiate and configure one of these objects and then pass it to `configureWithAppID:zoneIDs:options:completion:`.
Set the properties below to configure a pre-defined option. Note that you can also pass arbitrary options using the AdColonyOptions API.
Also note that you can also reset the current options object the SDK is using by passing an updated object to `setAppOptions:`.
This class in NOT thread safe.
@see AdColonyOptions
@see [AdColony setAppOptions:]
*/
@interface AdColonyAppOptions : AdColonyOptions
/** @name Properties */
/**
@abstract Disables AdColony logging.
@discussion AdColony logging is enabled by default.
Set this property before calling `configureWithAppID:zoneIDs:options:completion:` with a corresponding value of `YES` to disable AdColony logging.
*/
@property (nonatomic, assign) BOOL disableLogging;
/**
@abstract Sets a custom identifier for the current user.
@discussion Set this property to configure a custom identifier for the current user.
Corresponding value must be 128 characters or less.
*/
@property (nonatomic, nullable, strong) NSString *userID;
/**
@abstract Sets the desired ad orientation.
@discussion Set this property to configure the desired orientation for your ads.
@see AdColonyOrientation
*/
@property (nonatomic, assign) AdColonyOrientation adOrientation __attribute__((deprecated("Deprecated in v4.2.0")));
/**
@abstract Enables test ads for your application without changing dashboard settings.
@discussion Set this property to `YES` to enable test ads for your application without changing dashboard settings.
*/
@property (nonatomic, assign) BOOL testMode;
/**
@abstract Sets the name of the mediation network you are using AdColony with.
@discussion Set this property to configure the name of the mediation network you are using AdColony with.
Corresponding value must be 128 characters or less.
Note that you should use one of the pre-defined values above if applicable.
*/
@property (nonatomic, nullable, strong) NSString *mediationNetwork;
/**
@abstract Sets the version of the mediation network you are using AdColony with.
@discussion Set this property to configure the version of the mediation network you are using AdColony with.
Corresponding value must be 128 characters or less.
*/
@property (nonatomic, nullable, strong) NSString *mediationNetworkVersion;
/**
@abstract Sets the name of the plugin you are using AdColony with.
@discussion Set this property to configure the name of the plugin you are using AdColony with.
Corresponding value must be 128 characters or less.
Note that you should use one of the pre-defined values above if applicable.
*/
@property (nonatomic, nullable, strong) NSString *plugin;
/**
@abstract Sets the version of the plugin version you are using AdColony with.
@discussion Set this property to configure the version of the plugin you are using AdColony with.
Corresponding value must be 128 characters or less.
*/
@property (nonatomic, nullable, strong) NSString *pluginVersion;
/**
@abstract This is to inform the AdColony service if GDPR should be considered for the user based on if they are they EU citizens or from EU territories. Default is FALSE.
@discussion This is for GDPR compliance, see https://www.adcolony.com/gdpr/
*/
@property (nonatomic, assign) BOOL gdprRequired __attribute__((deprecated("Deprecated in v4.2.0, use setPrivacyFrameworkOfType:isRequired: instead")));
/**
@abstract Defines end user's consent for information collected from the user.
@discussion The IAB Europe Transparency and Consent framework defines standard APIs and formats for communicating between Consent Management Platforms (CMPs) collecting consents from end users and vendors embedded on a website or in a mobile application. It provides a unified interface for a seamless integration where CMPs and vendors do not have to integrate manually with hundreds of partners. This is for GDPR compliance through IAB, see https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/v1.1%20Implementation%20Guidelines.md#vendors
*/
@property (nonatomic, nullable, strong) NSString *gdprConsentString __attribute__((deprecated("Deprecated in v4.2.0, use setPrivacyConsentString:forType: instead")));
/**
@abstract Set privacy framework required key in the app options.
@discussion Use this API to provide AdColony with whether or not following the specified privacy framework is required for the user.
@param type one of the constants defined in this class ADC_GDPR, ADC_CCPA, ADC_COPPA.
@param required whether or not we need to consider the privacy framework of the specified type for this user.
@return updated app options.
*/
- (AdColonyAppOptions *)setPrivacyFrameworkOfType:(NSString *)type isRequired:(BOOL)required;
/**
@abstract Set consent string for privacy framework in the app options.
@discussion Use this API to provide AdColony with the user's consent string of the specified type if applicable.
@param consentString the user's consent string of the specified type.
For GDPR, this should either be "0" or "1" (representing do not consent, or consent), or the IAB standard consent String.
For CCPA, this should either be "0", or "1" (representing do not sell = true, or do not sell = false), or the IAB standard consent String.
@param type one of the constants defined in this class ADC_GDPR, ADC_CCPA.
@return updated app options.
*/
- (AdColonyAppOptions *)setPrivacyConsentString:(NSString *)consentString forType:(NSString *)type;
/**
@abstract Get privacy framework required key set in the app options.
@discussion Use this API to retrieve the specified privacy framework required key set in the app options.
@param type one of the constants defined in this class ADC_GDPR, ADC_CCPA, ADC_COPPA.
@return the value for the consent requirement of the specified type has been set, or NO if it has not.
*/
- (BOOL)getPrivacyFrameworkRequiredForType:(NSString *)type;
/**
@abstract Get privacy framework consent string set in the app options.
@discussion Use this API to retrieve the specified privacy consent string set in the app options.
@param type one of the constants defined in this class ADC_GDPR, ADC_CCPA.
@return the value for the specified consent string or nil value if it has not been set.
*/
- (NSString *)getPrivacyConsentStringForType:(NSString *)type;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: bf29356f1738c4217b53defe8543dccb
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,348 @@
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Use the following pre-defined values to log events with the generic logEvent method.
*/
/** Post-install transaction event */
FOUNDATION_EXPORT NSString *const ADCEventTransaction;
/** Post-install credits_spent event */
FOUNDATION_EXPORT NSString *const ADCEventCreditsSpent;
/** Post-install payment_info_added event */
FOUNDATION_EXPORT NSString *const ADCEventPaymentInfoAdded;
/** Post-install achievement_unlocked event */
FOUNDATION_EXPORT NSString *const ADCEventAchievementUnlocked;
/** Post-install level_achieved event */
FOUNDATION_EXPORT NSString *const ADCEventLevelAchieved;
/** Post-install app_rated event */
FOUNDATION_EXPORT NSString *const ADCEventAppRated;
/** Post-install activated event */
FOUNDATION_EXPORT NSString *const ADCEventActivated;
/** Post-install tutorial_completed event */
FOUNDATION_EXPORT NSString *const ADCEventTutorialCompleted;
/** Post-install sharing_event event */
FOUNDATION_EXPORT NSString *const ADCEventSocialSharingEvent;
/** Post-install registration_completed event */
FOUNDATION_EXPORT NSString *const ADCEventRegistrationCompleted;
/** Post-install custom_event event (5 pre-defined events, listed below) */
FOUNDATION_EXPORT NSString *const ADCEventCustomEvent;
/** Post-install add_to_cart event */
FOUNDATION_EXPORT NSString *const ADCEventAddToCart;
/** Post-install add_to_wishlist event */
FOUNDATION_EXPORT NSString *const ADCEventAddToWishlist;
/** Post-install checkout_initiated event */
FOUNDATION_EXPORT NSString *const ADCEventCheckoutInitiated;
/** Post-install content_view event */
FOUNDATION_EXPORT NSString *const ADCEventContentView;
/** Post-install invite event */
FOUNDATION_EXPORT NSString *const ADCEventInvite;
/** Post-install login event */
FOUNDATION_EXPORT NSString *const ADCEventLogin;
/** Post-install reservation event */
FOUNDATION_EXPORT NSString *const ADCEventReservation;
/** Post-install search event */
FOUNDATION_EXPORT NSString *const ADCEventSearch;
/** Ad Impression event */
FOUNDATION_EXPORT NSString *const ADCEventAdImpression;
/** App Open event */
FOUNDATION_EXPORT NSString *const ADCEventAppOpen;
/**
* Use the following pre-defined values for the `logCustomEvent:withDictionary` method's "event" parameter.
*/
FOUNDATION_EXPORT NSString *const ADCCustomEventSlot1;
FOUNDATION_EXPORT NSString *const ADCCustomEventSlot2;
FOUNDATION_EXPORT NSString *const ADCCustomEventSlot3;
FOUNDATION_EXPORT NSString *const ADCCustomEventSlot4;
FOUNDATION_EXPORT NSString *const ADCCustomEventSlot5;
/**
* Use the following pre-defined values for the `logRegistrationCompletedWithMethod:description` method's "method" parameter.
*/
FOUNDATION_EXPORT NSString *const ADCRegistrationMethodDefault;
FOUNDATION_EXPORT NSString *const ADCRegistrationMethodFacebook;
FOUNDATION_EXPORT NSString *const ADCRegistrationMethodTwitter;
FOUNDATION_EXPORT NSString *const ADCRegistrationMethodGoogle;
FOUNDATION_EXPORT NSString *const ADCRegistrationMethodLinkedIn;
FOUNDATION_EXPORT NSString *const ADCRegistrationMethodOpenID;
FOUNDATION_EXPORT NSString *const ADCRegistrationMethodCustom;
/**
* Use the following pre-defined values for the `logLoginWithMethod` method's "method" parameter.
*/
FOUNDATION_EXPORT NSString *const ADCLoginMethodDefault;
FOUNDATION_EXPORT NSString *const ADCLoginMethodFacebook;
FOUNDATION_EXPORT NSString *const ADCLoginMethodTwitter;
FOUNDATION_EXPORT NSString *const ADCLoginMethodGoogle;
FOUNDATION_EXPORT NSString *const ADCLoginMethodLinkedIn;
FOUNDATION_EXPORT NSString *const ADCLoginMethodOpenID;
FOUNDATION_EXPORT NSString *const ADCLoginMethodCustom;
/**
* Use the following pre-defined values for the `logSocialSharingEventWithNetwork:description` method's "network" parameter.
*/
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodFacebook;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodTwitter;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodGoogle;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodLinkedin;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodPinterest;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodYoutube;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodInstagram;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodTumblr;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodFlickr;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodVimeo;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodFoursquare;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodVine;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodSnapchat;
FOUNDATION_EXPORT NSString *const ADCSocialSharingMethodCustom;
@interface AdColonyEventTracker : NSObject
/**
@abstract Report a transaction/purchase event.
@discussion Call this method to track any purchases made by the user.
@param itemID Identifier of item purchased
@param quantity Quantity of items purchased
@param price Total price of the items purchased
@param currencyCode The real-world three-letter ISO 4217 (e.g. USD) currency code of the transaction
@param store The store the purchase was made through
@param receipt The receipt number
@param description Description of the purchased product. Max 512 characters.
*/
+ (void)logTransactionWithID:(NSString *)itemID quantity:(NSInteger)quantity price:(NSNumber *)price currencyCode:(NSString *)currencyCode receipt:(NSString *)receipt store:(NSString *)store description:(NSString *)description;
/**
@abstract Report a credits_spent event.
@description Invoke, for example, when a user applies credits to purchase in app merchandise.
You can also provide additional information about the transaction like the name, quantity, real-world value and currency code
@param name The type of credits the user has spent
@param quantity The quantity of the credits spent
@param value The real-world value of the credits spent
@param currencyCode The real-world three-letter ISO 4217 (e.g. USD) currency code of the transaction.
*/
+ (void)logCreditsSpentWithName:(NSString *)name quantity:(NSInteger)quantity value:(NSNumber *)value currencyCode:(NSString *)currencyCode;
/**
@abstract Report a payment_info_added event, when the user has added payment info for transactions.
*/
+ (void)logPaymentInfoAdded;
/**
@abstract Report an achievement_unlocked event.
@discussion Invoke when a user completes some goal, for example, complete 200 deliveries.
You can also add a description of the achievement
@param description A String description of the in-app achievement. Max 512 characters.
*/
+ (void)logAchievementUnlocked:(NSString *)description;
/**
@abstract Report a level_achieved event.
@param level The new level reached by the user
*/
+ (void)logLevelAchieved:(NSInteger)level;
/**
@abstract Report an app_rated event.
@discussion Invoke when the user has rated the application.
*/
+ (void)logAppRated;
/**
@abstract Report an activated event.
@discussion Invoke when the user activates their account within the app.
*/
+ (void)logActivated;
/**
@abstract Report a tutorial_completed event.
@discussion Invoke when the user completes an introductory tutorial for the app.
*/
+ (void)logTutorialCompleted;
/**
@abstract Report a social_sharing event.
@param network Associated social network
@param description Description of the social sharing event. Max 512 characters.
@discussion Invoke, for example, when user shares an achievement on Facebook, Twitter, etc.. You can also
provide a description of the social sharing event and denote the network on which the event was shared.
We recommend using one of the provided constants for the social network:
ADCSocialSharingMethodFacebook
ADCSocialSharingMethodTwitter
ADCSocialSharingMethodGoogle
ADCSocialSharingMethodLinkedin
ADCSocialSharingMethodPinterest
ADCSocialSharingMethodYoutube
ADCSocialSharingMethodInstagram
ADCSocialSharingMethodTumblr
ADCSocialSharingMethodFlickr
ADCSocialSharingMethodVimeo
ADCSocialSharingMethodFoursquare
ADCSocialSharingMethodVine
ADCSocialSharingMethodSnapchat
ADCSocialSharingMethodCustom
*/
+ (void)logSocialSharingEventWithNetwork:(NSString *)network description:(NSString *)description;
/**
@abstract Report a registration_completed event.
@param method The registration method used
@param description Description describing the registration event. Passing a nil value is
allowed. Should only pass this in if you are passing in
ADCRegistrationMethodCustom for the method. Will be ignored otherwise. Max
512 characters
@discussion Invoke when a user has finished the registration process within the app.
You can also denote the registration method used: Facebook, Google, etc.
We recommend using one of the provided constants for the method:
ADCRegistrationMethodDefault
ADCRegistrationMethodFacebook
ADCRegistrationMethodTwitter
ADCRegistrationMethodGoogle
ADCRegistrationMethodLinkedIn
ADCRegistrationMethodOpenID
ADCRegistrationMethodCustom
*/
+ (void)logRegistrationCompletedWithMethod:(NSString *)method description:(NSString *)description;
/**
@abstract Report a custom_event.
@param event The custom event slot
@param description The description of the custom event. Max 512 characters.
@discussion Currently, publishers are allowed up to 5 custom event slots and are required
to keep track of what each corresponds to on their end.
We recommend using one of the provided constants for the event:
ADCCustomEventSlot1
ADCCustomEventSlot2
ADCCustomEventSlot3
ADCCustomEventSlot4
ADCCustomEventSlot5
*/
+ (void)logCustomEvent:(NSString *)event description:(NSString *)description;
/**
@abstract Report an add_to_cart event.
@discussion Invoke when the user adds an item to a shopping cart. You can also report the product
identifier for the item.
@param itemID Identifier of item added to cart
*/
+ (void)logAddToCartWithID:(NSString *)itemID;
/**
@abstract Report an add_to_wishlist event.
@discussion Invoke when the user adds an item to their wishlist. You can also report the product
identifier for the item.
@param itemID Identifier of item added to cart
*/
+ (void)logAddToWishlistWithID:(NSString *)itemID;
/**
@abstract Report an checkout_initiated event
@discussion Invoke when a user has begun the final checkout process.
*/
+ (void)logCheckoutInitiated;
/**
@abstract Report a content_view event.
@discussion Invoke when the user viewed the contents of a purchasable product
@param contentID Identifier of content viewed
@param contentType Type of content viewed
*/
+ (void)logContentViewWithID:(NSString *)contentID contentType:(NSString *)contentType;
/**
@abstract Report an invite event.
@discussion Invoke when a user invites friends or family to install or otherwise re-engage in your app or service.
*/
+ (void)logInvite;
/**
@abstract Report a login event.
@param method The login method used.
@discussion Invoke whenever the user has successfully logged in to the app.
We recommend using one of the provided constants for the method:
ADCLoginMethodDefault
ADCLoginMethodFacebook
ADCLoginMethodTwitter
ADCLoginMethodGoogle
ADCLoginMethodLinkedIn
ADCLoginMethodOpenID
ADCLoginMethodCustom
*/
+ (void)logLoginWithMethod:(NSString *)method;
/**
@abstract Report a reservation event.
*/
+ (void)logReservation;
/**
@abstract Report a search event.
@param queryString Search terms, keywords, or queries. As provided by the user.
*/
+ (void)logSearchWithQuery:(NSString *)queryString;
/**
@abstract Log an event.
@param name Name of the event
@param payload Event data, including both required and optional meta information.
@discussion Provided to allow the construction and logging of events that do not have a predefined method within this class.
We recommend using one of the provided constants for the event name:
ADCEventTransaction
ADCEventCreditsSpent
ADCEventPaymentInfoAdded
ADCEventAchievementUnlocked
ADCEventLevelAchieved
ADCEventAppRated
ADCEventActivated
ADCEventTutorialCompleted
ADCEventSocialSharingEvent
ADCEventRegistrationCompleted
ADCEventCustomEvent
ADCEventAddToCart
ADCEventAddToWishlist
ADCEventCheckoutInitiated
ADCEventContentView
ADCEventInvite
ADCEventLogin
ADCEventReservation
ADCEventSearch
*/
+ (void)logEvent:(NSString *)name withDictionary:(NSDictionary *)payload;
/**
@abstract Log ad impression
@discussion Log an event when an ad impression has occurred.
*/
+ (void)logAdImpression;
/**
@abstract Log app open
@discussion Log an event when the app has opened.
*/
+ (void)logAppOpen;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 1e3a12de4061b4086b607e02dd81b66e
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,66 @@
#import <AdColony/AdColonyTypes.h>
#import <AdColony/AdColonyInterstitialDelegate.h>
#import <Foundation/Foundation.h>
@class UIViewController;
NS_ASSUME_NONNULL_BEGIN
/**
Ad object returned from a request. This is used to show and receive callbacks once the ad is presented.
*/
@interface AdColonyInterstitial : NSObject
/** @name Properties */
/**
@abstract Interstitial delegate
@discussion Delegate object that receives interstitial lifecycle notifications.
*/
@property (nonatomic, nullable, weak) id<AdColonyInterstitialDelegate> delegate __attribute__((deprecated("Deprecated in v4.7.0")));
/**
@abstract Represents the unique zone identifier string from which the interstitial was requested.
@discussion AdColony zone IDs can be created at the [Control Panel](http://clients.adcolony.com).
*/
@property (nonatomic, strong, readonly) NSString *zoneID;
/**
@abstract Indicates whether or not the interstitial has been played or if it has met its expiration time.
@discussion AdColony interstitials become expired as soon as the ad launches or just before they have met their expiration time.
*/
@property (atomic, assign, readonly) BOOL expired;
/**
@abstract Indicates whether or not the interstitial has audio enabled.
@discussion Leverage this property to determine if the application's audio should be paused while the ad is playing.
*/
@property (nonatomic, assign, readonly) BOOL audioEnabled;
/**
@abstract Indicates whether or not the interstitial is configured to trigger IAPs.
@discussion Leverage this property to determine if the interstitial is configured to trigger IAPs.
*/
@property (nonatomic, assign, readonly) BOOL iapEnabled;
/** @name Ad Playback */
/**
@abstract Triggers a fullscreen ad experience.
@param viewController The view controller on which the interstitial will display itself.
@return Whether the SDK was ready to begin playback.
*/
- (BOOL)showWithPresentingViewController:(UIViewController *)viewController;
/**
@abstract Cancels the interstitial and returns control back to the application.
@discussion Call this method to cancel the interstitial.
Note that canceling interstitials before they finish will diminish publisher revenue.
*/
- (void)cancel;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6f409b3440aa441249bdecc03252b9e8
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,80 @@
#import <AdColony/AdColonyTypes.h>
#import <Foundation/Foundation.h>
@class AdColonyInterstitial;
/**
* The delegate of an AdColonyInterstitial object. This delegate receives interstitial lifecycle notifications.
*/
@protocol AdColonyInterstitialDelegate <NSObject>
@required
/**
@abstract Did load notification
@discussion Notifies you when interstitial has been created, received an ad and is ready to use. Call is dispatched on main thread.
@param interstitial Loaded interstitial
*/
- (void)adColonyInterstitialDidLoad:(AdColonyInterstitial * _Nonnull)interstitial;
/**
@abstract No ad notification
@discussion Notifies you when SDK was not able to load an ad for requested zone. Call is dispatched on main thread.
@param error Error with failure explanation
*/
- (void)adColonyInterstitialDidFailToLoad:(AdColonyAdRequestError * _Nonnull)error;
@optional
/**
@abstract Open notification
@discussion Notifies you when interstitial is going to show fullscreen content. Call is dispatched on main thread.
@param interstitial interstitial ad object
*/
- (void)adColonyInterstitialWillOpen:(AdColonyInterstitial * _Nonnull)interstitial;
/**
@abstract Close notification
@discussion Notifies you when interstitial dismissed fullscreen content. Call is dispatched on main thread.
@param interstitial interstitial ad object
*/
- (void)adColonyInterstitialDidClose:(AdColonyInterstitial * _Nonnull)interstitial;
/**
@abstract Expire notification
@discussion Notifies you when an interstitial expires and is no longer valid for playback. This does not get triggered when the expired flag is set because it has been viewed. It's recommended to request a new ad within this callback. Call is dispatched on main thread.
@param interstitial interstitial ad object
*/
- (void)adColonyInterstitialExpired:(AdColonyInterstitial * _Nonnull)interstitial;
/**
@abstract Will leave application notification
@discussion Notifies you when an ad action cause the user to leave application. Call is dispatched on main thread.
@param interstitial interstitial ad object
*/
- (void)adColonyInterstitialWillLeaveApplication:(AdColonyInterstitial * _Nonnull)interstitial;
/**
@abstract Click notification
@discussion Notifies you when the user taps on the interstitial causing the action to be taken. Call is dispatched on main thread.
@param interstitial interstitial ad object
*/
- (void)adColonyInterstitialDidReceiveClick:(AdColonyInterstitial * _Nonnull)interstitial;
/** @name Videos For Purchase (V4P) */
/**
@abstract IAP opportunity notification
@discussion Notifies you when the ad triggers an IAP opportunity.
@param interstitial interstitial ad object
@param iapProductID IAP product id
@param engagement engagement type
*/
- (void)adColonyInterstitial:(AdColonyInterstitial * _Nonnull)interstitial iapOpportunityWithProductId:(NSString * _Nonnull)iapProductID andEngagement:(AdColonyIAPEngagement)engagement;
@end

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6f60511c0c44d4b6b8c3b84bdfbf4543
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,69 @@
#import <AdColony/AdColonyUserMetadata.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
AdColonyOptions is a superclass for all types of AdColonyOptions.
Note that AdColonyOptions classes should never be instantiated directly.
Instead, create one of the subclasses and set options on it using its properties as well as the string-based constants defined in its header file.
*/
@interface AdColonyOptions : NSObject
/** @name Properties */
/**
@abstract Represents an AdColonyUserMetadata object.
@discussion Configure and set this property to improve ad targeting.
@see AdColonyUserMetadata
*/
@property (nonatomic, strong, nullable) AdColonyUserMetadata *userMetadata __attribute__((deprecated("Deprecated in v4.7.0")));
/** @name Setting Options */
/**
@abstract Sets a supported option.
@discussion Use this method to set a string-based option with an arbitrary, string-based value.
@param option An NSString representing the option.
@param value An NSString used to configure the option.
@return A BOOL indicating whether or not the option was set successfully.
@see AdColonyAppOptions
@see AdColonyAdOptions
*/
- (BOOL)setOption:(NSString *)option withStringValue:(NSString *)value;
/**
@abstract Sets a supported option.
@discussion Use this method to set a string-based option with an arbitrary, numerial value.
@param option An NSString representing the option. Strings must be 128 characters or less.
@param value An NSNumber used to configure the option.
@return A BOOL indicating whether or not the option was set successfully.
@see AdColonyAppOptions
@see AdColonyAdOptions
*/
- (BOOL)setOption:(NSString *)option withNumericValue:(NSNumber *)value;
/** @name Option Retrieval */
/**
@abstract Returns the string-based option associated with the given key.
@discussion Call this method to obtain the string-based value associated with the given string-based key.
@param key A string-based option key.
@return The string-based value associated with the given key. Returns `nil` if the option has not been set.
@see AdColonyAppOptions
@see AdColonyAdOptions
*/
- (nullable NSString *)getStringOptionWithKey:(NSString *)key;
/**
@abstract Returns the numerical option associated with the given key.
@discussion Call this method to obtain the numerical value associated with the given string-based key.
@param key A string-based option key.
@return The option value associated with the given key. Returns `nil` if the option has not been set.
@see AdColonyAppOptions
@see AdColonyAdOptions
*/
- (nullable NSNumber *)getNumericOptionWithKey:(NSString *)key;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 55ace6611ba4944eeb006952ce6e8114
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,193 @@
#import <AdColony/AdColonyAdSize.h>
#import <Foundation/Foundation.h>
@class AdColonyAdOptions;
@class AdColonyAdRequestError;
@class AdColonyAppOptions;
@class AdColonyInterstitial;
@class AdColonyZone;
@protocol AdColonyAdViewDelegate;
@protocol AdColonyInterstitialDelegate;
NS_ASSUME_NONNULL_BEGIN
/**
The AdColony interface constists of a set of static methods for interacting with the SDK.
*/
@interface AdColony : NSObject
/** @name Starting AdColony */
/**
@abstract Configures AdColony specifically for your app; required for usage of the rest of the API.
@discussion This method returns immediately; any long-running work such as network connections are performed in the background.
AdColony does not begin preparing ads for display or performing reporting until after it is configured by your app.
The required appID and zoneIDs parameters for this method can be created and retrieved at the [Control Panel](http://clients.adcolony.com).
If either of these are `nil`, app will be unable to play ads and AdColony will only provide limited reporting and install-tracking functionality.
Please note the completion handler. You should not start requesting ads until it has fired.
If there is a configuration error, the set of zones passed to the completion handler will be nil.
@param appID The AdColony app ID for your app.
@param zoneIDs An array of at least one AdColony zone ID string.
@param options (optional) Configuration options for your app.
@param completion (optional) A block of code to be executed upon completion of the configuration operation. Dispatched on main thread.
@see AdColonyAppOptions
@see AdColonyZone
*/
+ (void)configureWithAppID:(NSString *)appID zoneIDs:(NSArray<NSString *> *)zoneIDs options:(nullable AdColonyAppOptions *)options completion:(nullable void (^)(NSArray<AdColonyZone *> *zones))completion;
/**
@abstract Requests an AdColonyInterstitial.
@discussion This method returns immediately, before the ad request completes.
If the request is successful, an AdColonyInterstitial object will be passed to the success block.
If the request is unsuccessful, the failure block will be called and an AdColonyAdRequestError will be passed to the handler.
@param zoneID The AdColony zone identifier string indicating which zone the ad request is for.
@param options An AdColonyAdOptions object used to set configurable aspects of the ad request.
@param delegate Interstitial delegate object
@see AdColonyAdOptions
@see AdColonyInterstitial
@see AdColonyInterstitialDelegate
@see AdColonyAdRequestError
*/
+ (void)requestInterstitialInZone:(NSString *)zoneID options:(nullable AdColonyAdOptions *)options andDelegate:(id<AdColonyInterstitialDelegate> _Nonnull)delegate;
/**
@abstract Request an AdColonyAdView.
@discussion This method returns immediately, before the ad request completes.
If the request is successful, an AdColonyAdView object will be passed to the success block.
If the request is unsuccessful, an AdColonyAdRequestError object will be passed to the failure block.
@param zoneID The AdColony zone identifier string indicating which zone the ad request is for.
@param size The desired size of the banner ad view.
@param viewController Host view controller
@param delegate ad view delegate
@see AdColonyAdOptions
@see AdColonyAdView
@see AdColonyAdRequestError
*/
+ (void)requestAdViewInZone:(NSString *)zoneID withSize:(AdColonyAdSize)size viewController:(UIViewController *)viewController andDelegate:(id<AdColonyAdViewDelegate>)delegate;
/**
@abstract Request an AdColonyAdView.
@discussion This method returns immediately, before the ad request completes.
If the request is successful, an AdColonyAdView object will be passed to the success block.
If the request is unsuccessful, an AdColonyAdRequestError object will be passed to the failure block.
@param zoneID The AdColony zone identifier string indicating which zone the ad request is for.
@param size The desired size of the banner ad view.
@param options An AdColonyAdOptions object used to set configurable aspects of the ad request.
@param viewController Host view controller
@param delegate ad view delegate
@see AdColonyAdOptions
@see AdColonyAdView
@see AdColonyAdRequestError
*/
+ (void)requestAdViewInZone:(NSString *)zoneID withSize:(AdColonyAdSize)size andOptions:(nullable AdColonyAdOptions *)options viewController:(UIViewController *)viewController andDelegate:(id<AdColonyAdViewDelegate>)delegate;
/** @name Zone */
/**
@abstract Retrieves an AdColonyZone object.
@discussion AdColonyZone objects aggregate informative data about unique AdColony zones such as their identifiers, whether or not they are configured for rewards, etc.
AdColony zone IDs can be created and retrieved at the [Control Panel](http://clients.adcolony.com).
@param zoneID The AdColony zone identifier string indicating which zone to return.
@return An AdColonyZone object. Returns `nil` if an invalid zone ID is passed.
@see AdColonyZone
*/
+ (nullable AdColonyZone *)zoneForID:(NSString *)zoneID;
/** @name Device Identifiers */
/**
@abstract Retrieves the device's current advertising identifier.
@discussion The identifier is an alphanumeric string unique to each device, used by systems to facilitate ad serving.
Note that this method can be called before `configureWithAppID:zoneIDs:options:completion`.
@return The device's current advertising identifier.
*/
+ (NSString *)getAdvertisingID;
/**
@abstract Retrieves a custom identifier for the current user if it has been set.
@discussion This is an arbitrary, application-specific identifier string for the current user.
To configure this identifier, use the `setOption:withStringValue` method of the AdColonyAppOptions object you pass to `configureWithAppID:zoneIDs:options:completion`.
Note that if this method is called before `configureWithAppID:zoneIDs:options:completion`, it will return an empty string.
@return The identifier for the current user.
@see AdColonyAppOptions
*/
+ (NSString *)getUserID;
/** @name App Options */
/**
@abstract Sets the current, global set of AdColonyAppOptions.
@discussion Use the object's option-setting methods to configure currently-supported options.
@param options The AdColonyAppOptions object to be used for configuring global options such as a custom user identifier.
@see AdColonyAppOptions
*/
+ (void)setAppOptions:(AdColonyAppOptions *)options;
/**
@abstract Returns the current, global set of AdColonyAppOptions.
@discussion Use this method to obtain the current set of app options used to configure SDK behavior.
If no options object has been set, this method will return `nil`.
@return The current AdColonyAppOptions object being used by the SDK.
@see AdColonyAppOptions
*/
+ (nullable AdColonyAppOptions *)getAppOptions;
/** @name Custom Messages */
/**
@abstract Sends a custom message to the AdColony SDK.
@discussion Use this method to send custom messages to the AdColony SDK.
@param type The type of the custom message. Must be 128 characters or less.
@param content The content of the custom message. Must be 1024 characters or less.
@param reply A block of code to be executed when a reply is sent to the custom message. Will be dispatched on main thread.
*/
+ (void)sendCustomMessageOfType:(NSString *)type withContent:(nullable NSString *)content reply:(nullable void (^)(_Nullable id reply))reply;
/** @name In-app purchase (IAP) Tracking */
/**
@abstract Reports IAPs within your application.
@discussion Note that this API can be used to report standard IAPs as well as those triggered by AdColonys IAP Promo (IAPP) advertisements.
Leveraging this API will improve overall ad targeting for your application.
@param transactionID An NSString representing the unique SKPaymentTransaction identifier for the IAP. Must be 128 chars or less.
@param productID An NSString identifying the purchased product. Must be 128 chars or less.
@param price (optional) An NSNumber indicating the total price of the items purchased.
@param currencyCode (optional) An NSString indicating the real-world, three-letter ISO 4217 (e.g. USD) currency code of the transaction.
*/
+ (void)iapCompleteWithTransactionID:(NSString *)transactionID productID:(NSString *)productID price:(nullable NSNumber *)price currencyCode:(nullable NSString *)currencyCode;
/** @name SDK Version */
/**
@abstract Retrieve a string-based representation of the SDK version.
@discussion The returned string will be in the form of "<Major Version>.<Minor Version>.<External Revision>.<Internal Revision>"
@return The current AdColony SDK version string.
*/
+ (NSString *)getSDKVersion;
/**
@abstract Gathers AdColony specific information to be passed into OpenRTB bid request.
@discussion Gathers AdColony specific information to be passed into OpenRTB bid requests from a mediation setting.
@return The String to be passed into OpenRTB bid requests, or an empty String if AdColony has not yet been configured.
@deprecated please use asynchronous version
*/
+ (NSString *)collectSignals __attribute__((deprecated("Deprecated in v4.5.0")));
/**
@abstract Gathers AdColony specific information to be passed into OpenRTB bid request.
@discussion Gathers AdColony specific information to be passed into OpenRTB bid requests from a mediation setting.
@param completion A block of code to be executed when collection finishes, with result or error, on calling thread or main thread if unable to schedule on calling thread.
*/
+ (void)collectSignals:(nonnull void (^)(NSString * _Nullable signals, NSError * _Nullable error))completion;
/**
@abstract Gathers AdColony specific information to be passed into OpenRTB bid request.
@discussion Gathers AdColony specific information to be passed into OpenRTB bid requests from a mediation setting.
@param completion A block of code to be executed when collection finishes, with result or error, on target dispatch. If nil dispatch is provided, this method behaves like collectSignals:.
*/
+ (void)collectSignals:(nonnull void (^)(NSString * _Nullable signals, NSError * _Nullable error))completion targetDispatch:(nullable dispatch_queue_t)dispatch;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 8a67184987eaf4e418736d339a0b1c7b
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,67 @@
#import <AdColony/AdColonyAdSize.h>
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
/**
Enum representing AdColony ad request error codes
*/
typedef NS_ENUM(NSUInteger, AdColonyRequestError) {
/** An invalid app id or zone id was specified by the developer or an invalid configuration was received from the server (unlikely). */
AdColonyRequestErrorInvalidRequest = 0,
/** The ad was skipped due to the skip interval setting on the control panel. */
AdColonyRequestErrorSkippedRequest,
/** The current zone has no ad fill. */
AdColonyRequestErrorNoFillForRequest,
/** Either AdColony has not been configured, is still in the process of configuring, is still downloading assets, or is already showing an ad. */
AdColonyRequestErrorUnready,
/** This iOS version is no longer supported. */
AdColonyRequestErrorFeatureUnsupported,
};
/**
Enum representing in-app purchase (IAP) engagement types
*/
typedef NS_ENUM(NSUInteger, AdColonyIAPEngagement) {
/** IAP was enabled for the ad, and the user engaged via a dynamic end card (DEC). */
AdColonyIAPEngagementEndCard = 0,
/** IAP was enabled for the ad, and the user engaged via an in-vdeo engagement (Overlay). */
AdColonyIAPEngagementOverlay
};
/**
Enum representing supported ad orientations
*/
typedef NS_ENUM(NSInteger, AdColonyOrientation) {
/** Portrait and upside down */
AdColonyOrientationPortrait = 0,
/** Landscape left and landscape right */
AdColonyOrientationLandscape = 1,
/** All orientations supported */
AdColonyOrientationAll = 2
};
/**
Enum representing zone types
*/
typedef NS_ENUM(NSInteger, AdColonyZoneType) {
/** Invalid zone type */
AdColonyZoneTypeInvalid = -1,
/** Interstitial zone type */
AdColonyZoneTypeInterstitial = 0,
/** Banner zone type */
AdColonyZoneTypeBanner = 1
};

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 32926ec9fb08e4db28c1fe9b039a5e4c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,168 @@
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Use the following pre-defined values to configure user metadata options.
*/
/** User is male */
FOUNDATION_EXPORT NSString *const ADCUserMale;
/** User is female */
FOUNDATION_EXPORT NSString *const ADCUserFemale;
/** User is single */
FOUNDATION_EXPORT NSString *const ADCUserSingle;
/** User is married */
FOUNDATION_EXPORT NSString *const ADCUserMarried;
/** User has a basic grade school education and has not attended high school */
FOUNDATION_EXPORT NSString *const ADCUserEducationGradeSchool;
/** User has completed at least some high school but has not received a diploma */
FOUNDATION_EXPORT NSString *const ADCUserEducationSomeHighSchool;
/** User has received a high school diploma but has not completed any college */
FOUNDATION_EXPORT NSString *const ADCUserEducationHighSchoolDiploma;
/** User has completed at least some college but doesn't have a college degree */
FOUNDATION_EXPORT NSString *const ADCUserEducationSomeCollege;
/** User has been awarded at least 1 associates degree, but doesn't have any higher level degrees */
FOUNDATION_EXPORT NSString *const ADCUserEducationAssociatesDegree;
/** User has been awarded at least 1 bachelors degree, but does not have a graduate level degree */
FOUNDATION_EXPORT NSString *const ADCUserEducationBachelorsDegree;
/** User has been awarded at least 1 masters or doctorate level degree */
FOUNDATION_EXPORT NSString *const ADCUserEducationGraduateDegree;
/**
AdColonyUserMetadata objects are used to provide AdColony with per-user, non-personally-identifiable information for ad targeting purposes.
Note that providing non-personally-identifiable information using this API will improve targeting and unlock improved earnings for your app.
*/
__attribute__((deprecated(("Deprecated in v4.7.0"))))
@interface AdColonyUserMetadata : NSObject
/** @name Pre-defined Aspects of User Metadata */
/**
@abstract Configures the user's age.
@discussion Set this property to configure the user's age.
*/
@property (nonatomic) NSInteger userAge;
/**
@abstract Configures the user's interests.
@discussion Set this property with an array of NSStrings to configure the user's interests.
*/
@property (nonatomic, strong, nullable) NSArray<NSString *> *userInterests;
/**
@abstract Configures the user's gender.
@discussion Set this property to configure the user's gender.
Note that you should use one of the pre-defined constants below to configure this property.
*/
@property (nonatomic, strong, nullable) NSString *userGender;
/**
@abstract Configures the user's latitude.
@discussion Set this property to configure the user's latitude.
*/
@property (nonatomic, strong, nullable) NSNumber *userLatitude;
/**
@abstract Configures the user's longitude.
@discussion Set this property to configure the user's longitude.
*/
@property (nonatomic, strong, nullable) NSNumber *userLongitude;
/**
@abstract Configures the user's zip code.
@discussion Set this property to configure the user's zip code.
*/
@property (nonatomic, strong, nullable) NSString *userZipCode;
/**
@abstract Configures the user's household income.
@discussion Set this property to configure the user's household income.
*/
@property (nonatomic, strong, nullable) NSNumber *userHouseholdIncome;
/**
@abstract Configures the user's marital status.
@discussion Set this property to configure the user's marital status.
Note that you should use one of the pre-defined constants below to configure this property.
*/
@property (nonatomic, strong, nullable) NSString *userMaritalStatus;
/**
@abstract Configures the user's education level.
@discussion Set this property to configure the user's education level.
Note that you should use one of the pre-defined constants below to configure this property.
*/
@property (nonatomic, strong, nullable) NSString *userEducationLevel;
/** @name Setting Arbitrary Metadata */
/**
@abstract Configures the AdColonyUserMetadata object with the given key/value pair.
@discussion Use this method to send arbitrary user metadata.
@param key A key to represent the metadata. Must be 128 chars or less.
@param value An NSString used to configure the metadata. Must be 128 chars or less.
@return Whether the option was set successfully.
*/
- (BOOL)setMetadataWithKey:(NSString *)key andStringValue:(NSString *)value;
/**
@abstract Configures the AdColonyUserMetadata object with the given key/value pair.
@discussion Call this method with one of the keys defined below and pass an NSNumber for the value.
Use this method for configuring the user's age, household income, and location.
@param key A key to represent the metadata.
@param value An NSNumber used to configure the metadata option.
@return Whether the option was set successfully.
*/
- (BOOL)setMetadataWithKey:(NSString *)key andNumericValue:(NSNumber *)value;
/**
@abstract Configures the AdColonyUserMetadata object with the given key/value pair.
@discussion Call this method with one of the keys defined below and pass an NSArray for the value.
Currently, this method should only be used to configure a set of user interests.
Note that the array must only contain NSStrings.
@param key A key to represent the metadata.
@param value An NSArray containing NSStrings used to configure the metadata option. Strings must be 128 chars or less.
@return Whether the option was set successfully.
*/
- (BOOL)setMetadataWithKey:(NSString *)key andArrayValue:(NSArray<NSString *> *)value;
/** @name Metadata Retrieval */
/**
@abstract Returns the string value associated with the given key in the metadata object.
@discussion Call this method using the string-based key representing the metadata option to obtain the corresponding sring-based value.
@param key The key representing the metadata.
@return The value associated with the given key. Returns `nil` if the value has not been set.
*/
- (nullable NSString *)getStringMetadataWithKey:(NSString *)key;
/**
@abstract Returns the numeric value associated with the given key in the metadata object.
@discussion Call this method using the string-based key representing the metadata option to obtain the corresponding numerical value.
@param key The key representing the metadata.
@return The value associated with the given key. Returns `nil` if the value has not been set.
*/
- (nullable NSNumber *)getNumericMetadataWithKey:(NSString *)key;
/**
@abstract Returns the array value associated with the given key in the metadata object.
@discussion Call this method using the string-based key representing the metadata option to obtain the corresponding array value.
Currently, this method should only be used to retrive a set of user interests.
@param key The key representing the metadata.
@return The value associated with the given key. Returns `nil` if the value has not been set.
*/
- (nullable NSArray *)getArrayMetadataWithKey:(NSString *)key;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: c0b71c3d2ccfd400d8b1497f90286645
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,82 @@
#import <AdColony/AdColonyTypes.h>
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/**
AdColonyZone objects aggregate informative data about an AdColony zone such as its unique identifier, its `ADCOLONY_ZONE_TYPE`, etc.
AdColonyZones also provide a block-based handler for zone-level reward events.
Note that you should never instantiate one of these objects directly. You only need to use them when they are passed to you.
*/
@interface AdColonyZone : NSObject
- (instancetype)init NS_UNAVAILABLE;
/** @name Zone */
/**
@abstract Represents the given zone's unique string identifier.
@discussion AdColony zone IDs can be created at the [Control Panel](http://clients.adcolony.com).
*/
@property (nonatomic, readonly) NSString *identifier;
/**
@abstract Represents the zone type - interstitial, banner, or native.
@discussion You can set the type for your zones at the [Control Panel](http://clients.adcolony.com).
@see AdColonyZoneType
*/
@property (nonatomic, readonly) AdColonyZoneType type;
/**
@abstract Indicates whether or not the zone is enabled.
@discussion Sending invalid zone id strings to `configureWithAppID:zoneIDs:options:completion:` will cause this value to be `NO`.
*/
@property (nonatomic, readonly) BOOL enabled;
/** @name Rewards */
/**
@abstract Indicates whether or not the zone is configured for rewards.
@discussion You can configure rewards in your zones at the [Control Panel](http://clients.adcolony.com).
Sending invalid zone id strings to `configureWithAppID:zoneIDs:options:completion:` will cause this value to be `NO`.
*/
@property (nonatomic, readonly) BOOL rewarded;
/**
@abstract Represents the number of completed ad views required to receive a reward for the given zone.
@discussion This value will be 0 if the given zone is not configured for rewards.
*/
@property (nonatomic, readonly) NSUInteger viewsPerReward;
/**
@abstract Represents the number of ads that must be watched before a reward is given.
@discussion This value will be 0 if the given zone is not configured for rewards.
*/
@property (nonatomic, readonly) NSUInteger viewsUntilReward;
/**
@abstract Represents the reward amount for each completed rewarded ad view.
@discussion This value will be 0 if the given zone is not configured for rewards.
*/
@property (nonatomic, readonly) NSUInteger rewardAmount;
/**
@abstract Represents the singular form of the reward name based on the reward amount.
@discussion This value will be an empty string if the given zone is not configured for rewards.
*/
@property (nonatomic, readonly) NSString *rewardName;
/** @name Handling Rewards */
/**
@abstract Sets a block-based reward handler for your zone.
@discussion Based on the success parameter, client-side reward implementations should consider incrementing the user's currency balance in this method.
Server-side reward implementations, however, should consider the success parameter and then contact the game server to determine the current total balance for the virtual currency.
Note that the associated block of code will be dispatched on the main thread.
@param reward Callback for reward grant
*/
- (void)setReward:(nullable void (^)(BOOL success, NSString *name, int amount))reward;
@end
NS_ASSUME_NONNULL_END

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: a4eb7158fd1bc47fdb4ed6af90664695
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 442b4808368624e6fbb506aaf553894c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: df322524186a8401889bbb75e4fb75ec
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,6 @@
framework module AdColony {
umbrella header "AdColony.h"
export *
module * { export * }
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2e0b4df2731c84cfdadafc37d625f3db
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,342 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>files</key>
<dict>
<key>Headers/AdColony.h</key>
<data>
vl81tYufii/8D1AxKacPHGyz7Sw=
</data>
<key>Headers/AdColonyAdOptions.h</key>
<data>
6RKG7XrJURZYJbykwsS73RDMYA4=
</data>
<key>Headers/AdColonyAdRequestError.h</key>
<data>
a/ZJuMQyaPw+SfXjfaI2d+Kw9iQ=
</data>
<key>Headers/AdColonyAdSize.h</key>
<data>
sCaIJavmlGq2pMlXnYXI1Mr8pUU=
</data>
<key>Headers/AdColonyAdView.h</key>
<data>
XxP3Jjab5afk0kCXZpiW5U0SmGc=
</data>
<key>Headers/AdColonyAdViewDelegate.h</key>
<data>
MxJTDpv48kltPCJO1JfSSJMbenc=
</data>
<key>Headers/AdColonyAppOptions.h</key>
<data>
SIY1ydWGlpwZUeshI5YGTXUTWq0=
</data>
<key>Headers/AdColonyEventTracker.h</key>
<data>
063JmVEsKY0WBiFkAmz0zHCKPtE=
</data>
<key>Headers/AdColonyInterstitial.h</key>
<data>
zXzN7ztMcq6jv0XDhkdGxN0kx00=
</data>
<key>Headers/AdColonyInterstitialDelegate.h</key>
<data>
8KCR3LSx5/wlpYvnIo50izKhftE=
</data>
<key>Headers/AdColonyOptions.h</key>
<data>
ONbSilQyAqQoSsS1WQMDiH1T3yg=
</data>
<key>Headers/AdColonyPublic.h</key>
<data>
sELZc85rp+S8u0Do3N4oLG8jPm4=
</data>
<key>Headers/AdColonyTypes.h</key>
<data>
Uza0maPO4B9XWWPa1OCzhLloWGk=
</data>
<key>Headers/AdColonyUserMetadata.h</key>
<data>
F38HXF10IXbrMnGPjKNfROwJhBM=
</data>
<key>Headers/AdColonyZone.h</key>
<data>
RYz0NLLzYLM1bxRNny0ogxNcB1c=
</data>
<key>Info.plist</key>
<data>
sX4IkCZzDLLpUIfB+KEN8c7k43w=
</data>
<key>Modules/module.modulemap</key>
<data>
SRue21yaSkZnrq9RFpflI1jIDpI=
</data>
</dict>
<key>files2</key>
<dict>
<key>Headers/AdColony.h</key>
<dict>
<key>hash</key>
<data>
vl81tYufii/8D1AxKacPHGyz7Sw=
</data>
<key>hash2</key>
<data>
P6ENDnjnUITstZYYR6vYrc3YVlMTuwXW8jWViQQVbzg=
</data>
</dict>
<key>Headers/AdColonyAdOptions.h</key>
<dict>
<key>hash</key>
<data>
6RKG7XrJURZYJbykwsS73RDMYA4=
</data>
<key>hash2</key>
<data>
5M0UvPbZNjYLyFI55FtYkiVUg2NNHNiNbQclf4z0LlM=
</data>
</dict>
<key>Headers/AdColonyAdRequestError.h</key>
<dict>
<key>hash</key>
<data>
a/ZJuMQyaPw+SfXjfaI2d+Kw9iQ=
</data>
<key>hash2</key>
<data>
MLyXZane2e3t7Rq7+d8RtSUiOKw65gQFkAP/sYVxiMM=
</data>
</dict>
<key>Headers/AdColonyAdSize.h</key>
<dict>
<key>hash</key>
<data>
sCaIJavmlGq2pMlXnYXI1Mr8pUU=
</data>
<key>hash2</key>
<data>
ZHLU5aeqnC4T9kpDCQq8GA/ULRi4NodMXa8G8/sAdNA=
</data>
</dict>
<key>Headers/AdColonyAdView.h</key>
<dict>
<key>hash</key>
<data>
XxP3Jjab5afk0kCXZpiW5U0SmGc=
</data>
<key>hash2</key>
<data>
vjXfpAmtC04pU+GGAfSGJKDBeigrbkgVFZxStvo6zyg=
</data>
</dict>
<key>Headers/AdColonyAdViewDelegate.h</key>
<dict>
<key>hash</key>
<data>
MxJTDpv48kltPCJO1JfSSJMbenc=
</data>
<key>hash2</key>
<data>
9HhugofD8MimsBp1YK+HXniczyeh1FnVhbu3PsdVBTA=
</data>
</dict>
<key>Headers/AdColonyAppOptions.h</key>
<dict>
<key>hash</key>
<data>
SIY1ydWGlpwZUeshI5YGTXUTWq0=
</data>
<key>hash2</key>
<data>
CQC8Fij/jQTKtLeHkmJTo6QtrsB3gd5Ue58tuYEJjeA=
</data>
</dict>
<key>Headers/AdColonyEventTracker.h</key>
<dict>
<key>hash</key>
<data>
063JmVEsKY0WBiFkAmz0zHCKPtE=
</data>
<key>hash2</key>
<data>
jJRcasE+uD3+coZ199FvJPQBYCR7UErGQO/OjUwv6OE=
</data>
</dict>
<key>Headers/AdColonyInterstitial.h</key>
<dict>
<key>hash</key>
<data>
zXzN7ztMcq6jv0XDhkdGxN0kx00=
</data>
<key>hash2</key>
<data>
+yzUSsMYwqS41ev1au/vEiTG6bUaWtN+VTWfuTRn8XY=
</data>
</dict>
<key>Headers/AdColonyInterstitialDelegate.h</key>
<dict>
<key>hash</key>
<data>
8KCR3LSx5/wlpYvnIo50izKhftE=
</data>
<key>hash2</key>
<data>
DX57XMMMu7gSnb1t6ApSjSKMYYWG5f0grLgbJfOXYJw=
</data>
</dict>
<key>Headers/AdColonyOptions.h</key>
<dict>
<key>hash</key>
<data>
ONbSilQyAqQoSsS1WQMDiH1T3yg=
</data>
<key>hash2</key>
<data>
9qOL2kbuFwbWXlrOCc7h+MH+nC7vwqFZw9IW9ZTl4TA=
</data>
</dict>
<key>Headers/AdColonyPublic.h</key>
<dict>
<key>hash</key>
<data>
sELZc85rp+S8u0Do3N4oLG8jPm4=
</data>
<key>hash2</key>
<data>
uM2xJqiA87cgKe5+Uv0wKakNa1YxBs+xWXbfo4NxhWQ=
</data>
</dict>
<key>Headers/AdColonyTypes.h</key>
<dict>
<key>hash</key>
<data>
Uza0maPO4B9XWWPa1OCzhLloWGk=
</data>
<key>hash2</key>
<data>
ZY0YcIi8nHV59ic8iQcsjxQSiJ6IT8LCb8FSJ9ma2QI=
</data>
</dict>
<key>Headers/AdColonyUserMetadata.h</key>
<dict>
<key>hash</key>
<data>
F38HXF10IXbrMnGPjKNfROwJhBM=
</data>
<key>hash2</key>
<data>
6qwbj9pJGa+LhEkv5jE0ds4y1Ap8kZhlvl+mQidfvfM=
</data>
</dict>
<key>Headers/AdColonyZone.h</key>
<dict>
<key>hash</key>
<data>
RYz0NLLzYLM1bxRNny0ogxNcB1c=
</data>
<key>hash2</key>
<data>
xvWfkxrPEVNdG99wns+SNhYNe2T95G7zSduR9g4q6UQ=
</data>
</dict>
<key>Modules/module.modulemap</key>
<dict>
<key>hash</key>
<data>
SRue21yaSkZnrq9RFpflI1jIDpI=
</data>
<key>hash2</key>
<data>
Q4rg5aRe9KJHjW5G9XfZEMnfMltziT2HkWQhxE32XyE=
</data>
</dict>
</dict>
<key>rules</key>
<dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^.*</key>
<true/>
<key>^.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>

View File

@ -0,0 +1,28 @@
fileFormatVersion: 2
guid: 178939c763f9547dda8e3f309d2050f6
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 76132c8871c5c45469bc255468494c7f
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dc3c634c60cc04b7dba3a19f0e56c3e5
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,19 @@
//
// AnyThinkAdColonyAdapter.h
// AnyThinkAdColonyAdapter
//
// Created by Topon on 11/16/20.
// Copyright © 2020 AnyThink. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for AnyThinkAdColonyAdapter.
FOUNDATION_EXPORT double AnyThinkAdColonyAdapterVersionNumber;
//! Project version string for AnyThinkAdColonyAdapter.
FOUNDATION_EXPORT const unsigned char AnyThinkAdColonyAdapterVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <AnyThinkAdColonyAdapter/PublicHeader.h>

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 489ba576d452e46d691a06c03f9bf3fa
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e8e61e531127f485ab435e10420203fa
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7c61f0559b5a24f24a0d9bdbe206a524
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,6 @@
framework module AnyThinkAdColonyAdapter {
umbrella header "AnyThinkAdColonyAdapter.h"
export *
module * { export * }
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: f31a8f93ed79848dc9850a0601ef8229
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
fileFormatVersion: 2
guid: 0383e88f464cf45f085cda6e48cfc4a6
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: ec317642ed8ef4757a3acc9fa11d40ed
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 415c57fc9292f490886028e9a51317f8
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,19 @@
//
// AnyThinkAdmobAdapter.h
// AnyThinkAdmobAdapter
//
// Created by Topon on 11/13/20.
// Copyright © 2020 AnyThink. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for AnyThinkAdmobAdapter.
FOUNDATION_EXPORT double AnyThinkAdmobAdapterVersionNumber;
//! Project version string for AnyThinkAdmobAdapter.
FOUNDATION_EXPORT const unsigned char AnyThinkAdmobAdapterVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <AnyThinkAdmobAdapter/PublicHeader.h>

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 2d05cca3249c845618667471a2a6a386
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 26c2723dc26a74b01954905fb9aa182d
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3ca14dc1ee50a4297940b1bb38ba0096
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,6 @@
framework module AnyThinkAdmobAdapter {
umbrella header "AnyThinkAdmobAdapter.h"
export *
module * { export * }
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: bbb3b1b5172664b328f6eccf6a573db2
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
fileFormatVersion: 2
guid: 7f59053d3d9104fbdaaf99674590b9c4
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 9a8d3cd3c08fa4bd18e9701d9019e35e
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>GoogleAppMeasurement</string>
<key>CFBundleIdentifier</key>
<string>com.firebase.Firebase-GoogleAppMeasurement</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>GoogleAppMeasurement</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleVersion</key>
<string>8.9.1</string>
<key>DTSDKName</key>
<string>iphonesimulator11.2</string>
</dict>
</plist>

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 7fb55dc5cf25d4ad192d9bd42e44ac4c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d57a211765d284e8aae19cfc526caffa
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,10 @@
framework module GoogleAppMeasurement {
umbrella header "GoogleAppMeasurement-umbrella.h"
export *
module * { export * }
link framework "Security"
link framework "SystemConfiguration"
link "c++"
link "sqlite3"
link "z"
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: d4bbb850f734d47a0a99223eba45650d
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
fileFormatVersion: 2
guid: 297a5c30079f3475c8abcc7876986450
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 1f6810fb76a804680b95cfae5bfb79bc
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>GoogleAppMeasurementIdentitySupport</string>
<key>CFBundleIdentifier</key>
<string>com.firebase.Firebase-GoogleAppMeasurementIdentitySupport</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>GoogleAppMeasurementIdentitySupport</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleVersion</key>
<string>8.9.1</string>
<key>DTSDKName</key>
<string>iphonesimulator11.2</string>
</dict>
</plist>

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6a5bf8017a4f44394ad890a4ab51782f
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7e2ebbe5e92ad442c94cfe4f44a25e30
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,5 @@
framework module GoogleAppMeasurementIdentitySupport {
umbrella header "GoogleAppMeasurementIdentitySupport-umbrella.h"
export *
module * { export * }
}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: bc1ca08b121344672bcfb145aec79dec
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,28 @@
fileFormatVersion: 2
guid: 0cc5b811fc3784f7293f2494ed2a5432
folderAsset: yes
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 1
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 526a731ed31844407a14b3cf10e6e19c
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 34325c7747d814337ab48fbacff26d18
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,16 @@
//
// GADAdChoicesView.h
// Google Mobile Ads SDK
//
// Copyright 2016 Google LLC. All rights reserved.
//
#import <UIKit/UIKit.h>
/// Displays AdChoices content.
///
/// If a GADAdChoicesView is set on GADNativeAdView prior to calling -setNativeAd:, AdChoices
/// content will render inside the GADAdChoicesView. By default, AdChoices is placed in the top
/// right corner of GADNativeAdView.
@interface GADAdChoicesView : UIView
@end

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: bb5f7810234604417b5b35cfe2c5a12b
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,18 @@
//
// GADAdFormat.h
// Google Mobile Ads SDK
//
// Copyright 2018-2021 Google LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
/// Requested ad format.
typedef NS_ENUM(NSInteger, GADAdFormat) {
GADAdFormatBanner, ///< Banner.
GADAdFormatInterstitial, ///< Interstitial.
GADAdFormatRewarded, ///< Rewarded.
GADAdFormatNative, ///< Native.
GADAdFormatRewardedInterstitial, ///< Rewarded interstitial.
GADAdFormatUnknown, ///< Unknown.
};

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: de9a44a5ae427487689a28f0c1d34961
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,46 @@
//
// GADAdLoader.h
// Google Mobile Ads SDK
//
// Copyright 2015 Google LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <GoogleMobileAds/GADAdLoaderAdTypes.h>
#import <GoogleMobileAds/GADAdLoaderDelegate.h>
#import <GoogleMobileAds/GADRequest.h>
#import <UIKit/UIKit.h>
/// Ad loader options base class. See each ad type's header for available GADAdLoaderOptions
/// subclasses.
@interface GADAdLoaderOptions : NSObject
@end
/// Loads ads. See GADAdLoaderAdTypes.h for available ad types.
@interface GADAdLoader : NSObject
/// Object notified when an ad request succeeds or fails. Must conform to requested ad types'
/// delegate protocols.
@property(nonatomic, weak, nullable) id<GADAdLoaderDelegate> delegate;
/// The ad loader's ad unit ID.
@property(nonatomic, readonly, nonnull) NSString *adUnitID;
/// Indicates whether the ad loader is loading.
@property(nonatomic, getter=isLoading, readonly) BOOL loading;
/// Returns an initialized ad loader configured to load the specified ad types.
///
/// @param rootViewController The root view controller is used to present ad click actions.
/// @param adTypes An array of ad types. See GADAdLoaderAdTypes.h for available ad types.
/// @param options An array of GADAdLoaderOptions objects to configure how ads are loaded, or nil
/// to use default options. See each ad type's header for available GADAdLoaderOptions subclasses.
- (nonnull instancetype)initWithAdUnitID:(nonnull NSString *)adUnitID
rootViewController:(nullable UIViewController *)rootViewController
adTypes:(nonnull NSArray<GADAdLoaderAdType> *)adTypes
options:(nullable NSArray<GADAdLoaderOptions *> *)options;
/// Loads the ad and informs the delegate of the outcome.
- (void)loadRequest:(nullable GADRequest *)request;
@end

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 74ba69f6e8f5a4d788e5978b6ac31624
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,23 @@
//
// GADAdLoaderAdTypes.h
// Google Mobile Ads SDK
//
// Copyright 2015 Google LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <GoogleMobileAds/GoogleMobileAdsDefines.h>
typedef NSString *GADAdLoaderAdType NS_STRING_ENUM;
/// Use with GADAdLoader to request native custom template ads. To receive ads, the ad loader's
/// delegate must conform to the GADCustomNativeAdLoaderDelegate protocol. See GADCustomNativeAd.h.
extern GADAdLoaderAdType _Nonnull const GADAdLoaderAdTypeCustomNative;
/// Use with GADAdLoader to request Google Ad Manager banner ads. To receive ads, the ad loader's
/// delegate must conform to the GAMBannerAdLoaderDelegate protocol. See GAMBannerView.h.
extern GADAdLoaderAdType _Nonnull const GADAdLoaderAdTypeGAMBanner;
/// Use with GADAdLoader to request native ads. To receive ads, the ad loader's delegate must
/// conform to the GADNativeAdLoaderDelegate protocol. See GADNativeAd.h.
extern GADAdLoaderAdType _Nonnull const GADAdLoaderAdTypeNative;

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: dd5af82aec30748348434d3a7c779e31
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,25 @@
//
// GADAdLoaderDelegate.h
// Google Mobile Ads SDK
//
// Copyright 2015 Google LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
@class GADAdLoader;
/// Base ad loader delegate protocol. Ad types provide extended protocols that declare methods to
/// handle successful ad loads.
@protocol GADAdLoaderDelegate <NSObject>
/// Called when adLoader fails to load an ad.
- (void)adLoader:(nonnull GADAdLoader *)adLoader
didFailToReceiveAdWithError:(nonnull NSError *)error;
@optional
/// Called after adLoader has finished loading.
- (void)adLoaderDidFinishLoading:(nonnull GADAdLoader *)adLoader;
@end

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 345ece345354d44ab9b535b43d60a56e
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,33 @@
//
// GADAdMetadata.h
// Google Mobile Ads SDK
//
// Copyright 2017 Google LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
/// Ad metadata key type.
typedef NSString *GADAdMetadataKey NS_STRING_ENUM;
@protocol GADAdMetadataDelegate;
/// Protocol for ads that provide ad metadata.
@protocol GADAdMetadataProvider <NSObject>
/// The ad's metadata. Use adMetadataDelegate to receive ad metadata change messages.
@property(nonatomic, readonly, nullable) NSDictionary<GADAdMetadataKey, id> *adMetadata;
/// Delegate for receiving ad metadata changes.
@property(nonatomic, weak, nullable) id<GADAdMetadataDelegate> adMetadataDelegate;
@end
/// Delegate protocol for receiving ad metadata change messages from a GADAdMetadataProvider.
@protocol GADAdMetadataDelegate <NSObject>
/// Tells the delegate that the ad's metadata changed. Called when an ad loads and when a loaded
/// ad's metadata changes.
- (void)adMetadataDidChange:(nonnull id<GADAdMetadataProvider>)ad;
@end

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: c5628e5047e9f4eb6ad57c5f5e96f6f0
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,16 @@
//
// GADAdNetworkExtras.h
// Google Mobile Ads SDK
//
// Copyright 2012 Google LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
/// An object implementing this protocol contains information set by the publisher on the client
/// device for a particular ad network.
///
/// Ad networks should create an 'extras' object implementing this protocol for their publishers to
/// use.
@protocol GADAdNetworkExtras <NSObject>
@end

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 00c8bb1a2c9b8449283a4fbc165fa8c2
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

Some files were not shown because too many files have changed in this diff Show More