|
@@ -81,7 +81,7 @@ def get_campaign(account_id, access_token, flag,campaign_ids,dt):
|
|
|
|
|
|
|
|
|
def get_adcreatives(account_id,access_token,flag,adc_ids,dt):
|
|
|
-
|
|
|
+
|
|
|
url = 'https://api.e.qq.com/v1.1/adcreatives/get'
|
|
|
li =[]
|
|
|
page = 1
|
|
@@ -202,7 +202,7 @@ def get_adcreatives(account_id,access_token,flag,adc_ids,dt): # 获取创意
|
|
|
|
|
|
|
|
|
def images_info_get(account_id,access_token,image_ids):
|
|
|
-
|
|
|
+
|
|
|
fields = ('image_id','width','height','file_size','signature','preview_url')
|
|
|
interface = 'images/get'
|
|
|
url = 'https://api.e.qq.com/v1.3/' + interface
|
|
@@ -269,7 +269,7 @@ def images_info_get(account_id,access_token,image_ids): # 获取图片信息
|
|
|
|
|
|
|
|
|
def video_info_get(account_id,access_token,image_ids):
|
|
|
-
|
|
|
+
|
|
|
fields = ('video_id','width','height','file_size','signature','preview_url')
|
|
|
interface = 'videos/get'
|
|
|
url = 'https://api.e.qq.com/v1.3/' + interface
|
|
@@ -363,7 +363,7 @@ def ad_info():
|
|
|
|
|
|
def get_ad_info(account_id, access_token, flag,ad_ids,dt):
|
|
|
|
|
|
-
|
|
|
+
|
|
|
path = 'ads/get'
|
|
|
fields = ('ad_id', 'ad_name', 'adcreative_id', 'adgroup_id', 'campaign_id')
|
|
|
url = 'https://api.e.qq.com/v1.3/' + path
|
|
@@ -429,6 +429,7 @@ def get_ad_cost_day(account_id,access_token,flag,st,et):
|
|
|
|
|
|
|
|
|
def ad_cost_day_gdt(account_id,access_token,st,et):
|
|
|
+
|
|
|
url = 'https://api.e.qq.com/v1.3/daily_reports/get'
|
|
|
fields = ('date', 'ad_id','adgroup_id', 'cost', 'view_count', 'ctr', 'follow_count','web_order_count','order_amount')
|
|
|
li = []
|