Hello, thanks for your answer. The following is my log, hope it can help you
2023-03-28 08:18:00.106 INFO 10228 --- [ault-executor-0] 
c.g.ads.googleads.lib.request.summary : SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v11.services.GoogleAdsService /SearchStream, Endpoint: 
googleads.googleapis.com:443, CustomerID: 5883563550, RequestID: 
w7-teMFokCeOvoqCsJN3Wg, ResponseCode: OK, Fault: null.
2023-03-28 08:18:00.589 INFO 10228 --- [ault-executor-0] 
c.g.ads.googleads.lib.request.summary : SUCCESS REQUEST SUMMARY. Method: 
google.ads.googleads.v11.services.CampaignService /MutateCampaigns, 
Endpoint: googleads.googleapis.com:443, CustomerID: 5883563550, RequestID: 
n_IIphIZf855Q-RR549_eQ, ResponseCode: OK, Fault: null.
Updated campaign with resourceName: 
customers/5883563550/campaigns/19576428380.
Below is my request:
// Creates a Campaign object with the proper resource name and any other 
changes.
             Campaign campaign =
                     Campaign. newBuilder()
                            
 .setResourceName(ResourceNames.campaign(customerId, campaignId))
                            
 .setStatus(CampaignStatusEnum.CampaignStatus.PAUSED)
                             .clearTrackingUrlTemplate()
                             .build();
             // Constructs an operation that will update the campaign, 
using the FieldMasks utility to
             // derive the update mask. This mask tells the Google Ads API 
which attributes of the
             // campaign you want to change.
             CampaignOperation operation =
                     CampaignOperation. newBuilder()
                             .setUpdate(campaign)
                            
 .setUpdateMask(FieldMasks.allSetFieldsOf(campaign))
                             .build();
             // Sends the operation in a mutate request.
             MutateCampaignsResponse response =
                     campaignServiceClient.mutateCampaigns(
                             customerId.toString(), 
Collections.singletonList(operation));

在2023年3月27日星期一 UTC+8 22:44:49<Google Ads API Forum Advisor> 写道:

> Hi Keji,
>
> Thanks for reaching out to the Google Ads API Forum. I hope you are doing 
> well today.
>
> I understand that you are having issue with *“**clearTrackingTemplate()** 
> method 
> to fix the clearTrackingTemplate for the AD series”*, however, for our 
> team to further compare, investigate, and validate why you are encountering 
> issues, can you provide more information with regards to your concern or 
> issues?
>  
>
>    - Provide the complete (*request* 
>    
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>     and *response* 
>    
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>     with *request-id* 
>    
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>)
>  
>    logs with request ID generated as shown in the respective links. 
>    - Complete screenshots (without cropping) from the Google Ads UI, if 
>    possible. 
>
>
> If you haven't enabled logging yet, it can be enabled by navigating to the 
> Client libraries > Your client library (ex. Java) > *Logging 
> documentation* 
> <https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging>,
>  
> which you can access from this link. For REST interface requests, you can 
> enable logging via the curl command by using the -i flag. 
>
> This will cause the tool to include the HTTP response headers in the 
> output.
>
> Have a great day.
>
> Regards,
> [image: Google Logo] Google Ads API Team 
>
> ref:_00D1U1174p._5004Q2kBsGU: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 
"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/0a9ca72e-95b8-49bb-8e55-a46d4d4747ecn%40googlegroups.com.
  • cl... keji dianfei
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... keji dianfei
      • ... keji dianfei

Reply via email to