ok, the problem in my investigation is here: $extensionFeedItem = new ExtensionFeedItem([ 'sitelink_feed_item' => $sitelink_feed_item, 'ad_schedules' => $adScheduleInfo, 'start_date_time' => "2021-03-05 09:00:00", 'end_date_time' => "2024-03-05 08:00:00", 'extension_type' => ExtensionType::SITELINK, 'status' => (new FeedItemStatus)->value('ENABLED') ]); return $extensionFeedItem->getResourceName();
$adGroupExtensionSetting = new AdGroupExtensionSetting([ 'ad_group' => $adGroupResourceName, 'extension_type' => ExtensionType::SITELINK, 'extension_feed_items' => [$extensionFeedItem->getResourceName()] ]); the Output is empty and parameter 'extension_feed_items' required this information. [image: Capture.PNG] On Friday, June 28, 2019 at 5:07:24 AM UTC-3, adsapiforumadvisor wrote: > > Hi Adrian, > > Thank you for reaching out. > > The error you are encountering INVALID_ARGUMENT, based from the > description, means that you are missing a resource name that is required in > one of your operations. > > Upon checking the code you've provided, it seems that you are passing the > correct parameters. However, since I am not that knowledgeable in PHP, > could you provide the complete JSON request and response logs so I could > further investigate this? You may refer to this guide > <https://github.com/googleads/google-ads-php/#logging> on how to enable > logging in your library. You may use the *reply privately to author* > option. > > Regards, > Dannison > Google Ads API Team > > > ref:_00D1U1174p._5001UCZr1z:ref -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/3ddd6f53-5885-4312-a1f2-3e4375ea3be8%40googlegroups.com.