Monthly Archives: April 2014

Boost your channel’s recognition using new intro videos

Everyone knows the power of a good introduction. Imagine watching The Simpsons without its iconic opening sequence. Wouldn’t be the same, would it?


Many of you have asked us for a way to create a distinctive intro for your videos, so you can more easily build a consistent brand your fans will recognize. Well, game on. Starting today you can automatically add an intro video up to three seconds to the start of every video on your channel.

It only takes three easy steps to set up:

  1. Upload the three-second intro video you’d like to use to your channel as an unlisted video.
  2. On your channel's InVideo Programming page, click "Add a channel branding intro" and select the intro from a list of eligible videos.
  3. Select which videos you want the intro to appear on. You can choose whether to add it to all of your videos, or just the ones you’ve uploaded after a certain date. You can always remove or change the intro later.
Note that these intros may not be used as ads, sponsorships, or product placements. We also don't recommend this feature be used by channels using their videos as advertisements.

As always, we want to hear how things work out for you. Send us feedback from your YouTube dashboard, or via Google+ or Twitter.

Posted by John Gregg, YouTube Software Engineer

Changes to AdWords scripts execution logs

As part of our ongoing efforts to improve the performance of AdWords scripts, we are making some changes to the way we provide execution logs for scripts.

Starting May 15, 2014, we will only retain detailed execution logs for scripts that ran during the last 90 days. If you need to retrieve changes made by scripts from an earlier date, you can refer to your account’s change history.

If you have any questions about this change, let us know on the forum or on our Google Ads Developers Google+ page.

How to Create a Google Mobile Ads Splash Screen Interstitial on Android

Previously, we showed you how to create a splash screen interstitial on iOS. Today we’ll discuss how to trigger an interstitial on an Android app launch.

The cleanest solution is to have an app launch Activity for showing the splash screen image and loading/showing the interstitial. This special splash screen activity should be the activity that launches when the user starts the app. In the splash screen activity’s onCreate method, the first task is to make an ImageView and set it as the content view.


@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ImageView image = new ImageView(this);
// Assumes you have a resource with the name kitten.
image.setImageResource(R.drawable.kitten);
setContentView(image);

Next, create and load the interstitial ad. Setting an AdListener is needed in order to know when the ad succeeds or fails to load. If the interstitial loads within a reasonable time limit, we’ll show it. If it fails, we’ll move on to the main activity.


interstitial = new InterstitialAd(this);
interstitial.setAdUnitId(AD_UNIT_ID);
interstitial.setAdListener(new AdListener() {
@Override
public void onAdLoaded() {
if (!interstitialCanceled) {
waitTimer.cancel();
interstitial.show();
}
}

@Override
public void onAdFailedToLoad(int errorCode) {
startMainActivity();
}
});

The “reasonable time limit” mentioned earlier is enforced by creating a timer to stop waiting for the interstitial. If the interstitial doesn’t load fast enough (in this case 5 seconds), we skip it and proceed to the main activity.


waitTimer = new Timer();
waitTimer.schedule(new TimerTask() {
@Override
public void run() {
interstitialCanceled = true;
SplashScreenActivity.this.runOnUiThread(new Runnable() {
@Override
public void run() {
startMainActivity();
}
});
}
}, 5000);
} // end of onCreate implementation.

private void startMainActivity() {
Intent intent = new Intent(this, MainActivity.class);
startActivity(intent);
finish();
}

Handing Early Exits

The code so far assumes that the user will stay in the activity for the duration of the interstitial loading. But what if the user hits the back or home button before the interstitial loads or the timer goes off? The interstitial will actually continue loading and could be shown on top of the home screen! That would be a poor user experience.

We account for this edge case by implementing the onPause and onResume methods from the activity lifecycle. In onPause, we stop the timer and set the interstitialCanceled flag so the interstitial doesn’t get immediately shown. In onResume, we show the interstitial if it’s ready when the user returns to the app again, otherwise we start the main activity.


@Override
public void onPause() {
waitTimer.cancel();
interstitialCanceled = true;
super.onPause();
}

@Override
public void onResume() {
super.onResume();
if (interstitial.isLoaded()) {
interstitial.show();
} else if (interstitialCanceled) {
startMainActivity();
}
}

If you’re wondering why interstitialCanceled is checked again before starting the main application, it’s because onResume gets called immediately after onCreate the first time the app is loaded. And on the first app launch, we do want to wait for the interstitial to load.

A complete implementation is available in our googleads-mobile-android-examples repo on GitHub. Give us a shout on the forum if you have any questions about implementing the Google Mobile Ads SDK in your mobile applications. You can also find us on Google+.

New mobile apps for Docs, Sheets and Slides—work offline and on the go

Cross-posted on the Official Google Blog 

Every year, phones and tablets get better, and more of you are starting to use your mobile devices not just to view, but also to create and edit content. And while the Drive app is a convenient place to store your stuff, we want to make it easier for you to quickly find, edit and create documents, spreadsheets, and presentations on the go. Starting today, you can download new, standalone mobile apps for Docs and Sheets—with Slides coming soon. Need to find a spreadsheet? Go to the Sheets app. Need to create a document? Go to the Docs app. They’re all right there at your fingertips.

When you open the new apps, you’ll see your most recently edited files, which means less time searching and scrolling.


The apps also come with offline support built in, so you can easily view, edit and create files without an Internet connection. Now, if you have a brilliant idea for a best-selling novel while traipsing through the Amazonian rainforest (or you know, something more probable, like during flight takeoff)...no problem. You can jot down your idea in the Docs app on your phone, even when you’re offline.

You can get the apps on Google Play [Docs] [Sheets] and in the App Store [Docs] [Sheets]. If you don’t have time now, over the next few days you’ll be prompted to download the apps when you go to edit or create a document or spreadsheet in your Drive app. And of course, you’ll still be able to use the Drive app to view and organize all of your documents, spreadsheets, presentations, photos and more.

So enjoy the Amazon—we’re looking forward to buying that novel someday. And in the meantime, just remember: even if a crocodile eats your phone, your files are safe in the cloud!

Posted by Brian Levee, Product Manager

New mobile apps for Docs, Sheets and Slides—work offline and on the go

Cross-posted on the Official Google Blog 

Every year, phones and tablets get better, and more of you are starting to use your mobile devices not just to view, but also to create and edit content. And while the Drive app is a convenient place to store your stuff, we want to make it easier for you to quickly find, edit and create documents, spreadsheets, and presentations on the go. Starting today, you can download new, standalone mobile apps for Docs and Sheets—with Slides coming soon. Need to find a spreadsheet? Go to the Sheets app. Need to create a document? Go to the Docs app. They’re all right there at your fingertips.

When you open the new apps, you’ll see your most recently edited files, which means less time searching and scrolling.

The apps also come with offline support built in, so you can easily view, edit and create files without an Internet connection. Now, if you have a brilliant idea for a best-selling novel while traipsing through the Amazonian rainforest (or you know, something more probable, like during flight takeoff)...no problem. You can jot down your idea in the Docs app on your phone, even when you’re offline.

You can get the apps on Google Play [Docs] [Sheets] and in the App Store [Docs] [Sheets]. If you don’t have time now, over the next few days you’ll be prompted to download the apps when you go to edit or create a document or spreadsheet in your Drive app. And of course, you’ll still be able to use the Drive app to view and organize all of your documents, spreadsheets, presentations, photos and more.

So enjoy the Amazon—we’re looking forward to buying that novel someday. And in the meantime, just remember: even if a crocodile eats your phone, your files are safe in the cloud!

Posted by Brian Levee, Product Manager

Improved Gmail “Download all” experience for non-Latin-encoded filenames


This is a fix of the “Download Experience” for non-Latin-encoded filenames. Users of Windows and Linux will be able to select one of the supported encodings that will be shown in a list. Before this fix non-Latin-encoded filenames resulted in blank filenames.

Release Track:
Scheduled release

Editions included:
Google Apps for Business, Education and Government

whatsnew.googleapps.com
Get these product update alerts by email
Subscribe to the RSS feed of these updates

Change to ClickType value in AdWords API reports

We are making a minor change to the values returned in the ClickType column in AdWords API reports. Starting the week of May 26th, 2014, AdWords API reports will return "Product listing ad" instead of "Offer" as the display value for click types corresponding to Product Listing Ads.

If you depend on the ClickType field, verify that your applications won't be negatively affected by the change in value.

If you have questions or feedback about this change, let us know on our forum or via the Google Ads Developers Google+ page.

Photos picker in Gmail Compose

The "insert image" button in the Gmail compose window allows users to upload a picture or add an image by URL. In this launch, “insert image” button will be replaced with a new button that allows you to select a photo or album from Google Photos, upload a new image, or add an image by URL.

Release Track:
Scheduled release

Editions included:
Google Apps for Business, Education and Government

For more information:


whatsnew.googleapps.com
Get these product update alerts by email
Subscribe to the RSS feed of these updates

What’s Up on YouTube: Boxing, More Boxing and Migrating Birds

Las Vegas is built on showbusiness and right now the biggest show in town is the forthcoming fight to decide who will become the Welterweight Champion of the World, with the unbeaten Floyd Mayweather taking on Marcos Maidana. As part of the build-up to the bout, the Showtime Sports channel has produced an Emmy-nominated series profiling the fighters, which sits neatly alongside full-length fight footage and more, including Maidana’s 2010 loss to the UK’s Amir Khan at light welterweight — billed by Oscar De La Hoya as one of the fights of the decade. 


If that isn’t enough of the sweet science for you, British boxing legend Chris Eubank’s son, Chris Jr, has set up a channel documenting his progress in the ring. The latest uploads show him knocking out Hungarian champion Sandor Micsko in the second round of the their eight-round fight, taking his tally to 14 fights unbeaten. 

Another series of note to hit YouTube this week comes from TV naturalist Chris Packham, who, when he isn’t busy inserting The Smiths and David Bowie song titles into his BBC “Springwatch” scripts, is a keen birdwatcher. Troubled by the springtime tradition in Malta of shooting migrating birds — much of which is illegal — “Malta - Massacre on Migration” sees Packham talk to local campaigners, hunters and the local Police as he takes a closer look at a practice that many believe is impacting bird numbers across the whole of Europe.

For more highlights from across YouTube, head to the YouTube UK Spotlight channel to see the hottest videos of the day, stay abreast of what’s happening in the news and find out more about some of the trends making waves on the platform. And if it's music you want, give youtube.com/music a try -- what could possibly go wrong?

Jamie Dolling, YouTube UK, recently watched “Ed Sheeran F64”

Source: YouTube UK Blog


Encouraging schools to teach computer science

We recently told you about CS4HS, our program for high school and middle school computer science teachers. Today, there’s some additional news to share: the winners of our 2014 Europe, the Middle East and Africa CS4HS awards.

Twenty-six computer science education projects, from across 20 countries in Europe, Middle East and Africa, were chosen. All address training of computer science teachers in secondary schools and aim to spread best practice amongst educators.



Among the winners, the University of Stuttgart will host a teacher training workshop introducing computer science topics. Technion – Israel’s leading Institute of Technology — will give teachers access to a collaborative educational site featuring successful lesson plans and classroom idea. Kenya's Maseno University will offer sessions on mobile application development and IT leaders will be invited to discuss the value of a computer science degree and potential career paths.

Visit www.cs4hs.com to find out more and to access teacher resources such as online workshops, tutorials and information on computational thinking. Ongoing, year-round help is available by joining our Google+ Community which hosts Hangouts on Air with CS industry leaders, Googlers, and top educators. Our ultimate goal is ambitious — to “train the trainer,” develop a thriving community of high school Computer Science teachers, and above all, engage pre-university students about the awe and beauty of computing.