Method: networks.audienceSegments.get

  • This API allows you to retrieve an AudienceSegment object using a GET request.

  • The required path parameter is name, specifying the resource name including the network code and audience segment ID.

  • The request body must be empty for this API call.

  • A successful response body will contain an instance of AudienceSegment.

  • Authorization requires the https://www.googleapis.com/auth/admanager OAuth scope.

API to retrieve an AudienceSegment object.

HTTP request

GET https://admanager.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

Required. The resource name of the AudienceSegment. Format: networks/{networkCode}/audienceSegments/{audienceSegmentId}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of AudienceSegment.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.