GET api/AdGroupMedia?systemName={systemName}&username={username}&password={password}&adGroupId={adGroupId}&offset={offset}&limit={limit}

Read all ad group medias for ad group

Request Information

URI Parameters

NameDescriptionTypeAdditional information
systemName

string

Required

username

string

Required

password

string

Required

adGroupId

integer

Required

offset

integer

Default value is 0

limit

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

Collection of APIAdGroupMedia
NameDescriptionTypeAdditional information
Id

Unique identifier

integer

None.

AdGroupId

Unique identifier of ad group to which this belongs

integer

None.

MediaId

Unique identifier of media to which this relates

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "adGroupId": 2,
    "mediaId": 3
  },
  {
    "id": 1,
    "adGroupId": 2,
    "mediaId": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfAPIAdGroupMedia xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Rochester.Models">
  <APIAdGroupMedia>
    <AdGroupId>2</AdGroupId>
    <Id>1</Id>
    <MediaId>3</MediaId>
  </APIAdGroupMedia>
  <APIAdGroupMedia>
    <AdGroupId>2</AdGroupId>
    <Id>1</Id>
    <MediaId>3</MediaId>
  </APIAdGroupMedia>
</ArrayOfAPIAdGroupMedia>