Google Ads API의 항목 고유 식별자는 리소스 이름이라고 하며 예측 가능한 형식의 문자열로 표시됩니다. 리소스 이름의 구성 요소를 알고 있다면 이 유틸리티를 사용하여 최종 리소스 이름을 생성할 수 있습니다.
ResourceNames 클래스
ResourceNames 클래스는 항목과 관련된 모든 관련 ID를 알고 있는 경우 항목의 리소스 이름을 구성하는 방법입니다. 예를 들어 캠페인 리소스 이름은 customers/{customer_id}/campaigns/{campaign_id} 형식이므로 고객 ID와 캠페인 ID를 알고 있다면 ResourceNames 클래스를 사용하여 다음과 같이 전체 리소스 이름을 구성할 수 있습니다.
[[["이해하기 쉬움","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"]],["최종 업데이트: 2025-03-04(UTC)"],[[["The Google Ads API client library for .NET will drop support for .NET 5.0 starting with version 19.0.0, urging users to upgrade to a newer version."],["Resource names are unique identifiers for entities in the Google Ads API, following a predictable format based on the entity's components."],["You can easily construct resource names using the `ResourceNames` class if you know the necessary IDs, such as customer and campaign IDs."]]],[]]