AI-generated Key Takeaways
-
This API call retrieves a single campaign using its ID.
-
The request uses a GET method with
profileIdandidas path parameters. -
The request body must be empty, and a successful response returns a Campaign object.
-
Authorization requires the
https://www.googleapis.com/auth/dfatraffickingOAuth scope.
Gets one campaign by ID.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/campaigns/{id}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
id |
Campaign ID. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Campaign.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking