get a FrequencyCap

2019-04-18 Thread kyungjun . yim
How to get a FrequencyCap object which is in 'VIDEO' campaign via Java 
application?

I want to get a FrequencyCap, so I tried CampainService's get() method.

The result came successfully, but 'VIDEO' campaigns are not suitable 
CampaignService's get() method.

How can I solve this problem?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5692ed8d-b241-40df-b455-952c4bd47eaa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Does the API support UAC2.0?

2019-04-18 Thread 朱梦君


[image: a0b0fb67871b2cf401f58631b63e0d4.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5fffd279-0042-4807-8c57-0a7a56e421ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Download campaigns - Not included in report

2019-04-18 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Ridha,

If you trying to pull data using the AdWords API, you can Sign Up here
 and follow
instructions mentioned here
 to
make your first API call. To setup the python client library you could
follow the instructions mentioned in this guide. 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/ijlio1rf7o0107lrna0033ubdex6kmjechm6go30c1g64qj6c1i%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Query campaigns and metrics, segmented by the Geographic location

2019-04-18 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Karam,

I've responded to your private reply.

1. will it be supported in the near future? since I can see the geographic
report of Universal Apps in the GoogleAds dashboard, *I've sent it to you
privately along the the CustomerId*
We cannot say whether this will be supported in the future. Please follow
our blog  for updates.

2. isn't there any other way (other than querying on geographic_view) to
get the geographic report of the campaigns using GoogleAds api?
There is no other way to get this data currently in Google Ads API.

3. if it is not supported to get the geographic reports of all campaigns
together,  is there is a way to get the geographic report of a certain
campaign alone? it also works for me
You can a filter to your report such as WHERE campaign.id = 12345.

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 04/18/19 04:41:26 en.karam1...@gmail.com wrote:

Thanks again:

I've checked the guide but still have some questions


   1. will it be supported in the near future? since I can see the
   geographic report of Universal Apps in the GoogleAds dashboard, *I've
   sent it to you privately along the the CustomerId*
   2. isn't there any other way (other than querying on geographic_view) to
   get the geographic report of the campaigns using GoogleAds api?
   3. if it is not supported to get the geographic reports of all campaigns
   together,  is there is a way to get the geographic report of a certain
   campaign alone? it also works for me


Thanks for your patience,
Waiting for your kind response

Best regards

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4d3dfbb4-817d-4fbd-86e7-6a3e32b91744%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/1a0p35o0ov3ri00034bt80w6omjae9k64o30c1g68qjie1p%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API: How to identify ENUM data type?

2019-04-18 Thread Alexander Belozerov

Hello there,
What is the best way to identify the data type that is shown as ENUM when 
getting a response from this method in python library:

search_google_ads_fields

I was assuming that it is always "string" but just run into an example 
where it is a string for one customer id and an integer for another.

Examples are
 advertising_channel_sub_type, advertising_channel_sub_type

both can be a string as "DISPLAY_GMAIL_AD" and an integer as 7.

I need to save this data in one place for reporting purposes.
My question are:
How can i get the data type for ENUM?
 and why is it different for the same fields in different accounts?

Thanks,
Alex

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6411e8c7-0f3e-41ae-a2cc-1344a21f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API Extremely Slow

2019-04-18 Thread Daj Katal
I am using the google ads api for keyword research on my website but it 
takes too long.

Simply getting the data from the google database takes 6 seconds. I have 
removed anything that modifies the data so I am sure that it takes 6 
seconds to get the data.

This is the code for getting the keyword volume, competition and ideas.


import csv
import time
import suds
import re
from googleads import adwords
import os


class Ads(object):
   def __init__(self, keywords):
  self.num_calls = 0
  self.langID = 1000
  self.locID = 2840

  self.adwords_client = 
adwords.AdWordsClient.LoadFromStorage('googleads.yaml')

  self.before_estimate = keywords

  # set up queries for search volume
  list_of_calls = [self.before_estimate[i:i + 200] for i in range(0, 
len(self.before_estimate), 200)]
  self.num_calls = len(list_of_calls)
  print("Get ready for ", self.num_calls, "calls and approximately ", 
self.num_calls * 50, "seconds.")

  self.results = self.get_estimate_search_volume(list_of_calls)

   def api_call_function(self, keyword_list, langID, locID, count, requestType):

  targeting_idea_service = 
self.adwords_client.GetService('TargetingIdeaService', version='v201809')

  offset = 0
  PAGE_SIZE = 100

  selector = {
 'searchParameters': [

{
   'xsi_type': 'RelatedToQuerySearchParameter',
   'queries': keyword_list
},
{

   'xsi_type': 'LanguageSearchParameter',
   'languages': [{'id': langID}]
},
{
   'xsi_type': 'LocationSearchParameter',
   'locations': [{'id': locID}]
},
{
   # Network search parameter (optional)
   'xsi_type': 'NetworkSearchParameter',
   'networkSetting': {
  'targetGoogleSearch': True,
  'targetSearchNetwork': False,
  'targetContentNetwork': False,
  'targetPartnerSearchNetwork': False
   }
},
{
   'xsi_type': 'IdeaTextFilterSearchParameter',
   'included': keyword_list
}

 ],
 'ideaType': 'KEYWORD',
 'requestType': requestType,
 'requestedAttributeTypes': ['KEYWORD_TEXT', 'SEARCH_VOLUME', 
'COMPETITION'],
 'paging': {
'startIndex': str(offset),
'numberResults': count
 }
  }

  page = targeting_idea_service.get(selector)

  # Create dictionary with keyword, search volume pair
  all_results = {}
  for result in page['entries']:
 for attribute in result['data']:
if attribute['key'] == "KEYWORD_TEXT":
   word = attribute['value']['value']
if attribute['key'] == "SEARCH_VOLUME":
   volume = attribute['value']['value']
if attribute['key'] == "COMPETITION":
   competition = attribute['value']['value']
 if competition == 0.0 or competition is None:
pass
 else:
all_results[word] = [volume, competition]

  return all_results

   def api_call_error_handling(self, errors, current_call, i):
  def save_and_delete_keywords(keyword_file, error_lines):
 # delete bad keywords and log those deleted
 deleted_keyword_file = "deleted_" + keyword_file
 deleted_list = []
 with open(deleted_keyword_file, "a") as d_file:
for bad_words in error_lines:
   deleted = current_call.pop(bad_words)
   deleted_list.append(deleted)
for deleted in deleted_list:
   d_file.write(deleted + "\n")

  errors = str(errors)
  # log errors to file
  with open("duplicate_error.txt", "a") as d_file:
 entry = "ERROR - CALL # " + str(i + 1) + "\n"
 d_file.write(entry)
 d_file.write(errors + "\n")
  # get line numbers from error reading
  error_lines = re.findall('\d\d*', errors)
  # clean "1"
  error_lines[:] = [int(x) for x in error_lines if len(x) != 1]
  error_lines.sort()
  error_lines.reverse()
  print(error_lines)
  save_and_delete_keywords(keyword_file, error_lines)
  return current_call

   def get_estimate_search_volume(self, list_of_calls):
  # Run estimate_search_volume for each set and add to result dictionary 
each time
  results = {}
  i = 0
  retry = False
  errors = "none"
  while i < self.num_calls:
 if not retry:
current_call = list_of_calls[i]
 try:
call_results = self.api_call_function(current_call, self.langID, 
self.locID, 800, 'IDEAS')
call_results.update(self.api_call_function(current_call, 
self.langID, self.locID, 800, 'STATS'))
print("CALL #", i + 1, "COMPLETED.")
results.update(call_results)
i += 1
#time.sleep(10)

Re: searching Customers using google ads

2019-04-18 Thread benjamin
Hi Dannison,

I have ten of thousands of accounts in my MCC, loading them all feels 
completely off.
Is there a way to filter/query like it used to be?

Thanks,

Benjamin



On Monday, April 15, 2019 at 5:49:06 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi Benjamin,
>
> Thank you for reaching out. The AdWords API Account Hierarchy code sample 
> uses the ManagedCustomerService.get() operation which returns all the 
> accounts that are managed by the manager account. In the Google Ads API 
> perspective, this would be GetCustomerClientRequest 
> 
>  which will return the accounts under a manager account. If you're 
> looking to get the accounts list of accounts that are directly accessible 
> via your OAuth credentials, you can use the CustomerService.
> ListAccessibleCustomers 
> 
>  request. This will return all the accounts directly accessible by the 
> user authenticating the call. 
>
> Let me know if you have further clarifications.
>
> Regards,
> Dannison
> 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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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 04/13/19 04:04:11 benj...@effilab-local.com  wrote:
>
> Using the adwors library, I took advantage of the ManagedCustomerService
>  (
> https://developers.google.com/adwords/api/docs/reference/v201809/ManagedCustomerService)
>  
> to search the accounts linked to a MCC.
>
> I used to query based on names etc.
>
> How could I achieve the same outcome using google ads please?
>
> Thanks in advance
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/8a6a101e-425c-46b4-92fd-6ef3335c3ab2%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/bea7edc6-cdf6-412d-90a4-6a48497315f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to add members in Crm Based User List using google-ads-api

2019-04-18 Thread Vinayak kumar Vimal
How to add members in Crm Based User List using google-ads-api

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/65fea594-76fd-4de5-8834-4239f0052d7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API PHP with Laravel: LogicException

2019-04-18 Thread GIM Programming
Hello!

I have a website app built on Laravel with latest version of Google Ads API 
PHP library.
Laravel has a Queue functionality which allows to queue tasks for a server 
to process on background and I'm trying to integrate few things. 
All I am doing is querying some data about clients with MCC account.
Running this task in synchronous mode, so just simply doing request without 
queue - has never produced an error with over 2000 requests in the last few 
days.
Problem occurs when trying to do it asynchronously, meaning launching the 
queue - produces LogicException:

LogicException: Missing stream url, the stream can not be opened. This may 
be caused by a premature call to close(). in \vendor\monolog\monolog\src\
Monolog\Handler\StreamHandler.php:95
Stack trace:
#0 
\vendor\monolog\monolog\src\Monolog\Handler\AbstractProcessingHandler.php(39): 
Monolog\Handler\StreamHandler->write(Array)
#1 \vendor\monolog\monolog\src\Monolog\Logger.php(344): 
Monolog\Handler\AbstractProcessingHandler->handle(Array)
#2 \vendor\monolog\monolog\src\Monolog\Logger.php(609): 
Monolog\Logger->addRecord(200, 'Request made: H...', Array)
#3 
\vendor\googleads\google-ads-php\src\Google\Ads\GoogleAds\Lib\V1\GoogleAdsUnaryCallLogger.php(74):
 
Monolog\Logger->log(200, 'Request made: H...', Array)
#4 
\vendor\googleads\google-ads-php\src\Google\Ads\GoogleAds\Lib\V1\GoogleAdsLoggingUnaryCall.php(56):
 
Google\Ads\GoogleAds\Lib\V1\GoogleAdsUnaryCallLogger->logSummary(Array, 
Array)
#5 \vendor\google\gax\src\Transport\GrpcTransport.php(242): 
Google\Ads\GoogleAds\Lib\V1\GoogleAdsLoggingUnaryCall->wait()

If needed, I can send the rest of the exception stack trace.
Your help would be much appreciated!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9c6bdd7e-ef94-402a-b89c-fcc94cade794%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


When will ad schedule be supported by Google Ads API?

2019-04-18 Thread Peter
Ad Schedule is supported by both Google Adwords UI and API. But it is not 
yet supported through Google Ads API. 
Is there any update on when this feature will be supported through Google 
Ads API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7a2bf584-d95b-40da-87d7-643194621bd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


When will Ad Schedule be supported through Google Ads API?

2019-04-18 Thread Peter
Ad Schedule is supported through Google Adwords API, but there seems to no 
support for it through Google Ads API.
Is there any update on when it will be supported? Thanks in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2bea197e-8607-464a-a518-70b86d402ed9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Keyplanner Apis

2019-04-18 Thread supriya . pathak

Hi,

I am running code to pull data from the TargetingIdeaService to get keyword 
volume but following error occurs.

googleads.errors.GoogleAdsServerFault: 
[TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ 
selector.searchParameters.searchParameters[0]; 
trigger:'RelatedToQuerySearchParameter']


Attached is the code I am using to get the data. I am running this on 
python 3.7


Can anyone please help in sorting this out?









-- 
Confidentiality And Disclaimer Notice


This communication is intended only 
for use by the addressee. It may contain legally confidential and/or 
privileged information. If you are not the intended recipient or have 
received this message in error, please contact us immediately and then 
delete this message from your system. You should not copy or use it to 
disclose its contents to any other person. Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f41bcd07-ce0c-4b66-8d53-8590d726145c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
#!/usr/bin/env python
#
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""This example retrieves keywords that are related to a given keyword.

The LoadFromStorage method is pulling credentials and properties from a
"googleads.yaml" file. By default, it looks for this file in your home
directory. For more information, see the "Caching authentication information"
section of our README.

"""

from googleads import adwords
import googleads
import logging

# Optional AdGroup ID used to set a SearchAdGroupIdSearchParameter.
PAGE_SIZE = 100


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

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

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

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

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

  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(('Keyword with "%s" text and average monthly search volume '
   '"%s" was found with Products and Services categories: %s.'
   % (attributes['KEYWORD_TEXT'],
  attributes['SEARCH_VOLUME'],
  attributes['CATEGORY_PRODUCTS_AND_SERVICES'])))
  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__':
  logging.basicConfig(level=logging.INFO, format=googleads.util.LOGGER_FORMAT)
  logging.getLogger('googleads.soap').setLevel(logging.DEBUG)
  # Initialize client object.
  adwords_client = adwords.AdWordsClient.LoadFromStorage()

  main(adwords_client)


Re: Query campaigns and metrics, segmented by the Geographic location

2019-04-18 Thread Karam Bowidany
Thanks again:

I've checked the guide but still have some questions


   1. will it be supported in the near future? since I can see the 
   geographic report of Universal Apps in the GoogleAds dashboard, *I've 
   sent it to you privately along the the CustomerId* 
   2. isn't there any other way (other than querying on geographic_view) to 
   get the geographic report of the campaigns using GoogleAds api?
   3. if it is not supported to get the geographic reports of all campaigns 
   together,  is there is a way to get the geographic report of a certain 
   campaign alone? it also works for me
   

Thanks for your patience,
Waiting for your kind response

Best regards

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4d3dfbb4-817d-4fbd-86e7-6a3e32b91744%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Download campaigns - Not included in report

2019-04-18 Thread azri ridha
Hello Vikram Tiwari,

I need to get data from the API adword in order to retrieve data on 
companies, etc.

I am new to pyhton programming language and I really need to do this in my 
new job.

could you tell me how to do this, the procedure to follow.

I thank you for your cooperation. I thank you in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3a021728-6618-48d2-a28c-5a40be234d02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Exact match with TargetingIdeaService

2019-04-18 Thread microcat49
I'm querying a list of keywords using the TargetingIdeaService with a 
request type of 'STATS'. I'm trying to query each keyword as an exact 
match. But I'm unable to find the setting or library to do this, could 
someone point me in the right direction? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dc77cfe4-411a-4a31-942b-d62010d8167e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [PHP] Google Ads Api Beta. Problems with ExpandedTextAd Update

2019-04-18 Thread jessica . capuozzo
Hi,

Any news on Update Ad?

Thank you,
Best.

Jessica Capuozzo

On Wednesday, 20 February 2019 20:11:33 UTC+1, Miguel Graciá wrote:
>
>
> Hi,
>
> I am trying the new api of google ads. I was able to create an ad in my 
> test account with the help of the examples, but when I try to update the 
> title, the api returns an error. The request, extracted from the log, is as 
> follows:
>
>
> {
> "customerId": "[CUSTOMER_ID]",
> "operations": [
> {
> "updateMask": "resourceName,ad.id
> ,ad.finalUrls,ad.finalMobileUrls,ad.trackingUrlTemplate,ad.urlCustomParameters,ad.displayUrl,ad.type,ad.addedByGoogleAds,ad.devicePreference,
> ad.name
> ,ad.textAd,ad.expandedTextAd.headlinePart1,ad.expandedTextAd.headlinePart2,ad.expandedTextAd.headlinePart3,ad.expandedTextAd.description,ad.expandedTextAd.description2,ad.expandedTextAd.path1,ad.expandedTextAd.path2,ad.dynamicSearchAd,ad.responsiveDisplayAd,ad.callOnlyAd,ad.expandedDynamicSearchAd,ad.hotelAd,ad.shoppingSmartAd,ad.shoppingProductAd,ad.gmailAd,ad.imageAd,ad.videoAd"
> ,
> "update": {
> "resourceName": 
> "customers\/[CUSTOMER_ID]\/adGroupAds\/[AD_GROUP_AD_ID]_[AD_GROUP_ID]",
> "status": "ENABLED",
> "ad": {
> "id": "[AD_GROUP_AD_ID]",
> "expandedTextAd": {
> "headlinePart1": "Title Test"
> }
> }
> }
> }
> ]
> }
>
>
>
>
>
> Response:
>
>
>...
>
>{
>"errorCode": {
>"requestError": "IMMUTABLE_FIELD"
>},
>"message": "Field 'ad.expanded_text_ad.headline_part1' cannot be 
> modified by 'UPDATE' operation.",
>"location": {
>"fieldPathElements": [
>{"fieldName": "operations","index": "0"},
>{"fieldName": "update" }, 
>{"fieldName": "ad" }, 
>{"fieldName": "expanded_text_ad" }, 
>{"fieldName": "headline_part1" } 
>]
>}
>}
>
> ...
>
>
>
>
> Does this mean that in order to modify the title it is necessary to delete 
> the ad and create a new one?
>
> The old api of google adwords has examples where you can modify this field.
>
>
> https://developers.google.com/adwords/api/docs/samples/php/basic-operations#update-an-expanded-text-ad
>
> Thanks for the help.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3a184c73-9bd5-4128-8de0-109d5d5ed028%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdMob Units as MobileApplication

2019-04-18 Thread Filipe Graciosa
Hi

I'm having the same problem, how can I convert my placements IDs to 
standard placements (apps or URLS

mobileapp::mobileapp::10002-ca-app-pub-9765906064975653
mobileapp::mobileapp::2-com.ghd.tv
mobileapp::mobileapp::3-2d391e75-f366-44da-a2ac-92d55d2014e3

Thanks,
Filipe Graciosa

On Monday, 12 June 2017 21:51:05 UTC+1, Shwetha Vastrad (AdWords API Team) 
wrote:
>
> Hi Dorian, 
>
> Could you provide more details on where you came across this appId? The 
> CampaignId or the AdGroupId of this MobileApplication criterion will be 
> helpful. Please use *Reply privately to author* when responding.
>
> Thanks,
> Shwetha, AdWords 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/a5c7ceca-9799-41cf-9747-ebad254118b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: metrics data not available for Income Range type criterion at ad_group or campaign nor a view exists.

2019-04-18 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Darshan,

We've created a feature request on your behalf to add this to reports.

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 04/17/19 16:02:38 dars...@companionlabs.com wrote:

Hi I am already pulling the names what I need is to be able to pull metrics
for criterion of INCOME_RANGE type. Please advise.

On Tuesday, April 16, 2019 at 4:40:59 PM UTC-4, googleadsapi-forumadvisor
wrote:

Hi Darshan,

You may use the campaign_criterion.resource_name
  
and

the ad_group_criterion.resource_name
  
to

pull the criteria resource names. I have raised a feature request to have
the separate views for these criteria too. Please keep an eye on our blog
 for
more updates.

Thanks,
Bharani, 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/743dd51d-6127-475f-9d02-e77e175759e1%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/1a0ks4g0gt1cb60029p4rez6omj2e9m6oo30c1g68r34c9n%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Campaign Creation - Google Ads API

2019-04-18 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Zied,

You should be able to create multiple entities like Campaign, AdGroup and
AdGroupAd in one go using the Batch jobs with temporary ids, you can refer  
this

guide
  
for

more information. You could refer this code sample
  
on

how to use temporary Ids in JAVA, code samples in other languages can be
found here .
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/18/19 12:06:05 acteol.adv...@gmail.com wrote:

Hi all,

Is there a way to create a campaign with their elements (AdGroup, Ads,
Keyword, Criteria, Extension, ...) with only one call?
Like Facebook is doing, I build a campaign object with all its elements
(AdSet, Ads, ...), and the Facebook API create all the objects.

PS: I'm using Google Ads API V1.0

Thank You;
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/875ff192-8d71-4ad4-895c-f6c90e28ebf2%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/08p11g000400gpg67200249k16y6kmj0dpo6go30c1g68qjee9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: ListAccessibleCustomers

2019-04-18 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Vadim,

The ListAccessibleCustomers
  
will

return all the resource names of customers directly accessible by the user
authenticating the call. If the the user is having access to only one
account then it will return one resource name only. You could share the
email address of the user authenticating the API call using *reply
privately to the author option*.

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/ijlio20tp80106ffl00029o5u6w6omjcd9m6so30c1g68r34chl%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [GOOGLE ADS API] Get Conversion Action List

2019-04-18 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Miguel,

There is currently an issue with conversion actions that our team is
working on resolving. I'll let you know when there is a fix.

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 04/17/19 22:53:48 miguelgraciamar...@gmail.com wrote:

I'm trying to get a list of the conversion actions of a customer client,
but it always returns empty.

On the other hand, if I make the same query using the id of the manager
account, the query returns the list of conversion actions of that manager
account.

This is the query I'm using with the php library

$query = 'SELECT customer.id, customer.descriptive_name,
   conversion_action.app_id,
   conversion_action.attribution_model_settings.attribution_model,

 conversion_action.attribution_model_settings.data_driven_model_status,
   conversion_action.category,
   conversion_action.click_through_lookback_window_days,
   conversion_action.counting_type,
   conversion_action.id,
   conversion_action.include_in_conversions_metric,
   conversion_action.name,
   conversion_action.owner_customer,
   conversion_action.phone_call_duration_seconds,
   conversion_action.resource_name,
   conversion_action.status,
   conversion_action.tag_snippets,
   conversion_action.type,
   conversion_action.value_settings.always_use_default_value,
   conversion_action.value_settings.default_currency_code,
   conversion_action.value_settings.default_value,
   conversion_action.view_through_lookback_window_days
   FROM conversion_action';

return $this->getGoogleAdsServiceClient()->search(
   *'customer_client_id'*,
   $query,
   ['pageSize' => null]
   );



Is there something that is not correct?

Thanks for your help.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d9ea87f7-afa9-4cfb-bb1e-f09607726910%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/08p11g000400gnu7mi00246h6sx70mj6c1k60o30c1g68qjgchj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Does the API support UC2.0?

2019-04-18 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Since our Chinese resource is not available, I am handling your concern in
English. Could you please elaborate what do you mean by UC2.0? Also, could
you please show me the screenshot in English for further help or share any
document where you are referring the UC2.0?

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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/18/19 03:00:19 mengjunzhu...@gmail.com wrote:

[image: a0b0fb67871b2cf401f58631b63e0d4.png]

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e70bcc58-09df-42cf-80b7-8dd2766a3326%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/1a0o8l0008kfi60033jg2ux6kmj2dpj60o30c1g68r3ad9j%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Campaign Creation - Google Ads API

2019-04-18 Thread Zied Chaari
Hi all,

Is there a way to create a campaign with their elements (AdGroup, Ads, 
Keyword, Criteria, Extension, ...) with only one call?
Like Facebook is doing, I build a campaign object with all its elements 
(AdSet, Ads, ...), and the Facebook API create all the objects.

PS: I'm using Google Ads API V1.0

Thank You;
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/875ff192-8d71-4ad4-895c-f6c90e28ebf2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ListAccessibleCustomers

2019-04-18 Thread vadim
Hello,
I'm trying to get all my accounts .
As I understand I should use the 
service 
google.ads.googleads.v1.services.CustomerService.ListAccessibleCustomers, 
but it always return only root mcc.
What i'm doing wrong?





-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7b594077-047f-433b-a854-3f250ddb0700%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: gzip compression in the new Google Ads API?

2019-04-18 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Alexnder,

As of now there is no way to do that via our client libraries. I shared
your concern with the team and I will update you on this thread when I have
more information. Meanwhile you could keep an eye on our blog
 for
information related to the future releases.

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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/18/19 03:04:22 a.tis...@pa.ag wrote:


I am concerned about the amount of network traffic between Ads API and my
App. Compressing files at my end would not help to reduce network traffic.
Is there an option in the API or the client libraries to enable compression?


On Wednesday, April 17, 2019 at 8:43:40 PM UTC+2, googleadsapi-forumadvisor
wrote:

Hello Alexander,

Since the report data returning as typed objects and no longer writing on
the files. You have to handle it in your code to write them into files and
compress the files programatically. I will let my team know regarding your
concern and to have the code samples for this.

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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3dfe1baa-e50b-4512-8484-b74b8fe0b388%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/1a0p52o18r8cq8003976tcy68mjec1g6ko30c1g68r34d9o%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Quotas and retries

2019-04-18 Thread F B
Although we do have Standard access 
 and 
should thus have *unlimited daily operations limits *I am getting a 
ResourceExhausted Error. 
We saw this kind error before when we only had *Basic Access* and were 
therefore limited to 15000 operations a day.

My strong hypothesis is that there are still daily limits for *operations* 
the *standard account* behind the scene because when chunking my operations 
to smaller chunk sizes (10), the first two or three chunks would go through 
and I would see the ResourceExhausted Error only on the third chunk. 
However, when running one big chunk with couple of hundred operations, I 
would get the error on the first try.

Could somebody please check if these limits are in place?


Surprisingly enough I get an error that would indicate, that my request 
frequency is too high, which certainly is not the case (as I waited 15 
minutes).
Headers: {
  "google.ads.googleads.v1.errors.googleadsfailure-bin": 
"\n1\n\u0002X\u0004\u0012'Too many requests. Retry in 30 
seconds.\u001a\u0002*\u",
  "grpc-status-details-bin": "\b\b\u0012/Resource has been exhausted (e.g. 
check 
quota).\u001az\nCtype.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure\u00123\n1\n\u0002X\u0004\u0012'Too
 
many requests. Retry in 30 seconds.\u001a\u0002*\u",
  "request-id": ""
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/933629a7-9eae-42fd-b155-df3204d8d16a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [2-8014000025508] THIRD_PARTY_REDIRECT_AD Image Preview - how to get from API?

2019-04-18 Thread Oksana Sulyma
Hello Ben Karl, thanks so much for your answer!
We are not using client libraries. We just use php 'curl' functions for API 
calls.
Looking forward for any updates on this issue.
Thanks!
Oksana

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/88e65889-23bf-46ac-80cb-43e01656cd9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: gzip compression in the new Google Ads API?

2019-04-18 Thread Alexander

I am concerned about the amount of network traffic between Ads API and my 
App. Compressing files at my end would not help to reduce network traffic. 
Is there an option in the API or the client libraries to enable compression?


On Wednesday, April 17, 2019 at 8:43:40 PM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hello Alexander,
>
> Since the report data returning as typed objects and no longer writing on 
> the files. You have to handle it in your code to write them into files and 
> compress the files programatically. I will let my team know regarding your 
> concern and to have the code samples for this.
>
> 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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3dfe1baa-e50b-4512-8484-b74b8fe0b388%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Does the API support UC2.0?

2019-04-18 Thread 朱梦君


[image: a0b0fb67871b2cf401f58631b63e0d4.png]

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e70bcc58-09df-42cf-80b7-8dd2766a3326%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.