Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: freiserg/google-app-conversion-tracker
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: hgo/google-app-conversion-tracker
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Jun 24, 2016

  1. ios lib update

    Guven Ozyurt committed Jun 24, 2016
    Copy the full SHA
    016ae37 View commit details
Showing with 28 additions and 28 deletions.
  1. BIN lib/ios/libGoogleConversionTracking.a
  2. BIN src/ios/.DS_Store
  3. +28 −28 src/ios/ACTReporter.h
Binary file modified lib/ios/libGoogleConversionTracking.a
Binary file not shown.
Binary file added src/ios/.DS_Store
Binary file not shown.
56 changes: 28 additions & 28 deletions src/ios/ACTReporter.h
Original file line number Diff line number Diff line change
@@ -32,12 +32,27 @@
currencyCode:(NSString *)currencyCode
isRepeatable:(BOOL)isRepeatable;

/// Reports conversion information to Google.
+ (void)reportWithConversionID:(NSString *)conversionID
label:(NSString *)label
value:(NSString *)value
isRepeatable:(BOOL)isRepeatable;

/// Reports an In-App Purchase (IAP) to Google.
+ (void)reportWithProductID:(NSString *)productID
value:(NSString *)value
currencyCode:(NSString *)currencyCode
isRepeatable:(BOOL)isRepeatable;

/// Reports an In-App Purchase (IAP) to Google.
+ (void)reportWithProductID:(NSString *)productID
value:(NSString *)value
isRepeatable:(BOOL)isRepeatable;

/// Reports universal link data to Google. Call this method from your application delegate's
/// application:continueUserActivity:restorationHandler: method with the provided user activity.
+ (void)reportUniversalLinkWithUserActivity:(NSUserActivity *)userActivity;

/// Register a click referrer from a Google ad click URL. Returns YES if the URL was registered
/// successfully.
+ (BOOL)registerReferrer:(NSURL *)clickURL;
@@ -50,13 +65,26 @@
currencyCode:(NSString *)currencyCode
isRepeatable:(BOOL)isRepeatable;

/// Returns an initialized conversion ACTConversionReporter object for conversion ID/label
/// reporting. Use this method to separate conversion tracker initialization and reporting.
- (instancetype)initWithConversionID:(NSString *)conversionID
label:(NSString *)label
value:(NSString *)value
isRepeatable:(BOOL)isRepeatable;

/// Returns an initialized conversion ACTConversionReporter object for In-App Purchase reporting.
/// Use this method to separate conversion tracker initialization and reporting.
- (instancetype)initWithProductID:(NSString *)productID
value:(NSString *)value
currencyCode:(NSString *)currencyCode
isRepeatable:(BOOL)isRepeatable;

/// Returns an initialized conversion ACTConversionReporter object for In-App Purchase reporting.
/// Use this method to separate conversion tracker initialization and reporting.
- (instancetype)initWithProductID:(NSString *)productID
value:(NSString *)value
isRepeatable:(BOOL)isRepeatable;

@end

/// Reports Google AdWords remarketing information to Google.
@@ -83,31 +111,3 @@
+ (void)disableAutomatedUsageReportingWithConversionID:(NSString *)conversionID;

@end

#pragma mark - Deprecated API

@interface ACTConversionReporter (Deprecated)

+ (void)reportWithConversionID:(NSString *)conversionID
label:(NSString *)label
value:(NSString *)value
isRepeatable:(BOOL)isRepeatable
DEPRECATED_MSG_ATTRIBUTE("Use reportWithConversionID:label:value:currencyCode:isRepeatable");

+ (void)reportWithProductID:(NSString *)productID
value:(NSString *)value
isRepeatable:(BOOL)isRepeatable
DEPRECATED_MSG_ATTRIBUTE("Use reportWithProductID:value:currencyCode:isRepeatable");

- (instancetype)initWithConversionID:(NSString *)conversionID
label:(NSString *)label
value:(NSString *)value
isRepeatable:(BOOL)isRepeatable
DEPRECATED_MSG_ATTRIBUTE("Use initWithConversionID:label:value:currencyCode:isRepeatable");

- (instancetype)initWithProductID:(NSString *)productID
value:(NSString *)value
isRepeatable:(BOOL)isRepeatable
DEPRECATED_MSG_ATTRIBUTE("Use initWithProductID:value:currencyCode:isRepeatable");

@end