{"__v":11,"_id":"564ddfffa8671617004e7b94","category":{"__v":26,"_id":"564dcf87d3320b0d0028ca10","pages":["564dcfb4d3320b0d0028ca11","564dd25da8671617004e7b71","564dd3a7e39c4435005a1f33","564ddbcbd3320b0d0028ca25","564ddcb2a8671617004e7b8e","564ddfffa8671617004e7b94","564de165a8671617004e7b97","564de17d9176e9170068007b","564de194e39c4435005a1f56","564de3d99176e9170068007e","564de439fe07a81700b5c3af","564ef3911e9a082b00344ea1","564f03dfedbade0d000efa57","564f0978234efc0d006e186e","564f0d9aaf8ae235002db90e","564f133e4f000617007bd68e","564f14d829338a1700beefcd","564f15619eb2701700532470","564f2fec6b10960d00865761","564f302b6b10960d00865764","564f33e219857f2b00387a44","564f35d110b21d3500ad29d3","564f42e41af2c835004bfbe9","564f456ab85ee335004cbdb3","5652e161b83d8e0d00d24b6b","56859949cfc7cf0d001cb3f5"],"project":"564621e00c30fb2100ba3814","version":"564621e10c30fb2100ba3817","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-11-19T13:32:55.176Z","from_sync":false,"order":6,"slug":"api-overview","title":"Ad Request API"},"parentDoc":null,"project":"564621e00c30fb2100ba3814","user":"56499dade2efd717002afc83","version":{"__v":14,"_id":"564621e10c30fb2100ba3817","project":"564621e00c30fb2100ba3814","createdAt":"2015-11-13T17:46:09.275Z","releaseDate":"2015-11-13T17:46:09.275Z","categories":["564621e10c30fb2100ba3818","564624cf0c30fb2100ba3822","564628d69f3f550d00fa3db6","564dafeeda00e82b00ed601d","564daff8fc36dc3700882b95","564db0ccda00e82b00ed601f","564dcf87d3320b0d0028ca10","5661a6e436398e0d00f79566","568585153703ed1700e420b0","56858767d96a760d00545da6","56858d693703ed1700e420b2","56858d8d22c41b0d00e4666c","56859e9c009a8d0d00797130","5685a6453703ed1700e420d3"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-11-19T14:43:11.401Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"When integrating one of our Publisher APIs or SDKs, it makes sense to use test Inventory Hashes to make sure your integration works properly. Unlike real Inventory Hashes that may return no ad when there is currently no campaign running in a specific country, our Test Inventory Hashes always return an ad.\n\n[Read the API specification for more information on how to make an Ad Request](doc:ad-request-api).\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Banner Ad - All Sizes\"\n}\n[/block]\nfe96717d9875b9da4339ea5367eff1ec\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Full Screen Interstitial Ad\"\n}\n[/block]\n267d72ac3f77a3f447b32cf7ebf20673\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Text Banner Ad\"\n}\n[/block]\n8769bb5eb962eb39170fc5d8930706a9\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Native Ad (IAB)\"\n}\n[/block]\na764347547748896b84e0b8ccd90fd62\n\nThis test ad will serve all assets the MobFox SSP supports. This is useful so you can prepare your app for all assets possible.\n[block:callout]\n{\n  \"type\": \"danger\",\n  \"title\": \"Assets might be missing\",\n  \"body\": \"In real-life some requested assets might be missing or you might get more assets than you requested, this depends on the demand partners and their campaigns and ad setup.\\n\\nThe MobFox platform will filter a lot of these cases for you, for example all your required assets will be provided.\\n\\nBut there are cases where you get more assets than you required. Your app must be able to deal with these situations.\\n\\n[IAB Native Ad Docs](doc:request-native-ads-iab)\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Native Ad (NAST - DEPRECATED)\"\n}\n[/block]\n80187188f458cfde788d961b6882fd53\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Video Ad\"\n}\n[/block]\n80187188f458cfde788d961b6882fd53\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"MRAID Banner Ad\"\n}\n[/block]\n9d38e9038e217f927beb6e560d96fd45\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Audio Ad\"\n}\n[/block]\n75f994b45ca31b454addc8b808d59135\n[block:callout]\n{\n  \"type\": \"info\",\n  \"body\": \"Make a [Video API](doc:request-videos) call to expect a VAST tag response.\"\n}\n[/block]","excerpt":"","slug":"inventory-hashes-for-testing","type":"basic","title":"Inventory Hashes for Testing"}

Inventory Hashes for Testing


When integrating one of our Publisher APIs or SDKs, it makes sense to use test Inventory Hashes to make sure your integration works properly. Unlike real Inventory Hashes that may return no ad when there is currently no campaign running in a specific country, our Test Inventory Hashes always return an ad. [Read the API specification for more information on how to make an Ad Request](doc:ad-request-api). [block:api-header] { "type": "basic", "title": "Banner Ad - All Sizes" } [/block] fe96717d9875b9da4339ea5367eff1ec [block:api-header] { "type": "basic", "title": "Full Screen Interstitial Ad" } [/block] 267d72ac3f77a3f447b32cf7ebf20673 [block:api-header] { "type": "basic", "title": "Text Banner Ad" } [/block] 8769bb5eb962eb39170fc5d8930706a9 [block:api-header] { "type": "basic", "title": "Native Ad (IAB)" } [/block] a764347547748896b84e0b8ccd90fd62 This test ad will serve all assets the MobFox SSP supports. This is useful so you can prepare your app for all assets possible. [block:callout] { "type": "danger", "title": "Assets might be missing", "body": "In real-life some requested assets might be missing or you might get more assets than you requested, this depends on the demand partners and their campaigns and ad setup.\n\nThe MobFox platform will filter a lot of these cases for you, for example all your required assets will be provided.\n\nBut there are cases where you get more assets than you required. Your app must be able to deal with these situations.\n\n[IAB Native Ad Docs](doc:request-native-ads-iab)" } [/block] [block:api-header] { "type": "basic", "title": "Native Ad (NAST - DEPRECATED)" } [/block] 80187188f458cfde788d961b6882fd53 [block:api-header] { "type": "basic", "title": "Video Ad" } [/block] 80187188f458cfde788d961b6882fd53 [block:api-header] { "type": "basic", "title": "MRAID Banner Ad" } [/block] 9d38e9038e217f927beb6e560d96fd45 [block:api-header] { "type": "basic", "title": "Audio Ad" } [/block] 75f994b45ca31b454addc8b808d59135 [block:callout] { "type": "info", "body": "Make a [Video API](doc:request-videos) call to expect a VAST tag response." } [/block]