List

Retrieves a list of metros

1 variables
9 variables

Retrieves a list of metros

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 1 input parameters

  = Parameter name
  = Format

profileId INTEGER Required

User profile ID associated with this request

Output

This building block provides 9 output parameters

  = Parameter name
  = Format

kind STRING

Identifies what kind of resource this is. Value: the fixed string "dfareporting#metrosListResponse"

metros[] OBJECT

Contains information about a metro region that can be targeted by ads

metros[].countryCode STRING

Country code of the country to which this metro region belongs

metros[].countryDartId INTEGER

DART ID of the country to which this metro region belongs

metros[].dartId INTEGER

DART ID of this metro region

metros[].dmaId INTEGER

DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code

metros[].kind STRING

Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro"

metros[].metroCode STRING

Metro code of this metro region. This is equivalent to dma_id

metros[].name STRING

Name of this metro region