Hello.

Please check the contents below.



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
campaign create result
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

{ "results": [ { "resourceName": 
"customers/5209595745/campaigns/20431695985", "campaign": { "resourceName": 
"customers/5209595745/campaigns/20431695985", "status": "ENABLED", 
"adServingOptimizationStatus": "CONVERSION_OPTIMIZE", 
"advertisingChannelType": "MULTI_CHANNEL", "advertisingChannelSubType": 
"APP_CAMPAIGN", "networkSettings": { "targetGoogleSearch": true, 
"targetSearchNetwork": true, "targetContentNetwork": true, 
"targetPartnerSearchNetwork": false }, "targetCpa": { "targetCpaMicros": 
"10000000" }, "selectiveOptimization": { "conversionActions": [ 
"customers/5209595745/conversionActions/6604903346" ] }, 
"geoTargetTypeSetting": { "positiveGeoTargetType": "PRESENCE_OR_INTEREST" 
}, "appCampaignSetting": { "biddingStrategyGoalType": 
"OPTIMIZE_INSTALLS_TARGET_INSTALL_COST", "appStore": "GOOGLE_APP_STORE", 
"appId": "com.ucar.customer" }, "name": 
"nshangukin-campaign-20230806011407", "id": "20431695985", 
"campaignBudget": "customers/5209595745/campaignBudgets/12826816763", 
"startDate": "2023-08-06", "endDate": "2023-08-09" } } ] }




=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
adGroupAds:mutate
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

*** Request ***

requestId : UBIc6ezNANcYeTXgA-uDUg

$data = {'operations': [{'create': {'adGroup': 
'customers/5209595745/adGroups/152134082156','status': 'ENABLED','ad': 
{'name': 'nshangukin-creative-20230807200318','type': 'APP_AD','appAd': 
{'mandatoryAdText': {'text': '당신의 완벽한 파트너 UCAR'},'headlines': [{'text': 
'당신의 완벽한 파트너 UCAR_1' },{'text': '당신의 완벽한 파트너 UCAR_2' }],'descriptions': 
[{'text': '당신의 완벽한 파트너 UCAR_3' },{'text': '당신의 완벽한 파트너 UCAR_4' }],'images': 
[{'asset': 'customers/5209595745/assets/94980550759'},{'asset': 
'customers/5209595745/assets/94998755540'},{'asset': 
'customers/5209595745/assets/94998778472'}],'youtubeVideos': [{'asset': 
'customers/5209595745/assets/94981099912'},{'asset': 
'customers/5209595745/assets/94999121435'}]}}}}],"partialFailure": 
false,"validateOnly": false,"responseContentType": "MUTABLE_RESOURCE"}

$app_url = 
"https://googleads.googleapis.com/v14/customers/".$GOOGLE_ADS_CUSTOMER_ID."/adGroupAds:mutate";;

$opts = array(
CURLOPT_URL => $app_url, 
CURLOPT_SSL_VERIFYPEER => false, 
CURLOPT_RETURNTRANSFER => true, 
CURLOPT_CUSTOMREQUEST => "POST", 
CURLOPT_POST => true, 
CURLOPT_POSTFIELDS => $data, 
CURLOPT_HTTPHEADER => array("Content-Type: application/json", 
"Authorization: Bearer " . $access_token, "login-customer-id: 
".$GOOGLE_MASTER_CUSTOMER_ID, "developer-token: 
".$GOOGLE_ADS_DEVELOPER_TOKEN ) 
);

*** Reponse ***
{ "error": { "code": 400, "message": "Request contains an invalid 
argument.", "status": "INVALID_ARGUMENT", "details": [ { "@type": 
"type.googleapis.com/google.ads.googleads.v14.errors.GoogleAdsFailure", 
"errors": [ { "errorCode": { "fieldError": "VALUE_MUST_BE_UNSET" }, 
"message": "The field cannot be set.", "location": { "fieldPathElements": [ 
{ "fieldName": "operations", "index": 0 }, { "fieldName": "create" }, { 
"fieldName": "ad" }, { "fieldName": "app_ad" } ] } } ], "requestId": 
"UBIc6ezNANcYeTXgA-uDUg" } ] } }

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



Thank you.

2023년 8월 7일 월요일 오후 8시 4분 34초 UTC+9에 Google Ads API Forum Advisor님이 작성:

> Hi,
>
> Thank you for reaching out to Google Ads API Forum.
>
> It appears that you have encountered  *VALUE_MUST_BE_UNSET, *which is a 
> field error (
> *https://developers.google.com/google-ads/api/reference/rpc/v14/FieldErrorEnum.FieldError#value_must_be_unset*
>  
> <https://developers.google.com/google-ads/api/reference/rpc/v14/FieldErrorEnum.FieldError#value_must_be_unset>).
>  
> With this, could you provide us with the complete API logs in this format (
> *request** and **response** with **request-id **and **request header)* 
> generated 
> on your end? I am asking this since the logs provided seem to be 
> incomplete. This is so our team could further check and provide more 
> appropriate guidance.
>
> You may then send the requested information privately via the Reply to 
> author option. If this option is not available, you may send the details 
> directly to our *googleadsa...@google.com*  alias instead.
>
> *Reference Links:*
>
>    - *request* : 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#request*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
>    - *response*: 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#response*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
>    - *request-id* : 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
>    - *request header* - 
>    
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers*
>  
>    
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
>      
>
> This message is in relation to case "ref:_00D1U1174p._5004Q2nbzd9:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bacec44c-f3e4-4e48-9af5-7d095076e497n%40googlegroups.com.
  • Th... ADVERTISEMENT FMAD
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... ADVERTISEMENT FMAD
        • ... ADVERTISEMENT FMAD
          • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
            • ... ADVERTISEMENT FMAD
              • ... ADVERTISEMENT FMAD
              • ... ADVERTISEMENT FMAD
                • ... ADVERTISEMENT FMAD
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
                • ... SR
                • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to