All URIs are relative to https://up.go-adserver.com
| Method | HTTP request | Description |
|---|---|---|
| ApiV1TrackerExportTypeGet | Get /api/v1/tracker/export/{type} | Export tracker entities as CSV. |
| ApiV1TrackerImportTypePost | Post /api/v1/tracker/import/{type} | Bulk-import offers from CSV. |
| ApiV1TrackerReportSchedulesGet | Get /api/v1/tracker/report-schedules | List scheduled report deliveries. |
| ApiV1TrackerReportSchedulesIdDelete | Delete /api/v1/tracker/report-schedules/{id} | Delete a report schedule. |
| ApiV1TrackerReportSchedulesIdGet | Get /api/v1/tracker/report-schedules/{id} | Get one report schedule. |
| ApiV1TrackerReportSchedulesIdPut | Put /api/v1/tracker/report-schedules/{id} | Update a report schedule. |
| ApiV1TrackerReportSchedulesPost | Post /api/v1/tracker/report-schedules | Schedule a recurring report. |
| ApiV1TrackerRulesGet | Get /api/v1/tracker/rules | List automation rules. |
| ApiV1TrackerRulesIdDelete | Delete /api/v1/tracker/rules/{id} | Delete a rule. |
| ApiV1TrackerRulesIdExecutionsGet | Get /api/v1/tracker/rules/{id}/executions | Execution history for one rule. |
| ApiV1TrackerRulesIdGet | Get /api/v1/tracker/rules/{id} | Get one rule. |
| ApiV1TrackerRulesIdPut | Put /api/v1/tracker/rules/{id} | Update a rule. |
| ApiV1TrackerRulesIdRunPost | Post /api/v1/tracker/rules/{id}/run | Run a rule now. |
| ApiV1TrackerRulesPost | Post /api/v1/tracker/rules | Create an automation rule. |
string ApiV1TrackerExportTypeGet(ctx, type_).Execute()
Export tracker entities as CSV.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
type_ := "type__example" // string | What to export.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerExportTypeGet(context.Background(), type_).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerExportTypeGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerExportTypeGet`: string
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerExportTypeGet`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| type_ | string | What to export. |
Other parameters are passed through a pointer to a apiApiV1TrackerExportTypeGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
string
- Content-Type: Not defined
- Accept: text/csv
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response ApiV1TrackerImportTypePost(ctx, type_).File(file).Commit(commit).Overwrite(overwrite).Execute()
Bulk-import offers from CSV.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
type_ := "type__example" // string | What to import.
file := os.NewFile(1234, "some_file") // *os.File | The CSV, at most 10 MiB.
commit := "commit_example" // string | \\\"true\\\" to write. Absent = validate and report only. (optional)
overwrite := "overwrite_example" // string | \\\"true\\\" to update rows whose id column matches one of the caller's own. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerImportTypePost(context.Background(), type_).File(file).Commit(commit).Overwrite(overwrite).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerImportTypePost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerImportTypePost`: ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerImportTypePost`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| type_ | string | What to import. |
Other parameters are passed through a pointer to a apiApiV1TrackerImportTypePostRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
file | *os.File | The CSV, at most 10 MiB. | commit | string | \"true\" to write. Absent = validate and report only. | overwrite | string | \"true\" to update rows whose id column matches one of the caller's own. |
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerReportSchedulesGet200Response ApiV1TrackerReportSchedulesGet(ctx).Execute()
List scheduled report deliveries.
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.TrackerAutomationAPI.ApiV1TrackerReportSchedulesGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerReportSchedulesGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerReportSchedulesGet`: ApiV1TrackerReportSchedulesGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerReportSchedulesGet`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiApiV1TrackerReportSchedulesGetRequest struct via the builder pattern
ApiV1TrackerReportSchedulesGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1PublisherPushCampaignsIdDelete200Response ApiV1TrackerReportSchedulesIdDelete(ctx, id).Execute()
Delete a report schedule.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
id := int32(56) // int32 | Schedule ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerReportSchedulesIdDelete(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerReportSchedulesIdDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerReportSchedulesIdDelete`: ApiV1PublisherPushCampaignsIdDelete200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerReportSchedulesIdDelete`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Schedule ID. |
Other parameters are passed through a pointer to a apiApiV1TrackerReportSchedulesIdDeleteRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ApiV1PublisherPushCampaignsIdDelete200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerReportSchedulesIdGet200Response ApiV1TrackerReportSchedulesIdGet(ctx, id).Execute()
Get one report schedule.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
id := int32(56) // int32 | Schedule ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerReportSchedulesIdGet(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerReportSchedulesIdGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerReportSchedulesIdGet`: ApiV1TrackerReportSchedulesIdGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerReportSchedulesIdGet`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Schedule ID. |
Other parameters are passed through a pointer to a apiApiV1TrackerReportSchedulesIdGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ApiV1TrackerReportSchedulesIdGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1PublisherPushCampaignsPost200Response ApiV1TrackerReportSchedulesIdPut(ctx, id).ApiV1TrackerReportSchedulesIdPutRequest(apiV1TrackerReportSchedulesIdPutRequest).Execute()
Update a report schedule.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
id := int32(56) // int32 | Schedule ID.
apiV1TrackerReportSchedulesIdPutRequest := *openapiclient.NewApiV1TrackerReportSchedulesIdPutRequest() // ApiV1TrackerReportSchedulesIdPutRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerReportSchedulesIdPut(context.Background(), id).ApiV1TrackerReportSchedulesIdPutRequest(apiV1TrackerReportSchedulesIdPutRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerReportSchedulesIdPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerReportSchedulesIdPut`: ApiV1PublisherPushCampaignsPost200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerReportSchedulesIdPut`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Schedule ID. |
Other parameters are passed through a pointer to a apiApiV1TrackerReportSchedulesIdPutRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
apiV1TrackerReportSchedulesIdPutRequest | ApiV1TrackerReportSchedulesIdPutRequest | |
ApiV1PublisherPushCampaignsPost200Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1PublisherPushCampaignsPost200Response ApiV1TrackerReportSchedulesPost(ctx).ApiV1TrackerReportSchedulesPostRequest(apiV1TrackerReportSchedulesPostRequest).Execute()
Schedule a recurring report.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
apiV1TrackerReportSchedulesPostRequest := *openapiclient.NewApiV1TrackerReportSchedulesPostRequest("Name_example", "ReportType_example", "Cadence_example") // ApiV1TrackerReportSchedulesPostRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerReportSchedulesPost(context.Background()).ApiV1TrackerReportSchedulesPostRequest(apiV1TrackerReportSchedulesPostRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerReportSchedulesPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerReportSchedulesPost`: ApiV1PublisherPushCampaignsPost200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerReportSchedulesPost`: %v\n", resp)
}Other parameters are passed through a pointer to a apiApiV1TrackerReportSchedulesPostRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| apiV1TrackerReportSchedulesPostRequest | ApiV1TrackerReportSchedulesPostRequest |
ApiV1PublisherPushCampaignsPost200Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerRulesGet200Response ApiV1TrackerRulesGet(ctx).Execute()
List automation rules.
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.TrackerAutomationAPI.ApiV1TrackerRulesGet(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerRulesGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerRulesGet`: ApiV1TrackerRulesGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerRulesGet`: %v\n", resp)
}This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiApiV1TrackerRulesGetRequest struct via the builder pattern
ApiV1TrackerRulesGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1PublisherPushCampaignsIdDelete200Response ApiV1TrackerRulesIdDelete(ctx, id).Execute()
Delete a rule.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
id := int32(56) // int32 | Rule ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerRulesIdDelete(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerRulesIdDelete``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerRulesIdDelete`: ApiV1PublisherPushCampaignsIdDelete200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerRulesIdDelete`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Rule ID. |
Other parameters are passed through a pointer to a apiApiV1TrackerRulesIdDeleteRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ApiV1PublisherPushCampaignsIdDelete200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response ApiV1TrackerRulesIdExecutionsGet(ctx, id).Execute()
Execution history for one rule.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
id := int32(56) // int32 | Rule ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerRulesIdExecutionsGet(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerRulesIdExecutionsGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerRulesIdExecutionsGet`: ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerRulesIdExecutionsGet`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Rule ID. |
Other parameters are passed through a pointer to a apiApiV1TrackerRulesIdExecutionsGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerRulesIdGet200Response ApiV1TrackerRulesIdGet(ctx, id).Execute()
Get one rule.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
id := int32(56) // int32 | Rule ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerRulesIdGet(context.Background(), id).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerRulesIdGet``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerRulesIdGet`: ApiV1TrackerRulesIdGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerRulesIdGet`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Rule ID. |
Other parameters are passed through a pointer to a apiApiV1TrackerRulesIdGetRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
ApiV1TrackerRulesIdGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1PublisherPushCampaignsPost200Response ApiV1TrackerRulesIdPut(ctx, id).ApiV1TrackerRulesIdPutRequest(apiV1TrackerRulesIdPutRequest).Execute()
Update a rule.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
id := int32(56) // int32 | Rule ID.
apiV1TrackerRulesIdPutRequest := *openapiclient.NewApiV1TrackerRulesIdPutRequest() // ApiV1TrackerRulesIdPutRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerRulesIdPut(context.Background(), id).ApiV1TrackerRulesIdPutRequest(apiV1TrackerRulesIdPutRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerRulesIdPut``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerRulesIdPut`: ApiV1PublisherPushCampaignsPost200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerRulesIdPut`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Rule ID. |
Other parameters are passed through a pointer to a apiApiV1TrackerRulesIdPutRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
apiV1TrackerRulesIdPutRequest | ApiV1TrackerRulesIdPutRequest | |
ApiV1PublisherPushCampaignsPost200Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response ApiV1TrackerRulesIdRunPost(ctx, id).Window(window).Execute()
Run a rule now.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
id := int32(56) // int32 | Rule ID.
window := "window_example" // string | Override the evaluation window for this run. (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerRulesIdRunPost(context.Background(), id).Window(window).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerRulesIdRunPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerRulesIdRunPost`: ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerRulesIdRunPost`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| id | int32 | Rule ID. |
Other parameters are passed through a pointer to a apiApiV1TrackerRulesIdRunPostRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
window | string | Override the evaluation window for this run. |
ApiV1TrackerTrackingLinksIdZoneCostsGet200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ApiV1PublisherPushCampaignsPost200Response ApiV1TrackerRulesPost(ctx).ApiV1TrackerRulesPostRequest(apiV1TrackerRulesPostRequest).Execute()
Create an automation rule.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/goadserver/goadserver-go"
)
func main() {
apiV1TrackerRulesPostRequest := *openapiclient.NewApiV1TrackerRulesPostRequest("Pause dead placements", "Scope_example", "Schedule_example") // ApiV1TrackerRulesPostRequest |
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.TrackerAutomationAPI.ApiV1TrackerRulesPost(context.Background()).ApiV1TrackerRulesPostRequest(apiV1TrackerRulesPostRequest).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `TrackerAutomationAPI.ApiV1TrackerRulesPost``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ApiV1TrackerRulesPost`: ApiV1PublisherPushCampaignsPost200Response
fmt.Fprintf(os.Stdout, "Response from `TrackerAutomationAPI.ApiV1TrackerRulesPost`: %v\n", resp)
}Other parameters are passed through a pointer to a apiApiV1TrackerRulesPostRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| apiV1TrackerRulesPostRequest | ApiV1TrackerRulesPostRequest |
ApiV1PublisherPushCampaignsPost200Response
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]