List
|
|||||
|
|
Retrieves a list of placement strategies, possibly filtered. This method supports paging
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- View and manage your DoubleClick Campaign Manager's (DCM) display ad campaigns
Input
This building block consumes 7 input parameters
Name | Format | Description |
---|---|---|
profileId Required |
INTEGER |
User profile ID associated with this request |
ids |
INTEGER |
Select only placement strategies with these IDs |
maxResults |
INTEGER |
Maximum number of results to return |
pageToken |
STRING |
Value of the nextPageToken from the previous result page |
searchString |
STRING |
Allows searching for objects by name or ID. Wildcards () are allowed. For example, "placementstrategy2015" will return objects with names like "placementstrategy June 2015", "placementstrategy April 2015", or simply "placementstrategy 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "placementstrategy" will match objects with name "my placementstrategy", "placementstrategy 2015", or simply "placementstrategy" |
sortField |
ENUMERATION |
Field by which to sort the list |
sortOrder |
ENUMERATION |
Order of sorted results |
= Parameter name
= Format
profileId INTEGER Required User profile ID associated with this request |
ids INTEGER Select only placement strategies with these IDs |
maxResults INTEGER Maximum number of results to return |
pageToken STRING Value of the nextPageToken from the previous result page |
searchString STRING Allows searching for objects by name or ID. Wildcards () are allowed. For example, "placementstrategy2015" will return objects with names like "placementstrategy June 2015", "placementstrategy April 2015", or simply "placementstrategy 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "placementstrategy" will match objects with name "my placementstrategy", "placementstrategy 2015", or simply "placementstrategy" |
sortField ENUMERATION Field by which to sort the list |
sortOrder ENUMERATION Order of sorted results |
Output
This building block provides 7 output parameters
Name | Format | Description |
---|---|---|
kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategiesListResponse" |
nextPageToken |
STRING |
Pagination token to be used for the next list operation |
placementStrategies[] |
OBJECT |
Contains properties of a placement strategy |
placementStrategies[].accountId |
INTEGER |
Account ID of this placement strategy.This is a read-only field that can be left blank |
placementStrategies[].id |
INTEGER |
ID of this placement strategy. This is a read-only, auto-generated field |
placementStrategies[].kind |
STRING |
Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy" |
placementStrategies[].name |
STRING |
Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account |
= Parameter name
= Format
kind STRING Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategiesListResponse" |
nextPageToken STRING Pagination token to be used for the next list operation |
placementStrategies[] OBJECT Contains properties of a placement strategy |
placementStrategies[].accountId INTEGER Account ID of this placement strategy.This is a read-only field that can be left blank |
placementStrategies[].id INTEGER ID of this placement strategy. This is a read-only, auto-generated field |
placementStrategies[].kind STRING Identifies what kind of resource this is. Value: the fixed string "dfareporting#placementStrategy" |
placementStrategies[].name STRING Name of this placement strategy. This is a required field. It must be less than 256 characters long and unique among placement strategies of the same account |