AI-generated Key Takeaways
-
This document explains how to get a single ad by its ID using an HTTP GET request.
-
The HTTP request uses a specific URL structure that includes the user profile ID and the ad ID as path parameters.
-
The request body must be empty, and a successful response will contain an instance of an Ad.
-
Authorization requires the
https://www.googleapis.com/auth/dfatraffickingOAuth scope.
Gets one ad by ID.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/ads/{id}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
id |
Ad ID. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Ad.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking