Skip to main content
Google AdsVersion: v3

Upsert audience

PUT/ad-publishing/google/audiences

Create or update a Google Ads combined audience

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:adPublishing.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Body

locationIdstringrequired

Location identifier

Example:loc_abc123
resourceNamestring

Audience resource name

Example:customers/123/audiences/456
namestringrequired

Audience name

Example:My Audience
dimensionsobject

Audience dimensions

Example
{
  "isAgeUnknown": false,
  "ageRanges": [
    {
      "minAge": 25,
      "maxAge": 34
    }
  ],
  "genders": [
    "MALE",
    "FEMALE"
  ]
}
exclusionDimensionobject

Exclusion dimensions

Example
{
  "genders": [
    "UNDETERMINED"
  ]
}

Response

Google Ads mutate results for the created or updated audience — an array, not the audience itself

  • Array items
  • resourceNamestringrequired

    Resource name of the affected record, as returned by the Google Ads mutate call

    Example:customers/6776452901/conversionActions/7086809727