Hi there,
the same seems to happen when using BatchJobs. Any job that contains
creation operations for HTML5 template ads reproducibly fails
with BatchJobProcessingError.INTERNAL_ERROR.
Any workarounds would be greatly appreciated.
Best regards,
Dorian
On Friday, March 3, 2017 at 7:36:57 AM UTC+1, Justin Masters wrote:
>
> We're also getting this error in code that was working recently. Keen to
> know what's happened
>
> Justin
>
> On Friday, March 3, 2017 at 11:44:05 AM UTC+11, Adam Marshall wrote:
>>
>> I have now downloaded the .Net adwords_dotnet_lib_src_v19.1.0 solution
>> and ran the AddHtml5ad.cs, and this example also crashes.
>>
>>
>>
>> So it is reproducible in the examples.
>>
>> Can someone help me please?
>>
>> Thanks,
>>
>> Adam
>>
>>
>>
>> On Friday, 3 March 2017 11:26:11 UTC+13, Adam Marshall wrote:
>>
>>> Hello, I have been receiving the following error when attempting to
>>> create an html5 template for the last 36 hours:
>>>
>>> This is the only error information received:
>>> (Error: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR, FieldPath: ,
>>> Trigger: )
>>>
>>>
>>> This has been working unchanged for over 8 months, yesterday it started
>>> throwing these errors.
>>>
>>> I am using v201609 ( I also tested on 201702, but same issue)
>>>
>>> The campaign and adgroup are created successfully, just uploading the
>>> html5 ads is failing.
>>>
>>> Here is my c# code:
>>>
>>> AdWordsApiVersion.AdGroupAdService adGroupAdService =
>>> (AdWordsApiVersion.AdGroupAdService)User.GetService(AdWordsServiceVersion.AdGroupAdService);
>>> AdWordsApiVersion.TemplateAd html5Ad = new
>>> AdWordsApiVersion.TemplateAd()
>>> {
>>> name = adName,
>>> templateId = 419,
>>> finalUrls = new string[] { finalUrl },
>>> displayUrl = displayUrl,
>>> dimensions = new AdWordsApiVersion.Dimensions()
>>> {
>>> width = width,
>>> height = height
>>> }
>>> };
>>> AdWordsApiVersion.MediaBundle mediaBundle = new
>>> AdWordsApiVersion.MediaBundle()
>>> {
>>> data = html5ZipBytes,
>>> entryPoint = GaTemplateManager.GoogleAdEntryPointHtml,
>>> type = AdWordsApiVersion.MediaMediaType.MEDIA_BUNDLE
>>> };
>>> html5Ad.templateElements = new
>>> AdWordsApiVersion.TemplateElement[] {
>>> new AdWordsApiVersion.TemplateElement() {
>>> uniqueName = "adData",
>>> fields = new
>>> AdWordsApiVersion.TemplateElementField[] {
>>> new AdWordsApiVersion.TemplateElementField() {
>>> name = "Custom_layout",
>>> fieldMedia = mediaBundle,
>>> type =
>>> AdWordsApiVersion.TemplateElementFieldType.MEDIA_BUNDLE
>>> },
>>> new AdWordsApiVersion.TemplateElementField() {
>>> name = "layout",
>>> fieldText = "Custom",
>>> type =
>>> AdWordsApiVersion.TemplateElementFieldType.ENUM
>>> },
>>> },
>>> }
>>> };
>>> // Create the AdGroupAd.
>>> AdWordsApiVersion.AdGroupAd html5AdGroupAd = new
>>> AdWordsApiVersion.AdGroupAd()
>>> {
>>> adGroupId = adGroupId,
>>> ad = html5Ad,
>>> // Additional properties (non-required).
>>> status = AdWordsApiVersion.AdGroupAdStatus.ENABLED
>>> };
>>> AdWordsApiVersion.AdGroupAdOperation adGroupAdOperation =
>>> new AdWordsApiVersion.AdGroupAdOperation()
>>> {
>>> @operator = AdWordsApiVersion.Operator.ADD,
>>> operand = html5AdGroupAd
>>> };
>>>
>>> // Error is thrown on this line:
>>>
>>> AdWordsApiVersion.AdGroupAdReturnValue result =
>>> adGroupAdService.mutate(new AdWordsApiVersion.AdGroupAdOperation[] {
>>> adGroupAdOperation });
>>> if (result != null && result.value != null)
>>> {
>>> return result.value[0];
>>> }
>>> else
>>> {
>>> throw new Exception("HTML5 ad " + adName + " could not
>>> be added.");
>>> }
>>>
>>>
>>>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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 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/1ffdbd2d-0eb5-46f7-979f-b1f264e51321%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.