Method: listPlannableLocations

Gibt die Liste der planbaren Standorte zurück, z. B. Länder

Liste der ausgelösten Fehler: AuthenticationError AuthorizationError HeaderError InternalError QuotaError RequestError

HTTP-Anfrage

POST https://googleads.googleapis.com/v15:listPlannableLocations

Die URL verwendet die Syntax der gRPC-Transcodierung.

Anfragetext

Der Anfragetext muss leer sein.

Antworttext

Die Liste der planbaren Standorte.

Bei Erfolg enthält der Antworttext Daten mit der folgenden Struktur:

JSON-Darstellung
{
  "plannableLocations": [
    {
      object (PlannableLocation)
    }
  ]
}
Felder
plannableLocations[]

object (PlannableLocation)

Die Liste der für die Planung verfügbaren Standorte. Beispiele für Standorte finden Sie unter https://developers.google.com/google-ads/api/reference/data/geotargets.

Autorisierungsbereiche

Erfordert den folgenden OAuth-Bereich:

  • https://www.googleapis.com/auth/adwords

Weitere Informationen finden Sie in der Übersicht über OAuth 2.0.

PlannableLocation

Einen planbaren Standort: Land, Großraum, Provinz usw.

JSON-Darstellung
{
  "id": string,
  "name": string,
  "parentCountryId": string,
  "countryCode": string,
  "locationType": string
}
Felder
id

string

Die Standort-ID.

name

string

Der eindeutige Standortname auf Englisch.

parentCountryId

string (int64 format)

Das übergeordnete Land (nicht vorhanden, wenn der Standort ein Land ist). Falls vorhanden, ist dies immer eine GeoTargetConstant-ID. Zusätzliche Informationen wie der Ländername werden von ReachPlanService.ListPlannableLocations oder GoogleAdsService.Search/SearchStream bereitgestellt.

countryCode

string

Der ISO 3166-1 Alpha-2-Ländercode für den Standort.

locationType

string

Der Typ des Standorts. Standorttypen entsprechen dem "targetType", der durch die Suche nach dem Standorttyp in GoogleAdsService.Search/SearchStream zurückgegeben wird.