Hello, Josh,

I hit the same issue when I am testing my application using GoogleAds API. 
I tried to follow the link you shared to get the requestId but the code 
snippet in the page (logs produced by the library 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fgoogleads%2Fgoogle-ads-dotnet%2Fblob%2Fmaster%2FREADME.md%23how-do-i-enable-logging&sa=D&sntz=1&usg=AFQjCNHKXvMPY8TdF0I2qJ1NrXhpFGPh_g>)
 
has grammar error.

Here is the example from the webpage:

GoogleAdsResponseMetadata metadata = new 
GoogleAdsResponseMetadata(client.Config);
>
> // Add the campaigns.
> MutateCampaignsResponse retVal = campaignService.MutateCampaigns(
>     customerId.ToString(), operations.ToArray(), metadata.CallSettings);
>
> Console.WriteLine(metadata.RequestId);
>
>
However, in GoogleAds v2.2.0, the ctor of GoogleAdsResponseMetadata takes a 
parameter of type Grpc.Core.Metadata:

public class GoogleAdsResponseMetadata
>     {
>         //
>         // Summary:
>         //     Creates a new instance with metadata.
>         public GoogleAdsResponseMetadata(Metadata metadata);
>
>         //
>         // Summary:
>         //     Gets the request ID.
>         public string RequestId { get; }
>     }
>

, while client.Config is of type 
Google.Ads.GoogleAds.Config.GoogleAdsConfig.

Can you please help check what is the good way to get the request ID for a 
request in GoogleAds? I am currently blocked by this StartDate discrepancy 
and would like to have a way for you to move the investigation forward.

Thanks,
Gavin

On Tuesday, July 9, 2019 at 6:21:13 PM UTC-7, adsapiforumadvisor wrote:
>
> Hi Dongqi,
>
> I just ran a query against that account, and I see the start date of 
> 2019-01-22 in the Google Ads API response, which matches the UI and the 
> AdWords API.
>
>     {
>       "campaign": {
>         "resourceName": "customers/1309083668/campaigns/1683957039",
>         "id": "1683957039",
>         "startDate": "2019-01-22",
>         "endDate": "2037-12-30"
>       }
>     }
>
> Could you run your request again? If it still shows the wrong start date, 
> please share the request ID from the response. You can find this in the logs 
> produced by the library 
> <https://github.com/googleads/google-ads-dotnet/blob/master/README.md#how-do-i-enable-logging>
>  
> .
>
> Thanks,
> Josh, Google Ads API Team
>
> ref:_00D1U1174p._5001UBkhjl: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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3be862a0-a566-4f8d-99fd-1bbfce2d22f3%40googlegroups.com.

Reply via email to