Troubleshooting
Turning on console logs
You may add ogy_log=debug
at the end of your page's URL to enable debug logging. For example:
More generally, the ogy_log
query parameter supports the following verbosity levels:
debug: this is the most verbose level. It displays debug level messages as well as messages of all other levels.
info: this level displays info messages as well as messages of warning and error levels.
warning: this level displays warning messages as well as messages of error level.
error: default value; this is the least verbose level. It displays only error level messages.
Forcing 100% fill rate
By adding ogy_test_mode=video
to your test URL you can force a video ad to be returned and ogy_test_mode=image
will return a display test campaign.
When you force an ad response in a Header Bidding scenario, the returned bid will have a CPM of USD 15. You can change the bid price by using ogy_test_bid_price=<CPM>
in case you need higher or lower CPMs for testing purposes. The following URL will return a display campaign with a bid of USD 5 CPM:
Impressions of test campaigns are not logged in the interface and won't count towards your revenue.
Last updated