Sure, here it is.

Cheers,
Pedro Gramaça

On Fri, Mar 26, 2021 at 6:37 PM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hello,
>
> Thanks for reaching out. Can you please provide us with the complete
> request and response logs so that we can take a closer look at the issue?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo]
> Matt
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2EnRmh: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/CAPrk2rJ5wEawX_9K3wbp6hDemzAY1z9kLwMWEdqnSPBdBqN%2BmQ%40mail.gmail.com.
Request
-------
Method: /google.ads.googleads.v5.services.CampaignService/MutateCampaigns
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "4662470535",
  "x-goog-api-client": "gl-python/3.7.10 grpc/1.36.1 gax/1.26.2 gapic/7.0.0",
  "x-goog-request-params": "customer_id=9107152249"
}
Request: customer_id: "9107152249"
operations {
  update {
    resource_name: "customers/9107152249/campaigns/12643098477"
    status: PAUSED
    network_settings {
      target_google_search: true
      target_search_network: true
      target_content_network: true
      target_partner_search_network: false
    }
    target_spend {
      cpc_bid_ceiling_micros: 1000000
    }
    dynamic_search_ads_setting {
      domain_name: "advertio.com"
      language_code: "en"
    }
    name: "SYNCTEST campanha puxafraco"
    id: 12643098477
    tracking_url_template: "http://tracking.io?lpurl={lpurl}";
    campaign_budget: "customers/9107152249/campaignBudgets/1379387712"
  }
  update_mask {
    paths: "id"
    paths: "name"
    paths: "status"
    paths: "end_date"
    paths: "campaign_budget"
    paths: "network_settings.target_search_network"
    paths: "network_settings.target_google_search"
    paths: "network_settings.target_content_network"
    paths: "network_settings.target_partner_search_network"
    paths: "final_url_suffix"
    paths: "url_custom_parameters"
    paths: "tracking_url_template"
    paths: "dynamic_search_ads_setting.language_code"
    paths: "dynamic_search_ads_setting.domain_name"
    paths: "target_spend.cpc_bid_ceiling_micros"
  }
}
Response
-------
Headers: {
  "google.ads.googleads.v5.errors.googleadsfailure-bin": 
"\nK\n\u0003\u0003\u0007\u0012\u001cThe field cannot be 
cleared.\"&\u0012\u000e\n\noperations\u0012\u0000\u0012\b\n\u0006update\u0012\n\n\bend_date",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
argument.\u001a\u0001\nCtype.googleapis.com/google.ads.googleads.v5.errors.GoogleAdsFailure\u0012M\nK\n\u0003\u0003\u0007\u0012\u001cThe
 field cannot be 
cleared.\"&\u0012\u000e\n\noperations\u0012\u0000\u0012\b\n\u0006update\u0012\n\n\bend_date",
  "request-id": "edVPDPNrvxCdBfCeZP1xvg"
}
Fault: errors {
  error_code {
    field_error: FIELD_CANNOT_BE_CLEARED
  }
  message: "The field cannot be cleared."
  location {
    field_path_elements {
      field_name: "operations"
      index {
      }
    }
    field_path_elements {
      field_name: "update"
    }
    field_path_elements {
      field_name: "end_date"
    }
  }
}

Reply via email to