Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https:\/\/developers.google.com\/identity\/sign-in\/web

2023-06-01 Thread
 {
"message": "Request is missing required authentication credential. 
Expected OAuth 2 access token, login cookie or other valid authentication 
credential. See 
https:\/\/developers.google.com\/identity\/sign-in\/web\/devconsole-project.",
"code": 16,
"status": "UNAUTHENTICATED",
"details": [
{
"@type": 
"type.googleapis.com\/google.ads.googleads.v13.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"authenticationError": "AUTHENTICATION_ERROR"
},
"message": "Authentication of the request failed."
}
],
"requestId": "GSXCYpCvLo7Hpq1bojGqUQ"
}
]
}

i want know why?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0c86194e-269c-43ee-8d42-a34d1eb40bb8n%40googlegroups.com.


How do I get account consumption group by country

2020-04-02 Thread
I use ads api, not adwords api.

my query = "
SELECT 
customer.id, 
segments.geo_target_region,
segments.date 
FROM customer WHERE segments.date BETWEEN '2020-03-30' AND '2020-03-31'
"



Tip me:
   "message": "Cannot select or filter on the following segments: 
'segments.geo_target_region'(could not support requested resources: 
'CUSTOMER'), since segment is incompatible with the resource in the FROM 
clause or other selected segmenting resources."



How do I get account consumption group by country? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/69b4184b-dd85-4992-93a2-d51bde8e82f5%40googlegroups.com.


Re: how to get ad_group_ad_asset_view use php

2020-03-30 Thread
how about 
https://developers.google.com/google-ads/api/fields/v2/ad_group_ad_asset_view 
,my 
ads are UAC,we want get report like this 

[image: 企业微信截图_69b0636b-5bd9-4ed2-8b9e-2a9c98318df7.png]
在 2020年3月30日星期一 UTC+8下午11:37:20,adsapiforumadvisor写道:
>
> Hi,
>
> Thank you for reaching out. The reason that you are unable to get ad group 
> metrics for your campaigns is because the API only supports campaign level 
> reporting for App Campaigns as explained here 
> 
> .
>
> For the report, you can follow this example 
> 
>  but 
> replace the query with your desired values.
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5001UZV86Q: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/ac36faa5-22dd-4159-a1fc-365c5be6cd21%40googlegroups.com.


Keep Getting [AuthorizationError.SERVICE_ACCESS_DENIED @ ]

2020-03-05 Thread
I have one google ads account that bind to my manager account with 
developer token (basic access)
the API that i m using is google adwords API. 

and the error keep throw out when i start testing with GetCampaigns.php

SOAP information:

http://schemas.xmlsoap.org/soap/envelope/";>https://adwords.google.com/api/adwords/cm/v201809"; 
xmlns="https://adwords.google.com/api/adwords/mcm/v201809";>0005a027b451cff70abc480c070836b4ManagedCustomerServiceget1284soap:Server[AuthorizationError.SERVICE_ACCESS_DENIED
 
@ ]https://adwords.google.com/api/adwords/mcm/v201809"; 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809";>[AuthorizationError.SERVICE_ACCESS_DENIED
 
@ 
]ApiExceptionhttp://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ns2:AuthorizationError">AuthorizationError.SERVICE_ACCESS_DENIEDAuthorizationErrorSERVICE_ACCESS_DENIED


my developer oauth2 id

[OAUTH2]
clientId = 
"201620085598-ge565bamtcq0r6isqbihmehseu69gvof.apps.googleusercontent.com"


my adwords id

[ADWORDS]

clientCustomerId = "575-751-5107"


Anyone can help on this? stuck for one month... :(

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e4d15b3b-c999-4f2c-befa-cef9d8248c7b%40googlegroups.com.