All URIs are relative to https://up.go-adserver.com
| Method | HTTP request | Description |
|---|---|---|
| ApiV1TrackerCountriesGet | Get /api/v1/tracker/countries | List countries seen in the caller's traffic. |
| ApiV1TrackerCustomParamsGet | Get /api/v1/tracker/custom-params | Get the custom-parameter slots. |
| ApiV1TrackerCustomParamsPut | Put /api/v1/tracker/custom-params | Name the custom-parameter slots. |
| ApiV1TrackerSettingsGet | Get /api/v1/tracker/settings | Tracker settings for this account. |
| ApiV1TrackerSourceTemplatesGet | Get /api/v1/tracker/source-templates | List traffic-source templates. |
| ApiV1TrackerTokensGet | Get /api/v1/tracker/tokens | List the macro tokens. |
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response ApiV1TrackerCountriesGet(ctx).Execute()
List countries seen in the caller's traffic.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerSettingsAPI.ApiV1TrackerCountriesGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerSettingsAPI.ApiV1TrackerCountriesGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerCountriesGet`: ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerSettingsAPI.ApiV1TrackerCountriesGet`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiApiV1TrackerCountriesGetRequest struct via the builder pattern
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response ApiV1TrackerCustomParamsGet(ctx).Execute()
Get the custom-parameter slots.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerSettingsAPI.ApiV1TrackerCustomParamsGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerSettingsAPI.ApiV1TrackerCustomParamsGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerCustomParamsGet`: ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerSettingsAPI.ApiV1TrackerCustomParamsGet`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiApiV1TrackerCustomParamsGetRequest struct via the builder pattern
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response ApiV1TrackerCustomParamsPut(ctx).ApiV1TrackerCustomParamsPutRequest(apiV1TrackerCustomParamsPutRequest).Execute()
Name the custom-parameter slots.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
apiV1TrackerCustomParamsPutRequest := *openapiclient.NewApiV1TrackerCustomParamsPutRequest([]openapiclient.ApiV1TrackerCustomParamsPutRequestSlotsInner{*openapiclient.NewApiV1TrackerCustomParamsPutRequestSlotsInner()}) // ApiV1TrackerCustomParamsPutRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerSettingsAPI.ApiV1TrackerCustomParamsPut(context.Background()).ApiV1TrackerCustomParamsPutRequest(apiV1TrackerCustomParamsPutRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerSettingsAPI.ApiV1TrackerCustomParamsPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerCustomParamsPut`: ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerSettingsAPI.ApiV1TrackerCustomParamsPut`: %v\n", resp)
}Other parameters are passed through a pointer to a apiApiV1TrackerCustomParamsPutRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| apiV1TrackerCustomParamsPutRequest | ApiV1TrackerCustomParamsPutRequest |
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response ApiV1TrackerSettingsGet(ctx).Execute()
Tracker settings for this account.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerSettingsAPI.ApiV1TrackerSettingsGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerSettingsAPI.ApiV1TrackerSettingsGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerSettingsGet`: ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerSettingsAPI.ApiV1TrackerSettingsGet`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiApiV1TrackerSettingsGetRequest struct via the builder pattern
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response ApiV1TrackerSourceTemplatesGet(ctx).Execute()
List traffic-source templates.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerSettingsAPI.ApiV1TrackerSourceTemplatesGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerSettingsAPI.ApiV1TrackerSourceTemplatesGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerSourceTemplatesGet`: ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerSettingsAPI.ApiV1TrackerSourceTemplatesGet`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiApiV1TrackerSourceTemplatesGetRequest struct via the builder pattern
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response ApiV1TrackerTokensGet(ctx).Execute()
List the macro tokens.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerSettingsAPI.ApiV1TrackerTokensGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerSettingsAPI.ApiV1TrackerTokensGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerTokensGet`: ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerSettingsAPI.ApiV1TrackerTokensGet`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiApiV1TrackerTokensGetRequest struct via the builder pattern
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]