Hi,

My program get error when I change to use AdWords API from v201609 to 
v201702.

Please see below the program code first:
        function A:
final List<SitelinkFeedItem> items = this.createSiteLinkFeedItems(lang, 
storeId);
final ExtensionSetting setting = new ExtensionSetting();
setting.setExtensions(items.toArray(new SitelinkFeedItem[items.size()]));

        function B:
final List<CalloutFeedItem> items = this.createCalloutFeedItems(lang, 
storeId);
final ExtensionSetting setting = new ExtensionSetting();
setting.setExtensions(items.toArray(new CalloutFeedItem[items.size()]));


When using v201609, it works fine, both SitelinkFeedItem and 
CalloutFeedItem list items can be set into ExtensionSetting.

When using v201702, it gets error:
The method setExtensions(ExtensionFeedItem[]) in the type ExtensionSetting 
is not applicable for the arguments (CalloutFeedItem[])

Does anyone know what happen to this?

Thanks

Eric

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/52e92def-2a63-4f6c-b76a-d54d25462fd2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • CalloutFeedItem... Eric Kwok
    • Re: Callou... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to