Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2018-11-07 Thread Inessa M
Hello Nadine,

Sure, here is the new 
thread https://groups.google.com/forum/#!topic/adwords-api/GT4j1vigFC8 .

Regards,
Inessa M.

четверг, 8 ноября 2018 г., 7:08:21 UTC+10 пользователь Nadine Sundquist 
(AdWords API Team) написал:
>
> Hello,
>
> This is quite an old thread. Can you do me a HUGE favor? Could you please 
> start a new thread with this question as I believe this may be a new issue?
>
> Thanks,
> Nadine, AdWords API Team
>
> On Tuesday, November 6, 2018 at 7:23:21 PM UTC-5, Inessa M wrote:
>>
>> Hi all,
>>
>> I try to add some HTML5 ads using BatchJobs (I didn't try to send it 
>> without BatchJobs; API version is 201802) and I get the same error. 
>> Can anyone help me please? Thanks in advance.
>>
>> суббота, 4 марта 2017 г., 4:19:36 UTC+10 пользователь Nadine Sundquist 
>> (AdWords API Team) написал:
>>>
>>> Hello AdWordsians,
>>>
>>> I just got the all clear that code has been pushed to our servers that 
>>> should make this issue disappear. Please get in contact with me if you see 
>>> this error happening with HTML5 ads. Based on my analysis, it looks like 
>>> the issue first started late Wednesday night and continued into today. At 
>>> this point, you should no longer see this error.
>>>
>>> Thanks,
>>> Nadine, AdWords API Team
>>>
>>> On Friday, March 3, 2017 at 10:36:40 AM UTC-5, Nadine Sundquist (AdWords 
>>> API Team) wrote:

 Hello Everyone!

 I no longer need the request IDs. I found the root cause by surfing our 
 logging servers. I've made this the top priority around here. I'll post an 
 update here when I have more news.

 Best,
 Nadine, AdWords API Team

 On Friday, March 3, 2017 at 9:55:31 AM UTC-5, Nadine Sundquist (AdWords 
 API Team) wrote:
>
> Hello Adam,
>
> Would you happen to have request IDs for some of the failures on 
> AdGroupAdService? The *requestId* would be in your SOAP XML response. 
> That would help me narrow this down a little faster.
>
> Thanks,
> Nadine, AdWords API Team
>
> On Friday, March 3, 2017 at 9:34:08 AM UTC-5, Nadine Sundquist 
> (AdWords API Team) wrote:
>>
>> Greetings AdWordsians!
>>
>> Thank you to everyone who spoke up here. I'm looking into it. When 
>> something like this happens, it doesn't tend to be a coincidence. I'll 
>> get 
>> back to you as soon as I finish investigating.
>>
>> Best,
>> Nadine, AdWords API Team
>>
>> On Friday, March 3, 2017 at 4:12:24 AM UTC-5, Dorian Kind wrote:
>>>
>>> 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()
>> {
>>  

Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2018-11-07 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello,

This is quite an old thread. Can you do me a HUGE favor? Could you please 
start a new thread with this question as I believe this may be a new issue?

Thanks,
Nadine, AdWords API Team

On Tuesday, November 6, 2018 at 7:23:21 PM UTC-5, Inessa M wrote:
>
> Hi all,
>
> I try to add some HTML5 ads using BatchJobs (I didn't try to send it 
> without BatchJobs; API version is 201802) and I get the same error. 
> Can anyone help me please? Thanks in advance.
>
> суббота, 4 марта 2017 г., 4:19:36 UTC+10 пользователь Nadine Sundquist 
> (AdWords API Team) написал:
>>
>> Hello AdWordsians,
>>
>> I just got the all clear that code has been pushed to our servers that 
>> should make this issue disappear. Please get in contact with me if you see 
>> this error happening with HTML5 ads. Based on my analysis, it looks like 
>> the issue first started late Wednesday night and continued into today. At 
>> this point, you should no longer see this error.
>>
>> Thanks,
>> Nadine, AdWords API Team
>>
>> On Friday, March 3, 2017 at 10:36:40 AM UTC-5, Nadine Sundquist (AdWords 
>> API Team) wrote:
>>>
>>> Hello Everyone!
>>>
>>> I no longer need the request IDs. I found the root cause by surfing our 
>>> logging servers. I've made this the top priority around here. I'll post an 
>>> update here when I have more news.
>>>
>>> Best,
>>> Nadine, AdWords API Team
>>>
>>> On Friday, March 3, 2017 at 9:55:31 AM UTC-5, Nadine Sundquist (AdWords 
>>> API Team) wrote:

 Hello Adam,

 Would you happen to have request IDs for some of the failures on 
 AdGroupAdService? The *requestId* would be in your SOAP XML response. 
 That would help me narrow this down a little faster.

 Thanks,
 Nadine, AdWords API Team

 On Friday, March 3, 2017 at 9:34:08 AM UTC-5, Nadine Sundquist (AdWords 
 API Team) wrote:
>
> Greetings AdWordsians!
>
> Thank you to everyone who spoke up here. I'm looking into it. When 
> something like this happens, it doesn't tend to be a coincidence. I'll 
> get 
> back to you as soon as I finish investigating.
>
> Best,
> Nadine, AdWords API Team
>
> On Friday, March 3, 2017 at 4:12:24 AM UTC-5, Dorian Kind wrote:
>>
>> 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 = 
> 

Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2018-11-06 Thread Inessa M
Hi all,

I try to add some HTML5 ads using BatchJobs (I didn't try to send it 
without BatchJobs; API version is 201802) and I get the same error. 
Can anyone help me please? Thanks in advance.

суббота, 4 марта 2017 г., 4:19:36 UTC+10 пользователь Nadine Sundquist 
(AdWords API Team) написал:
>
> Hello AdWordsians,
>
> I just got the all clear that code has been pushed to our servers that 
> should make this issue disappear. Please get in contact with me if you see 
> this error happening with HTML5 ads. Based on my analysis, it looks like 
> the issue first started late Wednesday night and continued into today. At 
> this point, you should no longer see this error.
>
> Thanks,
> Nadine, AdWords API Team
>
> On Friday, March 3, 2017 at 10:36:40 AM UTC-5, Nadine Sundquist (AdWords 
> API Team) wrote:
>>
>> Hello Everyone!
>>
>> I no longer need the request IDs. I found the root cause by surfing our 
>> logging servers. I've made this the top priority around here. I'll post an 
>> update here when I have more news.
>>
>> Best,
>> Nadine, AdWords API Team
>>
>> On Friday, March 3, 2017 at 9:55:31 AM UTC-5, Nadine Sundquist (AdWords 
>> API Team) wrote:
>>>
>>> Hello Adam,
>>>
>>> Would you happen to have request IDs for some of the failures on 
>>> AdGroupAdService? The *requestId* would be in your SOAP XML response. 
>>> That would help me narrow this down a little faster.
>>>
>>> Thanks,
>>> Nadine, AdWords API Team
>>>
>>> On Friday, March 3, 2017 at 9:34:08 AM UTC-5, Nadine Sundquist (AdWords 
>>> API Team) wrote:

 Greetings AdWordsians!

 Thank you to everyone who spoke up here. I'm looking into it. When 
 something like this happens, it doesn't tend to be a coincidence. I'll get 
 back to you as soon as I finish investigating.

 Best,
 Nadine, AdWords API Team

 On Friday, March 3, 2017 at 4:12:24 AM UTC-5, Dorian Kind wrote:
>
> 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 
 

Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2017-03-03 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Hello AdWordsians,

I just got the all clear that code has been pushed to our servers that 
should make this issue disappear. Please get in contact with me if you see 
this error happening with HTML5 ads. Based on my analysis, it looks like 
the issue first started late Wednesday night and continued into today. At 
this point, you should no longer see this error.

Thanks,
Nadine, AdWords API Team

On Friday, March 3, 2017 at 10:36:40 AM UTC-5, Nadine Sundquist (AdWords 
API Team) wrote:
>
> Hello Everyone!
>
> I no longer need the request IDs. I found the root cause by surfing our 
> logging servers. I've made this the top priority around here. I'll post an 
> update here when I have more news.
>
> Best,
> Nadine, AdWords API Team
>
> On Friday, March 3, 2017 at 9:55:31 AM UTC-5, Nadine Sundquist (AdWords 
> API Team) wrote:
>>
>> Hello Adam,
>>
>> Would you happen to have request IDs for some of the failures on 
>> AdGroupAdService? The *requestId* would be in your SOAP XML response. 
>> That would help me narrow this down a little faster.
>>
>> Thanks,
>> Nadine, AdWords API Team
>>
>> On Friday, March 3, 2017 at 9:34:08 AM UTC-5, Nadine Sundquist (AdWords 
>> API Team) wrote:
>>>
>>> Greetings AdWordsians!
>>>
>>> Thank you to everyone who spoke up here. I'm looking into it. When 
>>> something like this happens, it doesn't tend to be a coincidence. I'll get 
>>> back to you as soon as I finish investigating.
>>>
>>> Best,
>>> Nadine, AdWords API Team
>>>
>>> On Friday, March 3, 2017 at 4:12:24 AM UTC-5, Dorian Kind wrote:

 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 

Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2017-03-03 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Hello Everyone!

I no longer need the request IDs. I found the root cause by surfing our 
logging servers. I've made this the top priority around here. I'll post an 
update here when I have more news.

Best,
Nadine, AdWords API Team

On Friday, March 3, 2017 at 9:55:31 AM UTC-5, Nadine Sundquist (AdWords API 
Team) wrote:
>
> Hello Adam,
>
> Would you happen to have request IDs for some of the failures on 
> AdGroupAdService? The *requestId* would be in your SOAP XML response. 
> That would help me narrow this down a little faster.
>
> Thanks,
> Nadine, AdWords API Team
>
> On Friday, March 3, 2017 at 9:34:08 AM UTC-5, Nadine Sundquist (AdWords 
> API Team) wrote:
>>
>> Greetings AdWordsians!
>>
>> Thank you to everyone who spoke up here. I'm looking into it. When 
>> something like this happens, it doesn't tend to be a coincidence. I'll get 
>> back to you as soon as I finish investigating.
>>
>> Best,
>> Nadine, AdWords API Team
>>
>> On Friday, March 3, 2017 at 4:12:24 AM UTC-5, Dorian Kind wrote:
>>>
>>> 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).
>>   

Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2017-03-03 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Hello Adam,

Would you happen to have request IDs for some of the failures on 
AdGroupAdService? The *requestId* would be in your SOAP XML response. That 
would help me narrow this down a little faster.

Thanks,
Nadine, AdWords API Team

On Friday, March 3, 2017 at 9:34:08 AM UTC-5, Nadine Sundquist (AdWords API 
Team) wrote:
>
> Greetings AdWordsians!
>
> Thank you to everyone who spoke up here. I'm looking into it. When 
> something like this happens, it doesn't tend to be a coincidence. I'll get 
> back to you as soon as I finish investigating.
>
> Best,
> Nadine, AdWords API Team
>
> On Friday, March 3, 2017 at 4:12:24 AM UTC-5, Dorian Kind wrote:
>>
>> 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:
>
> 

Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2017-03-03 Thread 'Nadine Sundquist (AdWords API Team)' via AdWords API Forum
Greetings AdWordsians!

Thank you to everyone who spoke up here. I'm looking into it. When 
something like this happens, it doesn't tend to be a coincidence. I'll get 
back to you as soon as I finish investigating.

Best,
Nadine, AdWords API Team

On Friday, March 3, 2017 at 4:12:24 AM UTC-5, Dorian Kind wrote:
>
> 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.");
 }




-- 
-- 

Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2017-03-03 Thread Dorian Kind
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to

Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2017-03-02 Thread Justin Masters
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 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 

Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2017-03-02 Thread Adam Marshall
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 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/4d5bb065-ad1d-46f0-ac8f-2ab6c1fee6f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2017-03-02 Thread Adam Marshall
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 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/0700aecd-4a79-4ae7-9e07-23af0d1a173b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.