컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Google에서는 일련의 메타 태그를 사용하여 광고 게재 플랫폼 확장을 지원합니다. 아래에 여러 메타 태그와 각 태그의 목적이 나와 있습니다.
메타 태그 문법:
<meta name="google-adsense-platform-account" content="{host-property-code}">
여기서 {host-property-code}는 ca-host-pub-1234567890123456
과 같은 형식입니다. 호스트 속성 코드는 애드센스 게시자 ID로, 'ca-host-'가 접두사로 추가되어 있습니다. 애드센스 게시자 ID는 애드센스의 계정 > 설정 > 계정 정보에서 확인할 수 있습니다.
직접 모델의 경우 이 메타 태그는 하나의 목적만 있습니다. data-ad-host
매개변수는 페이지에 있는 모든 애드센스 광고 요청에 자동으로 추가됩니다. 광고 코드에 data-ad-host
매개변수를 포함하는 경우 중복됩니다.
페이지에 이 태그의 인스턴스가 여러 개 있으면 페이지의 첫 번째 태그 값이 모든 애드센스 광고 요청에 전달되고 두 번째 태그는 무시됩니다.
하위 계정
메타 태그 문법:
<meta name="google-adsense-account" content="{sub-account}">
여기서 {하위 계정}은 계정 이름의 두 번째 게시자 ID로, 'ca-'가 앞에 추가됩니다. ca-pub-0000000000000000과 같이 표시됩니다.
사이트 인증 과정에서 애드센스는 페이지를 스캔하고 소유권 확인을 실행합니다. ads.txt, 광고 코드 또는 이 메타 태그를 통해 하위 계정이 소유권 확인을 통과하도록 하는 방법은 여러 가지가 있습니다. 가장 적합한 접근 방식은 URL 구조 및 기타 요인에 따라 다릅니다. 플랫폼에 가장 적합한 접근 방식에 관해 상의하려면 계정 관리자에게 문의하세요.
메타 태그 문법:
<meta name="google-adsense-platform-author" content="{creator-username}">
여기서 {creator-username}은 이 페이지의 콘텐츠를 만든 사용자의 공개 ID입니다. 이 메타 태그는 URL 구조가 작성자 ID를 URL에서 사용할 수 없는 구조인 도메인에만 필요합니다. 아래 시나리오 예를 참고하세요.
사용 사례 |
URL 구조 |
메타 태그는 필수인가요? |
하위 도메인 |
루트:
https://littlepig.example.com
콘텐츠:
https://littlepig.example.com/food.html
|
아니요 |
하위 폴더 |
루트:
https://example.com/littlepig
콘텐츠:
https://example.com/littlepig/food.html
|
아니요 |
하위 도메인과 하위 폴더의 조합 |
루트:
https://sites.example.com/sites/littlepig
콘텐츠:
https://sites.example.com/sites/littlepig/food.html
|
아니요 |
개별 URL |
루트 (또는 크리에이터 프로필):
https://example.com/user/littlepig
콘텐츠:
https://example.com/nf8ag4n
|
아니요 |
위 표의 예시 URL을 기반으로 하는 메타 태그는 다음과 같습니다.
<meta name="google-adsense-platform-author" content="littlepig">
Google에서는 이 메타 태그의 정보를 사용하여 콘텐츠 확인 시스템에 사용되는 플랫폼 사용자별로 URL을 분류합니다. 위의 표에 따라 필요하지 않더라도 이 메타 태그가 있는 것이 좋습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],[],[[["\u003cp\u003eMeta tags are used to optimize your platform for ad serving, including specifying platform account, sub-account, and platform author information.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egoogle-adsense-platform-account\u003c/code\u003e meta tag automatically adds the data-ad-host parameter to AdSense ad requests and contains your AdSense Publisher ID.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egoogle-adsense-account\u003c/code\u003e meta tag helps sub-accounts pass the ownership check during site verification and should be implemented based on consultation with your account manager.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egoogle-adsense-platform-author\u003c/code\u003e meta tag identifies the content creator and is used for content checking, and is recommended even if not strictly required based on URL structure.\u003c/p\u003e\n"]]],["Meta tags are used to scale ad serving. The `google-adsense-platform-account` tag adds the `data-ad-host` parameter to ad requests, using the AdSense publisher ID. The `google-adsense-account` tag, using a sub-account ID, aids in site verification. The `google-adsense-platform-author` tag, with the creator's public ID, segments URLs by platform users, primarily for content checking systems and it is recommended even when not required by the URL structure.\n"],null,[]]