Google Ads/Analytics SDKs overview (Android meetup 08-10)


Published on

Overview presentation of Google mobile developer products with particular emphasis on AFMA, AdMob, and AdWhirl as well as Google Analytics for Android.

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Google Ads/Analytics SDKs overview (Android meetup 08-10)

  1. 1. Making Money, Tracking Usage Google mobile APIs in action! August 11th, 2010 Jason Cooper Developer Programs Engineer
  2. 2. Google + mobile = opportunity Product areas: Geo, location Social, people Advertising, analytics Google Apps, product APIs Hosting, tools
  3. 3. Google + mobile = opportunity Product areas: Geo, location Social, people Advertising, analytics Google Apps, product APIs Hosting, tools
  4. 4. Google + mobile = opportunity Geo, location Google Maps JavaScript API v3: Embed Google Maps in your mobile web sites Google Latitude API: Retrieve your user's current location and location history Google Places API: Get information about an establishment, geographic location, or prominent point of interest
  5. 5. Google + mobile = opportunity Social, people Google Buzz API: Search, read, update, and share Buzz posts, content, and metadata OpenSocial: Create apps that access a social network's friends and activity feeds
  6. 6. Google + mobile = opportunity Google Apps, product APIs Google Data client libraries for Objective-C, Java, etc. allow your mobile back-ends and apps to interface directly with: Blogger Data API Google Calendar Data API Google Contacts Data API Google Health Data API YouTube Data API ... All:
  7. 7. Google + mobile = opportunity Hosting, tools Google App Engine: Build and host your mobile sites or app back-ends on Google's scalable infrastructure Google Web Toolkit: Quickly build highly optimized, complex browser-based mobile applications using only Java
  8. 8. Google + mobile = opportunity Advertising, analytics Ads: Mobile ads for apps AdSense (AFMA) DoubleClick (DFP) AdMob AdWhirl Mobile ads for content Mobile ads for search Google Analytics for mobile
  9. 9. Mobile apps development lifecycle BUILD LAUNC MANAGE H GRO MONETIZE W
  10. 10. Tools to help you along the way
  11. 11. The monetization opportunity Mobile advertising keeps growing $1.6B 2013 Source: eMarketer, September 2009
  12. 12. Monetize quickly and reliably with Google Targeted ads ensure High fill rates for quality user Large advertiser base inventory, from Day 1 & mobile sales force experience
  13. 13. AdMob Monetize your app Serve ads on iOS, Android, WebOS, and Flash Lite Easy integration with multiple installation options Real-time revenue reporting Promote your App Multiple ad formats Easy setup — get more downloads in minutes Cost effective user acquisition helps you grow your business Download tracking allows you monitor the impact of your advertising spend
  14. 14. Configuring AdMob Open sign-ups at
  15. 15. Configuring AdMob Open sign-ups at
  16. 16. Integrating AdMob See complete LunarLander sample included with SDK
  17. 17. AdSense for Mobile Apps (AFMA) AdSense for Mobile Apps enables you to earn revenue by placing targeted, relevant Google ads in your app.
  18. 18. Signing up for AFMA AFMA is in beta and sign-ups are currently closed. To apply: 1. Sign up for AdSense or login to your existing account. 2. Select "AdSense for Mobile Applications" product to apply. 3. Once your application is approved, you will receive an email with instructions to access the SDK and App Manager.
  19. 19. Integrating AFMA Android SDK documentation:
  20. 20. AdWhirl AdWhirl allows you to display ads from AdMob, AdSense, and other ad networks as well as your own house ads. Flexible -- supports unlimited ad networks of your choice SDKs available for Android and iOS Open source
  21. 21. Configuring AdWhirl Open sign-ups at
  22. 22. Integrating AdWhirl @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Instantiate the AdWhirlLayout AdWhirlLayout adWhirlLayout = new AdWhirlLayout(this, ADWHIRL_KEY); // Configure layout params, ad size RelativeLayout.LayoutParams params = RelativeLayout.LayoutParams(320, 50); // Add AdWhirlLayout to parent layout layout.addView(adWhirlLayout, params);
  23. 23. Google Analytics for mobile Enables you to implement Google Analytics directly in your mobile apps Get a detailed report of your app's activity via the standard Google Analytics dashboard
  24. 24. Understanding your users
  25. 25. What you can learn from Google Analytics for mobile Aggregate usage tracking User engagement (visits, session length) Devices / Carriers / etc Flexible events
  26. 26. Measuring referrals from ads Potential Customers 1 Click on Ad Eliminate bottlenecks 2 Visit Android Market in your conversion process by identifying where you lose visitors 3 Download and reinforcing App successful paths. 4 Open and Use App Active Customers
  27. 27. Integrating Google Analytics Open sign-ups at Download SDKs from Current platforms: Android (native SDK) iPhone OS (native SDK) high-end mobile devices (JavaScript API) low-end mobile devices (server-side integration)
  28. 28. Native SDKs Track user interaction via: Pageviews: You decide when to record "pageviews" in your app, e.g. when a user selects a tab or triggers a popover view. Events: Events records other in-app actions such as button taps, shakes, etc.; they can be grouped and named. Mobile activity is displayed using the same UI that you are already accustomed to if you use Google Analytics to track activity across web pages.
  29. 29. Native SDKs: dispatching The Google Analytics SDKs for Android and iPhone OS support two methods of event dispatching: Manual You define exactly when events are dispatched to the Google Analytics service Interval You define the number of seconds between dispatches. Sending outbound HTTP requests is expensive -- optimize your app's performance by batching requests and dispatching infrequently.
  30. 30. Android SDK: starting the tracker GoogleAnalyticsTracker tracker; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); tracker = GoogleAnalyticsTracker.getInstance(); // Start the tracker in manual dispatch mode... tracker.start("UA-ACCOUNT_ID", this); // ... or dispatch every set number of seconds tracker.start("UA-ACCOUNT_ID", 20, this);
  31. 31. Android SDK: tracking pageviews createPageButton.setOnClickListener( new OnClickListener() { @Override public void onClick(View v) { // Examples: // tracker.trackPageView("/help"); // tracker.trackPageView("/level2"); // tracker.trackPageView("/uploadScreen"); tracker.trackPageView( "/createNewPageScreen"); } });
  32. 32. Android SDK: tracking an event createEventButton.setOnClickListener( new OnClickListener() { @Override public void onClick(View v) { tracker.trackEvent( "video", // Category "pause", // Action "Pilot", // Label 37709); // Value } });
  33. 33. Android SDK: manual dispatching tracker.dispatch(); NOTE: You only need to do this if you did not specify an interval when starting the tracker.
  34. 34. Android SDK: stopping the tracker tracker.stop();
  35. 35. Android SDK: tracking referrals The Google Analytics SDK automatically uses the referrer URL parameter from Android app download links to populate referral and campaign information for your application!
  36. 36. Making Money, Tracking Usage Google mobile APIs in action! August 11th, 2010 Jason Cooper Developer Programs Engineer