Skip to main content
PUT
/
esa
/
{esaId}
/
gam
/
default-advertiser
Set default GAM advertiser
curl --request PUT \
  --url https://api.interchange.io/api/v2/storefront/esa/{esaId}/gam/default-advertiser \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "gamAdvertiserId": "<string>"
}
'
{
  "defaultGamAdvertiserId": "<string>"
}

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

esaId
integer
required

Embedded sales agent connection id.

Required range: x <= 9007199254740991
Example:

123

Body

application/json
gamAdvertiserId
string
required
Minimum string length: 1

Response

Set default GAM advertiser

defaultGamAdvertiserId
string
required