PHP sdk Retrieve campaign / adgroups GeoTargetTypeSetting

2019-12-13 Thread nicolò Cozzani
Hi, Using PHP SDK How can i retrieve campaign or adgroup GeoTargetTypeSetting? There is any example? https://developers.google.com/adwords/api/docs/reference/v201809/CampaignService.Campaign.html#settings_1

Php SDK get campaign spent budget (daily)

2018-12-05 Thread nicolò Cozzani
Hi, would i'd like to achieve is to know everyday how much of the budget was spent the day before. Thas my code : $selector = new Selector(); $yesterday = date('Ymd',strtotime("-2days")); $today = $yesterday = date('Ymd',strtotime("-1days")); $selector->setFields(["Amount","Cost"]);

Adwords api, check daily budget and change max cpc bid

2018-09-19 Thread nicolò Cozzani
Hello, I need some suggestions ,what i'm trying to do, if possibile is : - check if a given campaing yesterday had reached the daily budget - if so change the max cpc bid for keywords of that campaign. For change the max cpc bid i was thinking to use this example

Adwords api (PHP SDK)

2018-09-19 Thread nicolò Cozzani
Hello, I need some suggestions ,what i'm trying to do, if possibile is : - check if a given campaing yesterday had reached the daily budget - if so change the max cpc bid for keywords of that campaign. For change the max cpc bid i was thinking to use this example

Re: API migration, detect requests source

2018-03-21 Thread nicolò Cozzani
i replied with the information, did you received it? thanks Il giorno martedì 20 marzo 2018 20:52:13 UTC+1, Dhanya Sundararaju (AdWords API Team) ha scritto: > > Hi Nicolò, > > Could you please *reply privately to author* with your MCC id and > Developer token, so that we can pull up your API

API migration, detect requests source

2018-03-20 Thread nicolò Cozzani
Since the API sunset warning i've migrated my application (a web application with the php sdk ) to lastest version of the api. Yesterday an email warned me that the 10% of calls of last week were made from * v201705, v201708 .* My application is quite big and has a lot of functionality but i'm

Re: Sync all campaing under MCC

2017-10-09 Thread nicolò Cozzani
Thanks you one last question. Is possible to filter the api request of mcc accounts by creation date? I mean is possible to get all accounts under mcc created after a certain date? Thank you. Il giorno lunedì 9 ottobre 2017 09:55:48 UTC+2, Vincent Racaza (AdWords API Team) ha scritto: > > Hi

Re: Sync all campaing under MCC

2017-10-09 Thread nicolò Cozzani
Oh thanks, the problem is that my code takes something like 20 minutes to complete execution (2k accounts an something like 3k total campaings). Is that normal? Il giorno lunedì 9 ottobre 2017 07:54:22 UTC+2, Vincent Racaza (AdWords API Team) ha scritto: > > Hi Nicolo, > > For CampaignService

Sync all campaing under MCC

2017-10-08 Thread nicolò Cozzani
Hello, my company manage Adwords campaign for several clients. So we have an MCC account with several clients and something like 2800+ (growing) total campaigns. Im trying to sync all campaings to our database, the main problem is that for retrieve all the campaings i have to loop trought all

Best way to access all campaings under MCC (PHP)

2017-10-08 Thread nicolò Cozzani
Hello, my company manage Adwords campaign for several clients. So we have an MCC account with several clients and something like 2800+ (growing) total campaigns. Im trying to sync all campaings to our database, the main problem is that for retrieve all the campaings i have to loop trought all