|
@@ -347,7 +347,7 @@ def ad_info():
|
|
|
|
|
|
|
|
|
|
def get_ad_info(account_id, access_token, flag, ad_ids, dt):
|
|
def get_ad_info(account_id, access_token, flag, ad_ids, dt):
|
|
- # 接口为https://developers.e.qq.com/docs/apilist/ads/ad?version=1.3#a3
|
|
|
|
|
|
+ # 接口为 https://developers.e.qq.com/docs/apilist/ads/ad?version=1.3#a3
|
|
path = 'ads/get'
|
|
path = 'ads/get'
|
|
fields = ('ad_id', 'ad_name', 'adcreative_id', 'adgroup_id', 'campaign_id')
|
|
fields = ('ad_id', 'ad_name', 'adcreative_id', 'adgroup_id', 'campaign_id')
|
|
url = 'https://api.e.qq.com/v1.3/' + path
|
|
url = 'https://api.e.qq.com/v1.3/' + path
|
|
@@ -471,6 +471,7 @@ def ad_cost_day_gdt(account_id, access_token, st, et):
|
|
|
|
|
|
|
|
|
|
def ad_cost_day_mp(account_id, access_token, st, et):
|
|
def ad_cost_day_mp(account_id, access_token, st, et):
|
|
|
|
+ # 接口文档 https://developers.e.qq.com/docs/api/insights/ad_insights/daily_reports_get?version=1.3
|
|
url = 'https://api.e.qq.com/v1.3/daily_reports/get'
|
|
url = 'https://api.e.qq.com/v1.3/daily_reports/get'
|
|
fields = ('date', 'ad_id', 'adgroup_id', 'cost', 'view_count', 'valid_click_count', 'official_account_follow_count',
|
|
fields = ('date', 'ad_id', 'adgroup_id', 'cost', 'view_count', 'valid_click_count', 'official_account_follow_count',
|
|
'order_count', 'order_amount')
|
|
'order_count', 'order_amount')
|