REST endpoint for GoogleAdsService

2019-11-29 Thread Ольга Иванченко
Hello!
How can I get request URL for the GoogleAdsService.Search for use 
REST/JSON? Can't use client libraries.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c2023a05-8e60-4e12-8486-5dee3ba3a203%40googlegroups.com.


CONVERSION_PRECEDES_CLICK

2019-11-29 Thread Mauricio Cacciavillani
We are getting a conversion failure on our account.

What could be the issue? We have around 90% of leads well registered on the 
system but there are some others that we dont know whats going on.

Sincerely,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/db324bd7-48d8-40e3-8df5-8bb4676f4592%40googlegroups.com.


Re: Can't access to API Center

2019-11-29 Thread DII France
Hello,

Any updates for me? Do you want an exemple of the CID that doesn't work?

Regards,

Cédric.

Le jeudi 28 novembre 2019 10:39:46 UTC+1, DII France a écrit :
>
> Hello,
>
> Yes, I'm connected but the interface disconnect me each time when i try to 
> access to the API Center (see screenshot attached). 
>
>
> Regards,
>
> Cédric.
>
>
> Le mercredi 27 novembre 2019 19:28:26 UTC+1, adsapiforumadvisor a écrit :
>>
>> Hi there,  
>>
>> Thanks for reaching out with your question. You will be able to view the 
>> developer token at the manager level. You will need to login to your 
>> manager account to access this token. The method you used to obtain your 
>> developer token should work if the child is also a manager account. Could 
>> you please check if you are logged in as a manager account or the client 
>> account to view the developer token?
>>
>> Regards,
>> Bharani, Google Ads API Team
>>
>>
>> ref:_00D1U1174p._5001UODNx7:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/991a8cf9-a19d-408c-9daa-f98ab1115c3a%40googlegroups.com.


Re: Getting Errors from a Campaign Mutate - Google Ads API (V2) - PHP

2019-11-29 Thread Dan Slay

Hi Pierrick,
Am I doing this correctly? If I do a bulk campaign mutate and there are 
errors it throws an ApiException (see below). Each one of these is 
obviously relating to each campaign that failed but how do I get those 
details e.g. accountLimitType and enclosingId I need to know what campaign 
ids have failed.
Do I have to enable partial failures on mutateCampaignCriteria ? If I do 
that I get another error:
Error occurred during parsing: Class 
google.ads.googleads.v2.errors.GoogleAdsFailure hasn't been added to 
descriptor pool

Am I doing this in the wrong way?
ApiException: {
"message": "Request contains an invalid argument.",
"code": 3,
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 0,
"data": 
"type.googleapis.com\/google.ads.googleads.v2.errors.GoogleAdsFailure"

},
{
"@type": 0,
"data": [
{
"errorCode": {
"resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "0"
}
]
}
},
{
"errorCode": {
"resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "1"
}
]
}
},
{
"errorCode": {
"resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "2"
}
]
}
},
{
"errorCode": {
"resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": "3"
}
]
}
},
{
"errorCode": {
"resourceCountLimitExceededError": 
"CAMPAIGN_LIMIT"

},
"message": "Indicates that this request would exceed 
the number of allowed resources in a Campaign. The exact resource type and 
limit being checked can be inferred from accountLimitType, and the numeric 
id of the Campaign involved is given by enclosingId.",

"trigger": {
"stringValue": ""
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",

NO_CUSTOMER_FOUND response when user have accounts [PHP]

2019-11-29 Thread Ravi Chandran
Hi Team,

We are trying to fetch a list of Ad accounts using the Google Adwords API. 
The developer token has "basic access".

$selector = new Selector();
$selector->setFields(['Name', 'CustomerId']);
$page = $managedCustomerService->get($selector);

However, we are getting the following error for a certain account and works 
for another. 
*Fatal error*: Uncaught Google\AdsApi\AdWords\v201809\cm\ApiException: 
[AuthorizationError.NO_CUSTOMER_FOUND

The strange thing is both accounts belong to the same organization and have 
the same Google Adwords Access level.

I would like to know if anybody else has faced a similar situation. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e8d32655-1beb-413c-a1cc-0ca1c61816a7%40googlegroups.com.


Google Ads Express problems with reports

2019-11-29 Thread Fedor Ivanov
Good day! 
We have a client who had Google Ads Express account. Now it was switched to 
classical Google Ads account. 
It the account he has smart campaign. But when we try to collect data to 
our storage all reports but CAMPAING_PERFORMANCE
(for instance KEYWORDS_PERFORMANCE) the results are empty. 
We have no this problems with smart campaigns in our other accounts (that 
were not Express).
Could you tell me where is the 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/27933327-efc7-465d-9538-ed75635a027f%40googlegroups.com.


Re: How to solve DEVELOPER_TOKEN_PROHIBITED error ?

2019-11-29 Thread David Navarro
Hi, same problem. 
I want to migrate from Adwords API to Googleads API. I've createed a new 
project with new credentials. However, I have a problem: I've sent it for 
review and apparently the review process may take up to 6 weeks. 
What can I do to speed it up?

Thx!

El martes, 10 de septiembre de 2019, 20:01:54 (UTC+2), adsapiforumadvisor 
escribió:
>
> Hello Don,
>
> Thanks for the suggestions. I will let my team know regarding the 
> documentation update. As of now there is no other way except creating new 
> OAuth credentials.
>
> Regards,
> Sai Teja, Google Ads API Team
>
> ref:_00D1U1174p._5001UHG6Ve:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4eb8bb37-ee27-4de5-b301-87afb3f75f74%40googlegroups.com.


Re: Getting different results for Traffic Estimate from API compared to Google Ads UI

2019-11-29 Thread Suresh Kumar Shenbagam
Hi,

How to download Traffic Estimator Service response as CSV using Google 
Adwords Java API?

Suresh

On Thursday, November 28, 2019 at 4:21:52 PM UTC+5:30, Suresh Kumar 
Shenbagam wrote:
>
> Hi,
>
> And one more thing,
>
> Clicks, Impressions, Cost are not completely matching. Am able to get the 
> results close by doing the following calculation, let me know if that's 
> right.
>
> To calculate,
>
> Average CPC: ( (min money + max money) / 2 )  / 100
> average position: (min value + max value) / 2
> clicks:  ( ( (min value + max value) / 2 )  / 5 )  * 100 - not sure what 5 
> is - but it does give me the result almost matching
> cost:  ( ( min value + max value ) / 2 ) / 1
> impressions: (min value + max value ) * 10 - also not sure why 10 - it 
> does give me the expected close result
> CTR: (  (min value + max value) / 2  )  * 100 
>
> Please let me the know the above calculations are right.
>
> Suresh
>
> On Thursday, November 28, 2019 at 12:43:06 PM UTC+5:30, Suresh Kumar 
> Shenbagam wrote:
>>
>> Hi,
>>
>> Thanks for the response. I went thru the guide you mentioned, but need 
>> more clarification on the point,
>>
>> "To use the TrafficEstimatorService for this, you need to specify either 
>> a pre-existing campaign, or create a mock campaign, complete with ad groups 
>> and keywords:" - Does this mean, is it mandatory to set the campaign id and 
>> agroupid in CampaignEstimateRequest and AdGroupEstimateRequest 
>> respectively? what do you mean by create a mock campaign?
>>
>> What is the default value for MaxCPC in AdGroupEstimateRequest, if not 
>> provided?
>>
>> How can I set existing adgroup id and campaign id in google ads ui 
>> keyword planner tool  ?
>>
>> What are the parameters has to be set in TrafficEstimatorService API to 
>> retrieve results same as Google Ads UI?
>>
>> Suresh
>>
>> On Thursday, November 28, 2019 at 12:53:30 AM UTC+5:30, 
>> adsapiforumadvisor wrote:
>>>
>>> Hi Suresh,
>>>
>>> As you have already seen that the returned object KeywordEstimate 
>>> 
>>>  
>>> in the response from a TrafficEstimatorService 
>>> 
>>>  
>>> request will only contain estimates at the keyword level, so it won't give 
>>> you the headings you see in the Google Ads UI. Please check out this 
>>> guide 
>>> 
>>>  
>>> for Estimating Traffic for the overview of the service and mapping between 
>>> API and Keyword Planner tool.
>>>
>>> Thanks and regards,
>>> Xiaoming, Google Ads API Team
>>>
>>>
>>> ref:_00D1U1174p._5001UODOUk:ref
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/72f8f281-962e-4688-9039-1ae33de4a1f8%40googlegroups.com.


Re: Python example of the Ad schedule mutation

2019-11-29 Thread Juan Carlos Blanco Delgado
I found a solution but it does not work completly

campaign_criterion_service = client.GetService(
'CampaignCriterionService', version='v201809')

# Construct selector and get all campaign targets.
offset = 0
selector = {
'fields': ['DayOfWeek', 'StartHour', 'StartMinute', 'EndHour',
'EndMinute'],
'paging': {
'startIndex': str(offset),
'numberResults': str(PAGE_SIZE)
}
}

page = campaign_criterion_service.get(selector)

It returns an empty campaign object, could you help me please?

See the result below

{
'totalNumEntries': 0,
'Page.Type': 'CampaignCriterionPage',
'entries': []
}

If you can also help me to filter the results by campaign, like starts with 
of a specific string, will be also great! 

On Thursday, November 21, 2019 at 7:48:33 PM UTC, adsapiforumadvisor wrote:
>
> Hi Juan,
>
> Unfortunately, we don't have any examples on how to add it using any 
> language. Just like with other criteria, you will need to set the fields 
> specific to the criteria. For ad schedules, you will need to set fields 
> such as start_hour and end_hour. If you are facing any difficulties, you 
> can share your logs 
> 
>  
> so that I can take a closer look. 
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UJaVr8:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ebf88efc-c321-4a6e-aed4-9dd7ce590d9a%40googlegroups.com.


Re: Python example of the Ad schedule mutation

2019-11-29 Thread Juan Carlos Blanco Delgado
I found a solution but it does not return anything :(


selector = {
'fields': ['DayOfWeek', 'StartHour', 'StartMinute', 'EndHour',
'EndMinute'],
'paging': {
'startIndex': str(offset),
'numberResults': str(PAGE_SIZE)
}
}



I need to get all the AdSchedule for all my campaigns, or if it is eaisier, 
campaigns that start with a specific string, it does not work :(


On Thursday, November 21, 2019 at 7:48:33 PM UTC, adsapiforumadvisor wrote:
>
> Hi Juan,
>
> Unfortunately, we don't have any examples on how to add it using any 
> language. Just like with other criteria, you will need to set the fields 
> specific to the criteria. For ad schedules, you will need to set fields 
> such as start_hour and end_hour. If you are facing any difficulties, you 
> can share your logs 
> 
>  
> so that I can take a closer look. 
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UJaVr8:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3a6cbfcb-18b7-4d5e-93de-69d5cfe1a933%40googlegroups.com.