hi,修改adGroup出价字段无效,API返回成功,但是adGroup实际出价还是原有的值
以下是代码

AdGroup adGroup = AdGroup.newBuilder() 
.setResourceName(ResourceNames.adGroup(googleAdsClient.getLoginCustomerId(), 
***)) .setEffectiveTargetCpaMicros(20000) .build(); List<AdGroupOperation> 
adGroupOperationList = new ArrayList<>() List<AdGroupOperation> 
adGroupOperationList = new ArrayList<>(); 
adGroupOperationList.add(AdGroupOperation.newBuilder() .setUpdate(adGroup) 
.setUpdateMask(FieldMasks.allSetFieldsOf(adGroup)) .build()); 
MutateAdGroupsResponse response = adGroupServiceClient.mutateAdGroups( 
String.valueOf(googleAdsClient.getLoginCustomerId()), adGroupOperationList) 
mutateAdGroupResult is resource_name: "customers/**/adGroups/**" The 
effectivetargetcpamicros field is still the original value

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/65fd3ef9-9871-44de-8d9d-acd3e8c185d2n%40googlegroups.com.
  • 修改... 张钰杰
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to