google ads/analytics sdks overview (android meetup 08-10)

36
Making Money, Tracking Usage Google mobile APIs in action! Jason Cooper Developer Programs Engineer [email protected] August 11th, 2010

Upload: jasonacooper

Post on 08-May-2015

2.650 views

Category:

Technology


1 download

DESCRIPTION

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

TRANSCRIPT

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

Making Money,Tracking Usage

Google mobile APIs in action!

Jason CooperDeveloper Programs Engineer

[email protected]

August 11th, 2010

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

Google + mobile = opportunity

Product areas:

Geo, location

Social, people

Advertising, analytics

Google Apps, product APIs

Hosting, tools

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

Google + mobile = opportunity

Product areas:

Geo, location

Social, people

Advertising, analytics

Google Apps, product APIs

Hosting, tools

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

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

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

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

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

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 APIGoogle Calendar Data APIGoogle Contacts Data APIGoogle Health Data APIYouTube Data API...

All: http://code.google.com/apis/gdata/docs/directory.html

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

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

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

Google + mobile = opportunity

Advertising, analytics

Ads:Mobile ads for apps

AdSense (AFMA)DoubleClick (DFP)AdMobAdWhirl

Mobile ads for contentMobile ads for search

Google Analytics for mobile

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

Mobile apps development lifecycle

BUILD

LAUNCHMANAGE

GROWMONETIZE

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

Tools to help you along the way

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

The monetization opportunity

Source: eMarketer, September 2009

$1.6B2013

Mobile advertising keeps growing

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

Monetize quickly and reliably with Google

Targeted ads ensure quality user experience

Large advertiser base & mobile sales force

High fill rates for inventory, from Day 1

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

AdMob

Monetize your appServe ads on iOS, Android, WebOS, and Flash LiteEasy integration with multiple installation optionsReal-time revenue reporting

Promote your AppMultiple ad formatsEasy setup — get more downloads in minutesCost effective user acquisition helps you grow your businessDownload tracking allows you monitor the impact of your advertising spend

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

Configuring AdMob

Open sign-ups at http://www.admob.com

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

Configuring AdMob

Open sign-ups at http://www.admob.com

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

Integrating AdMob

See complete LunarLander sample included with SDK

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

AdSense for Mobile Apps (AFMA)

AdSense for Mobile Apps enables you to earn revenue by placing targeted, relevant Google ads in your app.

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

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.

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

Integrating AFMA

Android SDK documentation:

http://code.google.com/mobile/ads/docs/android/

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

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 choiceSDKs available for Android and iOSOpen source

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

Configuring AdWhirl

Open sign-ups at http://www.adwhirl.com

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

Integrating AdWhirl

@Overrideprotected 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);

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

Google Analytics for mobile

Enables you to implement Google Analytics directly in your mobile appsGet a detailed report of your app's activity via the standard Google Analytics dashboard

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

Understanding your users

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

What you can learn from Google Analytics for mobile

Aggregate usage tracking

User engagement (visits, session length)

Devices / Carriers / etc

Flexible events

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

Active Customers

Measuring referrals from ads

Potential Customers

Open and Use App

Download App

Visit Android Market

4

3

2

1Click on Ad

Eliminate bottlenecks in your conversion process by identifying where you lose visitors and reinforcing successful paths.

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

Integrating Google Analytics

Open sign-ups at http://www.google.com/analytics/Download SDKs from http://code.google.com/mobile/analytics/

Current platforms:

Android (native SDK)iPhone OS (native SDK)high-end mobile devices (JavaScript API)low-end mobile devices (server-side integration)

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

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.

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

Native SDKs: dispatching

The Google Analytics SDKs for Android and iPhone OS support two methods of event dispatching:

ManualYou define exactly when events are dispatched to the Google Analytics service

IntervalYou define the number of seconds between dispatches.

Sending outbound HTTP requests is expensive -- optimize your app's performance by batching requests and dispatching infrequently.

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

Android SDK: starting the tracker

GoogleAnalyticsTracker tracker;

@Overrideprotected 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);

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

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"); }});

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

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 }});

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

Android SDK: manual dispatching

tracker.dispatch();

NOTE: You only need to do this if you did not specify an interval when starting the tracker.

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

Android SDK: stopping the tracker

tracker.stop();

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

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!

http://code.google.com/apis/mobileanalytics/docs/android/

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

Making Money,Tracking Usage

Google mobile APIs in action!

Jason CooperDeveloper Programs Engineer

[email protected]

August 11th, 2010