summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/SevereCloud/vksdk/v2/object/ads.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/SevereCloud/vksdk/v2/object/ads.go')
-rw-r--r--vendor/github.com/SevereCloud/vksdk/v2/object/ads.go20
1 files changed, 14 insertions, 6 deletions
diff --git a/vendor/github.com/SevereCloud/vksdk/v2/object/ads.go b/vendor/github.com/SevereCloud/vksdk/v2/object/ads.go
index e0c379b4..a946c6e3 100644
--- a/vendor/github.com/SevereCloud/vksdk/v2/object/ads.go
+++ b/vendor/github.com/SevereCloud/vksdk/v2/object/ads.go
@@ -8,12 +8,13 @@ type AdsAccesses struct {
// AdsAccount struct.
type AdsAccount struct {
- AccessRole string `json:"access_role"`
- AccountID int `json:"account_id"` // Account ID
- AccountName string `json:"account_name"`
- AccountStatus BaseBoolInt `json:"account_status"` // Information whether account is active
- CanViewBudget BaseBoolInt `json:"can_view_budget"`
- AccountType string `json:"account_type"`
+ AccessRole string `json:"access_role"`
+ AccountID int `json:"account_id"` // Account ID
+ AccountName string `json:"account_name"`
+ AccountStatus BaseBoolInt `json:"account_status"` // Information whether account is active
+ CanViewBudget BaseBoolInt `json:"can_view_budget"`
+ AdNetworkAllowedPotentially BaseBoolInt `json:"ad_network_allowed_potentially"`
+ AccountType string `json:"account_type"`
}
// AdsAdLayout struct.
@@ -318,3 +319,10 @@ type AdsPromotedPostReach struct {
VideoViews75p int `json:"video_views_75p"` // Video views for 75 percent
VideoViewsStart int `json:"video_views_start"` // Video starts
}
+
+// AdsMusician struct.
+type AdsMusician struct {
+ ID int `json:"id"` // Targeting music artist ID
+ Name string `json:"name"` // Music artist name
+ Avatar string `json:"avatar,omitempty"` // Music artist photo.
+}