Internal Error when creating smart campaign setting

2024-01-22 Thread Jimmy Li
to the API we are creating a smart campaign then after it is created, attempting to create a smart campaign setting immediately after. Thanks, Jimmy -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com

Ad Group Ad returns empty from API occassionally

2024-01-18 Thread Jimmy Li
Hello, I am working on getting the descriptions and headlines for an ad group ad using the API. I am using golang API with the https://github.com/shenzhencenter/google-ads-pb library. The query I send to the API is the following ``` SELECT ad_group_ad.ad.resource_name,

error while creating responsive search ads

2022-09-29 Thread jimmy m
Hi, While running your sample in https://developers.google.com/google-ads/api/docs/responsive-search-ads/create-responsive-search-ads I got this error: *ad_group_ad.ad.responsive_search_ad.headlines.extend(* *TypeError: Expected a message object, but got text: "Experience the Stars"* Couldn't

Re: Error while importing googleadsclient. I installed python google-ads==17.0.0

2022-07-07 Thread jimmy m
that were updated google-ads==17.0.0 proto-plus==1.19.6 protobuf==3.17.3 grpcio==1.47.0 grpcio-status==1.44.0 googleapis-common-protos==1.56.3 Thank you Jimmy On Thursday, July 7, 2022 at 5:11:31 AM UTC-4 adsapi wrote: > Hi Jimmy, > > Thank you for sending us an email. > > Mo

Error while importing googleadsclient. I installed python google-ads==17.0.0

2022-07-07 Thread jimmy m
-- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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

Im using Python google-ads==17.0.0 and got error while importing GoogleAdsClient

2022-07-07 Thread jimmy m
Traceback (most recent call last): File "G:\SQ\CRM\metrics2.py", line 7, in from google.ads.googleads.client import GoogleAdsClient File "C:\Users\Y\AppData\Local\Programs\Python\Python310\lib\site-packages\google\ads\googleads\__init__.py", line 15, in import google.ads.googleads.client

Refresh token and adclient

2022-01-30 Thread jimmy m
How you migrate these 2 lines of code from adwords api to google ads api using the new google-ads-python package? from googleads import adwords (old package) from googleads import oauth2 (old package) oauth2_client = oauth2.GoogleRefreshTokenClient(client_id, client_secret, refresh_token) ac

How to get remaining credit from ads v6 api?

2021-03-19 Thread Jimmy
Hello I try to get some bill data (like the mask in the photo) via ads api. I tried some query FROM account_budget/customer/billing_setup in ads v6 api, but it seems not return the data that I want. Where can I get those data? Thank you. - remain credit in some account - recent added date - the

Re: Where can I get "Total: Search Keywords on Display Network" data from API?

2021-03-18 Thread Jimmy
Hello: 2066198211, Thanks. adsapiforumadvisor 在 2021年3月19日 星期五上午12:00:22 [UTC+8] 的信中寫道: > Hi Jimmy, > > Can you please provide your client customer Id so I can take a closer look? > > Thanks, > Anthony > [image: Google Logo] > Anthony > Google Ads API Tea

Re: Missing locations in the Geo Targets API

2020-06-22 Thread jia Jimmy
And what does these country_criteria_id represent for? 2192 2736 2760 2408 在 2017年9月8日星期五 UTC+8下午9:57:29,Sreelakshmi Sasidharan (AdWords API Team)写道: > > Hi Sean, > > You are right, we don't have the criterion Id - location name mapping > documented for those locations that cannot be

Could please tell what country does these missing country_criteria_id present ?

2020-06-20 Thread jia Jimmy
2192 2736 2760 2408 I'm workinf to get cost grouped by country of my account with Google ads API. But I got some country_criteria_id that I couldn't found in Geo Target CSV file . And after googled this I

How do I get customer cost metrics aggregated at the country level?

2020-06-19 Thread jia Jimmy
*I'm tried with `**geographic_view**` [**geographic_view**](https://developers.google.com/google-ads/api/fields/v3/geographic_view) to get acustomer's cost group by country.* *As below query showed:* query = """ SELECT customer.descriptive_name,

Quota exceeded for quota metric 'Get requests' ?

2019-11-20 Thread jia Jimmy
Hi Team, When I try to get customers under my user, I got error like below: *Request made: ClientCustomerId: None, Host: googleads.googleapis.com:443, Method: /google.ads.googleads.v2.services.CustomerService/GetCustomer, RequestId: None, IsFault: True, FaultMessage: Quota exceeded for quota

How can I get the active account_bugdet only?

2019-10-22 Thread jia Jimmy
The only account_budget active in my google-ads management backend is as below showed: [image: gg1024.png] { "account_id":, "account_budget_id":xx, "account_budget_name":"BlueFocus International Limited - 2018年12月27日",

How to filter account_budget with different status(ended or active)?

2019-10-22 Thread jia Jimmy
query = """ SELECT customer.id, account_budget.id, account_budget.name, account_budget.status, account_budget.amount_served_micros FROM account_budget

The budget amount is different between api result and google-ads management backend?

2019-10-20 Thread jia Jimmy
*After I create a new account_budget:* *{'account_id': 666, 'account_budget_id': 579824031, 'account_budget_name': 'Account Budget Proposal (example) 20191021 579824031', 'account_budget_status': 'APPROVED', 'approved_start_date_time': 20191021, 'approved_end_date_time':

How can I get the status of account_budget (ended or active)?

2019-10-20 Thread jia Jimmy
query = """ SELECT customer.id, account_budget.id, account_budget.name, account_budget.status, account_budget.amount_served_micros FROM account_budget

How to specify the status of account_budget?

2019-10-20 Thread jia Jimmy
query = """ SELECT customer.id, account_budget.id, account_budget.name, account_budget.status, account_budget.amount_served_micros FROM account_budget

The customer is not eligible to mutate this resource.

2019-09-12 Thread jia Jimmy
I'm tring to create a create a new billing setups with an exist payments account """This example removes a billing setup with the specified ID. To get available billing setups, run get_billing_setups.py. """ from __future__ import absolute_import import argparse import six import sys import os

RESOURCE_NOT_FOUND wile tring to add account budget

2019-09-11 Thread jia Jimmy
I'm tring to add account budget for a google-ads account, followed example provided by goolge-ads-python lib. from __future__ import absolute_import import argparse import sys import os import six import google.ads.google_ads.client os.environ['https_proxy'] = 'https_proxy8'

No customer found for the provided customer id while add account budget?

2019-09-11 Thread jia Jimmy
I'm tring to add an account budget to a google-ads account, and below is my main codes from __future__ import absolute_import import argparse import sys import os import six import google.ads.google_ads.client os.environ['https_proxy'] = 'xxx' GG_DEVELOP_TOKEN = "GG_DEVELOP_TOKEN"

Re: Scope has changed from [...] to [...]

2019-09-09 Thread jia Jimmy
Thanks for your replying first. I'm trying to generate my OAuth2 credentials and I want get login-user profile at the same time.So I think the scopes should be like [ https://www.googleapis.com/auth/userinfo.email, https://www.googleapis.com/auth/adwords,

Scope has changed from [...] to [...]

2019-09-06 Thread jia Jimmy
I want to use scopes [ https://www.googleapis.com/auth/userinfo.email, https://www.googleapis.com/auth/adwords, https://www.googleapis.com/auth/userinfo.profile ] But when I setSCOPES = ['https://www.googleapis.com/auth/adwords', 'https://www.googleapis.com/auth/userinfo.profile',

How to assign google-ads account to the google-account who didn't have any mcc?

2019-09-01 Thread jia Jimmy
I konw I can assign google-ads account from one mcc to the other one. But if there's no mcc under one google-account , how can I assign google-ads account to it in program ? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog:

request_error: INVALID_CUSTOMER_ID when accept the link using the client account.

2019-08-24 Thread jia Jimmy
I'm tring to accept the link using the client account following api guide but got error below: google.ads.google_ads.errors.GoogleAdsException: (<_Rendezvous of RPC that terminated with: status = StatusCode.INVALID_ARGUMENT details = "Request contains an invalid argument."

AttributeError: 'str' object has no attribute 'value' when set resource_name of manager_link

2019-08-24 Thread jia Jimmy
As google-ads-python(link_manager_to_client) suggesting codes example showed ,I tried with below code: manager_link_operation = c_client.get_type(

AttributeError: results while link_manager_to_client by google-ads-api

2019-08-23 Thread jia Jimmy
I'm following link_manager_to_client codes example . but it showed error: Traceback (most recent call last): File "demo.py", line 204, in foo4() File "demo.py", line 189,

Re: AUTHENTICATION_ERROR when initialize a GoogleAdsClient

2019-08-23 Thread jia Jimmy
After followed Quickstart guide, I'm still meeting the same error, here's my trial: # 1) got specified credentials flow = google_auth_oauthlib.flow.Flow.from_client_secrets_file( CLIENT_SECRETS_FILE, scopes=SCOPES, state=state)

Re: AUTHENTICATION_ERROR when initialize a GoogleAdsClient

2019-08-23 Thread jia Jimmy
Thanks for your replying, Nikisha. What I'm confused is that I can get a credentials object with refresh_token in the earlier steps, for refresh_token will automaticly generate access_token, then I could initialize a client onject. Am I right? # refresh_token Got in earlier steps # client_id

AUTHENTICATION_ERROR when initialize a GoogleAdsClient

2019-08-22 Thread jia Jimmy
As Setting up the client library suggested. I use codes below to initialize a client object and then do some service. I've got the refresh_token followed starting steps. import google.ads.google_ads.client

Update DSA Feed

2017-06-01 Thread Jimmy Sychareunh
of the feed? Many thanks for your help, Kind regards, Jimmy dsa, feed, dsa feed, update -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts

Adwords API Error (in Python)

2014-01-10 Thread Jimmy Xie
Hello, I have my everything set up as specified below. I confirmed that oauth2 is working but I am getting an error when trying to access the client.GetCampaignService() method. I get an xml error, mismatched tag: line 7 column 2. I assume this is because it is outputting an error message

Test Account Authorization

2014-01-10 Thread Jimmy Xie
Hello, I need some clarity about how to use the test account. After I create the client ID and client secret in the api console. Which account should I use to approve access? Should I be using my test account's login? or Production MCC Account? Or Production Adwords Account? Further, what do

Log Files for Python Adwords API

2014-01-10 Thread Jimmy Xie
Hello, can anyone tell me where I can find the log files such as soap_xml.log? I can't find them and as such I can't debug my errors... I've enabled them via the config.py script but I have no idea where the locations are. Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also

Developer Token and Other Header Information

2014-01-09 Thread Jimmy Xie
Hello, I read that we should be able to access the API through the test account even if the *Developer Token* is not yet approved, is this true? Further, when testing the API using the test account, do we use the Test Account Developer Token, or the Production Account? I'm also wondering what

Getting list of Adgroups with managerCustomerId

2013-10-22 Thread Jimmy
I'm trying to pull a list of AdGroups with my parent mcc account. I set the managerCustomerId in my AdWordsUser class, but it doesn't return any results. It's only when I set the clientCustomerId that it gives me a list, but that list is only for that specific child account. Is there no way