AI-generated Key Takeaways
-
This API call retrieves a list of dynamic targeting keys.
-
The request uses a GET HTTP method and includes the user profile ID as a path parameter.
-
Optional query parameters can be used to filter the results by names, object type, object ID, or advertiser ID.
-
The request body must be empty, and the successful response contains a list of dynamic targeting keys.
-
The call requires the
https://www.googleapis.com/auth/dfatraffickingOAuth scope for authorization.
- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Retrieves a list of dynamic targeting keys.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/dynamicTargetingKeys
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
Query parameters
| Parameters | |
|---|---|
names[] |
Select only dynamic targeting keys exactly matching these names. |
objectType |
Select only dynamic targeting keys with this object type. |
objectId |
Select only dynamic targeting keys with this object ID. |
advertiserId |
Select only dynamic targeting keys whose object has this advertiser ID. |
Request body
The request body must be empty.
Response body
Dynamic Targeting Key dynamicTargetingKeys.list Response
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"kind": string,
"dynamicTargetingKeys": [
{
object ( |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
dynamicTargetingKeys[] |
Dynamic targeting key collection. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking