Overview
Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.
Ad Exchange Buyer API II is an analytics API from googleapis.com. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 50 endpoints.
At a glance
- Authentication
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Analytics
- Base URL
https://adexchangebuyer.googleapis.com/- Version
- v2beta1
- Endpoints
- 50
- OpenAPI
- Specification ↗
- Spec updated
- 2023-04-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://adexchangebuyer.googleapis.com/v2beta1/accounts/ACCOUNTID/clients" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://adexchangebuyer.googleapis.com/v2beta1/accounts/ACCOUNTID/clients", {
method: "GET",
headers: {
"Accept": "application/json",
"Authorization": "Bearer YOUR_TOKEN",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://adexchangebuyer.googleapis.com/v2beta1/accounts/ACCOUNTID/clients",
headers={
"Accept": "application/json",
"Authorization": "Bearer YOUR_TOKEN",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /v2beta1/accounts/{accountId}/clients | Lists all the clients for the current sponsor buyer. |
| POST | /v2beta1/accounts/{accountId}/clients | Creates a new client buyer. |
| GET | /v2beta1/accounts/{accountId}/clients/{clientAccountId} | Gets a client buyer with a given client account ID. |
| PUT | /v2beta1/accounts/{accountId}/clients/{clientAccountId} | Updates an existing client buyer. |
| GET | /v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations | Lists all the client users invitations for a client with a given account ID. |
| POST | /v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations | Creates and sends out an email invitation to access an Ad Exchange client buyer account. |
| GET | /v2beta1/accounts/{accountId}/clients/{clientAccountId}/invitations/{invitationId} | Retrieves an existing client user invitation. |
| GET | /v2beta1/accounts/{accountId}/clients/{clientAccountId}/users | Lists all the known client users for a specified sponsor buyer account ID. |
| GET | /v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId} | Retrieves an existing client user. |
| PUT | /v2beta1/accounts/{accountId}/clients/{clientAccountId}/users/{userId} | Updates an existing client user. Only the user status can be changed on update. |
| GET | /v2beta1/accounts/{accountId}/creatives | Lists creatives. |
| POST | /v2beta1/accounts/{accountId}/creatives | Creates a creative. |
| GET | /v2beta1/accounts/{accountId}/creatives/{creativeId} | Gets a creative. |
| PUT | /v2beta1/accounts/{accountId}/creatives/{creativeId} | Updates a creative. |
| GET | /v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations | List all creative-deal associations. |
| POST | /v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:add | Associate an existing deal with a creative. |
| POST | /v2beta1/accounts/{accountId}/creatives/{creativeId}/dealAssociations:remove | Remove the association between a deal and a creative. |
| POST | /v2beta1/accounts/{accountId}/creatives/{creativeId}:stopWatching | Stops watching a creative. Will stop push notifications being sent to the topics when the creative changes status. |
| POST | /v2beta1/accounts/{accountId}/creatives/{creativeId}:watch | Watches a creative. Will result in push notifications being sent to the topic when the creative changes status. |
| GET | /v2beta1/accounts/{accountId}/finalizedProposals | List finalized proposals, regardless if a proposal is being renegotiated. A filter expression (PQL query) may be specified to filter the results. The notes will |
| POST | /v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:pause | Update given deals to pause serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all listed deals in the req |
| POST | /v2beta1/accounts/{accountId}/finalizedProposals/{proposalId}:resume | Update given deals to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all listed deals in the r |
| GET | /v2beta1/accounts/{accountId}/products | List all products visible to the buyer (optionally filtered by the specified PQL query). |
| GET | /v2beta1/accounts/{accountId}/products/{productId} | Gets the requested product by ID. |
| GET | /v2beta1/accounts/{accountId}/proposals | List proposals. A filter expression (PQL query) may be specified to filter the results. To retrieve all finalized proposals, regardless if a proposal is being r |
| POST | /v2beta1/accounts/{accountId}/proposals | Create the given proposal. Each created proposal and any deals it contains are assigned a unique ID by the server. |
| GET | /v2beta1/accounts/{accountId}/proposals/{proposalId} | Gets a proposal given its ID. The proposal is returned at its head revision. |
| PUT | /v2beta1/accounts/{accountId}/proposals/{proposalId} | Update the given proposal at the client known revision number. If the server revision has advanced since the passed-in `proposal.proposal_revision`, an `ABORTED |
| POST | /v2beta1/accounts/{accountId}/proposals/{proposalId}:accept | Mark the proposal as accepted at the given revision number. If the number does not match the server's revision number an `ABORTED` error message will be returne |
| POST | /v2beta1/accounts/{accountId}/proposals/{proposalId}:addNote | Create a new note and attach it to the proposal. The note is assigned a unique ID by the server. The proposal revision number will not increase when associated |
| POST | /v2beta1/accounts/{accountId}/proposals/{proposalId}:cancelNegotiation | Cancel an ongoing negotiation on a proposal. This does not cancel or end serving for the deals if the proposal has been finalized, but only cancels a negotiatio |
| POST | /v2beta1/accounts/{accountId}/proposals/{proposalId}:completeSetup | You can opt-in to manually update proposals to indicate that setup is complete. By default, proposal setup is automatically completed after their deals are fina |
| POST | /v2beta1/accounts/{accountId}/proposals/{proposalId}:pause | Update the given proposal to pause serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to true for all deals in the pro |
| POST | /v2beta1/accounts/{accountId}/proposals/{proposalId}:resume | Update the given proposal to resume serving. This method will set the `DealServingMetadata.DealPauseStatus.has_buyer_paused` bit to false for all deals in the p |
| GET | /v2beta1/accounts/{accountId}/publisherProfiles | List all publisher profiles visible to the buyer |
| GET | /v2beta1/accounts/{accountId}/publisherProfiles/{publisherProfileId} | Gets the requested publisher profile by id. |
| GET | /v2beta1/{filterSetName}/bidMetrics | Lists all metrics that are measured in terms of number of bids. |
| GET | /v2beta1/{filterSetName}/bidResponseErrors | List all errors that occurred in bid responses, with the number of bid responses affected for each reason. |
| GET | /v2beta1/{filterSetName}/bidResponsesWithoutBids | List all reasons for which bid responses were considered to have no applicable bids, with the number of bid responses affected for each reason. |
| GET | /v2beta1/{filterSetName}/filteredBidRequests | List all reasons that caused a bid request not to be sent for an impression, with the number of bid requests not sent for each reason. |
| GET | /v2beta1/{filterSetName}/filteredBids | List all reasons for which bids were filtered, with the number of bids filtered for each reason. |
| GET | /v2beta1/{filterSetName}/filteredBids/{creativeStatusId}/creatives | List all creatives associated with a specific reason for which bids were filtered, with the number of bids filtered for each creative. |
| GET | /v2beta1/{filterSetName}/filteredBids/{creativeStatusId}/details | List all details associated with a specific reason for which bids were filtered, with the number of bids filtered for each detail. |
| GET | /v2beta1/{filterSetName}/impressionMetrics | Lists all metrics that are measured in terms of number of impressions. |
| GET | /v2beta1/{filterSetName}/losingBids | List all reasons for which bids lost in the auction, with the number of bids that lost for each reason. |
| GET | /v2beta1/{filterSetName}/nonBillableWinningBids | List all reasons for which winning bids were not billable, with the number of bids not billed for each reason. |
| GET | /v2beta1/{name} | Retrieves the requested filter set for the account with the given account ID. |
| DELETE | /v2beta1/{name} | Deletes the requested filter set from the account with the given account ID. |
| GET | /v2beta1/{ownerName}/filterSets | Lists all filter sets for the account with the given account ID. |
| POST | /v2beta1/{ownerName}/filterSets | Creates the specified filter set for the account with the given account ID. |
Questions
Does the Ad Exchange Buyer API II API need an API key?
Yes. The Ad Exchange Buyer API II API uses OAuth authentication; the documentation explains how to get credentials.
Does the Ad Exchange Buyer API II API support HTTPS?
Yes, the Ad Exchange Buyer API II API is served over HTTPS.
How many endpoints does the Ad Exchange Buyer API II API have?
Its OpenAPI description lists 50 endpoints in version v2beta1. All of them are shown on this page.
What are alternatives to the Ad Exchange Buyer API II API?
Other Analytics APIs include Google Play Integrity API, versionhistory.googleapis.com API, Doc Converter, Perspective Comment Analyzer API, Safe Browsing API.
Similar analytics APIs
Compare alternatives →Google Play Integrity API
AnalyticsThe Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification.
versionhistory.googleapis.com API
AnalyticsVersion History API - Prod
Doc Converter
AnalyticsThis api converts file formats of OpenXml and OpenOffice documents formats to vector files (e.g., svg)
Perspective Comment Analyzer API
AnalyticsThe Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the "toxicity" of a comment). Users can leverage the "SuggestCommentScore" method to submit corrections to improve Perspective over time. Users can set the "doNotStore" flag to ensure that all submitted comments are automatically deleted after scores are returned.
Safe Browsing API
AnalyticsEnables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.
Web Fonts Developer API
AnalyticsThe Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.
Listed from APIs.guru (CC0).