你好  我这边有个小问题可以帮忙看一下吗,就是我发布广告的时候,选择geo 
target组合的时候有点问题,PositiveGeoTargetType选择的是Search_interest,但是提交报错,提示说不支持area_of_interest不支持,下面是请求过程
[image: 微信图片_20200709142832.png]
[image: 微信图片_20200709142839.png]


下面是报错信息:
Request
-------
MethodName: google.ads.googleads.v3.services.CampaignService/MutateCampaigns
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=8395350886, 
x-goog-api-client=gl-java/1.8.0_231 gapic/ gax/1.50.1 grpc/1.25.0}
Body: customer_id: "4402518201"
operations {
  update {
    resource_name: "customers/4402518201/campaigns/10423191080"
    id {
      value: 10423191080
    }
    name {
      value: "App promotion-App-81111111111"
    }
    campaign_budget {
      value: "customers/4402518201/campaignBudgets/7126684473"
    }
    bidding_strategy_type: TARGET_CPA
    target_cpa {
      target_cpa_micros {
        value: 300000
      }
    }
    geo_target_type_setting {
      positive_geo_target_type: SEARCH_INTEREST
      negative_geo_target_type: PRESENCE
    }
    app_campaign_setting {
      bidding_strategy_goal_type: OPTIMIZE_INSTALLS_TARGET_INSTALL_COST
    }
  }
  update_mask {
    paths: "resource_name"
    paths: "id"
    paths: "name"
    paths: "geo_target_type_setting.positive_geo_target_type"
    paths: "geo_target_type_setting.negative_geo_target_type"
    paths: "app_campaign_setting.bidding_strategy_goal_type"
    paths: "campaign_budget"
    paths: "bidding_strategy_type"
    paths: "target_cpa.target_cpa_micros"
  }
}


Response
--------
Headers: 
Metadata(content-type=application/grpc,request-id=Tn2O-_6hgSy8sUhDDfhSRQ,date=Thu,
 
09 Jul 2020 04:24:28 GMT,alt-svc=h3-29=":443"; ma=2592000,h3-27=":443"; 
ma=2592000,h3-25=":443"; ma=2592000,h3-T050=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
Body: null
Failure message: errors {
  error_code {
    operation_access_denied_error: OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE
  }
  message: "This operation is not permitted on this campaign type"
  trigger {
    string_value: "AREA_OF_INTEREST"
  }
  location {
    field_path_elements {
      field_name: "operations"
      index {
      }
    }
    field_path_elements {
      field_name: "update"
    }
    field_path_elements {
      field_name: "geo_target_type_setting"
    }
    field_path_elements {
      field_name: "positive_geo_target_type"
    }
  }
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bdaa2614-a1f7-4eb4-8415-4bca31910ccfn%40googlegroups.com.

Reply via email to