Multiple operations with CampaignExtensionSetting Srevice

63 views
Skip to first unread message

រតនា ជួន

unread,
May 27, 2015, 2:05:27 AM5/27/15
to adwor...@googlegroups.com
I've updated awords api to v201502 and there's a new way to create ad extensions by using CampaignExtensionSetting service.
My problem is getting an error while i'm trying to send a request with multiple operations.

 AdwordsApi::V201502::CampaignExtensionSettingService::ApiException: [InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ com.google.ads.api.services.common.error.InternalApiError.<init>(InternalApiErro]

Here are my request: 
 [{:operator=>"SET",
  
:operand=>
   
{:campaign_id=>"284821869",
    
:extension_type=>"CALLOUT",
    
:extension_setting=>
     
{:platform_restrictions=>"NONE",
      
:extensions=>[{:feed_item_id=>"1438498066", :xsi_type=>"CalloutFeedItem"}, {:feed_item_id=>"1438490401",:xsi_type=>"CalloutFeedItem"}]}}},
 
{:operator=>"SET",
  
:operand=>
   
{:campaign_id=>"285081789",
    
:extension_type=>"CALLOUT",
    
:extension_setting=>
     
{:platform_restrictions=>"NONE",
      
:extensions=>
       
[{:feed_item_id=>"1434107755", :xsi_type=>"CalloutFeedItem"},
        
{:feed_item_id=>"1434268424", :xsi_type=>"CalloutFeedItem"},
        
{:feed_item_id=>"1434138058", :xsi_type=>"CalloutFeedItem"},
        
{:feed_item_id=>"1438425491", :xsi_type=>"CalloutFeedItem"},
        
{:feed_item_id=>"1438498066", :xsi_type=>"CalloutFeedItem"},
        
{:feed_item_id=>"1438490401", :xsi_type=>"CalloutFeedItem"}]}}}]

How can I fix this? Or CampaignEtension doesn't support multiple operations?

Regard,
Rothana

Nadine Sundquist (AdWords API Team)

unread,
May 28, 2015, 4:27:22 PM5/28/15
to adwor...@googlegroups.com, rothana...@gmail.com
Hello Rothana,

There shouldn't be any issues with sending in multiple operations. Could you please send me your privately your customer ID? If you also have the full SOAP response, that would be helpful as well. That way, I can try to find the root cause of the error. 

Thanks,
Nadine, AdWords API Team

Nadine Sundquist (AdWords API Team)

unread,
Jun 12, 2015, 9:37:04 AM6/12/15
to adwor...@googlegroups.com, adwordsapiad...@google.com, rothana...@gmail.com
Hi Rothana,

Were you able to get this figured out?

Best,
Nadine, AdWords API Team

Michael Buetow

unread,
Jun 12, 2015, 11:26:35 AM6/12/15
to adwor...@googlegroups.com, rothana...@gmail.com
This sounds like the same problem I was running into with the CampaignExtensionSettingService around Sitelinks found here https://developers.google.com/adwords/api/community/?place=msg%2Fadwords-api%2FwK5eFtWV8Cg%2FopL09jEUXXAJ

Last I heard they are still investigating the issue.

រតនា ជួន

unread,
Jul 9, 2015, 12:32:11 AM7/9/15
to adwor...@googlegroups.com, rothana...@gmail.com
Hi Sundquist 

As I didn't found any solutions so currently I send request one by one.

Regard,
Rothana

Nadine Sundquist (AdWords API Team)

unread,
Jul 9, 2015, 12:11:56 PM7/9/15
to adwor...@googlegroups.com, rothana...@gmail.com
Hello Rothana,

Someone else was having this issue. The workaround for this issue is for each account that has not had an extension settings added before, add one extension setting. Then, you can add multiples for that account after that point. 

Our engineers are currently working on the issue. I'll report back here when the issue has been fixed.

Best,
Nadine, AdWords API Team

Nadine Sundquist (AdWords API Team)

unread,
Jul 14, 2015, 9:25:06 AM7/14/15
to adwor...@googlegroups.com, adwordsapiad...@google.com, rothana...@gmail.com
Hi Rothana,

Please give this another try. We now have a fix available.

Cheers,
Nadine, AdWords API Team
Reply all
Reply to author
Forward
0 new messages