type PermissionError (v202411)

  • The SegmentPopulationService allows you to manage and retrieve information about audience segment populations in Google Ad Manager.

  • It provides methods for querying and manipulating segment populations, such as retrieving segment sizes and user IDs.

  • This service can return various errors, including those related to permissions, API versions, and data formatting.

  • The PermissionError specifically indicates issues with user authorization or access rights when using this service.

  • PermissionError.Reason clarifies the nature of the permission issue, either as PERMISSION_DENIED or UNKNOWN.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

ApiError (inherited)

fieldPath

xsd:string

fieldPathElements

FieldPathElement[]

trigger

xsd:string

errorString

xsd:string

PermissionError

reason

PermissionError.Reason


Enumerations
PERMISSION_DENIED
UNKNOWN