diff --git a/docs/AdCreativeCreateSpec.md b/docs/AdCreativeCreateSpec.md index 8683bc5b..57e9caea 100644 --- a/docs/AdCreativeCreateSpec.md +++ b/docs/AdCreativeCreateSpec.md @@ -7,8 +7,6 @@ Name | Type | Description | Notes **AdcreativeElements** | [***DpAdcreativeCreativeElementsMp**](dp_adcreative_creative_elements_mp.md) | | [optional] [default to null] **PageType** | [***DestinationType**](DestinationType.md) | | [optional] [default to null] **PageSpec** | [***DpPageSpec**](dp_page_spec.md) | | [optional] [default to null] -**ButtonTips** | **string** | | [optional] [default to null] -**CouponTitle** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AdCreativeUpdateSpec.md b/docs/AdCreativeUpdateSpec.md index c5f68dc4..777960a0 100644 --- a/docs/AdCreativeUpdateSpec.md +++ b/docs/AdCreativeUpdateSpec.md @@ -6,8 +6,6 @@ Name | Type | Description | Notes **AdcreativeName** | **string** | | [optional] [default to null] **AdcreativeElements** | [***DpAdcreativeCreativeElementsMp**](dp_adcreative_creative_elements_mp.md) | | [optional] [default to null] **PageSpec** | [***DpPageSpec**](dp_page_spec.md) | | [optional] [default to null] -**ButtonTips** | **string** | | [optional] [default to null] -**CouponTitle** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AdgroupCreateSpec.md b/docs/AdgroupCreateSpec.md index 742232cc..38660f88 100644 --- a/docs/AdgroupCreateSpec.md +++ b/docs/AdgroupCreateSpec.md @@ -5,10 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AdgroupName** | **string** | | [optional] [default to null] **BeginDate** | **string** | | [optional] [default to null] +**EndDate** | **string** | | [optional] [default to null] +**OptimizationGoal** | [***OptimizationGoal**](OptimizationGoal.md) | | [optional] [default to null] +**TotalBudget** | **int64** | | [optional] [default to null] **Targeting** | [***DpWriteTargetingSetting**](dp_write_targeting_setting.md) | | [optional] [default to null] **PoiList** | **[]string** | | [optional] [default to null] +**PoiRadius** | **int64** | | [optional] [default to null] **PackageLevel** | [***PackageLevel**](PackageLevel.md) | | [optional] [default to null] -**ColdStartAudience** | **[]int64** | | [optional] [default to null] +**LocalBusinessMode** | [***EcoLocalBusinessMode**](EcoLocalBusinessMode.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AdgroupGetSpec.md b/docs/AdgroupGetSpec.md index 03f5a8f7..074101ee 100644 --- a/docs/AdgroupGetSpec.md +++ b/docs/AdgroupGetSpec.md @@ -7,12 +7,17 @@ Name | Type | Description | Notes **ConfiguredStatus** | [***AdStatus**](AdStatus.md) | | [optional] [default to null] **AdgroupName** | **string** | | [optional] [default to null] **BeginDate** | **string** | | [optional] [default to null] +**EndDate** | **string** | | [optional] [default to null] +**OptimizationGoal** | [***OptimizationGoal**](OptimizationGoal.md) | | [optional] [default to null] +**TotalBudget** | **int64** | | [optional] [default to null] **Targeting** | [***DpWriteTargetingSetting**](dp_write_targeting_setting.md) | | [optional] [default to null] **CalcStatus** | [***CalculateStatus**](CalculateStatus.md) | | [optional] [default to null] **MetricDetail** | [***MetricDetailData**](metric_detail_data.md) | | [optional] [default to null] **RejectMessage** | **string** | | [optional] [default to null] **PoiList** | **[]string** | | [optional] [default to null] **ColdStartAudience** | **[]int64** | | [optional] [default to null] +**PoiRadius** | **int64** | | [optional] [default to null] +**LocalBusinessMode** | [***EcoLocalBusinessMode**](EcoLocalBusinessMode.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/AdgroupUpdateSpec.md b/docs/AdgroupUpdateSpec.md index 61f3fab8..95bbf310 100644 --- a/docs/AdgroupUpdateSpec.md +++ b/docs/AdgroupUpdateSpec.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **ConfiguredStatus** | [***AdStatus**](AdStatus.md) | | [optional] [default to null] **Targeting** | [***DpWriteTargetingSetting**](dp_write_targeting_setting.md) | | [optional] [default to null] **PoiList** | **[]string** | | [optional] [default to null] -**ColdStartAudience** | **[]int64** | | [optional] [default to null] +**PoiRadius** | **int64** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ChannelsGetRequest.md b/docs/ChannelsGetRequest.md index e6dec9d2..68c5dc73 100644 --- a/docs/ChannelsGetRequest.md +++ b/docs/ChannelsGetRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AccountId** | **int64** | | [optional] [default to null] -**DateRange** | [***DateRange**](date_range.md) | | [optional] [default to null] +**DateRange** | [***DpDateRange**](dp_date_range.md) | | [optional] [default to null] **Filtering** | [**[]FilteringStruct**](filtering_struct.md) | | [optional] [default to null] **Level** | [***DpApiReportLevel**](DpApiReportLevel.md) | | [optional] [default to null] **Page** | **int64** | | [optional] [default to null] diff --git a/docs/DpAlitaPageSpec.md b/docs/DpAlitaPageSpec.md new file mode 100644 index 00000000..32de3bc8 --- /dev/null +++ b/docs/DpAlitaPageSpec.md @@ -0,0 +1,13 @@ +# DpAlitaPageSpec + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ButtonTips** | **string** | | [optional] [default to null] +**CouponTitle** | **string** | | [optional] [default to null] +**BeginDate** | **string** | | [optional] [default to null] +**EndDate** | **string** | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DpDateRange.md b/docs/DpDateRange.md new file mode 100644 index 00000000..317d5cab --- /dev/null +++ b/docs/DpDateRange.md @@ -0,0 +1,11 @@ +# DpDateRange + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**StartDate** | **string** | | [optional] [default to null] +**EndDate** | **string** | | [optional] [default to null] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/DpPageSpec.md b/docs/DpPageSpec.md index bb9e7838..8c5590f3 100644 --- a/docs/DpPageSpec.md +++ b/docs/DpPageSpec.md @@ -4,6 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **MiniProgramSpec** | [***DpMiniProgramSpec**](dp_mini_program_spec.md) | | [optional] [default to null] +**AlitaPageSpec** | [***DpAlitaPageSpec**](dp_alita_page_spec.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/EcoLocalBusinessMode.md b/docs/EcoLocalBusinessMode.md new file mode 100644 index 00000000..b2f20212 --- /dev/null +++ b/docs/EcoLocalBusinessMode.md @@ -0,0 +1,9 @@ +# EcoLocalBusinessMode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/LocalEstimatedamountGetRequest.md b/docs/LocalEstimatedamountGetRequest.md index 7fdf17c8..3c61b062 100644 --- a/docs/LocalEstimatedamountGetRequest.md +++ b/docs/LocalEstimatedamountGetRequest.md @@ -6,6 +6,15 @@ Name | Type | Description | Notes **AccountId** | **int64** | | [optional] [default to null] **CityLevel** | [***CityLevel**](CityLevel.md) | | [optional] [default to null] **PackageLevel** | [***PackageLevel**](PackageLevel.md) | | [optional] [default to null] +**PoiList** | **[]string** | | [optional] [default to null] +**OptimizationGoal** | [***OptimizationGoal**](OptimizationGoal.md) | | [optional] [default to null] +**Radius** | **int64** | | [optional] [default to null] +**Age** | [**[]AgeStruct**](age_struct.md) | | [optional] [default to null] +**Gender** | **[]string** | | [optional] [default to null] +**BeginTime** | **string** | | [optional] [default to null] +**EndTime** | **string** | | [optional] [default to null] +**Budget** | **int64** | | [optional] [default to null] +**LocalBusinessMode** | [***EcoLocalBusinessMode**](EcoLocalBusinessMode.md) | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LocalEstimatedamountGetResponseData.md b/docs/LocalEstimatedamountGetResponseData.md index c0e42a17..b60d4874 100644 --- a/docs/LocalEstimatedamountGetResponseData.md +++ b/docs/LocalEstimatedamountGetResponseData.md @@ -3,8 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**EstimatedViews** | **int64** | | [optional] [default to null] -**EstimatedCouponAmount** | **int64** | | [optional] [default to null] +**MinEstimatedExposure** | **int64** | | [optional] [default to null] +**MaxEstimatedExposure** | **int64** | | [optional] [default to null] +**MinEstimatedConv** | **int64** | | [optional] [default to null] +**MaxEstimatedConv** | **int64** | | [optional] [default to null] +**Suggestion** | **string** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/LocalGetRequest.md b/docs/LocalGetRequest.md index 370857c3..9e82f0f0 100644 --- a/docs/LocalGetRequest.md +++ b/docs/LocalGetRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AccountId** | **int64** | | [optional] [default to null] -**DateRange** | [***DateRange**](date_range.md) | | [optional] [default to null] +**DateRange** | [***DpDateRange**](dp_date_range.md) | | [optional] [default to null] **Filtering** | [**[]FilteringStruct**](filtering_struct.md) | | [optional] [default to null] **Level** | [***DpApiReportLevel**](DpApiReportLevel.md) | | [optional] [default to null] **Page** | **int64** | | [optional] [default to null] diff --git a/docs/MetricDetailData.md b/docs/MetricDetailData.md index bcf7f5bc..28a0dbdd 100644 --- a/docs/MetricDetailData.md +++ b/docs/MetricDetailData.md @@ -11,6 +11,16 @@ Name | Type | Description | Notes **Purchase** | **int64** | | [optional] [default to null] **PromotionClaimOfferPv** | **int64** | | [optional] [default to null] **PageVisitStorePv** | **int64** | | [optional] [default to null] +**WeappExpPv** | **int64** | | [optional] [default to null] +**PromotionClaimOfferCost** | **int64** | | [optional] [default to null] +**PageVisitStoreAmount** | **int64** | | [optional] [default to null] +**BuyCouponsPv** | **int64** | | [optional] [default to null] +**BuyCouponsCost** | **int64** | | [optional] [default to null] +**QuestReservationUv** | **int64** | | [optional] [default to null] +**CvsExpPv** | **int64** | | [optional] [default to null] +**CvsExpCost** | **int64** | | [optional] [default to null] +**WeappExpCost** | **int64** | | [optional] [default to null] +**QuestReservationUvCost** | **int64** | | [optional] [default to null] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/ShopGetRequest.md b/docs/ShopGetRequest.md index b5e355a5..f99131a0 100644 --- a/docs/ShopGetRequest.md +++ b/docs/ShopGetRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **AccountId** | **int64** | | [optional] [default to null] -**DateRange** | [***DateRange**](date_range.md) | | [optional] [default to null] +**DateRange** | [***DpDateRange**](dp_date_range.md) | | [optional] [default to null] **Filtering** | [**[]FilteringStruct**](filtering_struct.md) | | [optional] [default to null] **Level** | [***DpApiReportLevel**](DpApiReportLevel.md) | | [optional] [default to null] **Page** | **int64** | | [optional] [default to null] diff --git a/pkg/model/model_ad_creative_create_spec.go b/pkg/model/model_ad_creative_create_spec.go index 025df3fa..3b6a0cb4 100644 --- a/pkg/model/model_ad_creative_create_spec.go +++ b/pkg/model/model_ad_creative_create_spec.go @@ -15,6 +15,4 @@ type AdCreativeCreateSpec struct { AdcreativeElements *DpAdcreativeCreativeElementsMp `json:"adcreative_elements,omitempty"` PageType DestinationType `json:"page_type,omitempty"` PageSpec *DpPageSpec `json:"page_spec,omitempty"` - ButtonTips *string `json:"button_tips,omitempty"` - CouponTitle *string `json:"coupon_title,omitempty"` } diff --git a/pkg/model/model_ad_creative_update_spec.go b/pkg/model/model_ad_creative_update_spec.go index 33ee76ce..ab5bd5ab 100644 --- a/pkg/model/model_ad_creative_update_spec.go +++ b/pkg/model/model_ad_creative_update_spec.go @@ -14,6 +14,4 @@ type AdCreativeUpdateSpec struct { AdcreativeName *string `json:"adcreative_name,omitempty"` AdcreativeElements *DpAdcreativeCreativeElementsMp `json:"adcreative_elements,omitempty"` PageSpec *DpPageSpec `json:"page_spec,omitempty"` - ButtonTips *string `json:"button_tips,omitempty"` - CouponTitle *string `json:"coupon_title,omitempty"` } diff --git a/pkg/model/model_adgroup_create_spec.go b/pkg/model/model_adgroup_create_spec.go index c7bb02c2..e480240e 100644 --- a/pkg/model/model_adgroup_create_spec.go +++ b/pkg/model/model_adgroup_create_spec.go @@ -13,8 +13,12 @@ package model type AdgroupCreateSpec struct { AdgroupName *string `json:"adgroup_name,omitempty"` BeginDate *string `json:"begin_date,omitempty"` + EndDate *string `json:"end_date,omitempty"` + OptimizationGoal OptimizationGoal `json:"optimization_goal,omitempty"` + TotalBudget *int64 `json:"total_budget,omitempty"` Targeting *DpWriteTargetingSetting `json:"targeting,omitempty"` PoiList *[]string `json:"poi_list,omitempty"` + PoiRadius *int64 `json:"poi_radius,omitempty"` PackageLevel PackageLevel `json:"package_level,omitempty"` - ColdStartAudience *[]int64 `json:"cold_start_audience,omitempty"` + LocalBusinessMode EcoLocalBusinessMode `json:"local_business_mode,omitempty"` } diff --git a/pkg/model/model_adgroup_get_spec.go b/pkg/model/model_adgroup_get_spec.go index 412be925..83f79ca1 100644 --- a/pkg/model/model_adgroup_get_spec.go +++ b/pkg/model/model_adgroup_get_spec.go @@ -15,10 +15,15 @@ type AdgroupGetSpec struct { ConfiguredStatus AdStatus `json:"configured_status,omitempty"` AdgroupName *string `json:"adgroup_name,omitempty"` BeginDate *string `json:"begin_date,omitempty"` + EndDate *string `json:"end_date,omitempty"` + OptimizationGoal OptimizationGoal `json:"optimization_goal,omitempty"` + TotalBudget *int64 `json:"total_budget,omitempty"` Targeting *DpWriteTargetingSetting `json:"targeting,omitempty"` CalcStatus CalculateStatus `json:"calc_status,omitempty"` MetricDetail *MetricDetailData `json:"metric_detail,omitempty"` RejectMessage *string `json:"reject_message,omitempty"` PoiList *[]string `json:"poi_list,omitempty"` ColdStartAudience *[]int64 `json:"cold_start_audience,omitempty"` + PoiRadius *int64 `json:"poi_radius,omitempty"` + LocalBusinessMode EcoLocalBusinessMode `json:"local_business_mode,omitempty"` } diff --git a/pkg/model/model_adgroup_update_spec.go b/pkg/model/model_adgroup_update_spec.go index 6f4df752..79fb4d06 100644 --- a/pkg/model/model_adgroup_update_spec.go +++ b/pkg/model/model_adgroup_update_spec.go @@ -11,10 +11,10 @@ package model // 广告组结构 type AdgroupUpdateSpec struct { - AdgroupName *string `json:"adgroup_name,omitempty"` - BeginDate *string `json:"begin_date,omitempty"` - ConfiguredStatus AdStatus `json:"configured_status,omitempty"` - Targeting *DpWriteTargetingSetting `json:"targeting,omitempty"` - PoiList *[]string `json:"poi_list,omitempty"` - ColdStartAudience *[]int64 `json:"cold_start_audience,omitempty"` + AdgroupName *string `json:"adgroup_name,omitempty"` + BeginDate *string `json:"begin_date,omitempty"` + ConfiguredStatus AdStatus `json:"configured_status,omitempty"` + Targeting *DpWriteTargetingSetting `json:"targeting,omitempty"` + PoiList *[]string `json:"poi_list,omitempty"` + PoiRadius *int64 `json:"poi_radius,omitempty"` } diff --git a/pkg/model/model_calculate_status.go b/pkg/model/model_calculate_status.go index 1fc94070..747b1d3d 100644 --- a/pkg/model/model_calculate_status.go +++ b/pkg/model/model_calculate_status.go @@ -45,6 +45,7 @@ const ( CalculateStatus_PART_ACTIVE CalculateStatus = "CALCULATE_STATUS_PART_ACTIVE" CalculateStatus_PART_PREPARE CalculateStatus = "CALCULATE_STATUS_PART_PREPARE" CalculateStatus_PART_INVALID CalculateStatus = "CALCULATE_STATUS_PART_INVALID" + CalculateStatus_LOCAL_WEPAY_PENDING CalculateStatus = "CALCULATE_STATUS_LOCAL_WEPAY_PENDING" CalculateStatus_AD_PARTIAL_NORMAL CalculateStatus = "CALCULATE_STATUS_AD_PARTIAL_NORMAL" CalculateStatus_AD_PARTIAL_PENDING CalculateStatus = "CALCULATE_STATUS_AD_PARTIAL_PENDING" CalculateStatus_UNKNOWN CalculateStatus = "CALCULATE_STATUS_UNKNOWN" diff --git a/pkg/model/model_channels_get_request.go b/pkg/model/model_channels_get_request.go index c9e7f63b..4d71827b 100644 --- a/pkg/model/model_channels_get_request.go +++ b/pkg/model/model_channels_get_request.go @@ -11,7 +11,7 @@ package model type ChannelsGetRequest struct { AccountId *int64 `json:"account_id,omitempty"` - DateRange *DateRange `json:"date_range,omitempty"` + DateRange *DpDateRange `json:"date_range,omitempty"` Filtering *[]FilteringStruct `json:"filtering,omitempty"` Level DpApiReportLevel `json:"level,omitempty"` Page *int64 `json:"page,omitempty"` diff --git a/pkg/model/model_dp_alita_page_spec.go b/pkg/model/model_dp_alita_page_spec.go new file mode 100644 index 00000000..2436cb1c --- /dev/null +++ b/pkg/model/model_dp_alita_page_spec.go @@ -0,0 +1,18 @@ +/* + * Marketing API + * + * Marketing API + * + * API version: 1.3 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package model + +// 微信小程序原生页 +type DpAlitaPageSpec struct { + ButtonTips *string `json:"button_tips,omitempty"` + CouponTitle *string `json:"coupon_title,omitempty"` + BeginDate *string `json:"begin_date,omitempty"` + EndDate *string `json:"end_date,omitempty"` +} diff --git a/pkg/model/model_dp_date_range.go b/pkg/model/model_dp_date_range.go new file mode 100644 index 00000000..6b462e4b --- /dev/null +++ b/pkg/model/model_dp_date_range.go @@ -0,0 +1,16 @@ +/* + * Marketing API + * + * Marketing API + * + * API version: 1.3 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package model + +// 日期范围 +type DpDateRange struct { + StartDate *string `json:"start_date,omitempty"` + EndDate *string `json:"end_date,omitempty"` +} diff --git a/pkg/model/model_dp_page_spec.go b/pkg/model/model_dp_page_spec.go index 34e49a60..b89154c7 100644 --- a/pkg/model/model_dp_page_spec.go +++ b/pkg/model/model_dp_page_spec.go @@ -12,4 +12,5 @@ package model // 落地页信息 type DpPageSpec struct { MiniProgramSpec *DpMiniProgramSpec `json:"mini_program_spec,omitempty"` + AlitaPageSpec *DpAlitaPageSpec `json:"alita_page_spec,omitempty"` } diff --git a/pkg/model/model_eco_local_business_mode.go b/pkg/model/model_eco_local_business_mode.go new file mode 100644 index 00000000..00bda10b --- /dev/null +++ b/pkg/model/model_eco_local_business_mode.go @@ -0,0 +1,21 @@ +/* + * Marketing API + * + * Marketing API + * + * API version: 1.3 + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package model + +// EcoLocalBusinessMode : 附近推模式 +type EcoLocalBusinessMode string + +// List of EcoLocalBusinessMode +const ( + EcoLocalBusinessMode_DEFAULT EcoLocalBusinessMode = "LOCAL_BUSINESS_MODE_DEFAULT" + EcoLocalBusinessMode_LEADS_COUPON EcoLocalBusinessMode = "LOCAL_BUSINESS_MODE_LEADS_COUPON" + EcoLocalBusinessMode_LEADS_RESERVATION EcoLocalBusinessMode = "LOCAL_BUSINESS_MODE_LEADS_RESERVATION" + EcoLocalBusinessMode_SHOP_VOUCHER EcoLocalBusinessMode = "LOCAL_BUSINESS_MODE_SHOP_VOUCHER" +) diff --git a/pkg/model/model_local_estimatedamount_get_request.go b/pkg/model/model_local_estimatedamount_get_request.go index 62d1b5fa..140da981 100644 --- a/pkg/model/model_local_estimatedamount_get_request.go +++ b/pkg/model/model_local_estimatedamount_get_request.go @@ -10,7 +10,16 @@ package model type LocalEstimatedamountGetRequest struct { - AccountId *int64 `json:"account_id,omitempty"` - CityLevel CityLevel `json:"city_level,omitempty"` - PackageLevel PackageLevel `json:"package_level,omitempty"` + AccountId *int64 `json:"account_id,omitempty"` + CityLevel CityLevel `json:"city_level,omitempty"` + PackageLevel PackageLevel `json:"package_level,omitempty"` + PoiList *[]string `json:"poi_list,omitempty"` + OptimizationGoal OptimizationGoal `json:"optimization_goal,omitempty"` + Radius *int64 `json:"radius,omitempty"` + Age *[]AgeStruct `json:"age,omitempty"` + Gender *[]string `json:"gender,omitempty"` + BeginTime *string `json:"begin_time,omitempty"` + EndTime *string `json:"end_time,omitempty"` + Budget *int64 `json:"budget,omitempty"` + LocalBusinessMode EcoLocalBusinessMode `json:"local_business_mode,omitempty"` } diff --git a/pkg/model/model_local_estimatedamount_get_response_data.go b/pkg/model/model_local_estimatedamount_get_response_data.go index 3becdcce..ff445bbc 100644 --- a/pkg/model/model_local_estimatedamount_get_response_data.go +++ b/pkg/model/model_local_estimatedamount_get_response_data.go @@ -10,6 +10,9 @@ package model type LocalEstimatedamountGetResponseData struct { - EstimatedViews *int64 `json:"estimated_views,omitempty"` - EstimatedCouponAmount *int64 `json:"estimated_coupon_amount,omitempty"` + MinEstimatedExposure *int64 `json:"min_estimated_exposure,omitempty"` + MaxEstimatedExposure *int64 `json:"max_estimated_exposure,omitempty"` + MinEstimatedConv *int64 `json:"min_estimated_conv,omitempty"` + MaxEstimatedConv *int64 `json:"max_estimated_conv,omitempty"` + Suggestion *string `json:"suggestion,omitempty"` } diff --git a/pkg/model/model_local_get_request.go b/pkg/model/model_local_get_request.go index 4426d13b..fc3e7a59 100644 --- a/pkg/model/model_local_get_request.go +++ b/pkg/model/model_local_get_request.go @@ -11,7 +11,7 @@ package model type LocalGetRequest struct { AccountId *int64 `json:"account_id,omitempty"` - DateRange *DateRange `json:"date_range,omitempty"` + DateRange *DpDateRange `json:"date_range,omitempty"` Filtering *[]FilteringStruct `json:"filtering,omitempty"` Level DpApiReportLevel `json:"level,omitempty"` Page *int64 `json:"page,omitempty"` diff --git a/pkg/model/model_metric_detail_data.go b/pkg/model/model_metric_detail_data.go index 4b612121..7524c92e 100644 --- a/pkg/model/model_metric_detail_data.go +++ b/pkg/model/model_metric_detail_data.go @@ -11,12 +11,22 @@ package model // 报表效果数据 type MetricDetailData struct { - Cost *int64 `json:"cost,omitempty"` - ExpPv *int64 `json:"exp_pv,omitempty"` - CanvasCpnCouponsGetPv *int64 `json:"canvas_cpn_coupons_get_pv,omitempty"` - CanvasCpnCouponsCost *int64 `json:"canvas_cpn_coupons_cost,omitempty"` - CanvasCpnCouponsUsePv *int64 `json:"canvas_cpn_coupons_use_pv,omitempty"` - Purchase *int64 `json:"purchase,omitempty"` - PromotionClaimOfferPv *int64 `json:"promotion_claim_offer_pv,omitempty"` - PageVisitStorePv *int64 `json:"page_visit_store_pv,omitempty"` + Cost *int64 `json:"cost,omitempty"` + ExpPv *int64 `json:"exp_pv,omitempty"` + CanvasCpnCouponsGetPv *int64 `json:"canvas_cpn_coupons_get_pv,omitempty"` + CanvasCpnCouponsCost *int64 `json:"canvas_cpn_coupons_cost,omitempty"` + CanvasCpnCouponsUsePv *int64 `json:"canvas_cpn_coupons_use_pv,omitempty"` + Purchase *int64 `json:"purchase,omitempty"` + PromotionClaimOfferPv *int64 `json:"promotion_claim_offer_pv,omitempty"` + PageVisitStorePv *int64 `json:"page_visit_store_pv,omitempty"` + WeappExpPv *int64 `json:"weapp_exp_pv,omitempty"` + PromotionClaimOfferCost *int64 `json:"promotion_claim_offer_cost,omitempty"` + PageVisitStoreAmount *int64 `json:"page_visit_store_amount,omitempty"` + BuyCouponsPv *int64 `json:"buy_coupons_pv,omitempty"` + BuyCouponsCost *int64 `json:"buy_coupons_cost,omitempty"` + QuestReservationUv *int64 `json:"quest_reservation_uv,omitempty"` + CvsExpPv *int64 `json:"cvs_exp_pv,omitempty"` + CvsExpCost *int64 `json:"cvs_exp_cost,omitempty"` + WeappExpCost *int64 `json:"weapp_exp_cost,omitempty"` + QuestReservationUvCost *int64 `json:"quest_reservation_uv_cost,omitempty"` } diff --git a/pkg/model/model_package_level.go b/pkg/model/model_package_level.go index 4299cc14..bd51191f 100644 --- a/pkg/model/model_package_level.go +++ b/pkg/model/model_package_level.go @@ -9,7 +9,7 @@ package model -// PackageLevel : 套餐级别 +// PackageLevel : 套餐等级, 设置总预算和广告结束时间后该字段可不填 type PackageLevel string // List of PackageLevel diff --git a/pkg/model/model_shop_get_request.go b/pkg/model/model_shop_get_request.go index a162df88..2dbc9228 100644 --- a/pkg/model/model_shop_get_request.go +++ b/pkg/model/model_shop_get_request.go @@ -11,7 +11,7 @@ package model type ShopGetRequest struct { AccountId *int64 `json:"account_id,omitempty"` - DateRange *DateRange `json:"date_range,omitempty"` + DateRange *DpDateRange `json:"date_range,omitempty"` Filtering *[]FilteringStruct `json:"filtering,omitempty"` Level DpApiReportLevel `json:"level,omitempty"` Page *int64 `json:"page,omitempty"`