type | entity | title | order |
---|---|---|---|
list |
AdGroup |
List AdGroup |
3 |
The customer.adGroups.list()
returns all of the entities in the account, including REMOVED
entities. It also returns all other resources that can be selected with each instance of AdGroup.
This method was designed for convenience and discovery. Internally, it uses the customer.report()
method with all attributes
fields included. For production code, we recommend using customer.report()
with only the fields you need.
-
Object of the form
{ limit, order_by, constraints }
:-
Number of rows to return. Equivalent to the limit in
customer.report()
. Defaults to no limit. -
The field to sort the returned rows by. Equivalent to the order_by in
customer.report()
. By default, no sorting is applied. -
A constraints array or object. See the
customer.report()
documentation for details. By default, all entities are returned.
-
Number of rows to return. Equivalent to the limit in
Returns an array of objects.
Each object has a ad_group
property. Any other resources that can be selected with ad_group
will also be added as properities.