This is the legacy documentation for Google Ads scripts. Go to the current docs.

AdsApp.​AccountAdGroupTargeting

Stay organized with collections Save and categorize content based on your preferences.
Provides access to ad group-level targeting criteria (currently just audiences).

Methods:

MemberTypeDescription
audiences AdsApp.SearchAdGroupAudienceSelector Specializes this selector to return SearchAdGroupAudience criteria.
excludedAudiences AdsApp.SearchAdGroupExcludedAudienceSelector Specializes this selector to return SearchAdGroupExcludedAudience criteria.

audiences()

Specializes this selector to return SearchAdGroupAudience criteria.

Return values:

TypeDescription
AdsApp.SearchAdGroupAudienceSelector A selector for SearchAdGroupAudience criteria.

excludedAudiences()

Specializes this selector to return SearchAdGroupExcludedAudience criteria.

Return values:

TypeDescription
AdsApp.SearchAdGroupExcludedAudienceSelector A selector for SearchAdGroupExcludedAudience criteria.