Re: Python example of the Ad schedule mutation

2019-12-17 Thread Juan Carlos Blanco Delgado
Hello, sorry I found the solution following the example, thank you so much!!! On Tuesday, December 17, 2019 at 4:11:53 PM UTC, Juan Carlos Blanco Delgado wrote: > > Hello, I made it work!!! > > The problem was the MCC account I was using, I have several MCC accounts > and a top MCC as well.

Re: Python example of the Ad schedule mutation

2019-12-17 Thread Juan Carlos Blanco Delgado
Hello, I made it work!!! The problem was the MCC account I was using, I have several MCC accounts and a top MCC as well. Now, could you help me how to update a bank and change an adschedule??? Any example??? On Monday, December 2, 2019 at 5:25:23 PM UTC, adsapiforumadvisor wrote: > > Hi Juan,

Re: Python example of the Ad schedule mutation

2019-12-02 Thread Google Ads API Forum Advisor Prod
Hi Juan, Can you please share your logs with me through reply privately to author so I can see where the issue is? If you haven't enabled logging, you can follow the steps here. You can add filters on a campaign by adding a predicate like it is done here. Regards, Anthony Google Ads API Team r

Re: Python example of the Ad schedule mutation

2019-11-29 Thread Juan Carlos Blanco Delgado
I found a solution but it does not work completly campaign_criterion_service = client.GetService( 'CampaignCriterionService', version='v201809') # Construct selector and get all campaign targets. offset = 0 selector = { 'fields': ['DayOfWeek', 'StartHour', 'StartMinute', 'EndHour', 'EndMinute'],

Re: Python example of the Ad schedule mutation

2019-11-29 Thread Juan Carlos Blanco Delgado
I found a solution but it does not return anything :( selector = { 'fields': ['DayOfWeek', 'StartHour', 'StartMinute', 'EndHour', 'EndMinute'], 'paging': { 'startIndex': str(offset), 'numberResults': str(PAGE_SIZE) } } I need to get all the AdSchedule for all my campaigns, or if it is eaisier,

Re: Python example of the Ad schedule mutation

2019-11-21 Thread Google Ads API Forum Advisor Prod
Hi Juan, Unfortunately, we don't have any examples on how to add it using any language. Just like with other criteria, you will need to set the fields specific to the criteria. For ad schedules, you will need to set fields such as start_hour and end_hour. If you are facing any difficulties, you

Re: Python example of the Ad schedule mutation

2019-11-20 Thread Juan Carlos Blanco Delgado
Hi Anthony, Thank you for your reply. I cannot find a way to do it properly, it does not work, do you have any snippet any language to have an idea, the reference on the website is not very helpful :( On Wednesday, November 13, 2019 at 5:11:57 PM UTC, adsapiforumadvisor wrote: > > Hi Juan,

RE: Python example of the Ad schedule mutation

2019-11-13 Thread Google Ads API Forum Advisor Prod
Hi Juan, Unfortunately, we don't have an example on adding ad schedules using the API. You will need to use the CampaignCriterionService with a criteria of AdScheduleInfo. You can use example as a reference. It shows how to add locations and negative keywords criteria using the CampaignCriterio

Python example of the Ad schedule mutation

2019-11-13 Thread Juan Carlos Blanco Delgado
Hello, I was trying to find an example of how to edit/create/delete an ad schedule of a campaign. Thank you!!! -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You rece