Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions GoogleMobileAds.framework/GoogleMobileAds
1 change: 1 addition & 0 deletions GoogleMobileAds.framework/Headers
20 changes: 20 additions & 0 deletions GoogleMobileAds.framework/Modules/module.modulemap
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
framework module GoogleMobileAds {
umbrella header "GoogleMobileAds.h"

export *
module * { export * }

link framework "AdSupport"
link framework "AudioToolbox"
link framework "AVFoundation"
link framework "CoreGraphics"
link framework "CoreMedia"
link framework "CoreTelephony"
link framework "EventKit"
link framework "EventKitUI"
link framework "Foundation"
link framework "MessageUI"
link framework "StoreKit"
link framework "SystemConfiguration"
link framework "UIKit"
}
Binary file not shown.
83 changes: 83 additions & 0 deletions GoogleMobileAds.framework/Versions/A/Headers/DFPBannerView.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
//
// DFPBannerView.h
// Google Mobile Ads SDK
//
// Copyright 2012 Google Inc. All rights reserved.
//

#import <GoogleMobileAds/GADBannerView.h>
#import <GoogleMobileAds/GADCorrelator.h>
#import <GoogleMobileAds/GoogleMobileAdsDefines.h>

@protocol DFPCustomRenderedBannerViewDelegate;
@protocol GADAdSizeDelegate;
@protocol GADAppEventDelegate;

/// The view that displays DoubleClick For Publishers banner ads.
@interface DFPBannerView : GADBannerView

/// Required value created on the DFP website. Create a new ad unit for every unique placement of an
/// ad in your application. Set this to the ID assigned for this placement. Ad units are important
/// for targeting and statistics.
///
/// Example DFP ad unit ID: @"/6499/example/banner"
@property(nonatomic, copy) NSString *adUnitID;

/// Optional delegate that is notified when creatives send app events.
@property(nonatomic, weak) IBOutlet id<GADAppEventDelegate> appEventDelegate;

/// Optional delegate that is notified when creatives cause the banner to change size. To avoid
/// crashing the app, remember to nil this property before releasing the object that implements the
/// GADAdSizeDelegate protocol.
@property(nonatomic, weak) IBOutlet id<GADAdSizeDelegate> adSizeDelegate;

/// Optional array of NSValue encoded GADAdSize structs, specifying all valid sizes that are
/// appropriate for this slot. Never create your own GADAdSize directly. Use one of the predefined
/// standard ad sizes (such as kGADAdSizeBanner), or create one using the GADAdSizeFromCGSize
/// method.
///
/// \see setValidAdSizesWithSizes:
///
/// Example:
/// \code
/// NSArray *validSizes = @[
/// NSValueFromGADAdSize(kGADAdSizeBanner),
/// NSValueFromGADAdSize(kGADAdSizeLargeBanner)
/// ];
///
/// bannerView.validAdSizes = validSizes;
/// \endcode
@property(nonatomic, copy) NSArray *validAdSizes;

/// Correlator object for correlating this object to other ad objects.
@property(nonatomic, strong) GADCorrelator *correlator;

/// Indicates that the publisher will record impressions manually when the ad becomes visible to the
/// user.
@property(nonatomic, assign) BOOL enableManualImpressions;

/// Optional delegate object for custom rendered ads.
@property(nonatomic, weak)
IBOutlet id<DFPCustomRenderedBannerViewDelegate> customRenderedBannerViewDelegate;

/// If you've set enableManualImpressions to YES, call this method when the ad is visible.
- (void)recordImpression;

/// Use this function to resize the banner view without launching a new ad request.
- (void)resize:(GADAdSize)size;

#pragma mark Deprecated

/// Sets the receiver's valid ad sizes to the values pointed to by the provided NULL terminated list
/// of GADAdSize pointers.
///
/// Example:
/// \code
/// GADAdSize size1 = kGADAdSizeBanner;
/// GADAdSize size2 = kGADAdSizeLargeBanner;
/// [bannerView setValidAdSizesWithSizes:&size1, &size2, NULL];
/// \endcode
- (void)setValidAdSizesWithSizes:(GADAdSize *)firstSize, ... NS_REQUIRES_NIL_TERMINATION
GAD_DEPRECATED_MSG_ATTRIBUTE("Use validAdSizes property.");

@end
28 changes: 28 additions & 0 deletions GoogleMobileAds.framework/Versions/A/Headers/DFPCustomRenderedAd.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
// DFPCustomRenderedAd.h
// Google Mobile Ads SDK
//
// Copyright 2014 Google Inc. All rights reserved.
//

#import <UIKit/UIKit.h>

/// Custom rendered ad. Your application renders the ad.
@interface DFPCustomRenderedAd : NSObject

/// The ad's HTML.
@property(nonatomic, copy, readonly) NSString *adHTML;

/// The base URL of the ad's HTML.
@property(nonatomic, copy, readonly) NSURL *adBaseURL;

/// Call this method when the user clicks the ad.
- (void)recordClick;

/// Call this method when the ad is visible to the user.
- (void)recordImpression;

/// Call this method after the ad has been rendered in a UIView object.
- (void)finishedRenderingAdView:(UIView *)view;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// DFPCustomRenderedBannerViewDelegate.h
// Google Mobile Ads SDK
//
// Copyright 2014 Google Inc. All rights reserved.
//

#import <UIKit/UIKit.h>

@class DFPBannerView;
@class DFPCustomRenderedAd;

@protocol DFPCustomRenderedBannerViewDelegate<NSObject>

/// Called after ad data has been received. You must construct a banner from |customRenderedAd| and
/// call the |customRenderedAd| object's finishedRenderingAdView: when the ad is rendered.
- (void)bannerView:(DFPBannerView *)bannerView
didReceiveCustomRenderedAd:(DFPCustomRenderedAd *)customRenderedAd;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//
// DFPCustomRenderedInterstitialDelegate.h
// Google Mobile Ads SDK
//
// Copyright 2014 Google Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

@class DFPCustomRenderedAd;
@class DFPInterstitial;

@protocol DFPCustomRenderedInterstitialDelegate<NSObject>

/// Called after ad data has been received. You must construct an interstitial from
/// |customRenderedAd| and call the |customRenderedAd| object's finishedRenderingAdView: method when
/// the ad has been rendered.
- (void)interstitial:(DFPInterstitial *)interstitial
didReceiveCustomRenderedAd:(DFPCustomRenderedAd *)customRenderedAd;

@end
33 changes: 33 additions & 0 deletions GoogleMobileAds.framework/Versions/A/Headers/DFPInterstitial.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
//
// DFPInterstitial.h
// Google Mobile Ads SDK
//
// Copyright 2012 Google Inc. All rights reserved.
//

#import <GoogleMobileAds/GADCorrelator.h>
#import <GoogleMobileAds/GADInterstitial.h>

@protocol DFPCustomRenderedInterstitialDelegate;
@protocol GADAppEventDelegate;

@interface DFPInterstitial : GADInterstitial

/// Required value created on the DFP website. Create a new ad unit for every unique placement of an
/// ad in your application. Set this to the ID assigned for this placement. Ad units are important
/// for targeting and stats.
///
/// Example DFP ad unit ID: @"/6499/example/interstitial"
@property(nonatomic, readonly, copy) NSString *adUnitID;

/// Correlator object for correlating this object to other ad objects.
@property(nonatomic, strong) GADCorrelator *correlator;

/// Optional delegate that is notified when creatives send app events.
@property(nonatomic, weak) id<GADAppEventDelegate> appEventDelegate;

/// Optional delegate object for custom rendered ads.
@property(nonatomic, weak)
id<DFPCustomRenderedInterstitialDelegate> customRenderedInterstitialDelegate;

@end
33 changes: 33 additions & 0 deletions GoogleMobileAds.framework/Versions/A/Headers/DFPRequest.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
//
// DFPRequest.h
// Google Mobile Ads SDK
//
// Copyright 2014 Google Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <GoogleMobileAds/GADRequest.h>
#import <GoogleMobileAds/GoogleMobileAdsDefines.h>

/// Add this constant to the testDevices property's array to receive test ads on the simulator.
GAD_EXTERN const id kDFPSimulatorID;

/// Specifies optional parameters for ad requests.
@interface DFPRequest : GADRequest

/// Publisher provided user ID.
@property(nonatomic, copy) NSString *publisherProvidedID;

/// Array of strings used to exclude specified categories in ad results.
@property(nonatomic, copy) NSArray *categoryExclusions;

/// Key-value pairs used for custom targeting.
@property(nonatomic, copy) NSDictionary *customTargeting;

/// This API is deprecated and a no-op, use an instance of GADCorrelator set on DFPInterstitial or
/// DFPBannerView objects to correlate requests.
+ (void)updateCorrelator GAD_DEPRECATED_MSG_ATTRIBUTE(
"Set GADCorrelator objects on your ads instead. This method longer affects ad correlation.");

@end
42 changes: 42 additions & 0 deletions GoogleMobileAds.framework/Versions/A/Headers/GADAdLoader.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
//
// GADAdLoader.h
// Google Mobile Ads SDK
//
// Copyright 2015 Google Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#import "GADAdLoaderDelegate.h"
#import "GADRequest.h"
#import "GADRequestError.h"

/// 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) id<GADAdLoaderDelegate> delegate;

/// 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. Cannot
/// be nil.
/// @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.
- (instancetype)initWithAdUnitID:(NSString *)adUnitID
rootViewController:(UIViewController *)rootViewController
adTypes:(NSArray *)adTypes
options:(NSArray *)options;

/// Loads the ad and informs the delegate of the outcome.
- (void)loadRequest:(GADRequest *)request;

@end

/// Ad loader options base class. See each ad type's header for available GADAdLoaderOptions
/// subclasses.
@interface GADAdLoaderOptions : NSObject
@end
22 changes: 22 additions & 0 deletions GoogleMobileAds.framework/Versions/A/Headers/GADAdLoaderAdTypes.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// GADAdLoaderAdTypes.h
// Google Mobile Ads SDK
//
// Copyright 2015 Google Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <GoogleMobileAds/GoogleMobileAdsDefines.h>

// For use with GADAdLoader's creation methods. See the constants' respective headers for each ad
// type's delegate requirements.

/// Native app install ad type. \see GADNativeAppInstallAd.h.
GAD_EXTERN NSString *const kGADAdLoaderAdTypeNativeAppInstall;

/// Native content ad type. \see GADNativeContentAd.h.
GAD_EXTERN NSString *const kGADAdLoaderAdTypeNativeContent;

/// Native custom template ad type. \see GADNativeCustomTemplateAd.h.
GAD_EXTERN NSString *const kGADAdLoaderAdTypeNativeCustomTemplate;
21 changes: 21 additions & 0 deletions GoogleMobileAds.framework/Versions/A/Headers/GADAdLoaderDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
//
// GADAdLoaderDelegate.h
// Google Mobile Ads SDK
//
// Copyright 2015 Google Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "GADRequestError.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:(GADAdLoader *)adLoader didFailToReceiveAdWithError:(GADRequestError *)error;

@end
16 changes: 16 additions & 0 deletions GoogleMobileAds.framework/Versions/A/Headers/GADAdNetworkExtras.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// GADAdNetworkExtras.h
// Google Mobile Ads SDK
//
// Copyright 2012 Google Inc. 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
23 changes: 23 additions & 0 deletions GoogleMobileAds.framework/Versions/A/Headers/GADAdReward.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//
// GADAdReward.h
// Google Mobile Ads SDK
//
// Copyright 2015 Google Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GADAdReward : NSObject

/// Type of the reward.
@property(nonatomic, readonly, copy) NSString *type;

/// Amount rewarded to the user.
@property(nonatomic, readonly, copy) NSDecimalNumber *amount;

/// Returns an initialized GADAdReward with the provided reward type and reward amount. rewardType
/// and rewardAmount must not be nil.
- (instancetype)initWithRewardType:(NSString *)rewardType
rewardAmount:(NSDecimalNumber *)rewardAmount NS_DESIGNATED_INITIALIZER;

@end
Loading