Method: accounts.publisherProfiles.list
Stay organized with collections
Save and categorize content based on your preferences.
List all publisher profiles visible to the buyer
HTTP request
GET https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/publisherProfiles
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
accountId |
string
Account ID of the buyer.
|
Query parameters
Parameters |
pageSize |
integer
Specify the number of results to include per page.
|
pageToken |
string
The page token as return from ListPublisherProfilesResponse.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
Response message for profiles visible to the buyer.
JSON representation |
{
"publisherProfiles": [
{
object (PublisherProfile )
}
],
"nextPageToken": string
} |
Fields |
publisherProfiles[] |
object (PublisherProfile )
The list of matching publisher profiles.
|
nextPageToken |
string
List pagination support
|
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adexchange.buyer
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eLists all publisher profiles that are visible to the specified buyer account.\u003c/p\u003e\n"],["\u003cp\u003eThe request is a standard HTTP GET request to a specific endpoint with account ID as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003ePagination is supported through \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters to control the number of results and retrieve subsequent pages.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of publisher profiles and a token for retrieving the next page if available.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/adexchange.buyer\u003c/code\u003e scope.\u003c/p\u003e\n"]]],[],null,["# Method: accounts.publisherProfiles.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListPublisherProfilesResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n- [Try it!](#try-it)\n\nList all publisher profiles visible to the buyer\n\n### HTTP request\n\n`GET https://adexchangebuyer.googleapis.com/v2beta1/accounts/{accountId}/publisherProfiles`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------|-----------------------------------|\n| `accountId` | `string` Account ID of the buyer. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|-----------------------------------------------------------------------|\n| `pageSize` | `integer` Specify the number of results to include per page. |\n| `pageToken` | `string` The page token as return from ListPublisherProfilesResponse. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse message for profiles visible to the buyer.\n\n| JSON representation ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"publisherProfiles\": [ { object (/authorized-buyers/apis/reference/rest/v2beta1/accounts.publisherProfiles#PublisherProfile) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `publisherProfiles[]` | `object (`[PublisherProfile](/authorized-buyers/apis/reference/rest/v2beta1/accounts.publisherProfiles#PublisherProfile)`)` The list of matching publisher profiles. |\n| `nextPageToken` | `string` List pagination support |\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/adexchange.buyer`"]]