Hi Gilbert, To better investigate this, could you provide the complete SOAP request and response logs via *reply privately to author *when you encountered the error? To set your uploaded media to your UAC, you should use the CampaignService.UniversalAppCampaignSetting() <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignService.UniversalAppCampaignSetting> method and set your mediaId <https://developers.google.com/adwords/api/docs/reference/v201806/MediaService.Media#mediaid> to imageMediaIds <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignService.UniversalAppCampaignSetting#imagemediaids> field.
For list of mediaId(s), you could put those mediaIds in a list using the CampaignService.ListOperations() <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignService.ListOperations> method and set them in imageMediaIdsOps <https://developers.google.com/adwords/api/docs/reference/v201806/CampaignService.UniversalAppCampaignSetting#imagemediaidsops> field of your UAC settings. You should take note that the number of operators in the ListOperations must be equal to the number of elements in the corresponding list. You may refer to below sample code snippet for your reference. universalAppSetting.setImageMediaIds(new long[] {3358323767L,3359776773L}); listOperations.setOperators(new ListOperationsListOperator[] {ListOperationsListOperator.PUT, ListOperationsListOperator.PUT}); universalAppSetting.setImageMediaIdsOps(listOperations); Thanks and regards, Luis AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/1a20dc52-fa36-4b4b-9ab8-fd8a2747e183%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
