Re-posting the last inquiry (
https://groups.google.com/g/adwords-api/c/vGqIuwB-qeQ) from the forum as it 
wasn't routed to our support queue.

Regards,

Google Ads API Team
On Wednesday, June 14, 2023 at 7:14:27 PM UTC+8 [email protected] wrote:

> Hi,
>
> So here are what requests responses and logs look like
>
> curl --request POST \
>   --url 
> https://googleads.googleapis.com/v14/customers/1749622890/googleAds:searchStream
>  
> \
>   --header 'Authorization: Bearer 
> ya29.a0AWY7CkmwIdHgfrcpOZ52FMnD2quB11G54ALk3yykLGV2dCbXY7_QQiWQOK-S5nwEwbcAy2uOzlTR0ydAB2gvERtx8P8AZctaC0Mh0iBLVFIivheOASYPj-5HlJAxBRqwGwocjTtdxtfh-nMPRf6ZspzkeHMAaFgDQAaCgYKAdgSARASFQG1tDrpi5vRYZD6AepLhpqKFmrcqw0169'
>  
> \
>   --header 'Content-Type: application/json' \
>   -i --header 'developer-token: 5r9vGo7Ccc5Di8-dHnM-6A' \
>   --data '{
>         "query": "SELECT ad_group_ad.ad.name, metrics.all_conversions, 
> metrics.clicks, segments.date FROM ad_group_ad WHERE segments.date = 
> '\''2023-06-14'\''"
> }'
> HTTP/2 200
> content-type: application/json; charset=UTF-8
> vary: X-Origin
> vary: Referer
> vary: Origin,Accept-Encoding
> date: Wed, 14 Jun 2023 10:59:34 GMT
> server: ESF
> cache-control: private
> x-xss-protection: 0
> x-frame-options: SAMEORIGIN
> x-content-type-options: nosniff
> alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
> accept-ranges: none
>
> [{
>   "results": [
>     {
>       "metrics": {
>         "clicks": "191",
>         "allConversions": 44
>       },
>       "adGroupAd": {
>         "resourceName": 
> "customers/1749622890/adGroupAds/153200613267~662026855617",
>         "ad": {
>           "resourceName": "customers/1749622890/ads/662026855617"
>         }
>       },
>       "segments": {
>         "date": "2023-06-14"
>       }
>     },
>     {
>       "metrics": {
>         "clicks": "195",
>         "allConversions": 52
>       },
>       "adGroupAd": {
>         "resourceName": 
> "customers/1749622890/adGroupAds/153200613307~662026855620",
>         "ad": {
>           "resourceName": "customers/1749622890/ads/662026855620"
>         }
>       },
>       "segments": {
>         "date": "2023-06-14"
>       }
>     },
>     {
>       "metrics": {
>         "clicks": "6",
>         "allConversions": 0
>       },
>       "adGroupAd": {
>         "resourceName": 
> "customers/1749622890/adGroupAds/153200613347~662026855623",
>         "ad": {
>           "resourceName": "customers/1749622890/ads/662026855623"
>         }
>       },
>       "segments": {
>         "date": "2023-06-14"
>       }
>     },
>     {
>       "metrics": {
>         "clicks": "132",
>         "allConversions": 34
>       },
>       "adGroupAd": {
>         "resourceName": 
> "customers/1749622890/adGroupAds/157024364584~662057360335",
>         "ad": {
>           "resourceName": "customers/1749622890/ads/662057360335"
>         }
>       },
>       "segments": {
>         "date": "2023-06-14"
>       }
>     },
>     {
>       "metrics": {
>         "clicks": "1246",
>         "allConversions": 283
>       },
>       "adGroupAd": {
>         "resourceName": 
> "customers/1749622890/adGroupAds/153225215234~662058841810",
>         "ad": {
>           "resourceName": "customers/1749622890/ads/662058841810"
>         }
>       },
>       "segments": {
>         "date": "2023-06-14"
>       }
>     },
>     {
>       "metrics": {
>         "clicks": "1276",
>         "allConversions": 315
>       },
>       "adGroupAd": {
>         "resourceName": 
> "customers/1749622890/adGroupAds/157024216984~662118026858",
>         "ad": {
>           "resourceName": "customers/1749622890/ads/662118026858"
>         }
>       },
>       "segments": {
>         "date": "2023-06-14"
>       }
>     }
>   ],
>   "fieldMask": "adGroupAd.ad.name
> ,metrics.allConversions,metrics.clicks,segments.date",
>   "requestId": "VnCyp-dO9i_rqiZjLwBVFQ"
> }
> ]
>
> curl --request POST \
>   --url 
> https://googleads.googleapis.com/v14/customers/1749622890/googleAds:searchStream
>  
> \
>   --header 'Authorization: Bearer 
> ya29.a0AWY7CkmwIdHgfrcpOZ52FMnD2quB11G54ALk3yykLGV2dCbXY7_QQiWQOK-S5nwEwbcAy2uOzlTR0ydAB2gvERtx8P8AZctaC0Mh0iBLVFIivheOASYPj-5HlJAxBRqwGwocjTtdxtfh-nMPRf6ZspzkeHMAaFgDQAaCgYKAdgSARASFQG1tDrpi5vRYZD6AepLhpqKFmrcqw0169'
>  
> \
>   --header 'Content-Type: application/json' \
>   -i --header 'developer-token: 5r9vGo7Ccc5Di8-dHnM-6A' \
>   --data '{
>         "query": "SELECT click_view.gclid FROM click_view WHERE 
> segments.date = '\''2023-06-14'\''"
> }'
> HTTP/2 200
> request-id: F-iNCq3_myqMCHyl8saMWw
> content-type: application/json; charset=UTF-8
> vary: X-Origin
> vary: Referer
> vary: Origin,Accept-Encoding
> date: Wed, 14 Jun 2023 11:04:48 GMT
> server: ESF
> cache-control: private
> x-xss-protection: 0
> x-frame-options: SAMEORIGIN
> x-content-type-options: nosniff
> alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
> accept-ranges: none
>
> []
>
> As you can see there are a non-zero number of clicks returned for the 
> date, but no actual gclids are returned.
>
> On Friday, June 2, 2023 at 9:27:52 PM UTC+3 Google Ads API and AdWords API 
> Forum wrote:
>
> Hi, 
>
> Thanks for reaching out to the Google Ads API Forum. I hope you are doing 
> well today.
>
> Moving forward to your concern about “click_view data for app campaign”, 
> for our team to further compare, investigate, and validate why you are 
> encountering issues, can you provide more information?
>
>
>    - 
>    
>    Provide the complete (request and response with request-id) logs with 
>    request ID generated as shown in the respective links.
>    - 
>    
>    Complete or uncropped screenshots from the Google Ads UI (optional)
>    
>  
>
> We do this to check if there’s an error thrown on your side and provide 
> accurate recommendations. 
>
>  
>
> If you haven't enabled logging yet, it can be enabled by navigating to the 
> Client libraries > Your client library (ex. Java) > Logging documentation, 
> 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.
>
> You can provide these via the Reply privately to author option. If this 
> option is not available, then send it instead on this email address 
> [email protected] <https://groups.google.com/>.
>
> Reference links:
>
>    - 
>    
>    Logging documentation - 
>    
> https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging
>    - 
>    
>    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
>    - 
>    
>    Request-id - 
>    
> https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id
>    
>
> Have a great day.
>
> Regards,
> Google Ads API Team
>
>
> On Tuesday, May 30, 2023 at 5:13:22 PM UTC+8 [email protected] wrote:
>
> Hello, I have a problem with getting click_view data for app campaign 
> clicks.
> When I execute the following query
> SELECT ad_group_ad.ad.name, metrics.all_conversions, metrics.clicks, 
> segments.date FROM ad_group_ad WHERE segments.date = '2023-05-28'
> I get
> ad:{resource_name:"customers/***/ads/***" type:APP_AD}} 
> metrics:{all_conversions:689 clicks:3638} segments:{date:"2023-05-28"}
>
> However, when after that I send the following query (with the same 
> credentials, customer id and everything)
> SELECT click_view.gclid FROM click_view WHERE segments.date = '2023-05-28'
> I get no results. Same when adding a specific gclid to WHERE condition in 
> the click_view query.
>
> I did see this part in documentation about click_view: "For non-Search 
> campaigns, metrics.clicks represents the number of valid and invalid 
> interactions.". But does that mean, that for non-Search campaigns there is 
> no way to get per-click info from click_view?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/30f6ba65-c21b-4edc-b796-f89288012c42n%40googlegroups.com.
  • Re... Google Ads API and AdWords API Forum
    • ... Google Ads API and AdWords API Forum
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to