插页式广告(或全屏广告)是一种会覆盖大部分屏幕的广告。因此,在插页式广告展示时,屏幕上不会显示发布商内容。
您可以通过验证出价请求的 BidRequest.imp.instl
字段是否设置为 Protobuf 中的 true
或 JSON 中的 1
,来识别出价请求中的插页式广告机会。
广告位尺寸
插页式广告的广告位尺寸表示可用于呈现广告素材的区域,具体取决于特定格式和屏幕尺寸等因素。
OpenRTB 的 BidRequest.imp.banner.format
字段中的第一个宽度和高度对表示实际广告位尺寸,其余对表示符合广告位要求范围的可接受广告尺寸列表。
广告素材不局限于出价请求中的建议尺寸,但出价请求中的所有建议尺寸都保证在可接受的尺寸范围内。
您可以对宽度和高度符合以下条件的任何广告素材出价:
- 小于或等于广告位的宽度和高度
- 大于或等于广告位的 50%
- 大于或等于广告位高度的 40%
如果广告尺寸过大或过小,系统会使用拒绝原因 INTERSTITIAL_SIZE_MISMATCH
滤除出价响应。
如果您未在出价响应中指定广告尺寸,系统会以拒绝原因 MISSING_AD_SIZE
滤除该响应。
出价请求示例
以下是一些插页式广告的出价请求示例。
OpenRTB Protobuf
显示示例
[序列化请求](/authorized-buyers/rtb/data/request-response/openrtb_protobuf_mobile_app_interstitial_ad_request.bin){: .download}id: "D3x8RPLO96R6T137tQ6168" imp { id: "1" banner { w: 360 h: 715 pos: AD_POSITION_FULLSCREEN api: MRAID_1 api: MRAID_2 format { w: 360 h: 715 } format { w: 320 h: 568 } } displaymanager: "GoogleMobileAds-Android" displaymanagerver: "22.3.0" instl: true tagid: "5771994185" bidfloor: 2764.414643547123 bidfloorcur: "JPY" secure: true exp: 3600 clickbrowser: true metric { type: "click_through_rate" value: 0.03971313312649727 vendor: "EXCHANGE" } metric { type: "viewability" value: 0.91 vendor: "EXCHANGE" } [com.google.doubleclick.imp] { billing_id: 68640308112 billing_id: 56606437068 publisher_settings_list_id: 1984414516100776281 publisher_settings_list_id: 5846951473307279661 allowed_vendor_type: 0 allowed_vendor_type: 57823 ampad: AMP_AD_NOT_ALLOWED excluded_creatives { buyer_creative_id: "EXCLUDED_BUYER_CREATIVE_ID" } excluded_creatives { buyer_creative_id: "EXCLUDED_BUYER_CREATIVE_ID" } creative_enforcement_settings { policy_enforcement: POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY publisher_blocks_enforcement: PUBLISHER_BLOCKS_ENFORCEMENT_APPLIES } auction_environment: SERVER_SIDE_AUCTION ae: SERVER_SIDE_AUCTION jsver: "test-sdk_123456789" } } app { name: "Test App" bundle: "com.google.testapp" publisher { id: "pub-7405557148270612" [com.google.doubleclick.publisher] { country: "HK" } } content { url: "https://www.google.com" userrating: "4.7" livestream: false language: "en" } storeurl: "https://www.google.com" } device { ua: "OMITTED" geo { lat: 0.0 lon: 0.0 country: "GBR" region: "GB-ENG" zip: "RH20" type: IP utcoffset: 60 accuracy: 2312 [com.google.doubleclick.geo] { geo_criteria_id: 9191103 } } ipv6: "2a02:c7c:7c25::" make: "Huawei" model: "LYA-L09" os: "android" osv: "10" connectiontype: WIFI devicetype: HIGHEND_PHONE ifa: "0f0f33d1-fa18-4a2c-bc47-79ef855b5c16" w: 360 h: 715 pxratio: 3.0 sua { browsers { brand: "Mozilla" version: "5" version: "0" } browsers { brand: "AppleWebKit" version: "537" version: "36" } platform { brand: "Android" version: "10" } mobile: true model: "LYA-L09" source: USER_AGENT_STRING } [com.google.doubleclick.device] { metereddata: false chargelevel: 0.93 charging: false diskspace: 2100 audioout: AUDIO_SILENT } } user { id: "D17oNZQUJqB4Rt4n4Ec61AC9tee" consent: "OMITTED" [com.google.doubleclick.user] { consented_providers_settings { consented_providers: 1205 consented_providers: 415 additional_consent: "OMITTED" } consent: "OMITTED" session { duration: 6 depth: 12 requestssinceappopen: 12 priorclicks: 0 } idage: 44064000 } } at: FIRST_PRICE tmax: 1500 cur: "EUR" cur: "JPY" bcat: "32" bcat: "33" regs { [com.google.doubleclick.regs] { gdpr: true } } source { schain { complete: true nodes { asi: "testssp.com" sid: "pub-1111111111111111" hp: true } ver: "1.0" } [com.google.doubleclick.source] { omidpn: "Google" omidpv: "afma-sdk-a-v251815999.232400000.1" } } cattax: GOOGLE_CATEGORIES [com.google.doubleclick.bid_request] { google_query_id: "ANy-zc395b-x973i1113tK7P9K633CKoo3Pl45uz8D40mz3v48s9Zp604a8FsGL3893PT15M" fcap_scope: FREQUENCY_CAPPING_SCOPE_DEVICE privacy_treatments { allow_user_data_collection: true } }
OpenRTB JSON
显示示例
{ "id": "D3x8RPLO96R6T137tQ6168", "imp": [ { "id": "1", "banner": { "w": 360, "h": 715, "pos": 7, "api": [ 3, 5 ], "format": [ { "w": 360, "h": 715 }, { "w": 320, "h": 568 } ] }, "displaymanager": "GoogleMobileAds-Android", "displaymanagerver": "22.3.0", "instl": 1, "tagid": "5771994185", "bidfloor": 2764.414643547123, "bidfloorcur": "JPY", "secure": 1, "exp": 3600, "clickbrowser": 1, "metric": [ { "type": "click_through_rate", "value": 0.03971313312649727, "vendor": "EXCHANGE" }, { "type": "viewability", "value": 0.91, "vendor": "EXCHANGE" } ], "ext": { "billing_id": [ "68640308112", "56606437068" ], "publisher_settings_list_id": [ "1984414516100776281", "5846951473307279661" ], "allowed_vendor_type": [ 0, 57823 ], "ampad": 2, "excluded_creatives": [ { "buyer_creative_id": "EXCLUDED_BUYER_CREATIVE_ID" }, { "buyer_creative_id": "EXCLUDED_BUYER_CREATIVE_ID" } ], "creative_enforcement_settings": { "policy_enforcement": 2, "publisher_blocks_enforcement": 1 }, "auction_environment": 0, "ae": 0, "jsver": "test-sdk_123456789" } } ], "app": { "name": "Test App", "bundle": "com.google.testapp", "publisher": { "id": "pub-7405557148270612", "ext": { "country": "HK" } }, "content": { "url": "https://www.google.com", "userrating": "4.7", "livestream": 0, "language": "en" }, "storeurl": "https://www.google.com" }, "device": { "ua": "OMITTED", "geo": { "lat": 0.0, "lon": 0.0, "country": "GBR", "region": "GB-ENG", "zip": "RH20", "type": 2, "utcoffset": 60, "accuracy": 2312, "ext": { "geo_criteria_id": 9191103 } }, "ipv6": "2a02:c7c:7c25::", "make": "Huawei", "model": "LYA-L09", "os": "android", "osv": "10", "connectiontype": 2, "devicetype": 4, "ifa": "0f0f33d1-fa18-4a2c-bc47-79ef855b5c16", "w": 360, "h": 715, "pxratio": 3.0, "sua": { "browsers": [ { "brand": "Mozilla", "version": [ "5", "0" ] }, { "brand": "AppleWebKit", "version": [ "537", "36" ] } ], "platform": { "brand": "Android", "version": [ "10" ] }, "mobile": 1, "model": "LYA-L09", "source": 3 }, "ext": { "metereddata": 0, "chargelevel": 0.93, "charging": 0, "diskspace": 2100, "audioout": 3 } }, "user": { "id": "D17oNZQUJqB4Rt4n4Ec61AC9tee", "consent": "OMITTED", "ext": { "consented_providers_settings": { "consented_providers": [ "1205", "415" ], "additional_consent": "OMITTED" }, "consent": "OMITTED", "session": { "duration": 6, "depth": 12, "requestssinceappopen": 12, "priorclicks": 0 }, "idage": 44064000 } }, "at": 1, "tmax": 1500, "cur": [ "EUR", "JPY" ], "bcat": [ "32", "33" ], "regs": { "ext": { "gdpr": 1 } }, "source": { "schain": { "complete": 1, "nodes": [ { "asi": "testssp.com", "sid": "pub-1111111111111111", "hp": 1 } ], "ver": "1.0" }, "ext": { "omidpn": "Google", "omidpv": "afma-sdk-a-v251815999.232400000.1" } }, "cattax": 500, "ext": { "google_query_id": "ANy-zc395b-x973i1113tK7P9K633CKoo3Pl45uz8D40mz3v48s9Zp604a8FsGL3893PT15M", "fcap_scope": 3, "privacy_treatments": { "allow_user_data_collection": 1 } } }
最佳做法
Google 建议遵循以下最佳实践:
在 HTML 广告素材摘要中添加格式属性,以便在广告展示位置中居中显示广告。否则,广告会在广告位左上角呈现。
使用插页式广告进行回复,尽可能占据广告位中的所有空间。请勿使用尺寸小得多的广告填充插页式广告位。例如,320x480 的广告尺寸太小,无法填充 420x800 的插页式广告位。
请勿添加任何关闭按钮:
- 我们的 SDK 会自动显示关闭按钮(如果适用),以确保用户可以点击该按钮。
- 不支持 MRAID
useCustomClose()
。
使用出价请求中的建议尺寸,为出价响应选择可接受的广告尺寸。
比较
BidRequest.device.w
和BidRequest.device.h
字段,选择适当的广告素材方向。- 我们建议您制作竖屏和横屏广告素材,以便您以适当的屏幕方向出价。
无尺寸(流体)插页式广告
不限定尺寸的插页式广告(也称为自适应尺寸或自适应插页式广告)会动态调整尺寸,以占据整个广告位的宽度和高度。授权买方不会为您调整广告素材的尺寸。您必须提供可动态调整大小的广告素材。
您只需提交一次无尺寸插页式广告以供审核,即使这些广告可以以多种尺寸投放也是如此。为确保您的广告素材不会针对每个单独的广告位尺寸重新接受审核,我们建议您采取以下措施:
出价响应
在出价响应中使用
BidResponse.seatbid.bid.ext.attribute
声明Rendering: Sizeless AdX
(属性 105)。可声明的广告素材属性可在 buyer-declarable-creative-attributes.txt 数据文件中找到。根据广告尺寸要求,使用您希望广告素材呈现的尺寸填充
BidResponse.seatbid.bid.w
和BidResponse.seatbid.bid.h
;例如,对于 360x480 的广告位,填充 360x480。广告素材可能仍会以其他尺寸投放。对于已废弃的 Google RTB 协议,您需要填充BidResponse.Ad.width
和BidResponse.Ad.height
。
如果您向现有广告素材添加 Rendering: Sizeless AdX
属性,则必须重新审核该广告素材。
广告素材预审批
- 提交广告素材以供审核时,请在
declaredAttributes
字段中添加RENDERING_SIZELESS_ADX
属性。在实时出价 API 中,广告素材属性使用字符串枚举值表示。如需详细了解这些属性如何与 buyer-declarable-creative-attributes.txt 中的数字 ID 对应,请参阅映射指南。 - 使用您预计投放的尺寸(即插页式广告素材的常用尺寸)提交广告素材。广告素材仍可以其他尺寸投放。
- 每个无尺寸广告素材只会计入广告素材数量限制一次,即使其以多种尺寸投放也是如此。