Hi Ernie And Moshik
Sorry to bother you both.
I am having the same issue as Moshik.
I have looked over the documentation and am still confused sorry.
If I am using the python sdk and using the load_from_dict() method.
By adding the login-customer-id and client _id to the dict credentials will this work?
here is a sample of my script below
from google.ads.googleads.client import GoogleAdsClient
from google.ads.googleads.errors import GoogleAdsException
credentials = {
"developer_token": MCC DEVELOPER TOKEN,
"refresh_token": "xxxxxxx,
"client_secret": xxxxxx,
"login-customer-id" :MCC_ID,
"customer_id" : ACCOUNT_ID,
"access_token" : XXXXX'
}
client = GoogleAdsClient.load_from_dict(credentials)
The account sits under an mcc that sits under another mcc.
which combination of developer token, mcc id for the login-customer-id should I use?
This all renders fine
but when I then go on to execute rendering the report with the below code
customer_id= ACCOUNT_ID
ga_service = client.get_service("GoogleAdsService")
query = """
SELECT
FROM campaign
# Issues a search request using streaming.
response = ga_service.search_stream(customer_id=customer_id, query=query )
it always gives this error:
Apologies can u please elaborate some more.
For reference the oauth2 is working correctly and i have successfully gotten the refresh token. The app type is desktop.
Many thanks
Bosh