Error executing script that always worked

178 views
Skip to first unread message

Gil

unread,
Feb 11, 2022, 3:08:11 PM2/11/22
to Google Ads API and AdWords API Forum
Hi,

The simple script below worked perfecty for almost 3 years, and since January it's showing this error:

Feed-based extension is read-only for this extension type. ({"errorCode":{"feedError":"LEGACY_EXTENSION_TYPE_READ_ONLY"},"message":"Feed-based extension is read-only for this extension type.","trigger":{"stringValue":"[17]"},"location":{"fieldPathElements":[{"fieldName":"mutate_operations","index":0},{"fieldName":"extension_feed_item_operation"}]}})

I read on Google that they are migrating "feed-based" extensions to "asset-based" format (I have no idea what this is)... but there is absolutely no information how to do this "assect-based" using the Google Ads Script.

The code is below. As you can see it's pretty simple and it worked for years... Any suggestion how to make this work again?

function main() {

        var calloutBuilder = AdsApp.extensions().newCalloutBuilder();
        var calloutOperator = calloutBuilder.withText("Testando Teste").build();
   
        if (calloutOperator.isSuccessful()) {
   
                        Logger.log("Ok.");
                   
        }
        else{
   
                        Logger.log("Not Ok:" + calloutOperator.getErrors().join("\n"));
   
        }

}

Google Ads API Forum Advisor

unread,
Feb 14, 2022, 4:25:35 AM2/14/22
to gilp...@gmail.com, adwor...@googlegroups.com
Hi Gil,

Thank you for posting your concern.

I would like to inform you that this forum is dedicated to the Google Ads API and AdWords API related concerns. With this, our team can only provide support to the said APIs as well.

That said, I would suggest to post your concern to this forum that is dedicated to Google Ads scripts and to get assistance from the more equipped team on this topic.

Regards,
Google Logo
Ernie John
Google Ads API Team
 


ref:_00D1U1174p._5004Q2W6YOo:ref
Reply all
Reply to author
Forward
0 new messages