/**
* Provides ad extensions.
*/
private AdExtension[] adExtensionProvider() {
// Create location extension.
LocationExtension locationExtension = new LocationExtension();
locationExtension.setAddress(new Address("76 9th Ave", null, "New York", "NY", "NY", "10011",
"US"));
locationExtension.setGeoPoint(new GeoPoint(new Integer(40742412), new Integer(-74004378)));
String encoded = "qrvM3QDB3iJsdO58XYyix7YGjYhU+jHs3GR0J6uqpGp55fMTsorT5ZLH69crnCWnM3"
+ "FVAFDO9Un4HNbc5/ORF0Y8hZL/sPevCyxMrjZ2gmwbQwi2fvDB2J7RhyWSV4uWA3LT"
+ "0sdG2b22nH34uDh88XZyTyZMk0Fgc6wmmIwKSlUdYlyCzJ00Qd2JGboNgcWnVeHC8c"
+ "bGd4BzGR839qM7tGXlW5TvuGUs/lz3WjScPbHY8L0TfYcv2JV3c88di7qZJem7XV9I"
+ "Qqm3SFfWOwyC6K3y1v9p+V3twZoBCf02QVZFiohpTzau9Bj6hbXNoB7LKMHK1skduI"
+ "gs854r83tIp1FevrxVNp3S7npNDcQaNAMHoYzX8iDGASwR8sWg2JUYeiTns6AihCAp"
+ "QmwNTdYHhhgh75B9PqYpSA5ghBWr0xWpiZBnM9713DwvG4LCD2smG43VAGUUrCVknw"
+ "rMxS/XSoF6NMzAFi648SglPozoGrLPdQ/4IbaIr91yAJpegOGivQPQ7NMLc2ClnYt5"
+ "mj/IzHjNK7u1WDJFW2CF0Kw+/50zljzvWDVUiBxGha7da7ihyuR32D+uCJOM+HsCgA==";
locationExtension.setEncodedLocation(Base64.decodeBase64(encoded.getBytes()));
locationExtension.setCompanyName("Google");
locationExtension.setPhoneNumber("(212) 565-0000");
locationExtension.setSource(LocationExtensionSource.ADWORDS_FRONTEND);
return new AdExtension[] {locationExtension};
}