【发布时间】:2014-03-24 09:40:12
【问题描述】:
我正在使用 adwords python api。我需要获取出价金额和类型。例如。出价=4 广告类型 = 每次点击费用。
我得到了广告组 ID。
以下是创建和广告组的示例。创建后...如何检索设置?我如何得到例如我设置的出价?
ad_group_service = client.GetService('AdGroupService', version='v201402')
operations = [{
'operator': 'ADD',
'operand': {
'campaignId': campaign_id,
'name': 'Earth to Mars Cruises #%s' % uuid.uuid4(),
'status': 'ENABLED',
'biddingStrategyConfiguration': {
'bids': [
{
'xsi_type': 'CpcBid',
'bid': {
'microAmount': '1000000'
},
}
]
}
}
}]
ad_groups = ad_group_service.mutate(operations)
【问题讨论】:
标签: python google-ads-api