Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

The AdWords API will sunset on April 27, 2022. Migrate to the Google Ads API to take advantage of the latest Google Ads features.

type Selector (v201809)

A generic selector to specify the type of information to return.


Namespace
https://adwords.google.com/api/adwords/cm/v201809

Field

fields

xsd:string[]

List of fields to select. Possible values are marked Selectable on the entity's reference page. For example, for the CampaignService selector, refer to the selectable fields from the Campaign reference page.

This field must contain distinct elements.
This field must not contain null elements.
This field is required and should not be null.

predicates

Predicate[]

Specifies how an entity (eg. adgroup, campaign, criterion, ad) should be filtered.

This field must not contain null elements.

dateRange

DateRange

Range of dates for which you want to include data. If this value is omitted, results for all dates are returned.

Note: This field is only used by the report download service. For all other services, it is ignored.

This range must be contained within the range [19700101, 20380101].

ordering

OrderBy[]

The fields on which you want to sort, and the sort order. The order in the list is significant: The first element in the list indicates the primary sort order, the next specifies the secondary sort order and so on.

paging

Paging

Pagination information.