Re: Universal App Campaign can not create ad images and html5
Hi Mitchell, i need a mediabundle asset not mediabundle, because the universal apps campagins needs an AssetLink https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupAdService.UniversalAppAd. Not other type of adds, you can see the mediabundle asset here https://developers.google.com/adwords/api/docs/reference/v201809/AssetService.MediaBundleAsset.html. And it's not working. Regards, Esteban -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/d5cab728-7e25-4810-9c4b-7e15470b8cd2%40googlegroups.com.
Re: Universal App Campaign can not create ad images and html5
Hi Nikisha, i got the same error yet and i did try a lot of times the code. zip_request = requests.get(' https://storage.googleapis.com/adoptimizer-development/300x250_7f6ee179-81e0-4dea-a703-66b9bef8b25e.zip ') zip_data = zip_request.content html = { 'operator': 'ADD', 'operand': { 'xsi_type': 'MediaBundleAsset', 'mediaBundleData': zip_data } } html_asset = self.asset_service.mutate([html])['value'][0] the error is. ApiError.Type:'InternalApiError' errorString:'InternalApiError.ERROR_GENERATING_RESPONSE' fieldPath:None fieldPathElements:[] reason:'ERROR_GENERATING_RESPONSE' i did use the same code in python and the same zip with the mediaservice and it's works. also i did upload images assets and it's works. But the mediabundle assets wtih html zip not works never. regards, Esteban -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/67695945-b847-47eb-ad3d-9cc219997330%40googlegroups.com.
Re: Universal App Campaign can not create ad images and html5
Hi Nikisha, thanks for your answer, the asset image works well, but how can i get the html5 asset, i did try this operation and i received an error: zip_request = requests.get('https://storage.googleapis.com/adoptimizer-development/300x250_7f6ee179-81e0-4dea-a703-66b9bef8b25e.zip') zip_data = zip_request.content html = { 'operator': 'ADD', 'operand': { 'xsi_type': 'MediaBundleAsset', 'mediaBundleData': zip_data } } html_asset = self.asset_service.mutate([html])['value'][0] the error is. ApiError.Type:'InternalApiError' errorString:'InternalApiError.ERROR_GENERATING_RESPONSE' fieldPath:None fieldPathElements:[] reason:'ERROR_GENERATING_RESPONSE' regards, Esteban -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/b3d38e2e-e82f-4f80-81f4-68df5fd6eb4f%40googlegroups.com.
Universal App Campaign can not create ad images and html5
These are the operations in python headlinesList = [] descriptionList = [] imagesList = [] asset = { 'asset': { 'xsi_type': 'TextAsset', 'assetText': "dfdggdgs" }, 'pinnedField': None } headlinesList.append(asset) asset = { 'asset': { 'xsi_type': 'TextAsset', 'assetText': "dfdggdgs" }, 'pinnedField': None } descriptionList.append(asset) image_data = self.create_b64_from_image(media['url']) asset = { 'asset': { 'xsi_type': 'ImageAsset', 'imageData': image_data } } imagesList.append(asset) operation = { 'xsi_type': 'AdGroupAdOperation', 'operator': 'ADD', 'operand': { 'xsi_type': 'AdGroupAd', 'adGroupId': ad_group_id, 'ad': { 'xsi_type': 'UniversalAppAd', 'headlines': headlinesList, 'descriptions': descriptionList, 'images': imagesList }, 'status': 'ENABLED' } } When i try create a UniversalAppAd with images i did receive an error REQUIRED.ERROR assetId is Required. which assetId? if i want create a ImageAsset why should put the assetId, how get assetId? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/268c6bda-4333-4c02-89f4-2ef187c5bf99%40googlegroups.com.