插页式广告(或全屏广告)是一种会覆盖屏幕大部分区域的广告。因此,在展示插页式广告时,发布商内容不会显示在屏幕上。
您可以通过验证出价请求的 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: "iPwd6qWwe759U5389nKgZ2" imp { id: "1" banner { w: 390 h: 764 pos: AD_POSITION_FULLSCREEN api: MRAID_1 api: MRAID_2 format { w: 390 h: 764 } format { w: 160 h: 600 } } displaymanager: "GoogleMobileAds-iOS" displaymanagerver: "12.1.0" instl: true tagid: "6515547538" bidfloor: 0.01 bidfloorcur: "USD" secure: true exp: 3600 clickbrowser: true metric { type: "click_through_rate" value: 0.071259871125221252 vendor: "EXCHANGE" } metric { type: "viewability" value: 0.93 vendor: "EXCHANGE" } [com.google.doubleclick.imp] { billing_id: 20458168637 publisher_settings_list_id: 7415902580159294065 publisher_settings_list_id: 3858265210976003530 allowed_vendor_type: 0 allowed_vendor_type: 4513 ampad: AMP_AD_NOT_ALLOWED excluded_creatives { buyer_creative_id: "EXCLUDED_BUYER_CREATIVE_ID" } excluded_creatives { buyer_creative_id: "EXCLUDED_BUYER_CREATIVE_ID" } skadn { sourceapp: "com.google.testapp" skadnetids: "jLL135hf" versions: "2.0" versions: "2.1" fidelities: STOREKIT_RENDERED_ADS fidelities: VIEW_THROUGH_ADS } creative_enforcement_settings { policy_enforcement: POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY publisher_blocks_enforcement: PUBLISHER_BLOCKS_ENFORCEMENT_APPLIES } jsver: "test-sdk_123456789" highengagement: true } } app { name: "Test App" ver: "18.6.0" bundle: "com.google.testapp" publisher { id: "pub-5899129488172801" [com.google.doubleclick.publisher] { country: "IL" } } content { url: "https://www.google.com" language: "en" } storeurl: "https://www.google.com" } device { ua: "OMITTED" geo { lat: 0 lon: 0 country: "COL" region: "CO-DC" city: "Bogota" zip: "110851" type: IP utcoffset: -300 accuracy: 1236 [com.google.doubleclick.geo] { geo_criteria_id: 9216139 } } ipv6: "2800:e2:5780::" language: "es" make: "Apple" model: "iPhone14,7" os: "iOS" osv: "18.7" connectiontype: WIFI devicetype: HIGHEND_PHONE hwv: "iPhone14,7" w: 390 h: 844 pxratio: 3 sua { browsers { brand: "Mozilla" version: "5" version: "0" } browsers { brand: "AppleWebKit" version: "605" version: "1" } platform { brand: "iPhone" version: "18" version: "7" } mobile: true bitness: "64" model: "iPhone" source: USER_AGENT_STRING } [com.google.doubleclick.device] { atts: 2 audioout: AUDIO_SPEAKER ifv: "5fcebf5e-462f-47fe-a528-e982d9512348" } } user { [com.google.doubleclick.user] { session { depth: 0 requestssinceappopen: 5 priorclicks: 0 } } } at: FIRST_PRICE tmax: 700 cur: "USD" bcat: "32" bcat: "33" 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-i-v12.1.0" } } cattax: GOOGLE_CATEGORIES [com.google.doubleclick.bid_request] { google_query_id: "ANy-z7CT2R-7uB8g5aR7v8neLD9N5p9e04ON1C2ob93u7SZlV346yw69237l5d6p2bZ43x62" fcap_scope: FREQUENCY_CAPPING_SCOPE_APP privacy_treatments { allow_user_data_collection: true } }
OpenRTB JSON
显示示例
{ "id": "iPwd6qWwe759U5389nKgZ2", "imp": [ { "id": "1", "banner": { "w": 390, "h": 764, "pos": 7, "api": [ 3, 5 ], "format": [ { "w": 390, "h": 764 }, { "w": 160, "h": 600 } ] }, "displaymanager": "GoogleMobileAds-iOS", "displaymanagerver": "12.1.0", "instl": 1, "tagid": "6515547538", "bidfloor": 0.01, "bidfloorcur": "USD", "secure": 1, "exp": 3600, "clickbrowser": 1, "metric": [ { "type": "click_through_rate", "value": 0.07125987112522125, "vendor": "EXCHANGE" }, { "type": "viewability", "value": 0.93, "vendor": "EXCHANGE" } ], "ext": { "billing_id": [ "20458168637" ], "publisher_settings_list_id": [ "7415902580159294065", "3858265210976003530" ], "allowed_vendor_type": [ 0, 4513 ], "ampad": 2, "excluded_creatives": [ { "buyer_creative_id": "EXCLUDED_BUYER_CREATIVE_ID" }, { "buyer_creative_id": "EXCLUDED_BUYER_CREATIVE_ID" } ], "skadn": { "sourceapp": "com.google.testapp", "skadnetids": [ "jLL135hf" ], "versions": [ "2.0", "2.1" ], "fidelities": [ 1, 0 ] }, "creative_enforcement_settings": { "policy_enforcement": 2, "publisher_blocks_enforcement": 1 }, "jsver": "test-sdk_123456789", "highengagement": 1 } } ], "app": { "name": "Test App", "ver": "18.6.0", "bundle": "com.google.testapp", "publisher": { "id": "pub-5899129488172801", "ext": { "country": "IL" } }, "content": { "url": "https://www.google.com", "language": "en" }, "storeurl": "https://www.google.com" }, "device": { "ua": "OMITTED", "geo": { "lat": 0.0, "lon": 0.0, "country": "COL", "region": "CO-DC", "city": "Bogota", "zip": "110851", "type": 2, "utcoffset": -300, "accuracy": 1236, "ext": { "geo_criteria_id": 9216139 } }, "ipv6": "2800:e2:5780::", "language": "es", "make": "Apple", "model": "iPhone14,7", "os": "iOS", "osv": "18.7", "connectiontype": 2, "devicetype": 4, "hwv": "iPhone14,7", "w": 390, "h": 844, "pxratio": 3.0, "sua": { "browsers": [ { "brand": "Mozilla", "version": [ "5", "0" ] }, { "brand": "AppleWebKit", "version": [ "605", "1" ] } ], "platform": { "brand": "iPhone", "version": [ "18", "7" ] }, "mobile": 1, "bitness": "64", "model": "iPhone", "source": 3 }, "ext": { "atts": 2, "audioout": 1, "ifv": "5fcebf5e-462f-47fe-a528-e982d9512348" } }, "user": { "ext": { "session": { "depth": 0, "requestssinceappopen": 5, "priorclicks": 0 } } }, "at": 1, "tmax": 700, "cur": [ "USD" ], "bcat": [ "32", "33" ], "source": { "schain": { "complete": 1, "nodes": [ { "asi": "testssp.com", "sid": "pub-1111111111111111", "hp": 1 } ], "ver": "1.0" }, "ext": { "omidpn": "Google", "omidpv": "afma-sdk-i-v12.1.0" } }, "cattax": 500, "ext": { "google_query_id": "ANy-z7CT2R-7uB8g5aR7v8neLD9N5p9e04ON1C2ob93u7SZlV346yw69237l5d6p2bZ43x62", "fcap_scope": 4, "privacy_treatments": { "allow_user_data_collection": 1 } } }
最佳做法
Google 建议采用以下最佳实践:
在 HTML 广告素材代码段中添加格式设置属性,以便将广告居中放置在广告位内。否则,广告会显示在广告位的左上角。
以插页式广告的形式进行响应,该广告会尽可能多地占用广告位空间。请勿在插页式广告位中投放小得多的广告。例如,320x480 的广告对于 420x800 的插页式广告位来说太小了。
不添加任何关闭按钮:
- 我们的 SDK 会自动显示关闭按钮(如果适用),以确保用户可以点击该按钮。
- 不支持 MRAID
useCustomClose()。
使用出价请求中的建议尺寸,为出价响应选择可接受的广告尺寸。
比较
BidRequest.device.w和BidRequest.device.h字段,以选择屏幕方向合适的广告素材。- 我们建议您同时提供竖屏和横屏广告素材,以便使用合适的屏幕方向进行出价。
无尺寸(自适应)插页式广告
不限定尺寸的插页式广告(也称为自适应或自适应尺寸的插页式广告)会动态调整大小,以占据整个广告位的宽度和高度。Authorized Buyers 不会为您调整广告素材的大小。您必须提供可动态调整大小的广告素材。
即使无尺寸插页式广告可以以多种尺寸投放,您也只需提交一次审核申请。为确保您的广告素材不会因每个广告位尺寸而重新接受审核,我们建议您执行以下操作:
出价响应
使用
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 对应,请参阅映射指南。 - 提交广告素材时,请使用您预计要投放的尺寸,即插页式广告素材的常用尺寸。该广告素材仍可以其他尺寸投放。
- 每个无尺寸广告素材只会占用一次广告素材限额,即使它以多种尺寸投放也是如此。