
Getting Target Information
You can obtain information about the targets that are in your library by using the GetTargetsInfoFromLibrary service operation. This operation returns an array of TargetInfo objects for all targets in your library. The TargetInfo object contains only basic information, such as the target identifier, for the target.
To obtain more detailed information about one or more targets, use the GetTargetsByIds service operation. This operation takes an array of target identifiers and returns the full set of information about the specified targets.
To obtain the targets that are associated with one or more ad groups, use the GetTargetsByAdGroupIds service operation. Similarly, use the GetTargetsByCampaignIds service operation to get the targets that are associated with one or more campaigns.