가능한 콘솔 오류

콘솔에 출력되는 모든 메시지에는 접두사 [Ad Placement API]가 포함됩니다.

preloadAdBreaks는 한 번만 설정할 수 있습니다.

  • <VALUE> 값으로 preloadAdBreaks를 설정하기 위해 이미 adConfig()가 호출되었습니다.

adBreak()에 대한 다른 호출이 처리 중인 상태에서 adBreak() 호출을 시도했습니다 (다른 작업자로부터 광고를 트리거하지 않고 콜백 함수 내에서 adBreak()를 호출하지 않는지 확인합니다.)

  • Cannot show ad while another ad is already visible.

제공한 콜백 실행 실패:

  • <CALLBACK NAME> callback threw an error: <ERROR>

매개변수 태그 지정 오류:

  • Invalid data-ad-frequency-hint value: '<VALUE>'. It must be in format 'Xs' where X is a number.
  • Unsupported data-adbreak-test value '<VALUE>'. Supported values: 'on'.

adConfig() 인수 유효성 검사 오류:

  • Invalid ad config: <ERROR>. <ERROR>는 다음과 같습니다.
    • preloadAdBreaks must be one of ['auto', 'on']
    • sound must be one of ['on', 'off']
    • onReady는 함수여야 합니다.

adBreak() 인수 유효성 검사 오류:

  • Invalid placement config: <ERROR>. <ERROR>는 다음과 같습니다.
    • missing required properties <LIST OF PROPERTIES>
    • <CALLBACK NAME> must be a function
    • <PROPERTY NAME> must be one of <LIST OF VALID VALUES>
    • the following properties are not used for the given ad type: <LIST OF PROPERTIES>

adBreak()에서 이름이 변경된 콜백(beforeBreak, afterBreak, adComplete에서 각각 beforeAd, afterAd, adViewed로 이름이 변경되었습니다. 전부 정확히 동일한 방식으로 작동합니다.)

  • Placement config: <OLD> has been renamed to <NEW>. Please update your code.
  • Invalid placement config: <OLD> has been renamed to <NEW>. Cannot pass both fields. Please use <NEW> only.