Hi Anthony, I would also like to assign created SharedSet to campaigns. For that, I was using like this
$campaignSharedSet = new CampaignSharedSet([ 'campaign' => new StringValue( ['value' => ResourceNames::forCampaign($this->customerId, $campaignId)] ), 'shared_set' => new StringValue(['value' => 'customers/XXXXXXXXXX/sharedSets/XXXXXXXX']) ]); $campaignSharedSetOperation = new CampaignSharedSetOperation(); $campaignSharedSetOperation->setCreate($campaignSharedSet); $campaignSharedSetServiceClient = $googleAdsClient->getCampaignSharedSetServiceClient(); $response = $campaignSharedSetServiceClient->mutateCampaignSharedSets( $this->customerId, [$campaignSharedSetOperation] ); But API is giving error related to protobuf. An uncaught Exception was encountered Type: Exception Message: Expect Google\Ads\GoogleAds\V3\Services\CampaignSharedSetOperation. Filename: /google-ads-php/vendor/google/protobuf/src/Google/Protobuf/Internal/GPBUtil.php Line Number: 197 On Tuesday, 28 April 2020 23:12:10 UTC+5:30, adsapiforumadvisor wrote: > > Hello, > > I will add a feature request on your behalf to have this added to the API. > > Regards, > Anthony > Google Ads API Team > > ref:_00D1U1174p._5001UaSU68: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/460cd0dd-64f5-4a7a-a3f3-dc187f6b7a9e%40googlegroups.com.