OpenAD Protocol for LINE NEXT
  • Introduction
    • About
  • Getting Started
    • For Advertiser
      • Advertising Formats
      • Creating Your Ads Campaign
        • Banner Ads
        • Interactive Ads
      • Advertising Strategy Guide
      • Ad Campaign Management and Analytics
      • Payment Method
      • Advertiser Callback
    • For Volume Owner
      • Advertising Formats
      • Create Your Ad Placement
      • How to Integrate OpenAD
        • Create Banner Ads
        • Create Interactive Ads
      • Ad Slot Management and Analytics
      • How to Integrate APPs on More Platforms
        • Native JS APP
        • Direct Ajax Call for Native App
      • Troubleshooting
        • Prevention from 'Blocking'
        • Banners Not Delivering over SSL
  • Index
    • Approval
    • Glossary
    • About Us
  • Brand Kit
    • Logos
Powered by GitBook
On this page
  • Symptoms
  • Troubleshooting Process
Export as PDF
  1. Getting Started
  2. For Volume Owner
  3. Troubleshooting

Banners Not Delivering over SSL

PreviousPrevention from 'Blocking'NextApproval

Last updated 28 days ago

Symptoms

Banners deliver over HTTP, but will not deliver over SSL (HTTPS).

Troubleshooting Process

Step 1: Check for HTML Banners with HTTP Content

Ensure that your HTML banners don’t include any content (like images or CSS files) served over HTTP. OpenAD Protocol excludes any banners with HTTP content when delivering over HTTPS to avoid warnings from browsers about mixed content.

Step 2: Solution

Update your HTML banners to use HTTPS for all included content, ensuring seamless delivery on HTTPS-enabled pages.

Step 3: Check for HTTP to HTTPS Server Redirects (3xx) when using the Asynchronous JS Tag

When using the "Asynchronous JS Tag" for delivery, check if the issue is related to enforcing SSL on an HTTP page. The Asynchronous JS Tag automatically uses the same protocol (HTTP or HTTPS) as the page where it’s embedded:

  • If placed on an HTTP page, the tag will connect to your OpenAD Protocol instance using HTTP.

  • If your OpenAD Protocol returns an HTTP 3xx response code, indicating a redirect to HTTPS, this will not work.

The Asynchronous JS Tag first calls OpenAD Protocol to retrieve data which is required to update the tag placeholder, so that the relevant banner can be loaded. For this to work, OpenAD Protocol returns some headers.

However, most browsers will perform the request to the Asynchronous JS Tag as a CORS preflight request. . This means that an Asynchronous JS Tag embedded on an HTTP page must be able to access OpenAD Protocol's sdkloader.js script over HTTP.

If you have configured your webserver to enforce the use of SSL by redirecting requests over HTTP to HTTPS, then your options are:

  • Ensure that your Asynchronous JS Tag is only ever embedded on sites delivered using SSL;

  • Disable the redirection to SSL for the sdkloader.js script, so that this can be accessed via both HTTP and HTTPS; or

  • Use a different tag type.

Cross-Origin Resource Sharing (CORS)
The specification for CORS forbids the processing of 3xx redirects