# Ad Exchange Buyer API API

> Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.

Ad Exchange Buyer API is an analytics API from googleapis.com. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 38 endpoints.

## At a glance

- Category: [Analytics](https://www.openparable.com/apis/category/analytics)
- Provider: googleapis.com
- Authentication: OAuth
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://www.googleapis.com/adexchangebuyer/v1.4
- Documentation: https://developers.google.com/ad-exchange/buyer-rest
- OpenAPI description: https://api.apis.guru/v2/specs/googleapis.com/adexchangebuyer/v1.4/openapi.json
- Version: v1.4
- Specification updated: 2021-05-24

## Example request

```bash
curl -X GET "https://www.googleapis.com/adexchangebuyer/v1.4/accounts" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN"
```

## Endpoints

- `GET /accounts` — Retrieves the authenticated user's list of accounts.
- `GET /accounts/{id}` — Gets one account by ID.
- `PUT /accounts/{id}` — Updates an existing account.
- `PATCH /accounts/{id}` — Updates an existing account. This method supports patch semantics.
- `GET /billinginfo` — Retrieves a list of billing information for all accounts of the authenticated user.
- `GET /billinginfo/{accountId}` — Returns the billing information for one account specified by account ID.
- `GET /billinginfo/{accountId}/{billingId}` — Returns the budget information for the adgroup specified by the accountId and billingId.
- `PUT /billinginfo/{accountId}/{billingId}` — Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request.
- `PATCH /billinginfo/{accountId}/{billingId}` — Updates the budget amount for the budget of the adgroup specified by the accountId and billingId, with the budget amount in the request. This method supports pa
- `GET /creatives` — Retrieves a list of the authenticated user's active creatives. A creative will be available 30-40 minutes after submission.
- `POST /creatives` — Submit a new creative.
- `GET /creatives/{accountId}/{buyerCreativeId}` — Gets the status for a single creative. A creative will be available 30-40 minutes after submission.
- `POST /creatives/{accountId}/{buyerCreativeId}/addDeal/{dealId}` — Add a deal id association for the creative.
- `GET /creatives/{accountId}/{buyerCreativeId}/listDeals` — Lists the external deal ids associated with the creative.
- `POST /creatives/{accountId}/{buyerCreativeId}/removeDeal/{dealId}` — Remove a deal id associated with the creative.
- `GET /performancereport` — Retrieves the authenticated user's list of performance metrics.
- `GET /pretargetingconfigs/{accountId}` — Retrieves a list of the authenticated user's pretargeting configurations.
- `POST /pretargetingconfigs/{accountId}` — Inserts a new pretargeting configuration.
- `GET /pretargetingconfigs/{accountId}/{configId}` — Gets a specific pretargeting configuration
- `PUT /pretargetingconfigs/{accountId}/{configId}` — Updates an existing pretargeting config.
- `PATCH /pretargetingconfigs/{accountId}/{configId}` — Updates an existing pretargeting config. This method supports patch semantics.
- `DELETE /pretargetingconfigs/{accountId}/{configId}` — Deletes an existing pretargeting config.
- `POST /privateauction/{privateAuctionId}/updateproposal` — Update a given private auction proposal
- `GET /products/search` — Gets the requested product.
- `GET /products/{productId}` — Gets the requested product by id.
- `POST /proposals/insert` — Create the given list of proposals
- `GET /proposals/search` — Search for proposals using pql query
- `GET /proposals/{proposalId}` — Get a proposal given its id
- `GET /proposals/{proposalId}/deals` — List all the deals for a given proposal
- `POST /proposals/{proposalId}/deals/delete` — Delete the specified deals from the proposal
- `POST /proposals/{proposalId}/deals/insert` — Add new deals for the specified proposal
- `POST /proposals/{proposalId}/deals/update` — Replaces all the deals in the proposal with the passed in deals
- `GET /proposals/{proposalId}/notes` — Get all the notes associated with a proposal
- `POST /proposals/{proposalId}/notes/insert` — Add notes to the proposal
- `POST /proposals/{proposalId}/setupcomplete` — Update the given proposal to indicate that setup has been completed.
- `PUT /proposals/{proposalId}/{revisionNumber}/{updateAction}` — Update the given proposal
- `PATCH /proposals/{proposalId}/{revisionNumber}/{updateAction}` — Update the given proposal. This method supports patch semantics.
- `GET /publisher/{accountId}/profiles` — Gets the requested publisher profile(s) by publisher accountId.

## Questions

### Does the Ad Exchange Buyer API API need an API key?

Yes. The Ad Exchange Buyer API API uses OAuth authentication; the documentation explains how to get credentials.

### Does the Ad Exchange Buyer API API support HTTPS?

Yes, the Ad Exchange Buyer API API is served over HTTPS.

### How many endpoints does the Ad Exchange Buyer API API have?

Its OpenAPI description lists 38 endpoints in version v1.4. All of them are shown on this page.

### What are alternatives to the Ad Exchange Buyer API 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

- [Google Play Integrity API](https://www.openparable.com/apis/google-play-integrity): The 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](https://www.openparable.com/apis/versionhistory-googleapis-com): Version History API - Prod
- [Doc Converter](https://www.openparable.com/apis/doc-converter): This api converts file formats of OpenXml and OpenOffice documents formats to vector files (e.g., svg)
- [Perspective Comment Analyzer API](https://www.openparable.com/apis/perspective-comment-analyzer): The 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](https://www.openparable.com/apis/safe-browsing): Enables 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](https://www.openparable.com/apis/web-fonts-developer): The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.
- [Drive API](https://www.openparable.com/apis/drive): Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.
- [Firebase Cloud Messaging API](https://www.openparable.com/apis/firebase-cloud-messaging): FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.
- [Firebase Cloud Messaging Data API](https://www.openparable.com/apis/firebase-cloud-messaging-data): Provides additional information about Firebase Cloud Messaging (FCM) message sends and deliveries.
- [Gmail API](https://www.openparable.com/apis/gmail-google): The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.
- [Google Analytics API](https://www.openparable.com/apis/google-analytics-2): Views and manages your Google Analytics data.
- [YouTube Data API v3](https://www.openparable.com/apis/youtube-data-v3): The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels.

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/ad-exchange-buyer (OpenParable). Cite the canonical URL above.
