Fixed two examples

I committed some fixes in two examples (`urlshortner` and `customsearch`).

I was playing with the server keys and checked out these examples. :smile: