Authorized Buyers Marketplace API . mediaPlanners

Instance Methods

close()

Close httplib2 connections.

list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)

Lists all media planner accounts that the caller has access to. For curators, this will return all media planners that have accepted curator terms. For other accounts, attempting to list media planners will return an error.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists all media planner accounts that the caller has access to. For curators, this will return all media planners that have accepted curator terms. For other accounts, attempting to list media planners will return an error.

Args:
  filter: string, Optional query string using the [Cloud API list filtering syntax](/authorized-buyers/apis/guides/list-filters). Supported columns for filtering are: * `name` * `displayName` * `ancestorNames`
  pageSize: integer, The maximum number of media planners to return. If unspecified, at most 100 media planners will be returned. The maximum value is 500; values above 500 will be coerced to 500.
  pageToken: string, A token identifying a page of results the server should return. This value is received from a previous `ListMediaPlanners` call in ListMediaPlannersResponse.nextPageToken.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A response containing media planner account information.
  "mediaPlanners": [ # List of media planners.
    { # Represents a media planner account.
      "accountId": "A String", # Output only. Account ID of the media planner.
      "ancestorNames": [ # Output only. The ancestor names of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method.
        "A String",
      ],
      "displayName": "A String", # Output only. The display name of the media planner. Can be used to filter the response of the mediaPlanners.list method.
      "name": "A String", # Identifier. The unique resource name of the media planner. Format: `mediaPlanners/{mediaPlannerAccountId}` Can be used to filter the response of the mediaPlanners.list method.
    },
  ],
  "nextPageToken": "A String", # A token which can be passed to a subsequent call to the `ListMediaPlanners` method to retrieve the next page of results in ListMediaPlannersRequest.pageToken.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.