RE: Google Ads V1 user permission denied

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Looks like the attachment is missing. If you are using our new Google Ads
API  and
facing the user_permission_denied error. Mostly it could be the reason that
not setting the login-customer-id

in the headers while making the API call. You could refer this blog post

for more information. If you are facing the error even after setting
login-customer-id

as your manager account authenticating the call, please share the Client
Customer Id, login-customer-id

and email address of the user authenticating the API call along with the
complete error logs to investigate further. Please use reply privately to
the user option while sharing the information requested.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12hpr8o01g10cg8001nrf08w6cmjce1n74o30c1g68r36cpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How to limit results returned from TargetingIdeaService?

2019-03-29 Thread giancampo

Hello, 
I'm trying to play with the sample provided here in the Google Documentation 

 
(*Get keyword related to a seed keyword*).

The thing is I don't understand how to limit the results in the response. 
However I try to leverage on *PAGE_SIZE* or *numberResults *I see my script 
prints bunches of keywords. I'd need just the 10 most relevant keywords for 
each seed keyword I input: is that possible? Does anyone know how to do 
that?

Here follows my code (removing initial comments from the original sample 
code) for those who wnat to dig further:

from googleads import adwords


# Optional AdGroup ID used to set a SearchAdGroupIdSearchParameter.
AD_GROUP_ID = 'INSERT_AD_GROUP_ID_HERE'
PAGE_SIZE = 10


def main(client, ad_group_id=None):
  # Initialize appropriate service.
  targeting_idea_service = client.GetService(
  'TargetingIdeaService', version='v201809')

  # Construct selector object and retrieve related keywords.
  selector = {
  'ideaType': 'KEYWORD',
  'requestType': 'IDEAS'
  }

  selector['requestedAttributeTypes'] = [
  'KEYWORD_TEXT', 'SEARCH_VOLUME']

  offset = 0
  selector['paging'] = {
  'startIndex': str(offset),
  'numberResults': 10
  }

  selector['searchParameters'] = [{
  'xsi_type': 'RelatedToQuerySearchParameter',
  'queries': ['test']
  }]

  # Language setting (optional).
  selector['searchParameters'].append({
  # The ID can be found in the documentation:
  # 
https://developers.google.com/adwords/api/docs/appendix/languagecodes
  'xsi_type': 'LanguageSearchParameter',
  'languages': [{'id': '1000'}]
  })

  # Network search parameter (optional)
  selector['searchParameters'].append({
  'xsi_type': 'NetworkSearchParameter',
  'networkSetting': {
  'targetGoogleSearch': True,
  'targetSearchNetwork': False,
  'targetContentNetwork': False,
  'targetPartnerSearchNetwork': False
  }
  })

  # Use an existing ad group to generate ideas (optional)
  if ad_group_id is not None:
selector['searchParameters'].append({
'xsi_type': 'SeedAdGroupIdSearchParameter',
'adGroupId': ad_group_id
})

  more_pages = True
  while more_pages:
page = targeting_idea_service.get(selector)

# Display results.
if 'entries' in page:
  for result in page['entries']:
attributes = {}
for attribute in result['data']:
  attributes[attribute['key']] = getattr(attribute['value'], 'value'
, '0')
print ('%s,%s' % (attributes['KEYWORD_TEXT'],attributes[
'SEARCH_VOLUME']))
  print
else:
  print ('No related keywords were found.')
offset += PAGE_SIZE
selector['paging']['startIndex'] = str(offset)
more_pages = offset < int(page['totalNumEntries'])


if __name__ == '__main__':
  # Initialize client object.
  adwords_client = adwords.AdWordsClient.LoadFromStorage("XXX")
  adwords_client.SetClientCustomerId('XXX-XXX-')

  main(adwords_client, int(AD_GROUP_ID) if AD_GROUP_ID.isdigit() else None)

Thanks in advance,
Gianluca

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1b85a11b-587f-4058-aa72-29bd30eeb995%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


MutateJobService Google ADS API - DEVELOPER_TOKEN_NOT_WHITELISTED

2019-03-29 Thread Sergi Alà Pla

Hi, 

We are trying to create a MutateJob using the code blow in a TEST ACCOUNT:


*google_ads_client = (google.ads.google_ads.client.GoogleAdsClient*
*
 .load_from_storage(Config.DIR_CREDENTIALS_CONF_ADS))*
*mutatge_job_service = 
google_ads_client.get_service('MutateJobService',*
* version='v1')*

*response = (mutatge_job_service.create_mutate_job('*'))*

Getting the following error:

*Request made: ClientCustomerId: ***, Host: 
googleads.googleapis.com:443, Method: 
/google.ads.googleads.v1.services.MutateJobService/CreateMutateJob, 
RequestId: a5ryEsJ0fTDzdYWKnuwenw, IsFault: True, FaultMessage: Developer 
token '*' is not whitelisted.*


When we run the example add_campaigns.py, we have no problems creating the 
campaign to the same account that we are trying to create the MutateJob.

Please, can you help us to know how works the MutateJobService and the 
reason we're having this error?

Regards,
Sergi Alà 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7ab4a30d-c72f-40db-9bc2-a1e3e12063c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Name resolution failure Google Ads Api

2019-03-29 Thread Klaus Jensen
I have the exact same problem, also using .net library.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1cac721a-65b6-4662-8992-40cdad330ef8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Exporting conversion actions to google sheets

2019-03-29 Thread Patryk Jan Korman
Hi there,

I'm new to the Ads API and would need your help. I'm trying to import 
information about an account's conversion actions into google sheets, 
espacially the tracking scripts containing the conversion labels. It is 
cumbersome to click through the Ads UI until I arrive at the conversion 
actions. I want to open a google sheet and see all conversions including 
their labels straight away.

Now I found a hint about this being possible with ConversionTrackerService 

 here: https://groups.google.com/forum/#!topic/adwords-api/Mlcm8zPpb6M

Could someone poke me in the right direction as to how to approach this 
problem? What do I need to make Ads API calls from a Google Sheet?

Thanks
Pat


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/133b1854-f3ba-4a78-84c9-c92ecd5fa2d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Smart Shopping ad assets creation

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

You can find information on how to create smart shopping ads here
.
The Ad
  
will

have a field called shopping_smart_ad which you can set to
ShoppingSmartAdInfo

.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 14:25:54 d...@adscale.com wrote:

Hi,

I'm stuck stuck with smart shopping ad creation. We are able to create a
campaign, ad group and an empty ad, but can't find a way to populate the
asset (file asset.png).

For ad creation we use this example -
https://developers.google.com/google-ads/api/docs/samples/add-shopping-smart-ad

When I create a smart shopping ad with its assets manually I can see in the
Change History that a feed named "System generated (Smart Shopping Ads)
Feed" was created (change_history.png).

I've tried to retrieve this feed via FeedServiceInterface, but it's not
there.

So I'm really stuck here. How can I populate the ad assets via API?

Thanks


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/5b52f000-14da-414f-baf3-40a2ce39723d%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0q0jo0gcra5c001i6tcuz6cmj4chn6go30c1g68qjge1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Bug with retrieval of actions

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

I will need to see your API request and response to verify this. Can you
please send them through *reply privately to author*?

Thanks,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 13:54:15 fbos...@gmail.com wrote:

I just confirmed that there seems to be a bug with the retrieval of
conversion actions. I did create a new conversionAction and noted down the
resource_name and id

_ads_client = _get_ads_client()
service = _ads_client.get_service('ConversionActionService', version='v1')
res =  
service.get_conversion_action("customers//conversionActions/
taken from the result of the previously created one>")
print(res)


yields no results.

However, doing the same thing for a sitelink works perfectly fine.


_ads_client = _get_ads_client()
service = _ads_client.get_service('ExtensionFeedItemService', version='v1')
res = service.get_extension_feed_item(
"customers//extensionFeedItems/")
print(res)


Can somebody confirm or credibly deny this? :D

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/38f775ab-1623-49f4-ba29-7a78212b6f0d%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0l0h008c5efe0017f6kqy70mj6cpo60o30c1g68r34chh%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Google Ads API get AdGroupAds with AdGroupAdLabels

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Andreas,

Through the new Google Ads API, you can go up the tree from most specific
to general, but you can't go down the tree. So, if I select *FROM campaign*,
I can't *select ad_group*. However, if I select *FROM ad_group*, I can  
*select

campaign. *You can also use the Query Builder
  
to

build the request.

Let me know if you have any other questions.

Regards,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0kq2o0ock4gc0002tg40y68mj8d9l60o30c1g68qjgdpk%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: device and advertiser_channel column in adwords

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Device segments data by device type. Advertising channel refers to campaign
type. Can you please share the report query you used so I can see why you
are getting blank values for these fields?

Thanks,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 07:06:12 y_zh...@septeni-original.co.jp wrote:

Hi, I am a enginner of Septeni Original,Inc. And I am working on the data
or adwords.
I had found that there are some data we took from Google API with blank
device and advertising_channel columns, I want to know why these data exist
and the condition we took these data.
Thanks very much.



-
もし、このメッセージが誤って貴殿に送信されたと思われる場合には、
機密情報を含んでいる可能性もありますので、どなたにも転送せず、
付属したファイルも含めて削除していただくとともに、発信者にその旨を
お伝えいただきますようお願いいたします。
This email may be confidential or privileged.
If you received this communication
by mistake, please don't forward it to anyone else,
please erase all copies and documents,
and please let me know that it went to the wrong person.
Thank you very much.
-


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/aa5d7a6a-f496-48fd-b708-449f8996d12e%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0q0jo0g0np4q001i51quz74mjcc9o74o30c1g68qjce9j%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Google Ads API: Field corresponding to "CombinedApprovalStatus" available?

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Mat,

Although there isn't a field corresponding to CombinedApprovalStatus from
AdWords API, you can use the AdGroupAdPolicySummary
  
to

get similar data.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 10:28:03 m...@keyword-experte.de wrote:


Hi,

is there a field in the Google Ads API that corresponds to the
"CombinedApprovalStatus" in the AdWords-API's AD_PERFORMANCE_REPORT?

I can't find it:
https://developers.google.com/google-ads/api/docs/fields/ad_group_ad

Regards
Mat


*KE Keyword-Experte GmbH*
Augustaanlage 7-11
68165 Mannheim
Tel. -49 (0)621 / 18 06 27-0
Fax +49 (0)621 / 18 06 27-99
i...@keyword-experte.de
www.keyword-experte.de
Handelsregister Mannheim HRB 704385
Geschäftsführer: Julian Flügge & Marcus Schütter

Google Ads  -  Facebook Ads  -  Bing Ads  -  Conversion-Optimierung

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/736af653-a925-4ac6-9f6c-fe77fb7079f3%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0kq2o0om3bvg0002q6vow70mjccpm6ko30c1g68qj8dpj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Get Keyword Idea - return DeadlineExceededErrors

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Zied,

You can find how Google Ads API calls are structured here
  
and

how the request and response look. You can find steps on how to enable
logging from our client libraries. Here
 are
steps on how to enable them through Java. Alternatively, if you can send me
your requestId, that would help too.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 04:26:55 acteol.adv...@gmail.com wrote:

Hi Anthony,

How can I get my request and response?
I'm using Google Ads API (not Google AdWords API) and Fiddler can't catch
the traffic coming from the API.
Fiddler can only catch request and response from AdWords API.

Thanks,
Zied

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/02209562-aa42-4e31-a9f3-e5d3bc134438%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0kq2o0o4g2060002pmc6y6gmj4dpn64o30c1g68r34c1k%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Demographical report (AgeRanges + Gender)

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Hi Pablo,

In the Google Ads UI, the stats for demographic criterion like age, gender
etc are available in separate tabs. The same report can be extracted using
the API as well. Currently, it is not possible to aggregate the stats of
age and gender in one single report via UI or the API. As this is a popular
ask, we have let our team know about the request. Unfortunately, I don't
have a definite timeline to comment on. Since the new Google Ads API was
released, it is likely that new features may only get added in that API and
not in the AdWords API. In Google Ads API, you can get the stats

corresponding to gender and age from gender_view
 and
age_range_view

respectively. You could keep an eye on our blog
 for
announcements of the future releases in the API.

If you were looking to extract a different set of data, could share the
screenshot of that google ads UI view? You can reply privately to author
while sharing the screenshot.

Thanks,
Sreelakshmi, Google Ads API Team

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12hpr8o01gftg46001n8s64x68mjgc1h6co30c1g60rjic1i%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Head MCC with sub MCC's

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Rutger,

You could use the existing basic access token to make API calls to the
accounts under your sub MCCs. In general, using an approved developer
token, you can make API calls to any Google Ads account. To fill the above
shown table, you have to make API calls to each account to get Keywords
Performance Report
  
and

then can append all the reports to get all the keywords under all the sub
accounts. Please let me know if you have any further questions.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0q0jo0g4br74001ht4l6z64mj6e1o6co30c1g68qjgdph%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Bug with retrieval of actions

2019-03-29 Thread F B
I just confirmed that there seems to be a bug with the retrieval of 
conversion actions. I did create a new conversionAction and noted down the 
resource_name and id

_ads_client = _get_ads_client()
service = _ads_client.get_service('ConversionActionService', version='v1')
res = 
service.get_conversion_action("customers//conversionActions/")
print(res) 


yields no results.

However, doing the same thing for a sitelink works perfectly fine.

 
_ads_client = _get_ads_client()
service = _ads_client.get_service('ExtensionFeedItemService', version='v1')
res = service.get_extension_feed_item(
"customers//extensionFeedItems/")
print(res)


Can somebody confirm or credibly deny this? :D 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/38f775ab-1623-49f4-ba29-7a78212b6f0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads V1 user permission denied

2019-03-29 Thread rentcafedev1
Hello,

I'm receiving a user_permission_denied when I try to access 
conversion_action information for one of my test accounts.  I have access 
to this account via Awords UI.  I have create campaigns for this account 
using Google Ads API (C# client library), but am unable to get any 
information about this account by using cURL.  Please see attached for more 
information.



KDJ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c7536ec7-a337-4e63-a64a-832cf7018d24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UserPermissionDenied.docx
Description: MS-Word 2007 document


device and advertiser_channel column in adwords

2019-03-29 Thread y_zhang
Hi, I am a enginner of Septeni Original,Inc. And I am working on the data 
or adwords.
I had found that there are some data we took from Google API with blank 
device and advertising_channel columns, I want to know why these data exist 
and the condition we took these data.
Thanks very much.

-- 


-

もし、このメッセージが誤って貴殿に送信されたと思われる場合には、
機密情報を含んでいる可能性もありますので、どなたにも転送せず、

付属したファイルも含めて削除していただくとともに、発信者にその旨を
お伝えいただきますようお願いいたします。
This email may be 
confidential or privileged.
If you received this communication
by mistake, 
please don't forward it to anyone else,
please erase all copies and 
documents,
and please let me know that it went to the wrong person.
Thank 
you very much.

-

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/aa5d7a6a-f496-48fd-b708-449f8996d12e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API get AdGroupAds with AdGroupAdLabels

2019-03-29 Thread andreas
Hello,

I am using Google Ads API to get all *ad_group_ads* that reside within a 
*campaign*, as well as all the *ad_group_ad_labels* that are attached to 
each *ad_group_ad*. 

I tried

SELECT ad_group_ad.ad.id,
ad_group_ad.ad.final_urls,
ad_group_ad.status,
ad_group_ad_label.resource_name,
campaign.id
FROM ad_group_ad
WHERE segments.date DURING YESTERDAY
AND campaign.id = $campaignId
AND ad_group.status IN ('ENABLED', 'PAUSED')
AND ad_group_ad.status IN ('ENABLED', 'PAUSED')
LIMIT 1

receiving the following error.

PROHIBITED_RESOURCE_TYPE_IN_SELECT_CLAUSE

because the AD_GROUP_AD_LABEL resource is incompatible with the AD_GROUP_AD 
resource.

In the Adwords API I could just do

$selector = new Selector();
$selector->setFields([
'CampaignId',
'AdGroupId',
'Id',
'CreativeFinalUrls',
'Status',
'Labels',
]);
$reportDefinition = new ReportDefinition();
$reportDefinition->setSelector($selector);
$reportDefinition->setReportType(
ReportDefinitionReportType::AD_PERFORMANCE_REPORT
);


and get the list of label names for every AdGroupAd in the response.

Am I missing something here?

Thank you in advance,

Andreas

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/24e9a02b-c88b-46fc-b5b0-2d2d36d1807c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Adding Hotel AdGroupCriterion without bidding value

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Didier,

You could use the AdGroupCriterionService.MutateAdGroupCriteria
  
and

set the negative field to true for the AdGroupCriterion
  
in

order to exclude the AdGroup bid modifier. Please let me know if you have
any further questions.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/08p11g00040100kqji001din6az74mjed1k70o30c1g68qjac9h%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: imp 10k , conv rate 10%, revenue 1Ok rups , avrge order value 100 ...So how many clicks ?

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Can you please provide more details to what you are looking for? It seems
your question/issue may be product related, rather than API related. If
that is the case, you can get assistance on the Community Forum

.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 02:45:46 nagar...@okatti.com wrote:

imp 10k , conv rate 10%, revenue 1Ok rups , avrge order value 100 ...So how
many clicks ?

how to calculate ???

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/221b73f1-4bdd-4d69-b635-8e9719f1a5ec%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12hpr8o01g852f2001n56n0w64mjidhp6so30c1g68r34d9l%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API: Field corresponding to "CombinedApprovalStatus" available?

2019-03-29 Thread Mat

Hi,

is there a field in the Google Ads API that corresponds to the 
"CombinedApprovalStatus" in the AdWords-API's AD_PERFORMANCE_REPORT?

I can't find it:
https://developers.google.com/google-ads/api/docs/fields/ad_group_ad

Regards
Mat

-- 


*KE Keyword-Experte GmbH*
Augustaanlage 7-11
68165 Mannheim

Tel. -49 
(0)621 / 18 06 27-0
Fax +49 (0)621 / 18 06 27-99
i...@keyword-experte.de 

www.keyword-experte.de 


Handelsregister Mannheim HRB 704385

Geschäftsführer: Julian Flügge & Marcus Schütter


Google Ads  -  Facebook 
Ads  -  Bing Ads  -  Conversion-Optimierung

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/736af653-a925-4ac6-9f6c-fe77fb7079f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [8-5077000025924] get reports from different accounts

2019-03-29 Thread uatetracom3
Thank you. Okey, I'm understand that refresh_token we will generate once, 
but how to say Adwords by API call that in request #1 give me data of 
campaign from account 000-000-, in request #2 give me data of campaign 
from account 111-111-?

If I right understand process of linking accounts. Client want to link self 
adwords account with my MCC -> client click and redirect to google page 
where allow access -> then will redirect to redirect_url (my page) -> I 
will get "code" -> and then I  thought that I have to generate 
refresh_token save this refresh_token and in API call to account 
000-000- use his refresh_token but ... no


пʼятниця, 29 березня 2019 р. 10:07:18 UTC+3 користувач 
googleadsapi-forumadvisor написав:
>
> Hi,
>
> I could see that you already generated a refresh token. Refresh token is 
> only generated once and doesn't have to be different for each of your 
> client accounts. If this does not answer your concern, feel free to write 
> back.
>
> Regards,
> Dave Paurillo
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 03/28/19 23:49:22 uatet...@gmail.com  wrote:
>
> Hi.
> Please, help me to understand.
> 1. I had to register my aplication in console.developers.google.com
> 2. I got *client_id *and *client_secret*
> 3. using GetRefreshToken.php I got the *link*
> 4. went to link
> 5. applied permission
> 6. got *code*
> 7. with *code *I got a *refresh_token*
> 8. I written data to adsapi_php.ini
>
> each of my clients will go to my link, apply permission, I will 
> get refresh_token for each of my client, save refresh_token.
> question: all data (like: client_id, client_secret, developerToken, 
> clientCustomerId) have to be permanent but refresh_token have to be 
> different to each of my client for each getting data from google adwords by 
> api?
>
> четвер, 28 березня 2019 р. 03:47:36 UTC+2 користувач 
> googleadsapi-forumadvisor написав:
>
> Hi,
>
> Apologies for the confusion. In AdWords API 
> , the 
> DEVELOPER_TOKEN_NOT_APPROVED 
> 
>  occurs 
> when you try to use an unapproved developer token to make calls in a 
> production account. Take note that an unapproved developer token can only 
> make calls against a test Google Ads account. To be able to make calls 
> using your production account, you should apply for basic access as shown 
> in this guide 
> . 
> The compliance team will then contact you within 2 business days to update 
> you on the status. Once the access has been approved, you may then try to 
> make an API call using your production account.
>
> Let me know if you have any further concerns.
>
>
> Regards,
> Dave Paurillo
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 03/27/19 19:26:37 uatet...@gmail.com wrote:
>
>   Thank you for the answer.
> I have 2 questions.
> You give me a link to google ads but I already installed google adwords 
> (installed library and get refresh_token). [1] Can I do all by google 
> adwords library?
> I already tried the first API call but have the answer: 
> "[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED @; trigger: ''] '. I 
> used the developer token with *Access level - Test Account*. 
> So, now I'm writing to apply developer token, but do not understand [2] 
> what I have to write in documentation in part *API Services Called.*
>
> середа, 27 березня 20

RE: UNEXPECTED_INTERNAL_API_ERROR when adding keywords to SharesetSet

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Thanks for the update. It looks like they rolled out the fix late
yesterday. Glad to hear it's working for you again.

Cheers,
Josh, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 06:57:40 stefano.font...@webrepublic.ch wrote:

Hi Josh,

The error seems to have been fixed.
Thanks for prompt fix!

Cheers

On Wednesday, March 27, 2019 at 11:44:38 PM UTC+1,
googleadsapi-forumadvisor wrote:

Hi,

I've reported this to the team that maintains that service and will provide
an update as soon as I have more information.

In the meantime, if you happen to see that this error has subsided, please
let me know.

Thanks,
Josh, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/27/19 16:08:56 ro...@searchkings.ca wrote:

Just chiming in to say you aren't alone with this issue. We started
encountering the same thing as of ~4pm EST yesterday. Reached out to email
support, no response yet.


On Wednesday, March 27, 2019 at 8:22:57 AM UTC-4, Stefano Fontana wrote:

Howdy,

Since a couple of days we've been getting "UNEXPECTED_INTERNAL_API_ERROR"
whenever we try to add keywords to a shared set.
If there are more than 1000 keywords in a single slice the failure happens
almost always so retrying doesn't help.

Please find attached the request to the SharedSetService.

The response to that is:
http://schemas.xmlsoap.org/soap/envelope/";>\n
\n\n  soap:Server\n
InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
com.google.ads.api.services.common.error.InternalApiError.&
lt;init>(InternalApiErro\n  \n
https://adwords.google.com/api/adwords/cm/v201809
">\n  InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
com.google.ads.api.services.common.error.InternalApiError.&
lt;init>(InternalApiErro\n  
ApiException\n  http://www.w3.org/2001/XMLSchema-instance"; xsi:type="InternalApiError">\n
  \n\n
InternalApiError.UNEXPECTED_INTERNAL_API_ERROR\n
  InternalApiError\n
UNEXPECTED_INTERNAL_API_ERROR\n  \n
  \n  \n\n
\n\n'
WARNING:googleads.soap:Error summary: {'faultMessage':
'InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro',
'serviceName': 'SharedCriterionService', 'methodName': 'mutate'}

Note that we tried this in both the test and normal Google Ads accounts,
every time creating a new SharedSet.


It may be related to https://groups.google.com/forum/#!searchin/adwords-api/
UNEXPECTED_INTERNAL_API_ERROR%7Csort:date/adwords-api/H8XxV_1g
RUw/szsoyKbICQAJ


Thank for taking a look!


Cheers

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/
msgid/adwords-api/2176ce13-433a-48a8-875f-441d2839dbe4%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwo

Re: Adding Hotel AdGroupCriterion without bidding value

2019-03-29 Thread Didier Roy
Hello Sai

thank you for this.
I still have a question about API. 
How can we set the bid value of a hotel group to "Exclude" with the API ?

thanks
Didier ROY

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3f459312-06b9-4bae-9043-f98378eb0155%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: UNEXPECTED_INTERNAL_API_ERROR when adding keywords to SharesetSet

2019-03-29 Thread Stefano Fontana
Hi Josh,

The error seems to have been fixed.
Thanks for prompt fix!

Cheers

On Wednesday, March 27, 2019 at 11:44:38 PM UTC+1, 
googleadsapi-forumadvisor wrote:
>
> Hi,
>
> I've reported this to the team that maintains that service and will 
> provide an update as soon as I have more information.
>
> In the meantime, if you happen to see that this error has subsided, please 
> let me know.
>
> Thanks,
> Josh, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/27/19 16:08:56 ro...@searchkings.ca  wrote:
>
> Just chiming in to say you aren't alone with this issue. We started 
> encountering the same thing as of ~4pm EST yesterday. Reached out to email 
> support, no response yet.
>
>
> On Wednesday, March 27, 2019 at 8:22:57 AM UTC-4, Stefano Fontana wrote:
>
> Howdy,
>
> Since a couple of days we've been getting "UNEXPECTED_INTERNAL_API_ERROR" 
> whenever we try to add keywords to a shared set.
> If there are more than 1000 keywords in a single slice the failure happens 
> almost always so retrying doesn't help. 
>
> Please find attached the request to the SharedSetService.
>
> The response to that is:
> http://schemas.xmlsoap.org/soap/envelope/";>\n  
> \n\n  soap:Server\n  
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.
> (InternalApiErro\n  \n
> https://adwords.google.
> com/api/adwords/cm/v201809">\n  
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR 
> @ com.google.ads.api.services.common.error.InternalApiError.
> (InternalApiErro\n  
> ApiException\n
>   http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="InternalApiError">\n\n
> \nInternalApiError.
> UNEXPECTED_INTERNAL_API_ERROR\n
> InternalApiError\n
> UNEXPECTED_INTERNAL_API_ERROR\n  
> \n\n  \n
> \n  \n\n'
> WARNING:googleads.soap:Error summary: {'faultMessage': 
> 'InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro',
>  
> 'serviceName': 'SharedCriterionService', 'methodName': 'mutate'}
>
> Note that we tried this in both the test and normal Google Ads accounts, 
> every time creating a new SharedSet.
>
>
> It may be related to https://groups.google.com/
> forum/#!searchin/adwords-api/UNEXPECTED_INTERNAL_API_ERROR%
> 7Csort:date/adwords-api/H8XxV_1gRUw/szsoyKbICQAJ
>
>
> Thank for taking a look!
>
>
> Cheers
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 post to this group, send email to adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to adwords-api+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/adwords-api/2176ce13-433a-48a8-875f-441d2839dbe4%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c0472a16-3928-4038-9caa-18079e5ca09e%40g

Re: [1-1176000025991] Error: The Value Already Exists - Is it possible to return the resource name (of the original object)?

2019-03-29 Thread F B
I just confirmed that there seems to be a bug. I did create a new 
conversionAction and noted down the resource_name

_ads_client = _get_ads_client()
service = _ads_client.get_service('ConversionActionService', version='v1')
res = 
service.get_conversion_action("customers//conversionActions/")
print(res)

yields no results.

However, doing the same thing for a sitelink works perfectly fine.

_ads_client = _get_ads_client()
service = _ads_client.get_service('ExtensionFeedItemService', version='v1')
res = service.get_extension_feed_item(
"customers//extensionFeedItems/")
print(res)




On Friday, 29 March 2019 11:03:29 UTC+1, F B wrote:
>
> Hi there,
>
> This would work if I knew the resource name of the conversion action, 
> which at this point I don't.
>
> As far as I understand one can only check if they already know the 
> resource_name. The way I see it this would only come up if you want to 
> confirm that a particular resource still exists and has not been deleted in 
> the meantime. It does not help you to prevent creating duplicates. 
>
> Which brings me to a new problem, for me the following query does not 
> return any results:
>
> conversion_actions = """
> SELECT
>  conversion_action.name,
>  conversion_action.include_in_conversions_metric,
>  conversion_action.type,
>  conversion_action.category,
>  conversion_action.resource_name
> FROM
>  conversion_action
> """
>
> although there certainly are conversion_actions present in the account.
>
> On Friday, 29 March 2019 10:34:40 UTC+1, googleadsapi-forumadvisor wrote:
>
>> Hi,
>>
>> Thank you for reaching out. Could you confirm if you wish to check if the 
>> conversion_action.name already exists before saving? If yes, you could 
>> check ConversionActionService 
>> 
>>  and 
>> use GetConversionAction method in order to check if the name already exists 
>> before using MutateConversionActions.
>>
>> Let me know if this answers your concern, feel free to write back if you 
>> have any clarification.
>>
>> Regards,
>> Dave Paurillo
>> Google Ads API Team
>>
>>
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and discussion group:
>> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
>> https://developers.google.com/adwords/api/community/
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>>
>> Was your question answered? Please rate your experience with us by taking 
>> a short survey.
>> If not -- reply to this email and tell us what else we can do to help.
>>
>> Take Survey 
>> 
>>
>> Also find us on our blog and discussion group:
>> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
>> https://developers.google.com/adwords/api/community/
>> On 03/29/19 16:14:46 fbo...@gmail.com wrote:
>>
>> I've been wondering if there is a good way of retrieving the 
>> resource_name of an object that already exists.
>>
>> Say I am creating new conversion actions and realize, ohh the value 
>> already exists. It would be nice to just get back the resource name and use 
>> that name. The way I see it I would have to query for the resource name if 
>> I encounter this particular error.
>>
>> Fault: {
>>   "errors": [
>> {
>>   "errorCode": {
>> "conversionActionError": "DUPLICATE_NAME"
>>   },
>>   "message": "The specified conversion action name already exists.",
>>   "trigger": {
>> "stringValue": "Call Conversion Action V2"
>>   },
>>   "location": {
>> "fieldPathElements": [
>>   {
>> "fieldName": "operations",
>> "index": "0"
>>   },
>>   {
>> "fieldName": "create"
>>   },
>>   {
>> "fieldName": "name"
>>   }
>> ]
>>   }
>> }
>>   ]
>> }
>>
>> Cheers
>>
>> -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> 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 post to this group, send email to adwords-api@googlegroups.com
>> To unsubscribe from this group, send email to
>> adwords-api+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/adwords-api?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "AdWords API and Google Ads API Forum" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to adwords-api+unsubscr...@googlegroups.com.
>> Visit this group at https://groups.goog

Re: [1-1176000025991] Error: The Value Already Exists - Is it possible to return the resource name (of the original object)?

2019-03-29 Thread F B
Hi there,

This would work if I knew the resource name of the conversion action, which 
at this point I don't.

As far as I understand one can only check if they already know the 
resource_name. The way I see it this would only come up if you want to 
confirm that a particular resource still exists and has not been deleted in 
the meantime. It does not help you to prevent creating duplicates. 

Which brings me to a new problem, for me the following query does not 
return any results:

conversion_actions = """
SELECT
 conversion_action.name,
 conversion_action.include_in_conversions_metric,
 conversion_action.type,
 conversion_action.category,
 conversion_action.resource_name
FROM
 conversion_action
"""

although there certainly are conversion_actions present in the account.

On Friday, 29 March 2019 10:34:40 UTC+1, googleadsapi-forumadvisor wrote:

> Hi,
>
> Thank you for reaching out. Could you confirm if you wish to check if the 
> conversion_action.name already exists before saving? If yes, you could 
> check ConversionActionService 
> 
>  and 
> use GetConversionAction method in order to check if the name already exists 
> before using MutateConversionActions.
>
> Let me know if this answers your concern, feel free to write back if you 
> have any clarification.
>
> Regards,
> Dave Paurillo
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 03/29/19 16:14:46 fbo...@gmail.com  wrote:
>
> I've been wondering if there is a good way of retrieving the resource_name 
> of an object that already exists.
>
> Say I am creating new conversion actions and realize, ohh the value 
> already exists. It would be nice to just get back the resource name and use 
> that name. The way I see it I would have to query for the resource name if 
> I encounter this particular error.
>
> Fault: {
>   "errors": [
> {
>   "errorCode": {
> "conversionActionError": "DUPLICATE_NAME"
>   },
>   "message": "The specified conversion action name already exists.",
>   "trigger": {
> "stringValue": "Call Conversion Action V2"
>   },
>   "location": {
> "fieldPathElements": [
>   {
> "fieldName": "operations",
> "index": "0"
>   },
>   {
> "fieldName": "create"
>   },
>   {
> "fieldName": "name"
>   }
> ]
>   }
> }
>   ]
> }
>
> Cheers
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 post to this group, send email to adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to adwords-api+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/adwords-api/fe9fbd71-79d9-4619-b965-c2b5c54050d2%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send 

RE: [2-4560000025717] How to specify date range with geographic_view & segments.geo_target_city?

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Nam,

Unfortunately, currently there is no workaround for this. For now, I will
let the team know about your concern by filing a feature request. Take note
that there will be no guarantee that this would be implemented. To get the
latest updates, I would suggest you follow our blog
 post.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 17:08:04 nt.nam.k54f...@gmail.com wrote:

Hi Dave,

Thanks for your reply.

Is this a limitation of Google Ads API that should be considered? Because I
can do this with the following report definition in AdWords API:
{
'reportName': 'Custom Report',
'dateRangeType': 'TODAY',
'reportType': 'GEO_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': ['CampaignName', 'Impressions', 'Clicks', 'CountryCriteriaId',
'CityCriteriaId']
}
}
which returns impressions and clicks segmented by city, filtered by today
date range.

If this API limitation can't be overcome in current version, is there any
other way to apply date filter to geographic_view with
segments.geo_target_city?

On Friday, March 29, 2019 at 4:09:40 AM UTC+7, Nam Nguyen wrote:


Hi,

(I'm using Google Ads API v1)
I've read that segments.geo_target_city can't be selected with
segments.date (https://developers.google.com/google-ads/api/docs/
fields/segments#segmentsgeo_target_city)
However, using segments.date seems to be the only way to specify date range
in Google Ads API (https://developers.google.com/google-ads/api/docs/query/
date-ranges)

If I run the query without segments.date, it returns all my campaigns.
I can add segments.week but that's not what I need.

In AdWords API, this can be achieved (https://developers.google.
com/adwords/api/docs/appendix/reports/geo-performance-report#date)

Below is the log
---
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "*",
  "x-goog-api-client": "gl-python/3.6.8 grpc/1.18.0 gax/1.7.0 gapic/1.1.1"
}
Request: {
  "customerId": "**",
  "query": "SELECT metrics.clicks, metrics.impressions,
segments.geo_target_city FROM geographic_view WHERE metrics.impressions > 0
AND segments.date DURING TODAY LIMIT 100",
  "pageSize": 1000
}

Response
---
Headers: {
  "google.ads.googleads.v1.errors.googleadsfailure-bin":
"\np\n\u0002(\u001f\u0012jThe following pairs of fields may not be selected
together: 'segments.geo_target_city' and 'segments.date'",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid
argument.\u001a\u0001\nCtype.googleapis.com/google.ads.googleads.v1.errors.
GoogleAdsFailure\u0012r\np\n\u0002(\u001f\u0012jThe

following pairs of fields may not be selected together:
'segments.geo_target_city' and 'segments.date'",
  "request-id": "RSGT-rPdBugjlbJPK0sYFg"
}
Fault: {
  "errors": [
{
  "errorCode": {
"queryError": "PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE"
  },
  "message": "The following pairs of fields may not be selected
together: 'segments.geo_target_city' and 'segments.date'"
}
  ]
}

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/8f8c9b35-ca33-44d5-b06a-4f382870b79b%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "A

Head MCC with mulitple Sub MCC

2019-03-29 Thread rutger
Hi,

Ik just made a succesfull connection via the Adwords API. I got a basic 
developer token for our Head MCC account. But now i cant access the 
underlaying sub MCC accounts. I want to get the campaign data of those sub 
MCC's.

When i look at the API centre of the sub MCC, then there is no developer 
token. Does this mean that i have to get basic tokens for all our Sub 
MCC's? We have alot of sub MCC's and i want to get data from all those 
campaigns. 

Is there any way that i can get the data from all sub MCC's with only the 
developer token of the head MCC? Our structure is like this:

*MCC (head) > **MCC (sub) > **Account > **Campaign  > **Adgroup  > *
*Keyword *


Thanks!


Rutger



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/da5a9ed3-334f-480f-960d-930be4707c08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Head MCC with sub MCC's

2019-03-29 Thread rutger
Hi, 

Today i succesfully made a connection with our Head MCC account via a basic 
developer token. I have underlaying Sub MCC's and i want to access these 
via the Head MCC api token. Is this possible? Or do i have to make 
developer token for all those Sub MMC's (i hope not because there are alot, 
and it takes alot of time to get one basic token).

This is our structure:

*MCC (head)*

*MCC (sub)*

*Account *

*Campaign*

*Adgroup *

*Keyword*

Thanks!

Rutger

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/87bc2416-ce57-454b-b6ea-c40513d2a8df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [1-1176000025991] Error: The Value Already Exists - Is it possible to return the resource name (of the original object)?

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Thank you for reaching out. Could you confirm if you wish to check if the
conversion_action.name already exists before saving? If yes, you could
check ConversionActionService
  
and

use GetConversionAction method in order to check if the name already exists
before using MutateConversionActions.

Let me know if this answers your concern, feel free to write back if you
have any clarification.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 16:14:46 fbos...@gmail.com wrote:

I've been wondering if there is a good way of retrieving the resource_name
of an object that already exists.

Say I am creating new conversion actions and realize, ohh the value already
exists. It would be nice to just get back the resource name and use that
name. The way I see it I would have to query for the resource name if I
encounter this particular error.

Fault: {
  "errors": [
{
  "errorCode": {
"conversionActionError": "DUPLICATE_NAME"
  },
  "message": "The specified conversion action name already exists.",
  "trigger": {
"stringValue": "Call Conversion Action V2"
  },
  "location": {
"fieldPathElements": [
  {
"fieldName": "operations",
"index": "0"
  },
  {
"fieldName": "create"
  },
  {
"fieldName": "name"
  }
]
  }
}
  ]
}

Cheers

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/fe9fbd71-79d9-4619-b965-c2b5c54050d2%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/18vg018182lvc80002oksiz64mj2c9n6oo30c1g68qjie9h%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


imp 10k , conv rate 10%, revenue 1Ok rups , avrge order value 100 ...So how many clicks ?

2019-03-29 Thread Nagarjun B
imp 10k , conv rate 10%, revenue 1Ok rups , avrge order value 100 ...So how 
many clicks ? 

how to calculate ??? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/221b73f1-4bdd-4d69-b635-8e9719f1a5ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to specify date range with geographic_view & segments.geo_target_city?

2019-03-29 Thread Nam Nguyen
Hi Dave,

Thanks for your reply.

Is this a limitation of Google Ads API that should be considered? Because I 
can do this with the following report definition in AdWords API:
{
'reportName': 'Custom Report',
'dateRangeType': 'TODAY',
'reportType': 'GEO_PERFORMANCE_REPORT',
'downloadFormat': 'CSV',
'selector': {
'fields': ['CampaignName', 'Impressions', 'Clicks', 'CountryCriteriaId', 
'CityCriteriaId']
}
}
which returns impressions and clicks segmented by city, filtered by today 
date range.

If this API limitation can't be overcome in current version, is there any 
other way to apply date filter to geographic_view with 
segments.geo_target_city?

On Friday, March 29, 2019 at 4:09:40 AM UTC+7, Nam Nguyen wrote:
>
>
> Hi,
>
> (I'm using Google Ads API v1)
> I've read that segments.geo_target_city can't be selected with 
> segments.date (
> https://developers.google.com/google-ads/api/docs/fields/segments#segmentsgeo_target_city
> )
> However, using segments.date seems to be the only way to specify date 
> range in Google Ads API (
> https://developers.google.com/google-ads/api/docs/query/date-ranges)
>
> If I run the query without segments.date, it returns all my campaigns.
> I can add segments.week but that's not what I need.
>
> In AdWords API, this can be achieved (
> https://developers.google.com/adwords/api/docs/appendix/reports/geo-performance-report#date
> )
>
> Below is the log
> ---
> Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
> Host: googleads.googleapis.com:443
> Headers: {
>   "developer-token": "REDACTED",
>   "login-customer-id": "*",
>   "x-goog-api-client": "gl-python/3.6.8 grpc/1.18.0 gax/1.7.0 gapic/1.1.1"
> }
> Request: {
>   "customerId": "**",
>   "query": "SELECT metrics.clicks, metrics.impressions, 
> segments.geo_target_city FROM geographic_view WHERE metrics.impressions > 0 
> AND segments.date DURING TODAY LIMIT 100",
>   "pageSize": 1000
> }
>
> Response
> ---
> Headers: {
>   "google.ads.googleads.v1.errors.googleadsfailure-bin": 
> "\np\n\u0002(\u001f\u0012jThe following pairs of fields may not be selected 
> together: 'segments.geo_target_city' and 'segments.date'",
>   "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
> argument.\u001a\u0001\
> nCtype.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure\u0012r\np\n\u0002(\u001f\u0012jThe
>  
> 
>  
> following pairs of fields may not be selected together: 
> 'segments.geo_target_city' and 'segments.date'",
>   "request-id": "RSGT-rPdBugjlbJPK0sYFg"
> }
> Fault: {
>   "errors": [
> {
>   "errorCode": {
> "queryError": "PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE"
>   },
>   "message": "The following pairs of fields may not be selected 
> together: 'segments.geo_target_city' and 'segments.date'"
> }
>   ]
> }
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8f8c9b35-ca33-44d5-b06a-4f382870b79b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get Keyword Idea - return DeadlineExceededErrors

2019-03-29 Thread Zied Chaari
Hi Anthony,

How can I get my request and response?
I'm using Google Ads API (not Google AdWords API) and Fiddler can't catch 
the traffic coming from the API.
Fiddler can only catch request and response from AdWords API.

Thanks,
Zied

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/02209562-aa42-4e31-a9f3-e5d3bc134438%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [2-4560000025717] How to specify date range with geographic_view & segments.geo_target_city?

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Nam,

Apologies for the confusion. I'm afraid that Google Ads API will consider
all fields inside the query(including WHERE clause) as selectable fields.
This said, you could not use segments.date to filter the
segments.geo_target_city as segments.date is not included in the selectable
fields of segments.geo_target_city.

Should you have any further clarifications, feel free to write back.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 13:50:24 nt.nam.k54f...@gmail.com wrote:

Hi,

Thanks for your reply. Perhaps my explanation wasn't clear enough.

I'm looking for a way to filter segments.geo_target_city by date, not
combining segments.geo_target_city and segments.date.

As far as I know, if I add "WHERE segments.date DURING TODAY" to the query,
Google Ads API considers it as another segments and then combines it with
segments.geo_target_city.

On Friday, March 29, 2019 at 4:09:40 AM UTC+7, Nam Nguyen wrote:


Hi,

(I'm using Google Ads API v1)
I've read that segments.geo_target_city can't be selected with
segments.date (https://developers.google.com/google-ads/api/docs/
fields/segments#segmentsgeo_target_city)
However, using segments.date seems to be the only way to specify date range
in Google Ads API (https://developers.google.com/google-ads/api/docs/query/
date-ranges)

If I run the query without segments.date, it returns all my campaigns.
I can add segments.week but that's not what I need.

In AdWords API, this can be achieved (https://developers.google.
com/adwords/api/docs/appendix/reports/geo-performance-report#date)

Below is the log
---
Method: /google.ads.googleads.v1.services.GoogleAdsService/Search
Host: googleads.googleapis.com:443
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "*",
  "x-goog-api-client": "gl-python/3.6.8 grpc/1.18.0 gax/1.7.0 gapic/1.1.1"
}
Request: {
  "customerId": "**",
  "query": "SELECT metrics.clicks, metrics.impressions,
segments.geo_target_city FROM geographic_view WHERE metrics.impressions > 0
AND segments.date DURING TODAY LIMIT 100",
  "pageSize": 1000
}

Response
---
Headers: {
  "google.ads.googleads.v1.errors.googleadsfailure-bin":
"\np\n\u0002(\u001f\u0012jThe following pairs of fields may not be selected
together: 'segments.geo_target_city' and 'segments.date'",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid
argument.\u001a\u0001\nCtype.googleapis.com/google.ads.googleads.v1.errors.
GoogleAdsFailure\u0012r\np\n\u0002(\u001f\u0012jThe

following pairs of fields may not be selected together:
'segments.geo_target_city' and 'segments.date'",
  "request-id": "RSGT-rPdBugjlbJPK0sYFg"
}
Fault: {
  "errors": [
{
  "errorCode": {
"queryError": "PROHIBITED_FIELD_COMBINATION_IN_SELECT_CLAUSE"
  },
  "message": "The following pairs of fields may not be selected
together: 'segments.geo_target_city' and 'segments.date'"
}
  ]
}

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/6938a3bd-01bf-4a2a-aa51-9267de0973c0%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
ht

Error: The Value Already Exists - Is it possible to return the resource name (of the original object)?

2019-03-29 Thread F B
I've been wondering if there is a good way of retrieving the resource_name 
of an object that already exists.

Say I am creating new conversion actions and realize, ohh the value already 
exists. It would be nice to just get back the resource name and use that 
name. The way I see it I would have to query for the resource name if I 
encounter this particular error.

Fault: {
  "errors": [
{
  "errorCode": {
"conversionActionError": "DUPLICATE_NAME"
  },
  "message": "The specified conversion action name already exists.",
  "trigger": {
"stringValue": "Call Conversion Action V2"
  },
  "location": {
"fieldPathElements": [
  {
"fieldName": "operations",
"index": "0"
  },
  {
"fieldName": "create"
  },
  {
"fieldName": "name"
  }
]
  }
}
  ]
}

Cheers

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fe9fbd71-79d9-4619-b965-c2b5c54050d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [1-9318000025950] Ads API "Bad metadata value given"

2019-03-29 Thread Remco Aalderink
Hello,

In the meantime, I have figured out what the issue was. I was sending the 
value of the login-customer-id as an int, which is the PHPDoc typehint in 
the PHP library, but gRPC expects a string. Once I made the value a string 
the issue was solved.

On Friday, 29 March 2019 03:45:34 UTC+1, googleadsapi-forumadvisor wrote:
>
> Hi,
>
> Thank you for reaching out. To further investigate, could you provide the 
> complete JSON request and response logs when you encountered the error? 
> Please reply via *Reply privately to author*. If you haven't enabled 
> logging yet, you may refer to this guide 
>  as to how.
>
> Regards,
> Dave Paurillo
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 03/28/19 16:46:49 re...@innomedia.nl  wrote:
>
>
> We've just started on testing out the new Google Ads API, and have ran 
> into the "Bad metadata value given" error message today. Yesterday, the 
> following code worked:
>
> $configuration = new Configuration($iniFileContents);
>
> $tokenBuilder = new OAuth2TokenBuilder();
> $credentials = $tokenBuilder->from($configuration)->build();
>
> $clientBuilder = new GoogleAdsClientBuilder();
> $clientBuilder->from($configuration)
>   ->withOAuth2Credential($credentials)
>   ->withLoginCustomerId([customer ID as int]);
>
> $client = $clientBuilder->build();
>
> $client->getCustomerServiceClient()->listAccessibleCustomers();
>
> But when I started on it again this morning, it threw the "Bad metadata 
> value given" error. I do not see why this has suddenly happened. Any ideas?
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 post to this group, send email to adwords-api@googlegroups.com
> To unsubscribe from this group, send email to
> adwords-api+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/adwords-api?hl=en
> --- 
> You received this message because you are subscribed to the Google Groups 
> "AdWords API and Google Ads API Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to adwords-api+unsubscr...@googlegroups.com.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/adwords-api/951a1ab2-1bc4-4ce0-981d-12327c69458f%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/daf58cfc-d213-4b49-9d2d-74d1ec29db4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Google Ads API segmentation

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Greg,

Upon checking this on my end, I was also able to replicate the same results
wherein the results only returns 1 row. I have filed a bug regarding this
and will update you with further information once available.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/29/19 03:20:28 greg.a.wh...@gmail.com wrote:

Is there anyway to mimic the AdWords reporting segmentation with the Google
Ads API? My original AdWords query works great, something like:

SELECT HourOfDay, Cost FROM ACCOUNT_PERFORMANCE_REPORT DURING TODAY

I get a row back for each hour of the day that has data. My attempt at
replicating this with the Ads API:

SELECT segments.hour, metrics.cost_micros FROM customer WHERE segments.date
DURING TODAY

Only returns one row for the whole day. My search of the documentation
hasn't turned up anything helpful. Basically looking for a GROUP BY? Is
what I want even possible with the new API, or am I just out of luck? Will
I need to issue 24 requests to get the days data now?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/2e5dda14-f1ad-436b-8464-ef93af84594e%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/19h1gko08su2fs0018sokaz68mj6c1i6go30c1g68r32chi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [8-5077000025924] get reports from different accounts

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

I could see that you already generated a refresh token. Refresh token is
only generated once and doesn't have to be different for each of your
client accounts. If this does not answer your concern, feel free to write
back.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 03/28/19 23:49:22 uatetrac...@gmail.com wrote:

Hi.
Please, help me to understand.
1. I had to register my aplication in console.developers.google.com
2. I got *client_id *and *client_secret*
3. using GetRefreshToken.php I got the *link*
4. went to link
5. applied permission
6. got *code*
7. with *code *I got a *refresh_token*
8. I written data to adsapi_php.ini

each of my clients will go to my link, apply permission, I will
get refresh_token for each of my client, save refresh_token.
question: all data (like: client_id, client_secret, developerToken,
clientCustomerId) have to be permanent but refresh_token have to be
different to each of my client for each getting data from google adwords by
api?

четвер, 28 березня 2019 р. 03:47:36 UTC+2 користувач
googleadsapi-forumadvisor написав:

Hi,

Apologies for the confusion. In AdWords API
, the
DEVELOPER_TOKEN_NOT_APPROVED
  
occurs

when you try to use an unapproved developer token to make calls in a
production account. Take note that an unapproved developer token can only
make calls against a test Google Ads account. To be able to make calls
using your production account, you should apply for basic access as shown
in this guide
.
The compliance team will then contact you within 2 business days to update
you on the status. Once the access has been approved, you may then try to
make an API call using your production account.

Let me know if you have any further concerns.


Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Was your question answered? Please rate your experience with us by taking a
short survey.
If not -- reply to this email and tell us what else we can do to help.

Take Survey


Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
On 03/27/19 19:26:37 uatet...@gmail.com wrote:

  Thank you for the answer.
I have 2 questions.
You give me a link to google ads but I already installed google adwords
(installed library and get refresh_token). [1] Can I do all by google
adwords library?
I already tried the first API call but have the answer:
"[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED @; trigger: ''] '. I
used the developer token with *Access level - Test Account*.
So, now I'm writing to apply developer token, but do not understand [2]
what I have to write in documentation in part *API Services Called.*

середа, 27 березня 2019 р. 09:42:08 UTC+2 користувач
googleadsapi-forumadvisor написав:

Hi,

Thank you for reaching out. If you want to use the Google Ads API
 to generate
reports, first you have to apply for a developer token if you don't already
have one by following this guide
.
Then, you should download a client library
, set up
OAuth2 credentials by following this guide
  
and

get your refresh token by following this guide

.

Once your setup has been completed, you may then make your first API call
using your test account. You may check this guide
 for more
information about the access level.

Also, you should take note that test accounts can't be associated to a
production account. If you want to make an API call to a production
account, you should apply for basic access
.
The Compliance Team will contact you within 2 business days for its status.
Once access has been approved, you may then mak

RE: Organic Keywords with top ranking URL

2019-03-29 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Karthick,

For organic keywords statistics, the Paid Organic Query Report is indeed
the correct report type to generate. However, I'm afraid that URL
information for the said keywords are not supported in the AdWords API.

Thanks and regards,
Peter
Google Ads API Team

On 03/29/19 06:28:02 karthikc...@gmail.com wrote:

Hello,
Is there a report that can give me the organic keywords, organic ctr,
organic clicks, organic impressions, organic position and the ranking url?
I looked at
https://developers.google.com/adwords/api/docs/appendix/reports/paid-organic-query-report
Paid and Organic Report seem to have all the details except the top ranking
url..
Is there a way to combine the data from paid and organic report with the
data from other reports?

Thanks!
Karthick

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/9854b7a9-a772-4432-a02d-c664b0aa79a2%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/18i69500guokts000igmksz74mjgdpo70o30c1g68qjic1i%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.