Google 애널리틱스용 MCP 서버를 사용해 보세요.
GitHub에서 설치하고
공지사항에서 자세한 내용을 확인하세요.
REST Resource: properties.adSenseLinks
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: AdSenseLink
Google 애널리틱스 속성과 콘텐츠용 애드센스 광고 클라이언트 간의 연결입니다.
JSON 표현 |
{
"name": string,
"adClientCode": string
} |
필드 |
name |
string
출력 전용입니다. 이 애드센스 링크 리소스의 리소스 이름입니다. 형식: properties/{propertyId}/adSenseLinks/{linkId} 예: properties/1234/adSenseLinks/6789
|
adClientCode |
string
변경할 수 없습니다. Google 애널리틱스 속성이 연결된 애드센스 광고 클라이언트 코드입니다. 예시 형식: 'ca-pub-1234567890'
|
메서드 |
|
AdSenseLink를 만듭니다. |
|
AdSenseLink를 삭제합니다. |
|
단일 AdSenseLink를 조회합니다. |
|
속성의 AdSenseLinks를 나열합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eAdSenseLink establishes a connection between a Google Analytics 4 (GA4) property and an AdSense for Content ad client.\u003c/p\u003e\n"],["\u003cp\u003eThis connection is represented in JSON format and includes crucial fields like \u003ccode\u003ename\u003c/code\u003e (a unique identifier) and \u003ccode\u003eadClientCode\u003c/code\u003e (the AdSense ad client code).\u003c/p\u003e\n"],["\u003cp\u003eYou can manage these connections through various methods, including creating, deleting, retrieving, and listing AdSenseLinks associated with a GA4 property.\u003c/p\u003e\n"]]],["AdSenseLink establishes a connection between a Google Analytics property and an AdSense ad client. Its JSON representation includes a resource `name` and an `adClientCode`. Key actions include creating, deleting, retrieving (get), and listing AdSenseLinks. The `name` field is read-only and uses the format `properties/{propertyId}/adSenseLinks/{linkId}`, while `adClientCode` is immutable and in the format \"ca-pub-1234567890\".\n"],null,["# REST Resource: properties.adSenseLinks\n\n- [Resource: AdSenseLink](#AdSenseLink)\n - [JSON representation](#AdSenseLink.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AdSenseLink\n---------------------\n\nA link between a Google Analytics property and an AdSense for Content ad client.\n\n| JSON representation |\n|----------------------------------------------------|\n| ``` { \"name\": string, \"adClientCode\": string } ``` |\n\n| Fields ||\n|----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. The resource name for this AdSense Link resource. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/6789 |\n| `adClientCode` | `string` Immutable. The AdSense ad client code that the Google Analytics property is linked to. Example format: \"ca-pub-1234567890\" |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------|-----------------------------------|\n| ### [create](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.adSenseLinks/create) | Creates an AdSenseLink. |\n| ### [delete](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.adSenseLinks/delete) | Deletes an AdSenseLink. |\n| ### [get](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.adSenseLinks/get) | Looks up a single AdSenseLink. |\n| ### [list](/analytics/devguides/config/admin/v1/rest/v1alpha/properties.adSenseLinks/list) | Lists AdSenseLinks on a property. |"]]