리소스, 서비스 또는 작업을 가져올 때 해당 항목의 인스턴스가 반환됩니다. 열거형을 가져올 때는 인스턴스화 없이 클래스 참조가 반환됩니다.
열거형의 경우 단축키를 사용하여 열거형 프로토를 조회할 필요가 없습니다.
campaign.status=:PAUSED
다른 사용 사례에 이 유틸리티를 사용하지 않더라도 client.service 메서드를 사용하여 서비스를 가져오는 것이 좋습니다. 이 메서드에는 개발자 토큰 및 인증 세부정보를 전달하는 추가 로직이 내장되어 있습니다. 다른 메서드를 사용했다면 이 부분을 수동으로 처리해야 합니다.
[[["이해하기 쉬움","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-06-04(UTC)"],[[["The ProtoLookupUtil simplifies interactions with the Google Ads API by removing the need to specify API version numbers and namespaces when working with services, operations, enumerations, and resources."],["Instead of manually instantiating proto classes with complex paths, the utility allows you to create and access them using a more concise and intuitive syntax, such as `client.resource.campaign` instead of `Google::Ads::GoogleAds::V18::Resources::Campaign.new`."],["It offers a shortcut for using enumerations directly, like assigning `:PAUSED` to a campaign status, without requiring explicit proto lookups."],["Using `client.service` is recommended for fetching services, as it automatically handles developer token and authentication details."]]],[]]