AdsApp.ShoppingAdGroupAudienceStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
ShoppingAdGroupAudience represents a Google Ads audience, either USER_INTEREST or USER_LIST, configured for shopping ad groups.
It provides methods to access bidding fields, retrieve associated ad group and campaign, and get details like audience ID, type, name, and resource name.
You can get performance statistics for specific or custom date ranges using the getStatsFor method.
Methods are available to check if the audience is enabled or paused, and to remove the shopping audience.
Represents a Google Ads audience, eitherUSER_INTERESTorUSER_LIST, configured for shopping ad groups.
Returns the audience ID of the audience. User List IDs (List IDs) are
available on the details page of a User List (found under the Audiences
section of the Shared Library).
Return values:
Type
Description
String
The audience ID of the audience.
getAudienceType()
Returns the type of the audience, eitherUSER_INTERESTorUSER_LIST.
Return values:
Type
Description
String
The type of the audience.
getCampaign()
Returns the campaign to which this audience belongs.
Returns stats for the specified custom date range. Both parameters can be
either an object containing year, month, and day fields, or an 8-digit
string inYYYYMMDDform. For instance,March 24th,
2013is represented as either{year: 2013, month: 3, day:
24}or"20130324". The date range is inclusive on both
ends, soforDateRange("20130324", "20130324")defines a range
of a single day.
Arguments:
Name
Type
Description
dateFrom
Object
Start date of the date range. Must be either a string inYYYYMMDDform, or an object withyear,monthanddayproperties.
dateTo
Object
End date of the date range. Must be either a string inYYYYMMDDform, or an object withyear,monthanddayproperties.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-12-03 UTC."],[],[]]