Link to ImageAsset

Alain Abraham 6 Reputation points
2022-04-22T13:21:06.973+00:00

Hello,
I'm using the bingads python sdk.
I would like to allow preview of Ad images (creatives) asset in my company system UI.
I can collect Ads by using "GetAdsByAdGroupId". Works fine and got the following result (partial):


Images =
(ArrayOfAssetLink){
AssetLink[] =
(AssetLink){
Asset =
(ImageAsset){
Id = XXXXXXXX
Name = None
Type = "ImageAsset"
CropHeight = 628
CropWidth = 1200
CropX = 0
CropY = 0
SubType = "LandscapeImageMedia"
}
AssetPerformanceLabel = None
EditorialStatus = None
PinnedField = None
},
(AssetLink){
Asset =
(ImageAsset){
Id = XXXXXXX
Name = None
Type = "ImageAsset"
CropHeight = 628
CropWidth = 1118
CropX = 41
CropY = 0
SubType = "ImageMedia178X100"
}
AssetPerformanceLabel = None
EditorialStatus = None
PinnedField = None
},


Is there a way to retrieve an http link to those ImageAsset or at least to the original one ?

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
429 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.