diff --git a/adcom1/ad.go b/adcom1/ad.go index ceb9803..cf97fad 100644 --- a/adcom1/ad.go +++ b/adcom1/ad.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/adcom.go b/adcom1/adcom1.go similarity index 75% rename from adcom1/adcom.go rename to adcom1/adcom1.go index ca91988..8e2cc96 100644 --- a/adcom1/adcom.go +++ b/adcom1/adcom1.go @@ -1,6 +1,6 @@ -// Package adcom implements types for AdCOM Specification v1.0 +// Package adcom1 implements types for AdCOM Specification v1.0 // https://github.com/InteractiveAdvertisingBureau/AdCOM/blob/master/AdCOM%20v1.0%20FINAL.md -package adcom +package adcom1 /* diff --git a/adcom1/api_framework.go b/adcom1/api_framework.go index 8dbe1f2..1ed2caa 100644 --- a/adcom1/api_framework.go +++ b/adcom1/api_framework.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // APIFramework represents API frameworks either supported by a placement or required by an ad. type APIFramework int diff --git a/adcom1/app.go b/adcom1/app.go index e3f4eaa..90409a0 100644 --- a/adcom1/app.go +++ b/adcom1/app.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/asset.go b/adcom1/asset.go index ea0982e..81050f1 100644 --- a/adcom1/asset.go +++ b/adcom1/asset.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/asset_format.go b/adcom1/asset_format.go index 189f645..f9b562f 100644 --- a/adcom1/asset_format.go +++ b/adcom1/asset_format.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/audio.go b/adcom1/audio.go index 329525f..329f811 100644 --- a/adcom1/audio.go +++ b/adcom1/audio.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/audio_placement.go b/adcom1/audio_placement.go index 5eb7b8b..1eeb604 100644 --- a/adcom1/audio_placement.go +++ b/adcom1/audio_placement.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/audit.go b/adcom1/audit.go index 4896561..5ff4364 100644 --- a/adcom1/audit.go +++ b/adcom1/audit.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/audit_status.go b/adcom1/audit_status.go index 3ee0bef..4dad2f8 100644 --- a/adcom1/audit_status.go +++ b/adcom1/audit_status.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // AuditStatus represents codes used in Audit objects to reflect status or workflow state. type AuditStatus int diff --git a/adcom1/banner.go b/adcom1/banner.go index d527680..4a17e79 100644 --- a/adcom1/banner.go +++ b/adcom1/banner.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/category_taxonomy.go b/adcom1/category_taxonomy.go index fdd5e05..a7a9f6d 100644 --- a/adcom1/category_taxonomy.go +++ b/adcom1/category_taxonomy.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // CategoryTaxonomy identifies the taxonomy in effect when content categories are listed. type CategoryTaxonomy int diff --git a/adcom1/click_type.go b/adcom1/click_type.go index 8bc2f27..ea074f5 100644 --- a/adcom1/click_type.go +++ b/adcom1/click_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // ClickType represents types of creative activation (i.e., click) behavior types. type ClickType int diff --git a/adcom1/companion.go b/adcom1/companion.go index 035d9e9..c15f48f 100644 --- a/adcom1/companion.go +++ b/adcom1/companion.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/companion_type.go b/adcom1/companion_type.go index 4e9fef4..f58a44a 100644 --- a/adcom1/companion_type.go +++ b/adcom1/companion_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // CompanionType represents options to indicate markup types allowed for companion ads that apply to video and audio ads. // This table is derived from VAST 2.0+ and DAAST 1.0+ specifications. diff --git a/adcom1/connection_type.go b/adcom1/connection_type.go index 7a02fa7..cacafc8 100644 --- a/adcom1/connection_type.go +++ b/adcom1/connection_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // ConnectionType represents options for the type of device connectivity. type ConnectionType int8 diff --git a/adcom1/content.go b/adcom1/content.go index 04b0959..ceaaa34 100644 --- a/adcom1/content.go +++ b/adcom1/content.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/content_context.go b/adcom1/content_context.go index 7f98e54..7634a81 100644 --- a/adcom1/content_context.go +++ b/adcom1/content_context.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // ContentContext represents options for indicating the type of content being used or consumed by the user in which ads may appear. // This table has values derived from the TAG Inventory Quality Guidelines (IQG). diff --git a/adcom1/creative_attribute.go b/adcom1/creative_attribute.go index 78a6529..e19bfa1 100644 --- a/adcom1/creative_attribute.go +++ b/adcom1/creative_attribute.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // CreativeAttribute specifies a standard list of creative attributes that can describe an actual ad or restrictions relative to a given placement. type CreativeAttribute int diff --git a/adcom1/creative_subtype_av.go b/adcom1/creative_subtype_av.go index 47bd226..0a49f20 100644 --- a/adcom1/creative_subtype_av.go +++ b/adcom1/creative_subtype_av.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // CreativeSubtypeAV represents subtypes of audio and video ad creatives. type CreativeSubtypeAV int8 // TODO: rename to smth like AudioVideoCreativeSubtype? (sounds more natural) diff --git a/adcom1/creative_subtype_display.go b/adcom1/creative_subtype_display.go index 97664ef..23e18fa 100644 --- a/adcom1/creative_subtype_display.go +++ b/adcom1/creative_subtype_display.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // CreativeSubtypeDisplay represents subtypes of display ad creatives. type CreativeSubtypeDisplay int8 // TODO: rename to smth like DisplayCreativeSubtype? (sounds more natural) diff --git a/adcom1/data.go b/adcom1/data.go index 0023c76..a318b92 100644 --- a/adcom1/data.go +++ b/adcom1/data.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/data_asset.go b/adcom1/data_asset.go index 104bed4..ab63f5a 100644 --- a/adcom1/data_asset.go +++ b/adcom1/data_asset.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/data_asset_format.go b/adcom1/data_asset_format.go index 89a8875..92ddaa8 100644 --- a/adcom1/data_asset_format.go +++ b/adcom1/data_asset_format.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/delivery_method.go b/adcom1/delivery_method.go index ef87aa7..3b31bd6 100644 --- a/adcom1/delivery_method.go +++ b/adcom1/delivery_method.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // DeliveryMethod represents options for the delivery of video or audio content. type DeliveryMethod int8 diff --git a/adcom1/device.go b/adcom1/device.go index fbac5d1..9a21e92 100644 --- a/adcom1/device.go +++ b/adcom1/device.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/device_type.go b/adcom1/device_type.go index d5af609..bca0e80 100644 --- a/adcom1/device_type.go +++ b/adcom1/device_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // DeviceType represents types of devices. // This table has values derived from the TAG Inventory Quality Guidelines (IQG). diff --git a/adcom1/display.go b/adcom1/display.go index e404f83..638781b 100644 --- a/adcom1/display.go +++ b/adcom1/display.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/display_context_type.go b/adcom1/display_context_type.go index fd370a1..9ade7eb 100644 --- a/adcom1/display_context_type.go +++ b/adcom1/display_context_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // DisplayContextType represents types of context in which a native ad may appear (i.e., the type of content surrounding the ad on the page). // This is intended to denote primary content although other content may also appear on the page. diff --git a/adcom1/display_format.go b/adcom1/display_format.go index d67d980..1180445 100644 --- a/adcom1/display_format.go +++ b/adcom1/display_format.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/display_placement.go b/adcom1/display_placement.go index 4179626..f0064c3 100644 --- a/adcom1/display_placement.go +++ b/adcom1/display_placement.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/display_placement_type.go b/adcom1/display_placement_type.go index c534ad3..368e66b 100644 --- a/adcom1/display_placement_type.go +++ b/adcom1/display_placement_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // DisplayPlacementType represents types of display placements; the locations where a native ad may be shown in relationship to the surrounding content. type DisplayPlacementType int diff --git a/adcom1/distribution_channel.go b/adcom1/distribution_channel.go index b5add15..6e6bc39 100644 --- a/adcom1/distribution_channel.go +++ b/adcom1/distribution_channel.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // DistributionChannel is an abstraction of the various types of entities or channels through which ads are distributed. // Examples include websites, mobile apps, and digital out-of-home (DOOH) systems. diff --git a/adcom1/dooh.go b/adcom1/dooh.go index 855faa2..8c487d4 100644 --- a/adcom1/dooh.go +++ b/adcom1/dooh.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/dooh_venue_type.go b/adcom1/dooh_venue_type.go index 0da1cde..583f502 100644 --- a/adcom1/dooh_venue_type.go +++ b/adcom1/dooh_venue_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // DOOHVenueType represents the digital out-of-home venue types and is derived from DPAA Programmatic Standards. type DOOHVenueType int diff --git a/adcom1/event.go b/adcom1/event.go index 56fe125..f08ceb9 100644 --- a/adcom1/event.go +++ b/adcom1/event.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/event_spec.go b/adcom1/event_spec.go index c5ceda5..3c50a0b 100644 --- a/adcom1/event_spec.go +++ b/adcom1/event_spec.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/event_tracking_method.go b/adcom1/event_tracking_method.go index a1ab75a..5fdae92 100644 --- a/adcom1/event_tracking_method.go +++ b/adcom1/event_tracking_method.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // EventTrackingMethod represents methods of tracking of ad events. // Vendor specific codes may include custom measurement companies (e.g., Moat, Doubleverify, IAS, etc.). diff --git a/adcom1/event_type.go b/adcom1/event_type.go index b86d840..e6f3b78 100644 --- a/adcom1/event_type.go +++ b/adcom1/event_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // EventType represents types of ad events available for tracking. // These types refer to the actual event, timing, etc.; not the method of firing. diff --git a/adcom1/expandable_direction.go b/adcom1/expandable_direction.go index a263648..1d8519c 100644 --- a/adcom1/expandable_direction.go +++ b/adcom1/expandable_direction.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // ExpandableDirection represents directions in which an expandable ad may expand, given the positioning of the ad unit on the page and constraints imposed by the content. type ExpandableDirection int8 diff --git a/adcom1/feed_type.go b/adcom1/feed_type.go index f8fa169..1452278 100644 --- a/adcom1/feed_type.go +++ b/adcom1/feed_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // FeedType represents types of feeds, typically for audio. type FeedType int8 diff --git a/adcom1/geo.go b/adcom1/geo.go index 768d0b0..ea90812 100644 --- a/adcom1/geo.go +++ b/adcom1/geo.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/image_asset.go b/adcom1/image_asset.go index 1594cbe..0b686b4 100644 --- a/adcom1/image_asset.go +++ b/adcom1/image_asset.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/image_asset_format.go b/adcom1/image_asset_format.go index 8d4dd62..4682ab0 100644 --- a/adcom1/image_asset_format.go +++ b/adcom1/image_asset_format.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/ip_location_service.go b/adcom1/ip_location_service.go index 8ac048f..395ec1b 100644 --- a/adcom1/ip_location_service.go +++ b/adcom1/ip_location_service.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // IPLocationService represents services and/or vendors used for resolving IP addresses to geolocations. type IPLocationService int8 diff --git a/adcom1/linearity_mode.go b/adcom1/linearity_mode.go index ed5c4ec..0a09de2 100644 --- a/adcom1/linearity_mode.go +++ b/adcom1/linearity_mode.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // LinearityMode represents options for media linearity, typically for video. type LinearityMode int8 diff --git a/adcom1/link_asset.go b/adcom1/link_asset.go index bdc68b6..4ef8ca9 100644 --- a/adcom1/link_asset.go +++ b/adcom1/link_asset.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/location_type.go b/adcom1/location_type.go index 7052f74..97e67da 100644 --- a/adcom1/location_type.go +++ b/adcom1/location_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // LocationType represents options to indicate how the geographic information was determined. type LocationType int8 diff --git a/adcom1/media_rating.go b/adcom1/media_rating.go index 5d5bf5d..b9df84d 100644 --- a/adcom1/media_rating.go +++ b/adcom1/media_rating.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // MediaRating represents media ratings used in describing content based on the TAG Inventory Quality Guidelines (IQG) v2.1 categorization. // Refer to www.iab.com/guidelines/digital-video-suite for more information. diff --git a/adcom1/native.go b/adcom1/native.go index 8836a99..0075d83 100644 --- a/adcom1/native.go +++ b/adcom1/native.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/native_data_asset_type.go b/adcom1/native_data_asset_type.go index cf19085..fda98e5 100644 --- a/adcom1/native_data_asset_type.go +++ b/adcom1/native_data_asset_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // NativeDataAssetType represents data asset types. // This list is non-exhaustive and is intended to be expanded over time. diff --git a/adcom1/native_format.go b/adcom1/native_format.go index 7ab1459..8739322 100644 --- a/adcom1/native_format.go +++ b/adcom1/native_format.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/native_image_asset_type.go b/adcom1/native_image_asset_type.go index 22b966b..29e15f9 100644 --- a/adcom1/native_image_asset_type.go +++ b/adcom1/native_image_asset_type.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // NativeImageAssetType represents image asset types. // This list is non-exhaustive and is intended to be expanded over time. diff --git a/adcom1/operating_system.go b/adcom1/operating_system.go index 73aefdd..9a141fd 100644 --- a/adcom1/operating_system.go +++ b/adcom1/operating_system.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // OperatingSystem represents device operating system. type OperatingSystem int diff --git a/adcom1/placement.go b/adcom1/placement.go index 034aa59..317b42f 100644 --- a/adcom1/placement.go +++ b/adcom1/placement.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/placement_position.go b/adcom1/placement_position.go index 0ff4b1d..5cc6fc0 100644 --- a/adcom1/placement_position.go +++ b/adcom1/placement_position.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // PlacementPosition represents placement positions as a relative measure of visibility or prominence. // This table has values derived from the TAG Inventory Quality Guidelines (IQG). diff --git a/adcom1/playback_cessation_mode.go b/adcom1/playback_cessation_mode.go index dc7d864..61ef999 100644 --- a/adcom1/playback_cessation_mode.go +++ b/adcom1/playback_cessation_mode.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // PlaybackCessationMode represents modes for when media playback terminates. type PlaybackCessationMode int8 diff --git a/adcom1/playback_method.go b/adcom1/playback_method.go index 35b3492..76f4928 100644 --- a/adcom1/playback_method.go +++ b/adcom1/playback_method.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // PlaybackMethod represents media playback methods. type PlaybackMethod int8 diff --git a/adcom1/producer.go b/adcom1/producer.go index e50cfbc..c81d98f 100644 --- a/adcom1/producer.go +++ b/adcom1/producer.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/production_quality.go b/adcom1/production_quality.go index 0d1ec1a..4be250a 100644 --- a/adcom1/production_quality.go +++ b/adcom1/production_quality.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // ProductionQuality represents content quality. type ProductionQuality int8 diff --git a/adcom1/publisher.go b/adcom1/publisher.go index 03d2cdc..baf7553 100644 --- a/adcom1/publisher.go +++ b/adcom1/publisher.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/regs.go b/adcom1/regs.go index 5a10b48..a48ff73 100644 --- a/adcom1/regs.go +++ b/adcom1/regs.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/restrictions.go b/adcom1/restrictions.go index 2d3f2f5..203465e 100644 --- a/adcom1/restrictions.go +++ b/adcom1/restrictions.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/segment.go b/adcom1/segment.go index caff4ac..3f13a00 100644 --- a/adcom1/segment.go +++ b/adcom1/segment.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/site.go b/adcom1/site.go index aff5c99..c690391 100644 --- a/adcom1/site.go +++ b/adcom1/site.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/size_unit.go b/adcom1/size_unit.go index cf244d4..524c849 100644 --- a/adcom1/size_unit.go +++ b/adcom1/size_unit.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // SizeUnit represents units of height and width used by creatives, assets, and placement specifications where noted. type SizeUnit int8 diff --git a/adcom1/start_delay_mode.go b/adcom1/start_delay_mode.go index 8c81804..7287939 100644 --- a/adcom1/start_delay_mode.go +++ b/adcom1/start_delay_mode.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // StartDelayMode represents video or audio start delay. type StartDelayMode int64 diff --git a/adcom1/title_asset.go b/adcom1/title_asset.go index f7b2c5c..b35e1aa 100644 --- a/adcom1/title_asset.go +++ b/adcom1/title_asset.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/title_asset_format.go b/adcom1/title_asset_format.go index 9856bbb..92689be 100644 --- a/adcom1/title_asset_format.go +++ b/adcom1/title_asset_format.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/user.go b/adcom1/user.go index cc1d836..e459c17 100644 --- a/adcom1/user.go +++ b/adcom1/user.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/video.go b/adcom1/video.go index 61485c3..1f17dc2 100644 --- a/adcom1/video.go +++ b/adcom1/video.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/video_asset.go b/adcom1/video_asset.go index d05a05e..f912800 100644 --- a/adcom1/video_asset.go +++ b/adcom1/video_asset.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/video_placement.go b/adcom1/video_placement.go index 682d561..726febb 100644 --- a/adcom1/video_placement.go +++ b/adcom1/video_placement.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 import "encoding/json" diff --git a/adcom1/video_placement_subtype.go b/adcom1/video_placement_subtype.go index 5ee1e17..5889675 100644 --- a/adcom1/video_placement_subtype.go +++ b/adcom1/video_placement_subtype.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // VideoPlacementSubtype represents types of video placements derived largely from the IAB Digital Video Guidelines. type VideoPlacementSubtype int8 diff --git a/adcom1/volume_normalization_mode.go b/adcom1/volume_normalization_mode.go index 6f0ed8f..e3235cc 100644 --- a/adcom1/volume_normalization_mode.go +++ b/adcom1/volume_normalization_mode.go @@ -1,4 +1,4 @@ -package adcom +package adcom1 // VolumeNormalizationMode represents types of volume normalization modes, typically for audio. type VolumeNormalizationMode int8