Thanks For the Information. I was able to change the BID.
Now I have step forward and tried to change Bid for the Device. I have done like this But this gives me Segmentation Fault: 11 $bidModifierValue = 1.5; $adGroupBidModifier = new AdGroupBidModifier([ 'ad_group' => new StringValue( ['value' => ResourceNames::forAdGroup($customerId, $adGroupId)] ), 'bid_modifier' => new DoubleValue(['value' => $bidModifierValue]), 'device' => new DeviceInfo(['type' => Device::MOBILE]) ]); print_r($adGroupBidModifier);exit; // Creates an ad group bid modifier operation for creating an ad group bid modifier. $adGroupBidModifierOperation = new AdGroupBidModifierOperation(); $adGroupBidModifierOperation->setUpdate($adGroupBidModifier); $adGroupBidModifierOperation->setUpdateMask(FieldMasks::allSetFieldsOf($adGroupBidModifier)); // Issues a mutate request to add the ad group bid modifier. $adGroupBidModifierServiceClient = $googleAdsClient->getAdGroupBidModifierServiceClient(); $response = $adGroupBidModifierServiceClient->mutateAdGroupBidModifiers( $customerId, [$adGroupBidModifierOperation] ); thanks, On Friday, 26 July 2019 00:58:40 UTC+5:30, adsapiforumadvisor wrote: > > Hi, > > Thanks for the clarification. To update the Cpc bid for Adgroup you need > to use Fieldmask utility to derive the update mask which will tell Google > Ads API which attribute of Ad Group will be updated. Please refer to the > similar code Update Ad Group > <https://developers.google.com/google-ads/api/docs/samples/update-ad-group> > in Google Ads API to update CPC bid. > > Regards, > Nikisha Patel, Google Ads API Team > > > ref:_00D1U1174p._5001UEGEyi: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/367f90ae-4884-4e1f-86e9-5d068bbee257%40googlegroups.com.