AI-generated Key Takeaways
-
Retrieves a single ad using its unique ID and the associated user profile ID.
-
Employs gRPC Transcoding for constructing the request URL.
-
Requires
dfatrafficking
authorization scope for access. -
Returns an
Ad
object containing the ad details upon successful retrieval.
Gets one ad by ID.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v4/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