插页式广告(或全屏广告)是一种主要覆盖 屏幕。因此,当插页式广告出现时,发布商内容不会出现在屏幕上。 。
您可以在出价请求中发现插页式广告机会,只需验证
在BidRequest.imp.instl
true
Protobuf 或 JSON 格式的 1
。在已弃用的 Google RTB 协议中,此参数可以是
由 BidRequest.mobile.is_interstitial_request
确定。
广告位尺寸
插页式广告的广告位尺寸表示可用于呈现广告的区域 具体取决于多种因素,例如特定格式和屏幕 维度。
OpenRTB 的 BidRequest.imp.banner.format
中的第一对宽度和高度,
或已弃用的 Google RTB 协议的 BidRequest.adslot.width
和
BidRequest.adslot.height
字段,表示实际的广告位尺寸,而
其余的几对表示每个网页上可接受的广告尺寸
广告位要求的其中一个部分
广告素材并不一定非要采用出价请求中的建议尺寸, 出价请求中的建议尺寸保证不超出 尺寸范围。
您可以对宽度和高度符合以下要求的任何广告素材进行出价 条件:
- 小于或等于广告位的宽度和高度
- 大于或等于广告位宽度的 50%
- 不小于广告位高度的 40%
如果广告尺寸过大或过小,出价响应将被滤除,并附带
拒绝原因:INTERSTITIAL_SIZE_MISMATCH
。
如果您未在出价响应中指定广告尺寸,响应会被滤除
(拒绝原因:MISSING_AD_SIZE
)。
出价请求示例
下面是一些针对插页式广告的出价请求示例。
OpenRTB 协议缓冲区
显示示例
id: "3Sh9IsB712x9QzGDA1k93z" imp { id: "1" banner { w: 360 h: 711 pos: AD_POSITION_FULLSCREEN battr: VIDEO_IN_BANNER_AUTO_PLAY battr: VIDEO_IN_BANNER_USER_INITIATED api: MRAID_1 api: MRAID_2 format { w: 360 h: 711 } format { w: 360 h: 640 } } displaymanager: "GoogleMobileAds-Android" displaymanagerver: "21.3.0" instl: true tagid: "8679500107" bidfloor: 0.02 bidfloorcur: "USD" secure: true exp: 14400 clickbrowser: true metric { type: "viewability" value: 0.9 vendor: "EXCHANGE" } metric { type: "session_depth" value: 99.0 vendor: "EXCHANGE" } [com.google.doubleclick.imp] { billing_id: 42834631855 ampad: AMP_AD_NOT_ALLOWED 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 } } app { name: "Test App" bundle: "com.google.testapp" publisher { id: "pub-8815040790812473" [com.google.doubleclick.publisher] { country: "SG" } } content { url: "https://www.google.com" userrating: "4.6" livestream: false language: "id" } storeurl: "https://www.google.com" [com.google.doubleclick.app] { inventorypartnerdomain: "OMITTED" } } device { ua: "Dalvik/2.1.0 (Linux; U; Android 11; in-; RMX1971 Build/RKQ1.201217.002)" ip: "192.168.1.0" geo { lat: 0.0 lon: 0.0 country: "IDN" region: "ID-SS" city: "Palembang" type: IP utcoffset: 420 accuracy: 7498 } make: "Realme" model: "RMX1971" os: "android" osv: "11" connectiontype: CELL_4G devicetype: HIGHEND_PHONE ifa: "b\'\\xa9>3\\xa2\\xbb\\x95\\x8dIQq\\xd0\\x8f\\xee\\xc1k}\'" lmt: false w: 360 h: 711 pxratio: 3.0 sua { browsers { brand: "Dalvik" version: "2" version: "1" } platform { brand: "Android" version: "11" } mobile: true model: "RMX1971" source: USER_AGENT_STRING } } user { id: "21QP3H9IaS263665PMP52FIes26" } at: FIRST_PRICE tmax: 300 cur: "USD" 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-v240304999.223104000.1" schain { complete: 1 nodes { asi: "testssp.com" sid: "pub-1111111111111111" hp: 1 } ver: "1.0" } } } [com.google.doubleclick.bid_request] { google_query_id: "ANy-z52N8Y-VzuCT3Q7jr9Ixx3iR4pM1bm1q84NyH1tMMtV9SSO7y83u6Ec3xlaf1563Tt5k" fcap_scope: FREQUENCY_CAPPING_SCOPE_DEVICE privacy_treatments { allow_user_data_collection: true } }
OpenRTB JSON
显示示例
{ "id": "8460Dv0171574mt7n9tOQ9", "imp": [ { "id": "1", "banner": { "w": 428, "h": 846, "pos": 7, "api": [ 3, 5 ], "format": [ { "w": 428, "h": 846 }, { "w": 414, "h": 736 } ] }, "displaymanager": "GoogleMobileAds-iOS", "displaymanagerver": "10.10.0", "instl": 1, "tagid": "4914454382", "bidfloor": 0.01, "bidfloorcur": "USD", "secure": 1, "exp": 3600, "clickbrowser": 1, "metric": [ { "type": "click_through_rate", "value": 0.560609757900238, "vendor": "EXCHANGE" }, { "type": "viewability", "value": 0.97, "vendor": "EXCHANGE" } ], "ext": { "billing_id": [ 73848702501 ], "publisher_settings_list_id": [ 9781603598081027997, 9488077458915289715 ], "allowed_vendor_type": [ 698, 414 ], "ampad": 2, "excluded_creatives": [ { "buyer_creative_id": "EXCLUDED_BUYER_CREATIVE_ID" }, { "buyer_creative_id": "EXCLUDED_BUYER_CREATIVE_ID" } ], "skadn": { "sourceapp": "com.google.testapp", "skadnetids": [ "43D4r5x9" ], "versions": [ "2.0", "2.1" ], "fidelities": [ 0, 1 ], "skoverlay": 1 }, "creative_enforcement_settings": { "policy_enforcement": 2, "publisher_blocks_enforcement": 1 }, "auction_environment": 0, "ae": 0 } } ], "app": { "name": "Test App", "bundle": "com.google.testapp", "publisher": { "id": "pub-5842596021161378", "ext": { "country": "IN" } }, "content": { "url": "https://www.google.com", "livestream": 0, "language": "en" }, "storeurl": "https://www.google.com", "ext": { "inventorypartnerdomain": "OMITTED" } }, "device": { "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 17_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148", "geo": { "lat": 0.0, "lon": 0.0, "country": "SAU", "region": "SA-02", "city": "Jiddah", "zip": "23462", "type": 2, "utcoffset": 180, "accuracy": 1291 }, "ipv6": "2a02:9b0:4047::", "carrier": "71681", "make": "Apple", "model": "iPhone14,8", "os": "iOS", "osv": "17.4.1", "connectiontype": 6, "devicetype": 4, "lmt": 1, "hwv": "iPhone14,8", "w": 428, "h": 926, "pxratio": 3, "sua": { "browsers": [ { "brand": "Mozilla", "version": [ "5", "0" ] }, { "brand": "AppleWebKit", "version": [ "605", "1" ] } ], "platform": { "brand": "iPhone", "version": [ "17", "4" ] }, "mobile": 1, "bitness": "64", "model": "iPhone", "source": 3 }, "ext": { "atts": 2 } }, "at": 1, "tmax": 1000, "cur": [ "USD" ], "bcat": [ "IAB23-4", "IAB18-5" ], "source": { "schain": { "complete": 1, "nodes": [ { "asi": "testssp.com", "sid": "pub-1111111111111111", "hp": 1 } ], "ver": "1.0" }, "ext": { "omidpn": "Google", "omidpv": "afma-sdk-i-v10.10.0", "schain": { "complete": 1, "nodes": [ { "asi": "testssp.com", "sid": "pub-1111111111111111", "hp": 1 } ], "ver": "1.0" } } }, "ext": { "google_query_id": "ANy-z562Q0-p46Tz77U15Ie9774Mnu3QIa45V73X99r9NR1694g5301D186q8ZFJ57Ja8L78", "fcap_scope": 4, "privacy_treatments": { "allow_user_data_collection": 1 } } }
显示示例
id: "(\232m\232xp\035\326w\260\250\262\205\r:\313\373:3\215!L\234" ip: "\300\250" user_agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148" url: "https://www.google.com" detected_language: "en" adslot { id: 1 width: 398 width: 320 height: 744 height: 480 excluded_attribute: 19 excluded_attribute: 18 allowed_vendor_type: 828 allowed_vendor_type: 4697 matching_ad_data { billing_id: 37034094959 billing_id: 19705546350 minimum_cpm_micros: 200000 } slot_visibility: ABOVE_THE_FOLD ad_block_key: 7260775726 publisher_settings_list_id: 1906995857014069503 viewability: 91 click_through_rate: 0.021559697 allowed_ad_types: ALLOWED_AD_TYPE_BANNER is_amp_page: DIALECT_HTML amp_ad_requirement_type: AMP_AD_NOT_ALLOWED api: OMID_1 api: MRAID_1 omidpn: "Google" omidpv: "afma-sdk-i-v11.2.0" creative_enforcement_settings { policy_enforcement: POLICY_ENFORCEMENT_NETWORK_AND_PLATFORM_POLICY publisher_blocks_enforcement: PUBLISHER_BLOCKS_ENFORCEMENT_APPLIES } auction_environment: SERVER_SIDE_AUCTION impression_expiration_seconds: 14400 billable_event_rate_bid_adjustment { bid_adjustment: 1.1087964 creative_type: HTML_SNIPPET } supported_auction_environment: SERVER_SIDE_AUCTION display_manager: "GoogleMobileAds-iOS" display_manager_version: "11.2.0" } is_test: false timezone_offset: 480 mobile { app_id: "500811620" is_app: true is_interstitial_request: true app_name: "Test App" skadn { sourceapp: "500811620" skadnetids: "41dEOEaD" skadnetids: "580dmbSX" versions: "2.0" versions: "2.1" supported_fidelity_types: VIEW_THROUGH_ADS supported_fidelity_types: STOREKIT_RENDERED_ADS skoverlay: true } is_app_open_ad: true } geo_criteria_id: 20827 publisher_settings_list_id: 18428013069233776176 publisher_type: PUBLISHER_OWNED_AND_OPERATED partner_id: 4672461785023090980 device { device_type: HIGHEND_PHONE platform: "iphone" brand: "Apple" model: "iPhone11,8" os_version { major: 16 minor: 6 micro: 1 } carrier_id: 0 screen_width: 414 screen_height: 896 screen_pixel_ratio_millis: 2000 screen_orientation: PORTRAIT hardware_version: "iPhone11,8" limit_ad_tracking: true app_tracking_authorization_status: NOT_DETERMINED connection_type: WIFI } publisher_country: "SG" publisher_id: "pub-1111111111111111" response_deadline_ms: 1000 google_query_id: "ANy-z06138-98U8A68As2n5q57SoKI3EBuB5RV414N6krfd385z0q1c9o28Bv3176Zw2LuJe" auction_type: FIRST_PRICE geo { lat: 10.24 lon: 123.79 country: "PHL" region: "PH-CEB" utcoffset: 480 accuracy: 39443 } user_agent_data { platform { brand: "iPhone" version: "16" version: "6" } mobile: true model: "iPhone" browsers { brand: "Mozilla" version: "5" version: "0" } browsers { brand: "AppleWebKit" version: "605" version: "1" } bitness: "64" source: USER_AGENT_STRING } supply_chain { complete: true nodes { advertising_system_identifier: "testdomain.com" seller_identifier: "pub-1111111111111111" handles_payment: true } version: "1.0" } frequency_capping_scope: FREQUENCY_CAPPING_SCOPE_APP privacy_treatments { allow_user_data_collection: true } inventory_partner_domain: "OMITTED"
最佳做法
Google 建议采用以下最佳做法:
在 HTML 广告素材代码段中添加格式属性,以居中放置广告 。否则,广告会在广告位的左上角呈现。
响应尽可能高的插页式广告 。请勿在插页式广告位中填充尺寸 。例如,320x480 的广告对于 420x800 的插页式广告位来说过小。
不添加任何关闭按钮:
- 我们的 SDK 会自动显示关闭按钮(如果适用),以确保 以便用户能够点击该按钮
- 不支持 MRAID
useCustomClose()
。
使用出价请求中的推荐尺寸来选择可接受的广告尺寸 。
使用 OpenRTB 的
BidRequest.device.w
和BidRequest.device.h
字段 选择具有合适方向的广告素材对于已弃用的 Google RTB 协议,则可以使用BidRequest.device.screen_orientation
。- 我们建议使用纵向和横向广告素材,以便您在出价时使用 调整到适当的方向
无尺寸(自适应)插页式广告
无尺寸插页式广告(也称为自适应插页式广告或自适应插页式广告) 动态调整大小,以占据整个广告位的宽度和高度。已授权 买方不会为您调整广告素材的大小。您必须提供一个广告素材 动态调整大小。
您只需提交不限定尺寸的插页式广告以供审核一次,即使这些插页式广告 可以采用多种尺寸投放为了确保您的广告素材每次都不会被重新审核 单个广告位尺寸,建议您采用以下设置:
出价响应
使用
BidResponse.seatbid.bid.ext.attribute
进行声明Rendering: Sizeless AdX
(属性 105)。可声明 广告素材属性的 buyer-declarable-creative-attributes.txt 数据文件。要在已弃用的 Google RTB 协议中声明此属性, 您可以使用BidResponse.ad.attribute
。使用以下代码填充
BidResponse.seatbid.bid.w
和BidResponse.seatbid.bid.h
广告素材所依据的呈现尺寸 广告尺寸要求;例如,对于 360x480 广告,请使用 360x480 。广告素材可能仍会以其他尺寸投放。对于已弃用的 Google 实时出价协议,则需要填充BidResponse.Ad.width
并BidResponse.Ad.height
。
如果您向现有广告素材添加 Rendering: Sizeless AdX
属性,则该广告素材
必须重新审核。
广告素材预审批
- 提交广告素材以供审核时,
在
attribute
字段中添加Rendering: Sizeless AdX
属性。 - 使用您希望投放的尺寸(即常见的 尺寸。广告素材仍然可以以其他尺寸投放。
- 每个不限定尺寸的广告素材只会计入一次广告素材限制,即使 它能以多种尺寸投放