Focusing in-app Advertising to Help Maximize Ad Revenue
Matching ads to a user’s interest:
The AT&T Advertising API was created to provide an effective means to help you monetize your app with banner ads. A developer’s app can display ads provided through our ad service without supplying specific information about the end user. These are normally general ads, non-specific to the user’s interests, and can provide moderate revenue for the developer.
However, advertisers generally pay more for developers to display ads to users who are more apt to purchase the product advertised. But how do they determine a user’s interests and probability of interacting with an ad or product?
As a developer, using the optional parameters can increase the chance of delivering an ad that interests a specific user, while keeping the user’s identity anonymous and maintaining their privacy.
Optional advertising API parameters:
We’ll look at each of the parameters at a higher level in this post. You can find detailed information concerning the use of the AT&T Advertising API and optional parameters in the Advertising API documentation.
UDID is an identifier that is 30 characters or more in length. It is defined and assigned by the developer and unique for each user of their app. The developer can create their own identifier and store it locally within the app or can derive the UDID from device information. Apple’s Identifier for Advertisers (IDFA) and Google’s Advertising ID for Android can be used in this field.
Without knowing the specific identity of a user, this ID assists the ad network partners in gaining insight into a user’s ad interests, thereby allowing the ad networks to service more relevant ads to the user. Because the AT&T Advertising API provides ads from network partners with real-time bidding capabilities, the proper use of this parameter is essential to receiving more relevant and better paying ads.
Example 1 – UDID in JSON request
GET https://api.att.com/rest/1/ads?Category=Auto HTTP/1.1
Authorization: BEARER xyz123456789
Note: AT&T obfuscates this parameter value prior to sending it to the advertiser, and resets the value every 30 days.
Latitude and longitude are the most useful location parameters used by our ad network partners to supply ads relevant to the users’ location.
Example 2 – Location in JSON request
GET https://api.att.com/rest/1/ads?Category=Auto&Latitude=474151.0144&Longitude=-12210151098 HTTP/1.1
Authorization: BEARER xyz123456789
If latitude and longitude information is not available, the following parameters can be included in the request for U.S. users and should be considered in this order.
- Zip Code
- Area Code
This parameter actually identifies the category of your app, not a specific request for an ad category. For example, a developer may choose SPORTS category for an app that tracks sports scores and statistics. If our ad network partners have sports-related ads in their inventory, using that SPORTS category would notify them to send SPORTS ads to your app first. Choosing a category such as SPORTS will not limit the ads you receive to sports related ads only, it just indicates a priority. You can choose multiple categories if appropriate for your app. For example, choosing CHAT, SOCIAL, and COMMUNICATION would be a great way to enable your messaging app. A complete list of available categories can be found in the Advertising API documentation.
Example 3 – Category in JSON request
GET https://api.att.com/rest/1/ads?Category=SportsHTTP/1.1 X-HostCommonName: api.att.comAuthorization: BEARER xyz123456789Host: api.att.comUdid: 012266005922565000000000000000User-Agent: Apple-iPhone/501.347X-Target-URI: https://api.att.comConnection: Keep-Alive
AT&T Advertising API will allow you to forward a user’s gender and age group, if your app provides the opportunity for the user to supply that information. The age group values allowed are:
Example 4 – Demographics in JSON request
GET https://api.att.com/rest/1/ads?Category=Sports&Gender=m&AgeGroup=26-35HTTP/1.1 X-HostCommonName: api.att.comAuthorization: BEARER xyz123456789Host: api.att.comUdid: 012266005922565000000000000000User-Agent: Apple-iPhone/501.347X-Target-URI: https://api.att.comConnection: Keep-Alive
The more information you are able to provide in your ad request, the more relevant the ads will be for your user. This helps you, the developer, provide an experience that is enhanced by the ads. These considerations ultimately can lead to better monetization (payouts) for developers. Being able to supply users’ anonymous advertising ID and location significantly improves the ability to deliver targeted ads and is essential for getting the best value ads from networks with real-time bidding platforms. Categories and demographics also help networks determine ad choices and are easily included in the API request.
Remember, you must use best practices in collecting information from your users and comply with all applicable laws, rules, regulations and requirements for privacy and user consent.
We hope this series of blogs has helped you understand ways to monetize your apps quickly and effectively, add value to your users and, hopefully, maximize your revenue opportunity. Visit the AT&T Advertising API to learn more about how you can get started.