Steps to insert a client in Customer Match using API REST

2022-10-19 Thread Luiz Eduardo
Hi, sorry for my english. When a customer makes a purchase, i'm trying insert him i a customer match, i do the following steps: 1 - generate access token 2 - create an offline user data job. 3 - add operation to the offline user data job. if email is gmail: operations: [ {

Ho to make an query to list all account ids?

2022-12-15 Thread 'Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
Hello, is there a way to get all account ids in my account? I can get campaign data as follows: ga_service = client.get_service("GoogleAdsService", version="v7") query = """ SELECT campaign_budget.id, campaign_budget.name, campaign_budget.amount_micros FROM campaign_budget ORDER BY campaign_bud

Re: Ho to make an query to list all account ids?

2022-12-15 Thread 'Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
I want a query that contains all accounts ids, both mccs and mccs' children, how can I get this query done? On Thursday, December 15, 2022 at 2:00:57 PM UTC-3 adsapi wrote: > Hi Luiz, > > By "*get all account ids in my account*" do you mean getting all client > account IDs under your MCC / mana

How to make a query that contains all accounts ids, both mcc manager and mccs' children

2022-12-15 Thread 'Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
How can i get all account ids from both mcc - manager and children? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to

Re: Ho to make an query to list all account ids?

2022-12-15 Thread 'Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
ot;The customer account can\'t be accessed because it is not yet enabled or has been deactivated." } request_id: "" , '..-p') On Thursday, December 15, 2022 at 3:39:11 PM UTC-3 Luiz Eduardo Da Cruz wrote: > I want a query that contains all accounts ids, b

Re: Ho to make an query to list all account ids?

2022-12-15 Thread 'Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
im receiving this error, can someone help? On Thursday, December 15, 2022 at 4:46:47 PM UTC-3 Luiz Eduardo Da Cruz wrote: > (<_InactiveRpcError of RPC that terminated with: > status = StatusCode.PERMISSION_DENIED > details = "The caller does no

Re: Ho to make an query to list all account ids?

2022-12-15 Thread &#x27;Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
tks! On Thursday, December 15, 2022 at 5:48:25 PM UTC-3 adsapi wrote: > Hi Luiz, > > To resolve the CUSTOMER_NOT_ENABLED error, you will first need to > reactivate >

Query to get a specific account id

2022-12-15 Thread &#x27;Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
Hello I would like to know how can I make a query that validates if a specific account id exists in the platform, the account id can be a mcc manager as well as a simple mcc, (it could be any type of mcc)... -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https

Get data from specific customer id

2022-12-15 Thread &#x27;Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
Hello! How can i use an query to get data from an specific customer id? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribe

Make a query to validate if the account id exists

2022-12-22 Thread &#x27;Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
hello, I would like to know how would a query look like to validate that the accounts ids: '8731730893', '531727356', '6069299195', really exist in my platform account? These acc ids are MCCS but can also be children of mccs. They are of different levels. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

How to make a query to validate if campaign id exists?

2022-12-23 Thread &#x27;Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
Hey, how are u? I would like to know how I can make a query that validates if there is a campaign id inside an account, this account can be mcc or even mcc manager. Thanks! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com

Re: How to make a query to validate if campaign id exists?

2022-12-23 Thread &#x27;Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
sorry, (only inside of account) On Friday, December 23, 2022 at 3:01:57 PM UTC-3 subin...@gmail.com wrote: > There are no campaigns inside MCC accounts > > On Friday, 23 December 2022 at 23:29:39 UTC+5:30 luiz...@mercadolivre.com > wrote: > >> Hey, how are u? >> >> I would like to know how I can

How to avoid SQL INJECTION in Google Ads API using Python?

2022-12-23 Thread &#x27;Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
Hello, how are you? I searched some forums about how to prevent sql injection in python and saw that there are ways to use a code like the following: nome = "'Carlos' , idade = 80" cursor.execute("UPDATE cliente SET nome=%(nome)s WHERE idcliente=13", ({'nome': nome, })) Most of the examples I

Re: How to make a query to validate if campaign id exists?

2022-12-24 Thread &#x27;Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
Thank you! On Saturday, December 24, 2022 at 9:30:42 AM UTC-3 subin...@gmail.com wrote: > search for the campaign id in that account. > > > https://github.com/googleads/google-ads-php/blob/main/examples/BasicOperations/GetCampaigns.php > > this will help you get all the campaigns from the Google

Block Ips

2022-08-16 Thread &#x27;Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
Hi guys! I would like to block ips in some accounts, I looked at google doc but I couldn't do the blocking. My Python code is as follows: *campaign_criterion_operation = self.client.get_type('CampaignCriterionOperation', version='v11')* *campaign_service = self.client.get_service("CampaignSer

Block Ips

2022-08-16 Thread &#x27;Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
Hi guys! I would like to block ips in some campaigns, I looked at google doc but I couldn't do the blocking. My Python code is as follows: *campaign_criterion_operation = self.client.get_type('CampaignCriterionOperation', version='v11')* *campaign_service = self.client.get_service("CampaignSer