Re: Integer or Float with Customizer

2018-12-04 Thread cosbgn
Hi Dannison, It's not an issue with the comma. The same request with STRING works just fine. This is the soap log: [2018-12-04 12:33:45,246 - googleads.soap - INFO] Request made: Service: "AdCustomizerFeedService" Method: "mutate" URL:

Re: Integer or Float with Customizer

2018-12-03 Thread cosbgn
Di Dannison, This is the full request: ad_customizer_feed_service = client.GetService("AdCustomizerFeedService", version='v201809') feed_name = "feed_xyz" customizer_feed = { 'feedName': feed_name, 'feedAttributes': [ {'type': 'STRING', 'name': 'some string name'}, {'type':

Integer or Float with Customizer

2018-11-29 Thread cosbgn
I'm trying to add a customizer via the API. I would like to add it as an integer or float. I do the following: customizer_feed = { 'feedName': feed_name, 'feedAttributes': [ {'type': 'STRING', 'name': 'a'}, ], } feed_service_operation = {'operator': 'ADD', 'operand': customizer_feed}

Edit customizer feeds - Python

2018-11-28 Thread cosbgn
I'm able to add a new feed, and get the name, the feedId and the feedItemId. Now I want to edit that feed and change the data automatically. I do something like this: ad_customizer_feed = { 'feedId': 12345678, 'feedItemId':1234567890, 'attributeValues':[ { 'feedAttributeId':1,

Bulk upload negative keywords

2018-11-22 Thread cosbgn
I'm trying to bulk upload negative keywords via the google ads -> tools -> bulk upload section. I need to do it that way and NOT with the adwords editor. I've tried adding the negative keyword as `-negativeKeyword` but it would get added as a normal one with a minus in front. I've also tried

Removing all existing locations

2018-11-02 Thread cosbgn
Hello, I'm adding different locations programmatically to a particular campaign. However this does not edit the current locations but instead simply adds new ones on top. I'm now trying to first remove all existing locations and then add the new ones. My code looks like this: for

Re: Adding latitudes & longitudes programmatically

2018-11-01 Thread cosbgn
This worked. Thank you Sreelakshmi! On Tuesday, October 30, 2018 at 7:38:06 PM UTC+2, Sreelakshmi Sasidharan (AdWords API Team) wrote: > > Hello, > > To add a latitude and longitude to proximity criterion, you would need to > set the latitude and longitude in micro degrees. Also, the >

Adding latitudes & longitudes programmatically

2018-10-30 Thread cosbgn
I'm trying to add some lat/lon with python, my code looks like this: lx = [{"loc":0, "lat":0}] operations = [] for loc in lx: criterion = { "xsi_type":"Proximity", "geoPoint":{ "latitude_in_micro_degrees":float(loc['lat']),

Proximity with the new GoogleAds API

2018-10-29 Thread cosbgn
I'm trying to add/edit the location of a campaign/ad-group with the new Google Ads beta API. I can't seem to find it anywhere, however looking the source code I do find a reference to it here

Re: Increase bid by X%

2018-09-13 Thread cosbgn
That would work, but is way too complicated due to the different bidding options, like enhanced etc. Maybe adding 3 bid modifiers (Computer, tablet, and mobile) would be the simples and work just fine, no? On Thursday, September 13, 2018 at 11:04:04 AM UTC+3, Thorsten Merz wrote: > > I think

Re: Increase bid by X%

2018-09-13 Thread cosbgn
Does anyone know if adding 3 bid modifiers (Computer, tablet, and mobile) all to the same value, e.g. +50% would work? Would all my bids be increased by 50% automatically? On Thursday, September 13, 2018 at 11:00:07 AM UTC+3, cos...@gmail.com wrote: > > Hello, I use Python 3.X and the Google

Increase bid by X%

2018-09-13 Thread cosbgn
Hello, I use Python 3.X and the Google official libraries (adwords & Google Ads) I would like to increase and reduce bids by X% programmatically. In other words, apply a bid modifier globally and not only for a particular device or CALLS. Is this somehow possible? I'm using the new beta

Return correct errors for new BETA API

2018-06-25 Thread cosbgn
The new beta API is a bit confusing because it always returns a 404. It would be really helpful if it would return the actual error. For example, a post request to https://googleads.googleapis.com/v0/googleAdsFields/campaign would return a 404 instead of a method not allowed error. A Get

Get all accounts with token on new api v0

2018-06-06 Thread cosbgn
I'm trying to get a list of all the accounts of a user via the new beta API. I can't seem to find the correct endpoint. Is there a complete list of all the endpoints to interact via the rest API? What's the correct endpoint to get all accounts of a user using just the token? -- --

How to get all managed accounts with one call?

2018-03-01 Thread cosbgn
I need to fetch all the accounts a user has access to. I'm using the python library. At the moment I do something like this, but it seems an overkill and multiple loops / calls. oauth2_client = oauth2.GoogleRefreshTokenClient(app.config[ 'GOOGLE_CLIENT_ID'],