Buyer SDK ads use creatives rendered by your own SDK.
Mobile app inventory from publishers who integrate your bidding adapter into their app can accept bids with the buyer SDK rendered ad format. How they render is based on your SDK implementation and the SDKRenderedAd you submit in the bid response.
You can place a bid including either a buyer SDK rendered ad, or any other ad format supported by the Google Mobile Ads SDK, but any bids containing both are filtered.
Requirements
Buyer SDK ads are available to approved buyers. This format requires extra effort from you and the publisher. Contact your Technical Account Manager to configure your account for buyer SDK ads. Then you can implement a Bidding adapter that enables your SDK to communicate with the Google Mobile Ads SDK. The publisher needs to integrate your SDK and adapter into their mobile apps.
We recommend you submit creatives for review before including them in a bid response. Contact your Technical Account Manager if you don't know the creative type at bid time.
If a bid request supports this ad format, you can specify an ad that
renders with your SDK by setting the sdk_rendered_ad
field in the bid
response.
Bid request
Bid requests for mobile app inventory include details about the SDKs and adapters in the publisher's app that you can use for rendering in the following fields:
- SDK ID
You can use the bid request to find the
id
that you must provide in the bid response for a buyer SDK rendered ad.See the following fields:
- Authorized Buyers:
BidRequest.mobile.installed_sdk
- OpenRTB:
BidRequest.app.ext.installed_sdk
- Authorized Buyers:
You can learn more about the
InstalledSdk
message in the Google and OpenRTB protocol guides.
Bid response
Your bid response must include an SdkRenderedAd
with the following:
- SDK ID
Use the
id
field to provide the ID for the SDK to render the ad.You can find the ID in the bid request with the following fields:
- Authorized Buyers:
BidRequest.mobile.installed_sdk
- OpenRTB:
BidRequest.app.ext.installed_sdk
- Authorized Buyers:
You can learn more about the
InstalledSdk
message in the Google and OpenRTB protocol guides.- Declared ad
Use a
declared_ad
field to provide a creative that meets the bid request'sCreativeEnforcementSettings
requirements and is representative of the ad's rendering data.- Authorized Buyers:
BidResponse.ad.sdk_rendered_ad.declared_ad
- OpenRTB:
BidResponse.seatbid.bid.ext.sdk_rendered_ad.declared_ad
If you don't populate
declared_ad
, we're unable to review the creative and all bids with the creative are filtered from the auction.- Authorized Buyers:
- Rendering data
Use the
rendering_data
field to provide the data for the buyer SDK to use to render your ad.- Authorized Buyers:
BidResponse.ad.sdk_rendered_ad.rendering_data
- OpenRTB:
BidResponse.seatbid.bid.ext.sdk_rendered_ad.rendering_data
- Authorized Buyers:
Here's a sample SdkRenderedAd
object:
{
"id": "1234567",
"rendering_data": "\xd58\xbex\xd9\x1f6\xa1\xc6\xb92\x7f\xce\xec\xbcL.\xe6\xee=\xcc\xde\xde\xb9!\xdf\xad\xe5\xb3\xfe\xb0\x13\x1aGf\xc4\xc1\xba\xfe\xf3\x8d$\xaf|\x86\xb6\x82\x8a\x16\xc5\x91I6d\xe1\x99\xfb\xac,\xd4\x89\xd\xf9",
"declared_ad": {
"html_snippet": "<iframe marginwidth=0 marginheight=0 height=600 frameborder=0 width=160 scrolling=no src=\"https://example.com/ads?id=123456&curl=%%CLICK_URL_ESC%%&wprice=%%WINNING_PRICE_ESC%%\"></iframe>",
}
}
We recommend using the Real-Time Bidding API to submit creatives for review before you include them in a bid response.
See the
Google and
OpenRTB protocol guides
for more details on the SdkRenderedAd
fields.
Creative review
Creatives are reviewed before they can serve to ensure they meet our policies and publisher settings.
Here are two ways you can submit creatives for review:
- Real-Time Bidding API (recommended)
You can use the
buyers.creatives.create
method of the Real-Time Bidding API to submit creatives for review.The API requires only one submission per creative and lets you check the status of your creative's review.
- Bid response
You can submit new creatives directly in the bid response.
You must use the
declared_ad
field of theSdkRenderedAd
object to submit a bid response with a buyer SDK creative for review.Creatives submitted in the bid response are only reviewed after many bids. All bids placed before the review is complete are filtered from the auction. You can use the Real-Time Bidding UI or Real-Time Bidding API to check the status of a creative after the review starts.
See the creatives guide for more details.