Skip to content

Commit 643b4f1

Browse files
authored
Merge pull request bsm#58 from saifat29/patch-1
Add omitempty to Native Ad Response Link struct
2 parents 9c04274 + 0438498 commit 643b4f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

native/response/link.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package response
33
import "github.com/bsm/openrtb"
44

55
type Link struct {
6-
URL string `json:"url"` // Landing URL of the clickable link
7-
ClickTrackers []string `json:"clicktrackers"` // List of third-party tracker URLs to be fired on click of the URL
8-
FallbackURL string `json:"fallback,omitempty"` // Fallback URL for deeplink. To be used if the URL given in url is not supported by the device.
6+
URL string `json:"url"` // Landing URL of the clickable link
7+
ClickTrackers []string `json:"clicktrackers,omitempty"` // List of third-party tracker URLs to be fired on click of the URL
8+
FallbackURL string `json:"fallback,omitempty"` // Fallback URL for deeplink. To be used if the URL given in url is not supported by the device.
99
Ext openrtb.Extension `json:"ext,omitempty"`
1010
}

0 commit comments

Comments
 (0)