WebProNews

Tag: APIs

  • AdWords Account Managers Get New Alerting Framework

    AdWords Account Managers Get New Alerting Framework

    Google announced a new Alerting Framework for AdWords to help account managers (particularly those managing multiple accounts) quickly solve issues and maintain ad quality.

    The framework can download AdWords report data, combine it with other data feeds, and process it according to specified alert rules and actions in the configuration.

    The framework and sample alerts can be found on the AdWords GitHub repository.

    “You can use our sample alerts to explore how it works or set up your own fully customized logic,” Google says on GitHub. “The alerts available through this tool cater to both new and experienced users. Users can set up simple alerts with sample alert entities, or implement custom alert entities through the interfaces and plug into the system.”

    Google is also looking for feedback via the project issue tracker, AdWords API forum, and Google+ page.

  • Google Launches Consumer Surveys API To Integrate Surveys Into Your Apps

    Google announced a new API for Google Consumer Surveys built on Google Cloud Platform to let developers create and integrate surveys as part of their mobile or web apps.

    “We’ve spoken to research and non-research companies who are really interested in bringing the power of our Consumer Surveys tool into their own applications, and with this launch it’s finally possible,” says product manager Dylan Lorimer. “We imagine many different use-cases to tap into the millions of respondents our platform can connect you with, across a dozen or more markets around the world.”

    “Leading up to our launch we worked closely with a handful of trusted testers who provided valuable feedback,” he says. “These have included proprietary solutions to manage studies conducted on the Google Consumer Surveys platform (Kantar), predictive analytics solutions (Predictvia), and solutions that help customers visualize their Google Consumer Surveys data (MarketSight). We look forward to working with developers to build unique solutions that empower individuals and businesses to make better data driven decisions.”

    You can find everything you need to know about Google Consumer Surveys here.

    Image via Google

  • Google Search Console API Gets A Few Updates

    Google Search Console API Gets A Few Updates

    Google’s John Mueller announced in a Google+ post that there have been a handful of updates to the Search Console API (formerly the Webmaster Tools API). This is the API that lets you add sites to a Search Console account, retrieve data and diagnostics, and submit sitemaps.

    One update is the addition of pagination in Search Analytics. You can request over 5000 rows of data for your site without having to iterate through filters, he says.

    Additionally, crawl errors now include “linked from” info from the start. See urlCrawlErrorsSamples.list here.

    Finally, the API has higher and clearer quotas.

    Mueller says he’d like to see what you make with the API, and encourages sharing in the comments of his post.

    Image via Google

  • Google Announces Full Swift Support For Mobile Ads

    Google announced that its mobile adds now fully support Swift, the iOS programming language Apple launched in 2014 and open sourced last last year.

    Google says it has seen an increase in requests from publishers to fully support Swift in the Google Mobile Ads SDK, and has responded by releasing example apps built in Swift, adding code snippets throughout its developer docs, and adding Swift API reference docs to its developer sites.

    “The Google Mobile Ads SDK team is committed to supporting Swift, and we’ll continue to update our SDK, developer docs, and example apps to ensure we provide publishers with full support for the latest version of Swift,” says Tristan Emrich with Google Mobile Ads developer relations. “Whether you currently develop your iOS apps in Swift, or have plans to do so in the future, we hope the actions we’ve taken to support Swift in our SDK will help make your experience with Swift more enjoyable and your transition to Swift a whole lot easier.”

    Emrich notes that Google’s GitHub repo now has Swift example apps for banners, interstitials, and native ads for AdMob and DFP. They’ve also added a Swift version to their API demo app.

    “The API Demo app demonstrates features of the Google Mobile Ads SDK, such as new ways to customize ad requests, experiment with multiple ad sizes, and compare AdMob and DFP technologies, to help you improve the user experience and maximize ad revenue,” says Emrich.

    They’ve also added Swift code snippets to the AdMob, DFP, and AdX developer docs and Swift API reference docs to the AdMob and DFP developer sites.

    Image via Apple

  • Square Launches Register and Ecommerce APIs

    Square Launches Register and Ecommerce APIs

    Square just announced the launch of Build with Square, which is a new set of APIs being made available to sellers and the developers they work with. There’s a Register API, which enables any iOS point of sale to be customized to process payments with Square, and an ecommerce API, which lets sellers use Square to process online payments on their own self-hosted sites.

    A spokesperson for Square tells WebProNews, “With these new set of tools we’re helping sellers of all kinds join the Square ecosystem and run every part of their business in one place. Sellers can now identify what and when customers are purchasing online and in-store all in one place. Now no matter what you sell, or how you sell it, you can sell with Square.”

    “Independent businesses have been poorly served by existing commerce solutions, which require them to laboriously piece together hardware, software, and payments services from many different vendors,” the company says in a blog post announcing the news. “From payments to point of sale, financing to payroll, we believe all sellers — big or small, online or offline — should be able to start, run, and grow their entire business with one cohesive system.”

    With the Register API, developers can tell Square how much they want to charge a customer and “let Square Register to the heavy lifting” with just two API calls. Customers can pay like they would with any other Square merchant and get text, email, or printed receipts. The API supports all Square hardware, including Square Stand and the Square Contactless + Chip Reader.

    Make an API request (see code here), and Square Register comes to the foreground and completes the payment. After that, it will call your app back with the result.

    register-api-example-app-contactless-chip-reader

    Square developer platform software engineer Jianliang Zhao discusses the ecommerce API and points to documentation here.

    Jack Dorsey is pleased with it.

    “Now any developer can build solutions for their customers to take payments on a website using Square,” writes Zhao. “Whether you’re getting started selling online with Square’s Online Store; you’re growing through Square’s integrations with eCommerce platforms like Bigcommerce, Weebly, and Ecwid; or now, you’re building a custom website, any business can scale online with Square payments. What’s more, with our eCommerce API, Square takes the hassle out of PCI compliance without interfering with the design or look and feel of your website or re-directing customers off-site.”

    He notes that Square’s JavaScript library uses transparent, dynamically styled iframes to accept sensitive cardholder info so this data never touches your web site or servers.

    While only the two APIs were announced, it will be interesting to see what else Square enables developers to do in the future under the Build with Square banner.

    Images via Square

  • Google API Console Launched, Separate From Cloud Console

    Google API Console Launched, Separate From Cloud Console

    Google announced the introduction of the Google API Console to give developers a better and more streamlined experience compared to existing Cloud Console.

    Console.cloud.google.com will stay the same, pointing to Cloud Console, which includes all Google Cloud Platform services. The new API Console is at console.developers.google.com, and focuses completely on the Google API experience.

    “There, you’ll find a significantly cleaner, simpler interface: instead of 20+ sections in the navigation bar, you’ll see API Manager, Billing and Permissions only, says product manager Israel Shalom.

    “The purpose of the new API Console is to let you complete common API-related tasks quickly,” he says. “For instance, we know that once you enable an API in a new project, the next step is usually to create credentials. That’s why we’ve built the credentials wizard: a quick and convenient way for you to figure out what kind of credentials you need, and add them right after enabling an API.”

    Google will make tweaks to the experience as time goes on, and encourages developers not to be shy about feedback for that purpose.

    Image via Google

  • Bing Previews New Search APIs

    Bing Previews New Search APIs

    Microsoft announced a preview of its new Bing Search APIs, and invited developers to test them out.

    The APIs can be used to search across hundreds of billions of web pages, images, videos, and news results. They also provide autosuggest services, assistive services like spell check and adult intent signal, access to trending topics (including news, images, and videos), and the ability to filter image and video results by size, license, style, and price.

    “The new Bing Search APIs use the same core Bing platform and features that hundreds of millions of monthly users rely on for search across Bing, Cortana, Office, and trusted external partners,” says Gurpreet S Pall, Director of Program Management for Bing for Partners. “Developers at any level—startups looking to stand out with the ‘next big thing,’ enterprise teams making existing applications easier and smarter, or search leaders seeking a best-in-class platform— have instant access to our new search APIs.”

    “The new APIs are REST APIs that follow the latest structured data standards (Schema.org, JSON-LD), making them easy to implement, with the same reliability and support that has made Bing a trusted search service for many industry leaders,” Pall adds.

    All you have to do to get access to the new APIs is email Bing at partnerwithbing@microsoft.com.

    Image via Bing

  • Google Integrates Places API with Google Maps Search

    Google announced that it has integrated the Places API with Google Maps search in an effort to offer more consistent search results across Google Maps and the API and provide better search quality for API responses.

    The company said it is modifying how it supports place type restrictions in the Places API web service and JavaScript library. As of February 8, they have replaced the types restriction parameter with a new type search parameter.

    This impacts developers who have been using the types parameter for Nearby Search, Text Search, or Radar Search.

    “Type search works similarly to types restriction, but it only supports one type per request,” said Google’s Marcelo Camelo. “Requests using the types parameter and those specifying multiple types (for example, types=hospital|pharmacy|doctor) will continue to return results until Feb 8, 2017, but we do not recommend using multiple types in a search request. After that date, requests with multiple types will no longer be supported. To ensure the best possible search results for your users, we recommend using a single type in search requests.”

    Google is also changing the list of supported types, dropping the types establishment, food, health, general_contractor, finance, and place_of_worship. These will no longer be available as searchable types as of February 8, 2017. The types will still be returned in search and details results.

    Image via Wikimedia Commons

  • Google Gives Developers Users’ Private Addresses, Phone Numbers, Etc. With New People API

    Google Gives Developers Users’ Private Addresses, Phone Numbers, Etc. With New People API

    Google announced the new People API, which lets developers retrieve data about authenticated users’ connections from their Contacts.

    Whereas in the past, developers had to make multiple calls to the Google+ API for user profiles and the Contacts API for contacts, they can now get the best of both worlds with a single API.

    Google says the People API utilizes the newest protocols and technologies and will eventually replace the Contacts API (which uses the GData protocol). The company says in a post on its developer blog:

    For example, if your user has contacts in her private contact list, a call to the API (if she provides consent to do so) will retrieve a list containing the contacts merged with any linked profiles. If the user grants the relevant scopes, the results are returned as a people.connections.list object. Each person object in this list will have a resourceName property, which can be used to get additional data about that person with a call to people.get.

    The API is built on HTTP and JSON, so any standard HTTP client can send requests to it and parse the response. However, applications need to be authorized to access the APIs so you will need to create a project on the Google Developers Console in order to get the credentials you need to access the service. All the steps to do so are here. If you’re new to the Google APIs and/or the Developers Console, check out this first in a series of videos to help you get up-to-speed.

    Not only does the new API combine the purposes of two others, it includes additional data that wasn’t available before, including private addresses, phone numbers, emails, and birthdays. This of course is only for users who have given permission.

    You can find the People API documentation here. Additional details are available here.

    Image via Google

  • Google Extends AdWords Manual Location Extension Sunset

    Google Extends AdWords Manual Location Extension Sunset

    In December, Google launched of the Google My Business API aimed at making it easier for big businesses and third parties to integrate with the Google My Business platform and publish updates to customers on Google Search and Google Maps.

    The API was actually announced a couple months before that when Google also said it would sunset manual location extensions in AdWords. Today, the company announced some adjustments for that sunset.

    In a brief post on the AdWords Developer blog, Timo Bozsolik from the AdWords API team writes, “To give developers more time to migrate their locations from AdWords to Google My Business, we have decided to extend the manual location extensions sunset and voluntary migration deadline beyond March 31.”

    “Existing locations in AdWords will not be auto-migrated until further notice,” he adds.

    Google will announced the revised sunset timeline and more details about auto-migration on the AdWords Developer blog sometime in the future. The company apologized to developers for inconveniences it may have caused.

    You can learn more about the new Google My Business API here.

    Image via Google

  • These 5 Google Search APIs Are Going Away Next Month

    These 5 Google Search APIs Are Going Away Next Month

    All the way back in 2011, Google announced that it would shut down a number of APIs, including several search-related ones. Some of them, however, have remained available. Now, these are about to completely go away.

    In a post on the Google Developers Blog, Cloud Platform technical program manager Vijay Subramani writes:

    Back in 2011, we announced the deprecation of the following APIs: Google Patent Search API, Google News Search API, Google Blog Search API, Google Video Search API, Google Image Search API. We supported these APIs for a three year period (and beyond), but as all things come to an end, so has the deprecation window for these APIs.

    We are now announcing the turndown of the above APIs. These APIs will cease operations on February 15, 2016.

    Subramani notes that you can check out Google’s Custom Search API as an alternative for any of the ones that are going away.

    Additional APIs Google discontinued (as announced in 2011) include: Books Data, Books JavaScript, Safe Browsing v1, Translate, Transliterate, and Virtual Keyboard.

    Image via Google

  • Google Now Offers A Knowledge Graph Search API

    Google Now Offers A Knowledge Graph Search API

    Google’s Freebase recently announced the Knowledge Graph Search API, which will enable developers to query the Knowledge Graph for entities.

    The API uses standard schema.org types and is compliant with JSON-LD specifications. Freebase says it’s working on a replacement for the Freebase Suggest Widget that leverages the Knowledge Graph Search API. They hope to release that early next year.

    “In December of last year, we announced that we would wind down the Freebase service and transfer the data to Wikidata,” Freebase says in a Google+ update (via Search Engine Land). “We also made a commitment to continue to support users of the Freebase API by creating a replacement API that would help with searching the Knowledge Graph.”

    “We will continue to support the Freebase API and widget for three full months after the Suggest Widget replacement is released, at which point we will shut it down,” they say.

    You can stay up to date on developments via the Google Developers channel.

    Image via Google

  • Google My Business Gets An API

    Google My Business Gets An API

    This week, Google announced the launch of the Google My Business API aimed at making it easier for big businesses and third parties to integrate with the Google My Business platform and publish updates to customers on Google Search and Google Maps.

    One way businesses can use this is to set special holiday season hours (a feature Google added last month), and update them across all locations through an API.

    Developers will be able to use the API to create locations with names, addresses, phone numbers, categories, business hours, etc. They’ be able to manage special hours, mark a business location as permanently closed, manage business photos, list/invite/remove managers on locations and business accounts, read listing state to identify Google update, duplicate and suspended locations, search/filter locations by name/category/label, and set the service area for a business by specifying a point and radius or Place ID.

    You can see a sample java function to create a new location and set special hours here.

    To work with the API, you’ll need to have a basic knowledge of RESTful APIs. Otherwise, you might want to stick with the Google My Business user interface.

    You can get started with the API here.

    Image via Google

  • Facebook Improves Embedding For Developers

    Facebook Improves Embedding For Developers

    Facebook announced the launch of improved embedding tools for developers including the Embedded Video Player API and oEmbed support.

    The company first introduced the interactive embedded video player earlier this year. This enables websites to embed Facebook videos, which have rapidly grown in popularity over the past year.

    The new API helps developers embed videos on their sites more easily with more customization control. New features include autoplay (with or without sound), volume control, playlists, player controls, event/error handling, and custom buttons/thumbnails.

    “The video platform company uStudio leveraged the new API to create two videos with customized overlays,” says Facebook’s Lucas Cheon. “The Selena Gomez video player from Interscope Records is a fully customized version of the Facebook embed using the Facebook chromeless player. It features links to concert tickets, social sharing to Facebook pages and Instagram, as well as a way for fans to subscribe to the Selena Gomez email list.”

    “oEmbed is an open standard that manages all the technical details required to embed things from Facebook, making it even easier to embed public articles, videos, and other posts from Facebook on your site by simply copying and pasting a URL,’ Cheon explains. “Starting today, you can build oEmbed support for your CMS — for implementation details, please read our oEmbed documentation. Once your CMS supports oEmbed for Facebook, you and your clients can embed Facebook posts and videos quickly, with no need for screenshots or code changes.”

    Documentation for the API and oEmbed are here and here respectively.

  • Google Reportedly Adds Another App Indexing-Related Ranking Signal

    Google Reportedly Adds Another App Indexing-Related Ranking Signal

    Back in February, Google announced two major mobile ranking signals back in February. The one that got the most attention and the nickname “Mobilegeddon” was a site’s “mobile-friendliness”. The other one was app indexing. Google would show content from apps to users when they had the apps installed.

    READ: How To Set Up App Indexing For Ranking In Google

    In April, Google announced that it had indexed 30 billion links within apps and that it would start showing Android users apps in search results even if the user doesn’t already have the app installed.

    In July, we learned that Etsy sellers were seeing significant benefits from the signal, and they’re surely not alone.

    Now, Google reportedly adding a new ranking factor for apps that use the App Indexing API. This was announced at the SMX East conference. Barry Schwartz at Search Engine Roundtable reports:

    On the panel, Mariya Moeva from Google announced several things around App Indexing, but got everyone’s attention pretty quickly when she announced there is an additional ranking boost, on top of the original app ranking boost, for using the App Indexing API.

    Why is there a new boost? Mariya explained that with the new API, Google is able to know start and end times of use of the app and pages within the app, amongst other important data points.

    At first, Google only made app indexing available on Android, but in May, they started indexing some iOS app content.

    This week, the company posted new documentation for that, which you can find here.

    Image via Google

  • Pinterest Opens Developer Sandbox

    Pinterest Opens Developer Sandbox

    Pinterest announced the opening of its developer sandbox enabling any developer to access its API and start building apps and integrations.When a developer is ready to launch it publicly, they can submit it for review and what Pinterest calls a “quick” approval.

    “Earlier this year, we launched the Pinterest Developers Platform, a suite of endpoints for building apps and integrations that bring Pins to life and help people do more with their Pins,” a spokesperson for Pinterest tells us. “By opening the platform to further development and creativity, people will have more ways to take action with their Pins.”

    So far, developers have submitted over 5,000 ideas for apps and integrations, the company says. These include recipe recommendation apps, travel planning apps, gift registry integrations, publisher integrations, etc.

    “Over the past few months, we’ve been working with developers including IFTTT, Polyvore and Topshop to launch the first Pinterest integrations,” the spokesperson says. “In that time, Polyvore increased their traffic from Pinterest by 35 percent, and the number of Pins saved from Polyvore has jumped tenfold. The number of Pins being saved from IFTTT has grown 33 percent week over week.”

    There’s a case study from Polyvore here.

    Developers must agree to terms and policies, and then they’ll be able to add a select number of testers and collaborators as they build their apps. When a user authenticates, apps will gain access to pins, boards, profiles, and follows. There are SDKs for Android, iOS, and Javascript.

    Here’s a technical overview. There’s also a sample app you can check out and view the source code for.

    Earlier this month, Pinterest announced that it has over 100 million users.

    Image via Pinterest

  • Amazon Web Services Adds New APIs For Testing Access Control Policies

    Amazon Web Services announced two new APIs for AWS Identity and Access Management (IAM) that lets you automate validation and auditing of permissions for IAM users, groups, and roles. They let you call the IAM policy simulator with the AWS CLI or any AWS SDK.

    The new iam:SimulatePrincipalPolicy API lets you programmatically test existing IAM policies to verify that policies work properly and identify specific statements in a policy that grant or deny access to specific resources or actions.

    Amazon explains:

    Simulate the set of IAM policies attached to an IAM entity against a list of API actions and AWS resources to determine the policies’ effective permissions. The entity can be an IAM user, group, or role. If you specify a user, then the simulation also includes all of the policies attached to groups that the user is a member of.

    You can optionally include a list of one or more additional policies specified as strings to include in the simulation. If you want to simulate only policies specified as strings, use SimulateCustomPolicy instead.

    The simulation does not perform the API actions, it only checks the authorization to determine if the simulated policies allow or deny the actions.

    The iam:SimulateCustomPolicy API will let you test the effects of new and/or updated policies that aren’t attached to users, groups, or roles.

    Brigid Johnson from Amazon Web Services walks you through utilizing the APIs in a blog post here. You can find documentation here and further discussion in a forum here.

    Image via Amazon

  • Google Will Soon Shut Down CSV Download Scripts

    Earlier this month, Google announced the Search Analytics API to make the data from the Search Analytics feature in Google Search Console accessible for developers. The company said it wanted to help people bake search performance data into their apps and tools.

    Now that this has been made available, Google announced that it is getting rid of the old CSV download scripts for information on queries and rankings. They’ll be turning off access to downloads of these on October 20.

    In a quick post on the Google Webmaster Central blog, Webmaster Trends analyst John Mueller writes:

    These download scripts have helped various sites & tools to get information on queries, impressions, clicks, and rankings over the years. However, they didn’t use the new Search Analytics data, and relied on the deprecated Client Login API.

    Farewell, CSV downloads, you’ve served us (and many webmasters!) well, but it’s time to move on. We’re already seeing lots of usage with the new API. Are you already doing something neat with the API? Let us know in the comments!

    Mueller said earlier this month that if yuo’ve used any of Google’s other APIs or one of the existing Search Console APIs, it will be easy to get started with the new Search Analytics API.

    The API can be used to verify the presence of data, and can be used for things like top ten queries by click count, top ten pages, top ten queries in India, or top ten mobile queries in India. These are just examples.

    Image via Google

  • Facebook Adds Features To Graph API Explorer

    Facebook Adds Features To Graph API Explorer

    Facebook says one of its most popular developer tools is the Graph API Explorer, which lets them authenticate, make API requests and debug. The company has been actively seeking feedback on the tool to come up with improvements, and on Tuesday it announced some new features.

    The new features are aimed at improving the experience for code generation, history/favorites, and the interface.

    For code generation, developers can now click “Get Code,” to copy-paste a request in Android SDK, iOS SDK, Javascript SDK, PHP SDK, or cURL (as pictured above).

    On the favorites/history front, developers can now interact and replay requests in the Graph API Explorer with both methods. By using history, you can retrieve recent method calls from your app admin and developer devices to be able to replay them directly in the tool.

    graph-api1

    With favorites, you can bookmark important or frequently used requests.

    graph-api2

    “In an effort to simplify interactions with our tools, we’ve also streamlined two commonly used features in the Graph API Explorer interface,” Facebook says.

    The HTTP request method, version selector, and path have been combined into one component.

    graph-api3

    Additionally, the Token Debugger tool has been combined within the Access Token section. Facebook says this should eliminate the need to switch between browser tabs when debugging access tokens. Developers will no doubt appreciate this.

    graph-api4

    The company is continuing to seek feedback on the Graph API Explorer for future improvements.

    Images via Facebook

  • Twitter Launches Full-Archive Search API

    Twitter Launches Full-Archive Search API

    Last year, Twitter updated its search feature to enable users to search every tweet ever tweeted. Now, they’re making all of these tweets available via a new search API – the Full-Archive Search API.

    Twitter acquired GNIP (also last year) to make data more accessible, and with the new API they’re doing just that. In fact, it builds on products already offered via GNIP. Twitter’s Adam Tornes explains in a blog post:

    Dr. Carl Sagan once famously said, “You have to know the past to understand the present.” For brands to most effectively analyze Twitter data in the present, they also need to know what’s happened in the past. This is the case whether you’re talking about messaging and advertising campaigns or developing new products. Gnip’s Historical PowerTrack and 30-Day Search API tools were developed with these pressing customer needs in mind. Today we’re extending our historical product offerings with the launch of our Full-Archive Search API.

    This new product builds off of our existing 30-Day search solution and extends the available window of instant and complete Twitter access to a span of more than nine years… and counting. The Full-Archive Search API will now allow Gnip customers to immediately search for any historical public Tweet — ever.

    The offering is geared toward enterprises and is considered a premium feature. In other words, it’s not just free to everyone.

    Twitter says partners can use the API to inform new product launches, create instant real-time data activity benchmarks for ad campaigns, provide instant historical insights to new customers of analytics solutions, and explore historical Twitter activity for context when responding to customer service inquiries.

    This is actually the second announcement from Twitter in the past week that gives enterprises tools to improve customer service. The company partnered with Sprout Social on a new suite of tools to help brands provide better customer service. This concerns a pilot of programmatic access to impression and engagements data, which is aimed at helping brands prioritize conversations, get insights, and measure audience. Oracle will release a related solution soon, Twitter says. More on that here.

    Image via Garrett Heath, Flickr Creative Commons

  • Facebook Gives Developers Marketing API Reference App

    Facebook Gives Developers Marketing API Reference App

    Facebook announced the launch of its first reference app for the Marketing API aimed at helping developers get their products built and shipped more quickly and efficiently.

    The company says it has heard from developers over the years about challenges in getting started with the API. Some find it difficult to figure out what they’re final product is going to look like just from looking at reference docs.

    “Using the reference application can save up to hundreds of hours of coding and design time in building a new application,” a spokesperson for Facebook tells WebProNews.

    “Developers get started quickly with the Marketing API by building on and modifying Facebook’s supplied examples,” the spokesperson says. “Facebook is providing sample interfaces and code for common elements such as ads creation, ads management, and ads insights.”

    You can grab the app from the new Facebook Marketing Developers resource center.

    The company says it wants feedback, suggestions and input on the first version of the app.

    Image via Facebook