Retry Behaviour on ga_service.search_stream() in Python

2024-05-02 Thread 'Marc Mondl' via Google Ads API and AdWords API Forum
Hi,

I have 2 Questions regarding the 
GoogleAdsClient.get_service("GoogleAdsService").search_stream() in python 
and its Retry Behaviour.

1. Is it intended behaviour that the generator function that is returned by 
this function is not wrapped by a Default Retry function? ( It only got 
wrapped by the retry if i set it explicitly with "retry=StreamingRetry()"  
in .search_stream() )

2. If a retry occurs the Retry Docs suggests that the generator function 
starts from the beginning. Is this the case  in .search_stream() and if 
that is the case is it a good idea to empty the container with the already 
collected data in a callable provided to on_error to StreamingRetry?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/d3009549-977a-43e8-8d22-92dbaa6335e2n%40googlegroups.com.


migrating to v14: what replaces v13 GenerateForecastCurveResponse?

2023-11-30 Thread Marc Donis
We are currently using 
com.google.ads.googleads.v13.services.GenerateForecastCurveResponse to 
generate forecast metrics for given keywords.
I see that the new v14 approach is described here 
https://developers.google.com/google-ads/api/docs/keyword-planning/generate-forecast-metrics
 
, but no advice is given here about how to generate the complete bid curve, 
as was possible in v13. Making hundreds of calls to 
KeywordPlanIdeaServiceClient.generateKeywordForecastMetrics, one for each 
bid, would be very time-consuming and quickly exhaust our usage quota.
What is the new way to obtain the complete curve, with one API request?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/96be822c-8f98-452e-b60e-bb6736f090bfn%40googlegroups.com.


Encountering ENABLED_ADVERTISER_BASE_CAMPAIGNS_PER_CUSTOMER Error on Google Ads API

2023-10-31 Thread Marc Amoros
Hello everyone,

I am reaching out for some assistance with an error I've encountered while 
using the Google Ads API. The error message I received is as follows:

"ENABLED_ADVERTISER_BASE_CAMPAIGNS_PER_CUSTOMER: The request would cause a 
limit on the number of allowed resources of this type to be exceeded.."

I have looked through the documentation, but haven't been able to find 
clear information on how to resolve it. It appears to be related to a limit 
being exceeded concerning enabled advertiser base campaigns per customer, 
but I am unsure of the exact cause or how to proceed.

Has anyone else experienced this error, or does anyone have advice on how 
to troubleshoot or resolve this issue? Any insights or suggestions would be 
greatly appreciated.

Thank you in advance for your help!

Best regards,

Marc

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/2f4c226c-7230-458f-bc6f-f44aa7cf08c4n%40googlegroups.com.


Encountering ENABLED_ADVERTISER_BASE_CAMPAIGNS_PER_CUSTOMER Error on Google Ads API

2023-10-31 Thread Marc Amoros
Hello everyone,

I am reaching out for some assistance with an error I've encountered while 
using the Google Ads API. The error message I received is as follows: "The 
request would cause a limit on the number of allowed resources of this type 
to be exceeded. ENABLED_ADVERTISER_BASE_CAMPAIGNS_PER_CUSTOMER."

I have looked through the documentation and searched online, but haven't 
been able to find clear information on how to resolve it. It appears to be 
related to a limit being exceeded concerning enabled advertiser base 
campaigns per customer, but I am unsure of the exact cause or how to 
proceed.

Has anyone else experienced this error, or does anyone have advice on how 
to troubleshoot or resolve this issue? Any insights or suggestions would be 
greatly appreciated.

Thank you in advance for your help!

Best regards,

Marc.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/c00b7544-56eb-4da5-94af-c9da54bff259n%40googlegroups.com.


Cost is zero in hourly report when conversions are zero

2023-09-20 Thread Marc Karam
Hello, I have an issue with only 1 campaign in the hourly report. The cost 
is only showing when there are conversions in this hour, otherwise the 
clicks are positive, but the cost is 0.
When querying the previous day, the cost to conversions make sense, but on 
the same day it is much lower then expected because of this issue. And the 
issue is only for 1 campaign 20503311243

Here is sample request:

[
{
"results": [
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "124",
"conversions": 0,
"costMicros": "0"
},
"segments": {
"hour": 0
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "111",
"conversions": 4,
"costMicros": "1040"
},
"segments": {
"hour": 2
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "11",
"conversions": 0,
"costMicros": "0"
},
"segments": {
"hour": 3
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "47",
"conversions": 0,
"costMicros": "0"
},
"segments": {
"hour": 4
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "96",
"conversions": 1,
"costMicros": "260"
},
"segments": {
"hour": 5
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "107",
"conversions": 0,
"costMicros": "0"
},
"segments": {
"hour": 6
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "136",
"conversions": 4,
"costMicros": "1040"
},
"segments": {
"hour": 7
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "153",
"conversions": 1,
"costMicros": "260"
},
"segments": {
"hour": 8
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "180",
"conversions": 3,
"costMicros": "780"
},
"segments": {
"hour": 9
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "231",
"conversions": 2,
"costMicros": "520"
},
"segments": {
"hour": 10
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"
},
"metrics": {
"clicks": "288",
"conversions": 5,
"costMicros": "1300"
},
"segments": {
"hour": 11
}
},
{
"campaign": {
"resourceName": 
"customers/2021036121/campaigns/20503311243"

Re: creating conversionactions with java googleads.v14

2023-07-20 Thread Marc Donis
The owner of the client library on Github directed me to Google Ads API 
Direct Support, who has now directed me back here.

Can somebody please tell me how to get the snippet code from a newly 
created ConversionAction? Even just the Google Tag ID would do fine.

Here is my code:
final ConversionAction conversionAction = ConversionAction.
newBuilder()
.setName("ConversionAction " + new Date())
.setCategory(ConversionActionCategory.DEFAULT)
.setType(ConversionActionType.WEBPAGE)
.setStatus(ConversionActionStatus.ENABLED)
.setViewThroughLookbackWindowDays(2)
.setValueSettings(ValueSettings.newBuilder()
.setDefaultValue(conversionValue)
.setAlwaysUseDefaultValue(true)
.build())
.build();
final ConversionActionOperation operation = 
ConversionActionOperation.newBuilder()
.setCreate(conversionAction).build();

final MutateConversionActionsResponse response = 
conversionActionServiceClient
.mutateConversionActions(adAccountId, Collections.
singletonList(operation));
final MutateConversionActionResult result = response.
getResultsList().get(0);
final List tagSnippets = reloadedConversionAction.
getTagSnippetsList();



At this point, tagSnippets is an empty List. What am I missing here?

On Thursday, 20 July 2023 at 14:10:45 UTC+2 Google Ads API Forum Advisor 
wrote:

> Hello Marc, 
>
> With regards to ConversionAction.getTagSnippetsList(), for clarification, 
> is this from the client library? If yes, I recommend reaching out to the 
> respective client library owner by filing an issue on the issue tracker on 
> the *Issues* tab of your chosen *client library* 
> <https://developers.google.com/google-ads/api/docs/client-libs> on the 
> github, so that they can provide guidance.
>
> With regards to retrieving and configuring Google Tag ID via API, can you 
> please provide us with an uncropped screenshot of this view in the Google 
> Ads UI? 
> This message is in relation to case "ref:_00D1U1174p._5004Q2n9Sfa:ref"
>
> Thanks,
>   
> [image: Google Logo] 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 
"Google Ads API and AdWords 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/05616402-45d2-42e9-a3bf-d85c0cff3229n%40googlegroups.com.


creating ConversionActions with Java googleads.v14

2023-07-19 Thread Marc Donis
I'm basing my development on this code example 
,
 
but I'm having some trouble creating and configuring ConversionActions.

The docs here 
 
say this:

*Website* and *Phone number clicks* conversions require the event_snippet 
(which should be placed on web pages that indicate a conversion action such 
as a checkout confirmation or lead submission page) and global_site_tag 
(which must be installed on every page of your website). You can retrieve 
both of these attributes with ConversionActionService 
.
 


Unfortunately, the linked ConversionActionService docs make no mention of 
either of these fields. I did find a getTagSnippetsList() method which I 
can call on my newly created ConversionAction, but this returns an empty 
list.

How can I get the Google Tag ID, or the complete snippet code to be 
inserted into the web page?

Another question:
How to configure the conversion URL? The UI provides fields to set the 
match type (e.g., "URL contains") and the URL of the conversion page, but I 
can find no reference to these fields in the docs.

Thanks for any 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 
"Google Ads API and AdWords 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/143a4e80-fc0e-4455-8553-667a3a283a7cn%40googlegroups.com.


Re: generating a report on conversion actions

2023-06-28 Thread &#x27;Marc Card' via Google Ads API and AdWords API Forum
Thank you for the follow-up! 

I've actually resolved the issue, but for posterity I've added noted below. 
To obtain Secondary Conversion Actions *(**conversion_action.primary_for_goal 
= False)*,  `*conversion_action.include_in_conversions_metric` must be 
omitted from the query.  *

*Only Contains Primary Conversion Actions* (*
*conversion_action.primary_for_goal = True)*
** This query will only include primary conversion actions where "Included 
in account-level goals" within the Ads UI is set to True*











*SELECT   customer.id <http://customer.id/>,   conversion_action.id 
<http://conversion_action.id/>,   conversion_action.name 
<http://conversion_action.name/>,   conversion_action.type,   
conversion_action.status,   conversion_action.category,   
conversion_action.include_in_conversions_metric,   
metrics.all_conversions,   metrics.all_conversions_value,   
conversion_action.primary_for_goal *
*FROM conversion_action *
*WHERE *
*  segments.date DURING LAST_30_DAYS*
*Contains Secondary Conversions Actions (*
*conversion_action.primary_for_goal = False)*










*SELECT   customer.id <http://customer.id/>,   conversion_action.id 
<http://conversion_action.id/>,   conversion_action.name 
<http://conversion_action.name/>,   conversion_action.type,   
conversion_action.status,   conversion_action.category,   
metrics.all_conversions,   metrics.all_conversions_value,   
conversion_action.primary_for_goal *
*FROM conversion_action *
*WHERE **  segments.date DURING LAST_30_DAYS*

On Monday, June 26, 2023 at 7:19:42 AM UTC-4 Google Ads API Forum Advisor 
wrote:

> Hello Marc,
>
> Greetings from the Google Ads API Team.
>
> With regards to your concern, can you please provide us with the complete 
> *request* and *response* logs with *request* *ID* generated on your end 
> and an uncropped screenshot of the Google ads UI that shows the data you 
> are trying to obtain so our team can provide precise recommendations?
>
>- *Request - *
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#request*
>  
>
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  
>- *Response -  *
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service#response*
>  
>
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  
>- *Request ID - *
>
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id*
>  
>
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  
>
> You can provide it via Reply privately to the author option. If this 
> option is not available, then send it instead on this email address 
> googleadsa...@google.com
> This message is in relation to case "ref:_00D1U1174p._5004Q2mWyBH:ref"
>
> Thanks,
>   
> [image: Google Logo] 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 
"Google Ads API and AdWords 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/6c8cd90f-3556-4023-a466-98d91bcc60adn%40googlegroups.com.


Generating a Report on Conversion Actions

2023-06-23 Thread &#x27;Marc Card' via Google Ads API and AdWords API Forum
Hello, 

We're currently attempting to use the updated v14 of Google Ads API to pull 
all conversion actions associated with accounts in our MCC to assist in 
identifying accounts that meeting the following conditions. 

   - UA Imported as primary, without GA4 imported.
   - Double counting conversions in the same category (UA & GA4 set to 
   primary).
   - UA Goal set to primary with GA4 Goal set to Secondary

*Key Issue*
When using the GAQL Query below conversion actions that are currently set 
to secondary are being excluded from the the response. 












*SELECT   customer.id,   conversion_action.id,   conversion_action.name,   
conversion_action.type,   conversion_action.status,   
conversion_action.category,   
conversion_action.include_in_conversions_metric,   
metrics.all_conversions,   metrics.all_conversions_value,   
conversion_action.primary_for_goal *
*FROM conversion_action *
*WHERE **  segments.date DURING LAST_30_DAYS*
This query is *only* returning `primary_for_goal` with the value of 'True'. 
We can provide specific examples and CIDs if there is a private way to 
share this information. 

Appreciate the help
Marc

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/46730b79-6f5d-4c2b-8aa7-d7f8c8767e47n%40googlegroups.com.


Ad Customizer Attributes review status

2023-06-21 Thread Marc Salles
Hi there,

I've noticed that ad customizer attributes go through a review period, just 
like assets do.

However, while the api allows for checking the review status of assets, it 
seems to fail to do the same for price extension attributes. 

Am I missing something? Is there a way to get that review status for an ad 
customizer attribute in an automated manner?

Thanks,

Marc

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/c58c4084-1b6b-4202-b0d3-e1b76067ad1fn%40googlegroups.com.


adding youtube videos when creating an app ad in an app campaign

2022-11-29 Thread Marc Schuetze
I'm trying to create new ad groups containing headlines, descriptions and 
youtube videos.

I'm following the tutorial 
at https://developers.google.com/google-ads/api/docs/samples/add-app-campaign

Is there a way to add youtube videos to an app ad?
I've tried the following

ad_group_ad = client.resource.ad_group_ad do |aga|
  aga.status = :ENABLED
  aga.ad_group = ad_group_resource_name
  aga.ad = client.resource.ad do |ad|
ad.app_ad = client.resource.app_ad_info do |info|
  info.youtube_videos << client.resource.youtube_video_asset do 
|youtube_video_asset|
  youtube_video_asset.youtube_video_id = "video_id"
end 
  end
end
end

but I'm getting the error 

*** Google::Protobuf::TypeError Exception: Invalid type 
Google::Ads::GoogleAds::V12::Common::YoutubeVideoAsset to assign to 
submessage field ''.

Is there a way to add videos?

If so, what type does the 
Google::Ads::GoogleAds::V12::Common::AppAdInfo.youtube_videos protobuffer 
accept?


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 
"Google Ads API and AdWords 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/1db13885-b7ef-461d-81a4-0d6ff321029an%40googlegroups.com.


INVALID_STATUS_CHANGE when attempting to setStatus(ManagerLinkStatus.INACTIVE)

2022-09-02 Thread Marc Donis
We are trying to unlink a customer from his manager. The status of the link 
is ACTIVE, but when we attempt to set it to INACTIVE, we get an 
INVALID_STATUS_CHANGE error. The funny thing is that, if we unlink the 
customer manually via the Google Ads UI, then the status is indeed set to 
INACTIVE. 


Here is the code in question:

final CustomerManagerLinkOperation.Builder managerLinkOp = 
CustomerManagerLinkOperation.newBuilder();
managerLinkOp
.getUpdateBuilder()
.setResourceName(
ResourceNames.customerManagerLink(Long.
parseLong(adAccountId),
Long.parseLong(managerId),
managerLinkId))
.setStatus(ManagerLinkStatus.INACTIVE);

managerLinkOp.setUpdateMask(FieldMasks.allSetFieldsOf(
managerLinkOp.getUpdate()));
managerLinkServiceClient = googleAdsCustomerClient
.createCustomerManagerLinkServiceClient();
final MutateCustomerManagerLinkResponse response = 
managerLinkServiceClient.mutateCustomerManagerLink(
adAccountId, Arrays.asList(managerLinkOp.build()));


which produces:

2022-09-02T09:38:44.796043+00:00 app[web.1]: INFO: FAILURE REQUEST DETAIL.
2022-09-02T09:38:44.796044+00:00 app[web.1]: Request
2022-09-02T09:38:44.796044+00:00 app[web.1]: ---
2022-09-02T09:38:44.796046+00:00 app[web.1]: MethodName: 
google.ads.googleads.v11.services.CustomerManagerLinkService/MutateCustomerManagerLink
2022-09-02T09:38:44.796047+00:00 app[web.1]: Endpoint: 
googleads.googleapis.com:443
2022-09-02T09:38:44.796048+00:00 app[web.1]: Headers: 
{developer-token=REDACTED, login-customer-id=2094835947, 
x-goog-api-client=gl-java/1.8.0_345 gccl/19.0.0 gapic/19.0.0 gax/2.6.1 
grpc/1.41.0}
2022-09-02T09:38:44.796049+00:00 app[web.1]: Body: customer_id: "2094835947"
2022-09-02T09:38:44.796049+00:00 app[web.1]: operations {
2022-09-02T09:38:44.796049+00:00 app[web.1]: update {
2022-09-02T09:38:44.796049+00:00 app[web.1]: resource_name: 
"customers/2094835947/customerManagerLinks/5839428813~265418785"
2022-09-02T09:38:44.796050+00:00 app[web.1]: status: INACTIVE
2022-09-02T09:38:44.796050+00:00 app[web.1]: }
2022-09-02T09:38:44.796050+00:00 app[web.1]: update_mask {
2022-09-02T09:38:44.796051+00:00 app[web.1]: paths: "resource_name"
2022-09-02T09:38:44.796051+00:00 app[web.1]: paths: "status"
2022-09-02T09:38:44.796051+00:00 app[web.1]: }
2022-09-02T09:38:44.796051+00:00 app[web.1]: }
2022-09-02T09:38:44.796051+00:00 app[web.1]:
2022-09-02T09:38:44.796052+00:00 app[web.1]:
2022-09-02T09:38:44.796052+00:00 app[web.1]: Response
2022-09-02T09:38:44.796052+00:00 app[web.1]: 
2022-09-02T09:38:44.796059+00:00 app[web.1]: Headers: 
Metadata(content-type=application/grpc,request-id=OwJ8Ou_ftfHlOQKlMe1O6Q,date=Fri,
 
02 Sep 2022 09:38:44 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; 
ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43")
2022-09-02T09:38:44.796059+00:00 app[web.1]: Body: null
2022-09-02T09:38:44.796059+00:00 app[web.1]: Failure message: errors {
2022-09-02T09:38:44.796059+00:00 app[web.1]: error_code {
2022-09-02T09:38:44.796060+00:00 app[web.1]: manager_link_error: 
INVALID_STATUS_CHANGE
2022-09-02T09:38:44.796060+00:00 app[web.1]: }
2022-09-02T09:38:44.796061+00:00 app[web.1]: message: "The changed status 
for mutate link is invalid."
2022-09-02T09:38:44.796061+00:00 app[web.1]: location {
2022-09-02T09:38:44.796061+00:00 app[web.1]: field_path_elements {
2022-09-02T09:38:44.796061+00:00 app[web.1]: field_name: "operations"
2022-09-02T09:38:44.796062+00:00 app[web.1]: index: 0
2022-09-02T09:38:44.796062+00:00 app[web.1]: }
2022-09-02T09:38:44.796062+00:00 app[web.1]: }
2022-09-02T09:38:44.796062+00:00 app[web.1]: }
2022-09-02T09:38:44.796063+00:00 app[web.1]: request_id: 
"OwJ8Ou_ftfHlOQKlMe1O6Q"
2022-09-02T09:38:44.796063+00:00 app[web.1]:
2022-09-02T09:38:44.796063+00:00 app[web.1]: Status: 
Status{code=INVALID_ARGUMENT, description=Request contains an invalid 
argument., cause=null}.
2022-09-02T09:38:44.805715+00:00 app[web.1]: 
com.google.ads.googleads.v11.errors.GoogleAdsException: errors {
2022-09-02T09:38:44.805717+00:00 app[web.1]: error_code {
2022-09-02T09:38:44.805718+00:00 app[web.1]: manager_link_error: 
INVALID_STATUS_CHANGE
2022-09-02T09:38:44.805718+00:00 app[web.1]: }
2022-09-02T09:38:44.805719+00:00 app[web.1]: message: "The changed status 
for mutate link is invalid."
2022-09-02T09:38:44.805719+00:00 app[web.1]: location {
2022-09-02T09:38:44.805720+00:00 app[web.1]: field_path_elements {
2022-09-02T09:38:44.805720+00:00 app[web.1]: field_name: "operations"
2022-09-02T09:38:44.805720+00:00 app[web.1]: index: 0
2022-09-02T09:38:44.805721+00:00 app[web.1]: }
2022-09-02T09:38:44.805721+00:00 app[web.1]: }
2022-09-

Re: How to detect RESOURCE_TEMPORARILY_EXHAUSTED error type

2022-07-21 Thread Marc Donis
Thank you! This appears to be exactly what I need:

for (final GoogleAdsError googleAdsError : gae.getGoogleAdsFailure
().getErrorsList()) {
final QuotaError quotaError = googleAdsError.getErrorCode().
getQuotaError();
if (quotaError == QuotaError.RESOURCE_EXHAUSTED
|| quotaError == QuotaError.
RESOURCE_TEMPORARILY_EXHAUSTED) {

}
}


On Thursday, 21 July 2022 at 09:13:15 UTC+2 adsapi wrote:

> Hi Marc,
>
> Thank you for the reply.
>
> You may check this documentation 
> <https://developers.google.com/google-ads/api/docs/samples/handle-rate-exceeded-error?hl=en>
>  
> as it provides sample code  for  Handle Rate Exceeded Error. Moving 
> forward,  could you confirm  what client library code example you are 
> looking for to find this 
> QuotaErrorEnum.QuotaError.RESOURCE_TEMPORARILY_EXHAUSTED value? You may 
> check our supported client library here 
> <https://developers.google.com/google-ads/api/docs/client-libs> . Also 
> note that you can browse specific client library code for getting enums.
>
> Best regards,
> [image: Google Logo] 
> Heidi 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bm0wl: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 
"Google Ads API and AdWords 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/3857824f-166e-4875-ac60-5423e6770fc6n%40googlegroups.com.


Re: How to detect RESOURCE_TEMPORARILY_EXHAUSTED error type

2022-07-20 Thread Marc Donis
Thanks, but that didn't really answer my question.

Can you please provide a code example showing where to find this 
QuotaErrorEnum.QuotaError.RESOURCE_TEMPORARILY_EXHAUSTED 
value? I don't see where this enum is actually used.



On Wednesday, 20 July 2022 at 18:53:04 UTC+2 adsapi wrote:

> Hi Marc,
>
> Thank you for reaching out to the Google Ads API support team.
>
> Kindly note that the RESOURCE_EXHAUSTED 
> <https://developers.google.com/google-ads/api/docs/best-practices/common-errors#resource_exhausted>
>  error 
> generally occurs when you are sending too many requests in a short period 
> of time. The server throws this error once it detects that your request has 
> exceeded the system frequency limit. I would recommend setting up short 
> delays between requests or combine more operations in fewer requests.
>
> Please refer to the Best practices guide 
> <https://developers.google.com/google-ads/api/docs/best-practices/overview#optimization>
>  to 
> optimize the efficiency and performance. Also, this may occur if you have 
> already exceeded the daily limit of 15,000 API operations per day. You may 
> refer to this documentation 
> <https://developers.google.com/google-ads/api/docs/best-practices/quotas?hl=en>
>  for 
> the quota you need to consider daily when performing requests using the API.
>
> It says that the basic access level allows the developer token to execute 
> up to 15,000 operational requests per day and 1,000 get operations per day 
> only. However, we would request that you provide the complete request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  and response 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>  logs, 
> with the request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>,
>  
> generated for the RESOURCE_EXHAUSTED error in order to check further. You 
> can enable logging, which you may do so by navigating to the Client 
> libraries > Your client library (ex. Java) > Logging documentation, which 
> you can access from this link 
> <https://developers.google.com/google-ads/api/docs/client-libs?hl=en>. 
> Please reply via privately author option. Let me know if you have any 
> questions.
>
> Thanks,
> [image: Google Logo] 
> Nirmitabahen Gaurav 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2bm0wl: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 
"Google Ads API and AdWords 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/4aa938f8-010e-4afd-bff8-60ab261c0fb1n%40googlegroups.com.


How to detect RESOURCE_TEMPORARILY_EXHAUSTED error type

2022-07-20 Thread Marc Donis
We would like to know when a QuotaError has the type 
RESOURCE_TEMPORARILY_EXHAUSTED. 

Here is the code we have so far:


} catch (GoogleAdsException gae) {
for (final GoogleAdsError err : gae.getGoogleAdsFailure().
getErrorsList()) {
if (err.getDetails().hasQuotaErrorDetails()) {
// no idea how to check for this type:
//   
QuotaErrorEnum.QuotaError.RESOURCE_TEMPORARILY_EXHAUSTED;
System.out.println(
"GoogleAdsException has QuotaErrorDetails. assuming 
RESOURCE_TEMPORARILY_EXHAUSTED and trying again...");
}
}
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/7e3fcf93-d6de-4ea0-b5e1-5b7870ff8ff8n%40googlegroups.com.


Error uploading Conversion from Manager Account: This customer does not have an import conversion action that matches the conversion action provided

2022-07-06 Thread Marc Karam
Hello,

We're facing trouble when trying to upload a conversion using our Manager 
Account credential to a newly created account managed under this account 
where the campaign and the conversion actions are created.

Here are the request and response logs created from the test we are doing:


*Request---*
{ "customerId": "2021036121", "conversions": [ { "gclid": 
"EAIaIQobChMI-ZrNndDi-AIVK0wVCB3P8AjSEAEYASAAEgIFjPD_BwE", 
"conversionAction": "customers/2021036121/conversionActions/927888394", 
"conversionDateTime": "2022-07-06 05:30:00+03:00", "conversionValue": 1, 
"currencyCode": "USD" } ], "partialFailure": true }


*Response*
Headers: {
  "content-disposition": "attachment",
  "request-id": "xV6vwRc7ReRiqXl8OaCz8w",
  "date": "Wed, 06 Jul 2022 12:02:13 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; 
ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; 
ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; 
v=\"46,43\""
}

{ "partialFailureError": { "code": 3, "message": "This customer does not 
have an import conversion action that matches the conversion action 
provided., at conversions[0].conversion_action", "details": [ { "@type": 
"type.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure", 
"@value": 
"CscBCgP4BgkSZFRoaXMgY3VzdG9tZXIgZG9lcyBub3QgaGF2ZSBhbiBpbXBvcnQgY29udmVyc2lvbiBhY3Rpb24gdGhhdCBtYXRjaGVzIHRoZSBjb252ZXJzaW9uIGFjdGlvbiBwcm92aWRlZC4aMiowY3VzdG9tZXJzLzIwMjEwMzYxMjEvY29udmVyc2lvbkFjdGlvbnMvOTI3ODg4Mzk0IiYSDwoLY29udmVyc2lvbnMYABITChFjb252ZXJzaW9uX2FjdGlvbg=="
 
} ] }, "results": [ { } ] }

Partial failures: { "errors": [ { "errorCode": { "conversionUploadError": 
"INVALID_CONVERSION_ACTION" }, "message": "This customer does not have an 
import conversion action that matches the conversion action provided.", 
"trigger": { "stringValue": 
"customers/2021036121/conversionActions/927888394" }, "location": { 
"fieldPathElements": [ { "fieldName": "conversions", "index": 0 }, { 
"fieldName": "conversion_action" } ] } } ] }

Please help,

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 
"Google Ads API and AdWords 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/51417d25-f89e-4b1f-a9f6-f059f16f85aen%40googlegroups.com.


Re: What replaces campaignServiceClient.getCampaign(campaignResourceName) and adGroupServiceClient.getAdGroup(adGroupResourceName)?

2022-06-30 Thread Marc Donis
Hi Yasar,

Thanks for that very prompt reply!
I did actually manage to sort this out, thusly:

protected static Campaign getCampaign(String resourceName) {
final GoogleAdsServiceClient googleAdsServiceClient = 
googleAdsClient.createGoogleAdsServiceClient();
try {
final String query = "SELECT campaign.id, 
campaign.resource_name FROM campaign WHERE campaign.resource_name='"
+ resourceName + "'";
final SearchGoogleAdsRequest request = SearchGoogleAdsRequest.
newBuilder(). //
setCustomerId(customerId). //
setPageSize(8). //
setQuery(query). //
build();
final SearchPagedResponse searchPagedResponse = 
googleAdsServiceClient.search(request);
Campaign campaign = null;
for (final GoogleAdsRow googleAdsRow : searchPagedResponse.
iterateAll()) {
if (campaign != null) {
throw new RuntimeException("more than one result 
returned for query : " + query);
}
campaign = googleAdsRow.getCampaign();
}
return campaign;
} finally {
close(googleAdsServiceClient);
}
}


and similar for getAdGroup.

This is, of course, so much simpler than the old way of doing things.

Anyway, thanks again for the advice!


On Thursday, 30 June 2022 at 15:28:18 UTC+2 adsapi wrote:

> Hi Marc,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> Upon checking your method, it appears that you’re trying to use GET 
> methods. However In the Google Ads API V10 version, GET methods have been 
> removed from all services. Any service that exclusively had a get method 
> has been removed as well. The primary way to *retrieve objects* 
> <https://developers.google.com/google-ads/api/docs/concepts/retrieving-objects>
>  
> continues to be using GoogleAdsService's search and searchStream methods. 
> For a comprehensive overview of changes based from v9 to v10, you may refer 
> to this *page* 
> <https://developers.google.com/google-ads/api/docs/version-migration#v9-v10>, 
> and inspecting objects with get (Deprecated) is deprecated since the usage 
> of "get" in this API was only intended for exploratory purposes and not 
> actually retrieving data as mentioned *here* 
> <https://developers.google.com/google-ads/api/docs/concepts/changing-objects#inspecting_objects_with_get_deprecated>
> . 
>
> Let us know if you have any further questions.
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2cErFS: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 
"Google Ads API and AdWords 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/b6bd2559-68db-44a4-9fb8-cc25a43a1980n%40googlegroups.com.


What replaces campaignServiceClient.getCampaign(campaignResourceName) and adGroupServiceClient.getAdGroup(adGroupResourceName)?

2022-06-30 Thread Marc Donis
We are upgrading from com.google.ads.googleads.v8 to v11, and our code no 
longer compiles due to these two methods being removed:

final Campaign campaign = campaignServiceClient.getCampaign(
campaignResourceName);
final AdGroup adGroup = adGroupServiceClient.getAdGroup(
adGroupResourceName);

What is the new v11 way of getting campaigns and ad groups by resource name?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/b8d2457f-92e9-4b03-a9bc-87d1fde519e2n%40googlegroups.com.


Re: Bidding Strategy Field is missing

2022-03-15 Thread Marc Kamphuis
Is this solved yet?

Using the following query:

SELECT ad_group_criterion.keyword.text, bidding_strategy.type FROM 
keyword_view

returns no   bidding_strategy.type

Result row:

{"adGroupCriterion":{"resourceName":"customers/3494982994/adGroupCriteria/252561751~11616591","keyword":{"text":"baby"}},"keywordView":{"resourceName":"customers/3494982994/keywordViews/252561751~11616591"}}

Op dinsdag 8 februari 2022 om 19:27:07 UTC+1 schreef adsapi:

> Hi Ivan,
>
> The Bidding Strategy resource should be an available attributed resource 
> in your query. Can you please provide us with your complete request and 
> response so that we can have a look?
>
> Thanks,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W51z5: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 
"Google Ads API and AdWords 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/e163f973-3956-4bc6-9202-08bb428e5578n%40googlegroups.com.


Can't upload wbraid conversions

2022-02-21 Thread Marc Karam
We have tried to upload wbraid conversions with google Ads api, and we have 
set the Wbraid parameter and left out Gclid, but on UploadClickConversions 
we receive a Partial Failure , as follow in 
response.PartialFailureError.Message :

"Customer is not allowlisted for accessing this feature., at 
conversions[0].wbraid"

How will we be able to use this feature? Does it require anything special 
for our account?

Thanks,
Mark

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/00d1d7a6-c255-421b-a587-732d1babfd09n%40googlegroups.com.


Decimals in Campaign Conversions

2021-12-16 Thread Marc Karam
Hello,

Since Dec 10, 2021 we started seeing decimals in conversions field on our 
Dashboard. 
We want to know what this is related to in the Ads or is it the way we are 
uploading the conversions? Note that we do the offline conversion upload 
using the Google Ads api. 
Here are some campaign Ids that are showing decimal value conversions since 
Dec 10:
13568905435
15416992256

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6bf6d5c8-6da4-498b-b3be-676977501294n%40googlegroups.com.


Error while trying to query asset_group_product_group_view

2021-11-29 Thread Marc Karam
I got the below error when trying to query the 
asset_group_product_group_view although I copied and pasted the query from 
adwords Ads Query Builder :

{{ "errors": [ { "errorCode": { "queryError": 
"PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE" }, "message": "Resource type 
asset_group_product_group_view is not supported for Search and 
SearchStream." } ], "requestId": "eufneRyzgE5fY_bFlcxDUQ" }}
Errors: {[ { "errorCode": { "queryError": 
"PROHIBITED_RESOURCE_TYPE_IN_FROM_CLAUSE" }, "message": "Resource type 
asset_group_product_group_view is not supported for Search and 
SearchStream." } ]}

The query text:

SELECT metrics.impressions, metrics.clicks, metrics.cost_micros, 
asset_group.campaign, asset_group.id, asset_group.name, 
asset_group.resource_name, asset_group_product_group_view.resource_name 
FROM asset_group_product_group_view WHERE segments.date = '2021-11-29'

the link to the query builder page:
https://developers.google.com/google-ads/api/fields/v9/asset_group_product_group_view_query_builder

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f539105d-fe26-43ab-b3ff-8cdd15cfdad8n%40googlegroups.com.


Re: Keyword ID field causes discrepancy between results from AdWords and Google Ads for AD_PERFORMANCE_REPORT

2019-12-11 Thread Marc Potvin
Hello Nadine,

Yes, the results seem to be the same now.

Thank you very much for your help!
Marc

Le mercredi 11 décembre 2019 12:14:40 UTC-5, adsapiforumadvisor a écrit :
>
> Hello Marc,
>
> I'm so sorry for not getting back to you sooner. Thank you for pinging 
> this thread. It looks like this may have been recently fixed. There was an 
> issue where the API may filter out deleted criteria. Can you please give 
> this a try to see if it's now working as expected?
>
> Thanks,
> Nadine, Google Ads API Team
>
> ref:_00D1U1174p._5001UHEPc7: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/c99e698c-389d-486e-b86b-5921459aca2f%40googlegroups.com.


Re: Keyword ID field causes discrepancy between results from AdWords and Google Ads for AD_PERFORMANCE_REPORT

2019-12-10 Thread Marc Potvin
Hello,

I was wondering if there were any updates on this issue. I got a very 
promising response from Nadine Sundquist in September but nothing since. 
Here is what she wrote to me:

>  

> *This took me forever to figure out because it's so nuanced what has 
> happened. You probably notice that when you remove the segment in the 
> select cause for keyword, the data all adds up. I figured out why this is 
> happening. You segmented by keyword. Some keywords come back while others 
> don't. We know that all the keywords have impressions. However, the ones 
> that do not come back have something in common; they are now removed 
> keywords. So, the query is not returning keywords that are now removed even 
> though on that day they had impressions.*


> *Here are the next steps I'll take on this one. I've filed an issue with 
> our query geniuses to ask if this is expected behavior. It seems odd, but I 
> have a feeling I know why this may be happening. As you've seen, in the UI, 
> there's no view like this where you can have the ads and the keywords 
> nicely together. The UI doesn't have to account for that; you either see 
> keywords with ad groups and campaigns or you see ads. I don't currently 
> know of a workaround. I'll keep an eye on that internal issue to figure out 
> if something can be done. I want to set expectations here that something as 
> complicated as this may take a bit of time to figure out. I'll get back to 
> you when I hear more. I'm really happy we have a 'why'; now we need to 
> figure out the 'how' for how we're going to move forward.*

 

>
>
> *Best,Nadine Sundquist, Google Ads API Teamref:_00D1U1174p._5001UHEPc7:ref*


I understand that this is a complicated one but I need to provide updates 
on this so any information would be helpful.

Thanks,
Marc


Le jeudi 22 août 2019 16:54:41 UTC-4, adsapiforumadvisor a écrit :
>
> Hi Marc, 
>
> Could you please share the report queries that you are using for 
> generating the AdWords API and Google Ads API reports along with the client 
> customer Id, using Reply privately to author option?
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UHEPc7: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/28a17726-20eb-4e36-a72c-06d04aea00de%40googlegroups.com.


Is it possible to download bill from Google Ads in API?

2019-09-24 Thread marc vidal
Hello,

I would like to know if an API is available to download my google ads bills 
generated by an ad?

Regards,

Marc

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a57c9953-3df1-468d-be16-fda579936b3c%40googlegroups.com.


Keyword ID field causes discrepancy between results from AdWords and Google Ads for AD_PERFORMANCE_REPORT

2019-08-22 Thread Marc Potvin
Hello,

I'm trying to migrate the Ad Performance Report to the Google Ads API but 
I've noticed that when I add the Keyword ID (*CriterionId* in AdWords and 
*segments.keyword.ad_group_criterion* in Google Ads), I tend to get back a 
different number of rows. 

The pattern seems to be that AdWords will sometimes return more rows and 
Google Ads will return fewer (sometimes none). Is there a reason for this 
that I'm missing? I'm afraid this might effect our aggregated statistics.

Thanks for your help!

Marc

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/74a42f42-2164-4c61-8c09-c79da57ae798%40googlegroups.com.


DNS resolution failed

2019-06-20 Thread Marc Selman
It looks as though API calls from one of our servers is suddenly always 
returning a specific exception:

Google.Ads.GoogleAds.V1.Errors.GoogleAdsException: 
Status(StatusCode=Unavailable, Detail="DNS resolution failed")

When I run the same API request from my machine it works fine.
Is our server suddenly blocked or something?

Best regards,
Marc Selman

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2eb8deb9-4176-4d5d-9f67-6bb72a834076%40googlegroups.com.


Re: Manage ServiceLinks using Google Ads API

2019-06-17 Thread Marc Selman
Hi Anash,

Have you heard anything about this issue yet?

Thanks,
Marc

Op donderdag 6 juni 2019 22:38:40 UTC+2 schreef adsapiforumadvisor:
>
> Hi Marc,
>
> I tried looking up the logs, but it doesn't show any errors. I wonder if 
> the server is not logging some of the error traces. I'll ask the team to 
> investigate.
>
> Cheers
> Anash
>
> ref:_00D1U1174p._5001UBlbAD: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/3ab3f851-1d54-4087-b65f-b82bc2870673%40googlegroups.com.


Re: Manage ServiceLinks using Google Ads API

2019-06-05 Thread Marc Selman
Great!
I missed that there's a separate service for it.

I'm getting an internal server error though:

GoogleAds.DetailedRequestLogs Information: 1 : [2019-06-05 14:30:50Z] - 
---BEGIN API CALL---

Request
---

Method Name: 
/google.ads.googleads.v1.services.MerchantCenterLinkService/ListMerchantCenterLinks
Host: https://googleads.googleapis.com
Headers: {
  "x-goog-api-client": "gl-dotnet/ gccl/2.1.0 gapic/2.1.0 gax/2.7.0 
grpc/1.20.1",
  "developer-token": "REDACTED"
}

{ "customerId": "7975472730" }

Response

Headers: {
  "request-id": "KHZFH5_eF-hA6LUnEmrGXw",
  "date": "Wed, 05 Jun 2019 14:30:52 GMT",
  "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
}

Fault: Grpc.Core.RpcException: Status(StatusCode=Internal, Detail="Internal 
error encountered.")
END API CALL

I get the same error for all customers I've tried.
Any ideas?

Op woensdag 5 juni 2019 15:53:52 UTC+2 schreef adsapiforumadvisor:
>
> Hi Marc, 
>
> You will be able to use the MerchantCenterLinkService 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#merchantcenterlinkservice>
>  to 
> manage the links between the Google Ads and Merchant Center. If your 
> concern is different, could you please elaborate your use case?
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UBlbAD: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/df44e5b6-ebe4-4124-a8d5-440315660a77%40googlegroups.com.


Re: Manage ServiceLinks using Google Ads API

2019-06-05 Thread Marc Selman
Hi Luis,

It's now six months later. Do you have any idea when the methods will be 
available in the Ads API?
I have not read anything about it on the blog.

Thanks,
Marc

Op vrijdag 21 december 2018 04:07:01 UTC+1 schreef Luis Xander Talag 
(AdWords API Team):
>
> Hi Marc,
>
> Unfortunately the getSeviceLinks() 
> <https://developers.google.com/adwords/api/docs/reference/v201809/CustomerService#getservicelinks>
>  and mutateServiceLinks() 
> <https://developers.google.com/adwords/api/docs/reference/v201809/CustomerService#mutateservicelinks>
>  method 
> under the CustomerService 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#customerservice>
>  of 
> the Google Ads API Beta is currently not supported yet and was only 
> available in the AdWords API for the meantime. I could not tell on when 
> this feature will be available in Google Ads API. However, you may follow 
> our blog <https://ads-developers.googleblog.com/search/label/adwords_api> for 
> any updates on this feature.
>
> Thanks and regards,
> Luis
> Google Ads API Team
>
> On Friday, December 21, 2018 at 7:30:36 AM UTC+8, Marc Selman wrote:
>>
>> I'm using the latest Google Ads API v.07.
>> In the CustomerService I'm missing the getServiceLinks() and 
>> mutateServiceLinks() methods.
>> Are they planned in a future release or are they already available under 
>> a different method?
>>
>> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a486a420-8248-4187-b188-7f1c1c4a4592%40googlegroups.com.


Re: ListAccessibleCustomers fails for one specific account

2019-05-20 Thread Marc Selman
Hi Sai,

The problem is that I am getting the error on the 
ListAccessibleCustomers API call. So I'm not getting any results, just the 
error.

Op vrijdag 17 mei 2019 19:40:35 UTC+2 schreef adsapiforumadvisor:
>
> Hello Marc,
>
> I see that the user has access to 3 accounts, out of which 2 are still in 
> draft. So the result might contain only 1 account for 
> ListAccessibleCustomers API call. If you see any scenario where the draft 
> account is also resulting, please share that user email address using reply 
> privately to the author option to investigate further.
>
> Regards,
> Sai Teja, Google Ads API Team
>
> ref:_00D1U1174p._5001UApuJe: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.
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/86d4118c-d9e9-4cda-bc2c-d7087063531f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ListAccessibleCustomers fails for one specific account

2019-05-17 Thread Marc Selman
Hi Sai,

I am trying to retrieve a list of accessible customers of a Google account.
In the documentation 
https://developers.google.com/google-ads/api/docs/account-management/listing-accounts
 it 
reads:

Listing accessible customers is one of the few requests in the Google Ads 
> API that does not require you to specify a customer ID in the request, and 
> will ignore any supplied login-customer-id.
>

Our customer has connected his Google account using the OAuth flow to give 
access to his Google Ads environment.
The ListAccessibleCustomers call should then return all the accessible 
Google Ads account with the customerId etc.

The fact that one of those accounts (8770719274) is not yet setup should 
not matter.
His Google account has a completely setup Google Ads account (8305248323) 
that should be returned with the ListAccessibleCustomers method.

We have multiple other Google accounts connected this way, some of which 
also have some unfinished Google Ads accounts with no such problems.


Op donderdag 16 mei 2019 20:38:10 UTC+2 schreef googleadsapi-forumadvisor:
>
> Hello Marc,
>
> I am Anthony's team member, responding on this thread as he is not 
> available. The error "the customer is not enabled" means that the account 
> is not yet ready. I see that the account:8770719274 is still in draft, they 
> yet to complete the process.
>
> 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 
> <https://support.google.com/google-ads/contact/survey_transactional?caseid=8-126526847&hl=en&ctx=1>
>
> 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/ad5173b3-c5c8-49e3-83af-577f978e25f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: ListAccessibleCustomers fails for one specific account

2019-05-16 Thread Marc Selman
Hi Anthony,

The customer has finished setting up his account but now I still receive an 
error:

{ "errors": [ { "errorCode": { "authorizationError": "CUSTOMER_NOT_ENABLED" 
}, "message": "The customer can't be used because it isn't enabled." } ] }

What does "the customer is not enabled" mean?
And how can he or we fix it?

Best regards

Op donderdag 9 mei 2019 19:41:46 UTC+2 schreef googleadsapi-forumadvisor:
>
> Hi Marc,
>
> Your account is in DRAFT. You can't call the API against an account that 
> is not set up. Once you finishing setting it up, you should be able to make 
> API calls.
>
> 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 05/09/19 06:47:40 marc@gmail.com  wrote:
>
> I am trying to retrieve a list of customers for a specific google account 
> but the request throws an exception.
>
> Failure:
> { "errors": [ { "errorCode": { "authenticationError": 
> "AUTHENTICATION_ERROR" }, "message": "Authentication of the request 
> failed." } ] }
>
> Message:
> Status(StatusCode=Unauthenticated, Detail="Request is missing required 
> authentication credential. Expected OAuth 2 access token, login cookie or 
> other valid authentication credential. See 
> https://developers.google.com/identity/sign-in/web/devconsole-project.";)
>
> RequestId: 4c2d61SBEvXfIxwb123Wyw
>
> For other google accounts it works without problems.
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/d99a96d3-ce0e-4780-b91e-ca8fc751a7ad%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/adwords-api/d99a96d3-ce0e-4780-b91e-ca8fc751a7ad%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/2024cf9c-3db3-4e74-bcc2-bc3ef7da0364%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Administrative owner

2019-05-10 Thread Marc Selman
Hi Sai,

Yes, we already do this but I was talking about the "Administrative owner" 
setting which can be found under "Tools -> Account access -> Managers".
Our manager account is linked there so we can perform campaign operations. 
But some of our customers want us to help them with setting up Analytics 
and conversion tracking etc and for that we need "Administrative owner" 
rights.
We now contact our customers to enable that setting for our manager account 
but I was wondering if that could be done with an extra OAuth scope and/or 
API call.

Op donderdag 9 mei 2019 22:18:52 UTC+2 schreef googleadsapi-forumadvisor:
>
> Hello Marc,
>
> Linking a client account to the manager account is possible. After 
> linking, the manager account will be having complete rights over the linked 
> client account to perform operations. The Admin user of the manager account 
> will be able to make API calls to the client account with his OAuth 
> credentials. Also, In the API call header you have to specify the 
> LogIn-client-customer as the manager id and the client-customer-id as the 
> actual linked account to which you want to make API calls. 
>
> You could use CustomerClientLinkService 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.CustomerClientLinkService>
>  to 
> expand the invitation from the manager account and 
> CustomerManagerLinkService 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.services#google.ads.googleads.v1.services.CustomerManagerLinkService>
>  to 
> accept that link from the client side. Please give it a try and 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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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 
> <https://support.google.com/google-ads/contact/survey_transactional?caseid=1-898526257&hl=en&ctx=1>
>
> 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 05/09/19 10:13:20 marc@gmail.com  wrote:
>
> Is it possible to link a customer account to a manager account and set the 
> manager account as administrative owner using the Google Ads API?
> By default the manager account will not have administrative owner rights, 
> but some of our customers would like this so our support team can perform 
> some technical stuff for our customers which they can't or don't want to do 
> themselves.
> Is there maybe an extra OAuth scope the user has to agree to?
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/aa9026e4-49f9-4262-bd23-1d0099457ed6%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/adwords-api/aa9026e4-49f9-4262-bd23-1d0099457ed6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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

Administrative owner

2019-05-09 Thread Marc Selman
Is it possible to link a customer account to a manager account and set the 
manager account as administrative owner using the Google Ads API?
By default the manager account will not have administrative owner rights, 
but some of our customers would like this so our support team can perform 
some technical stuff for our customers which they can't or don't want to do 
themselves.
Is there maybe an extra OAuth scope the user has to agree to?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aa9026e4-49f9-4262-bd23-1d0099457ed6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ListAccessibleCustomers fails for one specific account

2019-05-09 Thread Marc Selman
I am trying to retrieve a list of customers for a specific google account 
but the request throws an exception.

Failure:
{ "errors": [ { "errorCode": { "authenticationError": 
"AUTHENTICATION_ERROR" }, "message": "Authentication of the request 
failed." } ] }

Message:
Status(StatusCode=Unauthenticated, Detail="Request is missing required 
authentication credential. Expected OAuth 2 access token, login cookie or 
other valid authentication credential. See 
https://developers.google.com/identity/sign-in/web/devconsole-project.";)

RequestId: 4c2d61SBEvXfIxwb123Wyw

For other google accounts it works without problems.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d99a96d3-ce0e-4780-b91e-ca8fc751a7ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to list all accounts when multiple MCC accounts are under a single account.

2019-04-01 Thread Marc Selman
Hi Charles,

I've built this functionality as wel. There's no way to retrieve all 
information in one request.
You'll need to loop through each customer and check if there are customers 
below that one etc.

1) Query all customers
2) Loop through each customer (here you can also store if the customer is a 
manager or a test account)

3) Query all customer-client-links for the customer (check for the active 
status)
4) Loop through all the links (here you can also store if the link 
represents a hidden customer)
5) Query the customer resource using the id in the link (here you can also 
store if the customer is a manager or a test account)
6) Back to step 3 for the current customer

So the part from step 3 will be a recursive function.

I hope this helps.

Best regards,
Marc Selman

Op maandag 1 april 2019 12:53:11 UTC+2 schreef Charles Bannister:
>
> Hi, 
>
> When I run the python example code "Get the account hierarchy under the 
> current account" 
> <https://developers.google.com/adwords/api/docs/samples/python/account-management#get-the-account-hierarchy-under-the-current-account>
>  it 
> works for ordinary MCC accounts. Great. 
>
> However, I have an account which, when I log in, I first choose which 
> linked MCC account to access. 
>
> In that account, no cigar. It lists some accounts but not all. 
>
> I imagine I need to go deeper, and that has something to do with the 
> "links" part of what's been returned but I can't figure it out.
>
> Any help would be appreciated. 
>
> 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/fdd5c37d-4672-4654-a81e-e2d1859ea89e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Acount access - Managers

2019-04-01 Thread Marc Selman
Hi,

In the Google Ads UI, when I go to Tools -> Account access -> Managers, I 
can see a list of all the manager accounts who have access to the selected 
Ads account.
I can see the descriptive name, the id and the date the accounts were 
linked.

Can this information also be retrieved using the API?

I tried querying the account_manager_link resource and that gives me the 
IDs but I found no way to retrieve the descriptive name and the date.
When I try to retrieve the manager's descriptive name by querying the 
customer resource but that just gives me a not allowed error because the 
selected Ads account does not have permission to read the manager account.

Since the data is shown in the Google Ads UI I supposed it would also be 
possible using the API.

Any idea?

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/d1728c87-45f7-4402-9cfd-d850a2825575%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Disable link accounts request

2019-04-01 Thread Marc Selman
Hi Sai,

The account linking invitation email can be disabled.
We've been to the API event in London and the developers explained this to 
us themselves.
The confirmation email cannot be disabled, but the invitation email can.

Best regards,
Marc Selman

Op dinsdag 26 maart 2019 21:26:34 UTC+1 schreef googleadsapi-forumadvisor:
>
> Hello Marc,
>
> Even though you are performing account linking operation via API, when an 
> invitation is send to the client account via API they will receive email 
> notification. It is a product level limitation and cannot be disabled. 
> Please let me know if you have any other questions.
>
> Regards,
> Sai Teja, 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 
> <https://support.google.com/google-ads/contact/survey_transactional?caseid=7-605626015&hl=en&ctx=1>
>
> 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/052d317a-2f4f-4f44-8a2e-68ef9c99b7b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Disable link accounts request

2019-03-26 Thread Marc Selman
Hi,

Could you please disable the request account link email for our manager 
account: EasyAds Google Ads (687-900-7142).
We process all the account linking through the API so the customer does not 
need to receive the request email.

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/27da9709-2d86-4c6f-9544-bcf955419318%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retrieving a tree of all customers

2019-01-10 Thread Marc Selman
Hi Teja,

I'm using a refreshtoken of a Google account that has access to multiple 
Google Ads accounts.
So first I need to get the available customers for that Google account. And 
then for each account I need to query for sub-accounts.
If that account is a manager account I can retrieve the sub-accounts from 
customer_client or customer_client_link.

When I use the query you provided the first two requested properties 
'customer.id' and 'customer.descriptive_name' are always the same; the id 
and name of the manager account itself.
So I still need to query every subaccount id for the descriptive_name. And 
if that subaccount is also a manager account I need to do the same for his 
subaccounts etc.

Marc

Op woensdag 9 januari 2019 21:24:50 UTC+1 schreef Teja Makani:
>
> Hello Marc,
>
> It is expected to result out the details of single account when the CID 
> passed in the program is of non manager account. Just like AdWords API,  
> you could sent the Manager's client customer Id to to get the entire 
> hierarchy. Please give it a try and please elaborate the scenario trying if 
> the problem persists. You could also try the below CURL command from the 
> terminal for the same.
>
> curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN"  -H 
> "developer-token: DEVELOPER_TOKEN"  -H "Content-Type: 
> application/json"  
> https://googleads.googleapis.com/v0/customers/YOUR_MCC_ID/googleAds:search  
> --data '{query: "SELECT customer.id, customer.descriptive_name, 
> customer_client.resource_name, customer_client.client_customer, 
> customer_client.level, customer_client.hidden FROM customer_client"}'
>
> Regards,
> Sai Teja, AdWords API Team
>
>
> On Thursday, January 3, 2019 at 6:34:16 AM UTC-5, Marc Selman wrote:
>>
>> I'm trying to retrieve a complete nested tree of all customers (and if 
>> it's a manager account, the customers below that etc.)
>> To do this I'm using the new Google Ads API (v0.7) to retrieve the 
>> CustomerClientLinks recursively and for every link I'm using GetCustomer to 
>> retrieve the customer information such as the DescriptiveName.
>> But for a simple tree with two levels and a total of 37 customers this 
>> takes around a minute.
>>
>> The API methods seem rather slow. Is that normal?
>>
>> Also, I need to retrieve the links and the customerdata for every found 
>> customerId to check if they have subaccounts and to get the name.
>> Because of this I need to perform a lot of calls which could (with a 
>> large tree) easily hit the rate limit.
>> It would be better if I could retrieve all the available customers 
>> (paged) in one call instead of having to recursively find them.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7202c8de-0091-413d-9edf-b514f969526d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Retrieving a tree of all customers

2019-01-09 Thread Marc Selman
Hi Teja,

I'm using the Google Ads .NET client library 
(https://github.com/googleads/google-ads-dotnet) and I can't send a query 
request without a customer ID.
But ofcourse when I send a customer ID I only get the details of that 
specific customer.
Is that a problem with the .NET library or am I missing something else?

Op dinsdag 8 januari 2019 23:05:26 UTC+1 schreef Teja Makani:
>
> Hello Marc,
>
> You could use customer_client 
> <https://developers.google.com/google-ads/api/docs/fields/customer_client> 
> resource 
> to fetch the hierarchy of the accounts in a single API call. For example 
> you could use the below query in your sample code to fetch the entire 
> hierarchy in a single API call.
>
> Sample query below:
> .setQuery("SELECT customer.id, customer.descriptive_name, 
> customer_client.resource_name, customer_client.client_customer, 
> customer_client.level, customer_client.hidden FROM customer_client")
>
> Hope this helps you, please let me know if you have any further questions.
>
> Regards,
> Sai Teja, Google Ads API Team
>
> On Thursday, January 3, 2019 at 6:34:16 AM UTC-5, Marc Selman wrote:
>>
>> I'm trying to retrieve a complete nested tree of all customers (and if 
>> it's a manager account, the customers below that etc.)
>> To do this I'm using the new Google Ads API (v0.7) to retrieve the 
>> CustomerClientLinks recursively and for every link I'm using GetCustomer to 
>> retrieve the customer information such as the DescriptiveName.
>> But for a simple tree with two levels and a total of 37 customers this 
>> takes around a minute.
>>
>> The API methods seem rather slow. Is that normal?
>>
>> Also, I need to retrieve the links and the customerdata for every found 
>> customerId to check if they have subaccounts and to get the name.
>> Because of this I need to perform a lot of calls which could (with a 
>> large tree) easily hit the rate limit.
>> It would be better if I could retrieve all the available customers 
>> (paged) in one call instead of having to recursively find them.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1f533826-6dd7-4ac6-9e62-4fe14d3dab92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Cancelled accounts in new Ads API

2019-01-04 Thread Marc Selman
Hi Teja,

Thanks for your reply.
I'm happy to hear my suggestion will reach the team.

Your suggestion for using AccountLabels is not possible using the new Ads 
API I think... There is nog ManagedCustomerService in that API and no 
AccountLabel methods on the CustomerService.

I'm trying to show the listing of all customers and possible sub-customers 
available to the connected account. At the moment that's a recursive 
function where I need to get the CustomerClientLinks for every customer to 
see if there are sub-customers.
And then I need to get the customer data to retrieve the DescriptiveName.
It takes a lot of call for a large tree and is thus very slow.

If I would also need to get the labels for every customer to see if it's 
cancelled that would add more calls to the function and make it even slower.
Also I would reach the requests/minute rate limit easily.

I would like to be able to get the complete customers tree in one (paged) 
request with at least the properties: id, name, hidden, cancelled and 
something like a parentId.
That way I can make a dropdown selection similar to the customer selector 
dropdown in the Google Ads UI.


I've also tried querying the data with the Google Ads Query Laguage but it 
seems to always be in the scope of 1 customer.



Op donderdag 3 januari 2019 21:58:03 UTC+1 schreef Teja Makani:
>
> Hello Marc,
>
> For now there is no way to identify the canceled accounts via API. I will 
> let my team know regarding your suggestion and update you once I have more 
> information. Meanwhile you could use AccountLabels 
> <https://developers.google.com/adwords/api/docs/reference/v201806/ManagedCustomerService.AccountLabel>
>  to 
> see the cancelled accounts as an alternative way to identify them via the 
> API as mentioned on that thread 
> <https://groups.google.com/forum/#!topic/adwords-api/NC5vIw0_Shs>. Also, 
> you could keep an eye on our blog for information related to future 
> releases and latest versions. 
>
> Regards,
> Sai Teja, Google Ads API Team
>
> On Thursday, January 3, 2019 at 6:23:41 AM UTC-5, Marc Selman wrote:
>>
>> There was a question in this forum earlier about the Adwords API 
>> returning cancelled accounts: 
>> https://groups.google.com/forum/#!topic/adwords-api/NC5vIw0_Shs
>>
>> I'm using the new Ads API (v0.7) and when retieving CustomerClientLinks 
>> I'm also receiving cancelled accounts.
>> There is no way to identify whether an account is cancelled or not.
>> I do receive a 'hidden' parameter but not a 'cancelled' parameter.
>> In the Google Ads UI I can select whether I want to show hidden or 
>> cancelled accounts or not. But there seems to be no way to do that with the 
>> API.
>>
>> Since the new Ads API is still being built will there be a field added to 
>> identify whether an account is cancelled or not?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bf174ab4-ec0f-4e98-8c9b-4a6a95429673%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I check whether the logged-in user associated AdWords accounts to avoid AuthenticationError.NOT_ADS_USER?

2019-01-03 Thread Marc Selman
After finishing the OAuth flow I perform a test call and when I get the 
NOT_ADS_USER error I show an error to the user that it's not a valid Google 
Ads account and don't store the OAuth tokens.

Op donderdag 3 januari 2019 05:46:43 UTC+1 schreef Yoshimasa Tanabe:
>
> Hi Milind,
>
> I want to know if we are on the same page. Is the following my 
> understanding correct?
>
> 1. On OAuth flow, it's not possible to prevent the users not associated 
> with any AdWords account from log-in/authorizing my application.
> * I can't edit the user info as you said because the users are not 
> mine but my customer's.
> 2. Adwords API has no way to check whether or not the users are associated 
> with any AdWords account
>
> On Saturday, December 29, 2018 at 5:09:42 AM UTC+9, Milind Sankeshware 
> (AdWords API Team) wrote:
>>
>> Hi Yoshimasa,
>>
>> You can add the login email as a admin user in the AdWords account. To 
>> add the user, please follow the steps in this 
>>  Help Center 
>> article. After adding the user the API call should work. If you are still 
>> facing an issue, I would suggest to create new OAuth credentials with the 
>> email which is associated with that AdWords account. Please refer to this 
>> steps 
>> 
>>  
>> to create the OAuth credentials. 
>>
>> Thanks,
>> Milind, 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/fd64d7e0-a3d4-4909-9bbf-5c47c324124e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Retrieving a tree of all customers

2019-01-03 Thread Marc Selman
I'm trying to retrieve a complete nested tree of all customers (and if it's 
a manager account, the customers below that etc.)
To do this I'm using the new Google Ads API (v0.7) to retrieve the 
CustomerClientLinks recursively and for every link I'm using GetCustomer to 
retrieve the customer information such as the DescriptiveName.
But for a simple tree with two levels and a total of 37 customers this 
takes around a minute.

The API methods seem rather slow. Is that normal?

Also, I need to retrieve the links and the customerdata for every found 
customerId to check if they have subaccounts and to get the name.
Because of this I need to perform a lot of calls which could (with a large 
tree) easily hit the rate limit.
It would be better if I could retrieve all the available customers (paged) 
in one call instead of having to recursively find them.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0dda7c7c-d610-41e4-a8e6-e6880ed43cca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cancelled accounts in new Ads API

2019-01-03 Thread Marc Selman
There was a question in this forum earlier about the Adwords API returning 
cancelled 
accounts: https://groups.google.com/forum/#!topic/adwords-api/NC5vIw0_Shs

I'm using the new Ads API (v0.7) and when retieving CustomerClientLinks I'm 
also receiving cancelled accounts.
There is no way to identify whether an account is cancelled or not.
I do receive a 'hidden' parameter but not a 'cancelled' parameter.
In the Google Ads UI I can select whether I want to show hidden or 
cancelled accounts or not. But there seems to be no way to do that with the 
API.

Since the new Ads API is still being built will there be a field added to 
identify whether an account is cancelled or not?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5f6ae28b-fb58-4177-a07c-593a2fa306e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Manage ServiceLinks using Google Ads API

2018-12-21 Thread Marc Selman
Thank you.

On Friday, December 21, 2018 at 4:07:01 AM UTC+1, Luis Xander Talag 
(AdWords API Team) wrote:
>
> Hi Marc,
>
> Unfortunately the getSeviceLinks() 
> <https://developers.google.com/adwords/api/docs/reference/v201809/CustomerService#getservicelinks>
>  and mutateServiceLinks() 
> <https://developers.google.com/adwords/api/docs/reference/v201809/CustomerService#mutateservicelinks>
>  method 
> under the CustomerService 
> <https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v0.services#customerservice>
>  of 
> the Google Ads API Beta is currently not supported yet and was only 
> available in the AdWords API for the meantime. I could not tell on when 
> this feature will be available in Google Ads API. However, you may follow 
> our blog <https://ads-developers.googleblog.com/search/label/adwords_api> for 
> any updates on this feature.
>
> Thanks and regards,
> Luis
> Google Ads API Team
>
> On Friday, December 21, 2018 at 7:30:36 AM UTC+8, Marc Selman wrote:
>>
>> I'm using the latest Google Ads API v.07.
>> In the CustomerService I'm missing the getServiceLinks() and 
>> mutateServiceLinks() methods.
>> Are they planned in a future release or are they already available under 
>> a different method?
>>
>> 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/76318b96-0144-4a5c-a4ed-1899b9d374f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Manage ServiceLinks using Google Ads API

2018-12-20 Thread Marc Selman
I'm using the latest Google Ads API v.07.
In the CustomerService I'm missing the getServiceLinks() and 
mutateServiceLinks() methods.
Are they planned in a future release or are they already available under a 
different method?

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/c7eff528-2e5c-4979-a687-0867ff8dbbf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


“invalid token” after API upgrade

2018-03-27 Thread Marc
 

Hi guys,

 

Upon Google’s advice we’ve been trying to upgrade from v201708 for a couple 
of days now. However, it doesn’t seem to be working as we’ve been getting 
these “invalid token” error messages ever since.

 

We are now getting slightly nervous as the sunset date of March 28 is 
approaching rapidly and we fear our system will come to a stand still. 
We’ve sent a mail to adwordsapi-tok...@google.com, but no reply yet.

 

Any ideas? A reply would be much appreciated.

 

Kind regards,

Marc









-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/598d380e-1643-41b3-9369-9dfbcb649cdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Shopping Performance Report returns same product twice

2017-08-29 Thread Marc P
Hi Thanet,

thank you for the update. This sounds promising. Looking forward to getting 
the date ranges per row :)

Cheers
Marc

On Wednesday, July 12, 2017 at 9:23:44 AM UTC+2, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hello Marc,
>
> Really sorry for this long waiting.
> It was a long conversation between many parties.
>
> First, it looks like this works as intended for engineering to return the 
> CategoryL* as segment fields.
> The documentation needs to be fixed.
>
> About the date range per row, I'm pushing this through but cannot tell the 
> exact date to finish.
>
> Best,
> Thanet, AdWords API Team
>
> On Tuesday, July 11, 2017 at 11:02:57 PM UTC+9, Marc P wrote:
>>
>> Hi Thanet,
>>
>> any updates on this issue?
>>
>> We are still having many problems due to this.
>>
>> At the very least, it would be helpful to get a date range per row in the 
>> response, so we can now at what times the ID performed good and at what 
>> times not so good.
>>
>> Cheers
>> Marc
>>
>> On Wednesday, April 26, 2017 at 10:30:35 AM UTC+2, Thanet Knack 
>> Praneenararat (AdWords API Team) wrote:
>>>
>>> Hi Marc,
>>>
>>> I totally understand what you said but, unfortunately, it's not 
>>> supported by the current version of SHOPPING_PERFORMANCE_REPORT.
>>> I'll give your feedback as a feature request to engineering.
>>>
>>> Best,
>>> Thanet, AdWords API Team
>>>
>>> On Tuesday, April 25, 2017 at 11:07:45 PM UTC+9, Firma Lemundo wrote:
>>>>
>>>> Hi Thanet,
>>>>
>>>> CategoryL5 is just one example, this seems to be happening for almost 
>>>> all product related attributes.
>>>>
>>>> I guess the intended functionality is to show that a product changed at 
>>>> some point in time, but this is very misguiding as I would not expect to 
>>>> get the same product twice (it has the same OfferId...) without the 
>>>> information at what point it was changed or what time range we are talking 
>>>> about.
>>>>
>>>> This might be a case where it would be useful to have a parameter to 
>>>> set, something like "showProductChanges = true/false".
>>>>
>>>> At the very least, there should be a possibility to distinguish at what 
>>>> point in time the product changed, so for example:
>>>>
>>>> OfferId CategoryL2  DateRange
>>>> 123  Clothing/Pants 03/14 - 03/18
>>>> 123  Clothing/Shorts03/18 - 03/29
>>>>
>>>> In that case, I could at least detect which entry is the most recent 
>>>> one (Clothing/Shorts) and use that one, but getting the results as is the 
>>>> case now is like this:
>>>>
>>>> OfferId CategoryL2
>>>> 123  Clothing/Pants
>>>> 123  Clothing/Shorts  
>>>>
>>>> and I do not know whether the product with OfferId 123 is in CategoryL2 
>>>> Clothing/Pants or Clothing/Shorts RIGHT NOW.
>>>>
>>>> Thanks
>>>> Marc
>>>>
>>>> Am Montag, 24. April 2017 19:07:03 UTC+2 schrieb Thanet Knack 
>>>> Praneenararat (AdWords API Team):
>>>>>
>>>>> Hello Marc,
>>>>>
>>>>> Sorry for the delay. It looks like this works as intended--all data of 
>>>>> CategoryL5 is returned in SHOPPING_PERFORMANCE_REPORT.
>>>>> I'm still asking if there are other workarounds for this.
>>>>>
>>>>> Best,
>>>>> Thanet, AdWords API Team
>>>>>
>>>>> On Monday, April 24, 2017 at 4:01:49 PM UTC+9, Marc P wrote:
>>>>>>
>>>>>> Hi Thanet,
>>>>>>
>>>>>> any update on this topic?
>>>>>>
>>>>>> Thanks
>>>>>> Marc
>>>>>>
>>>>>> On Wednesday, April 5, 2017 at 9:27:17 AM UTC+2, Thanet Knack 
>>>>>> Praneenararat (AdWords API Team) wrote:
>>>>>>>
>>>>>>> Hi Marc,
>>>>>>>
>>>>>>> Thanks very much for reporting.
>>>>>>> Your previous example then shows that *CategoryL5* really behaves 
>>>>>>> like a segment.
>>>>>>> If it's a key column, even if you don't request for it, there should 
>>>

Re: Shopping Performance Report returns same product twice

2017-07-11 Thread Marc P
Hi Thanet,

any updates on this issue?

We are still having many problems due to this.

At the very least, it would be helpful to get a date range per row in the 
response, so we can now at what times the ID performed good and at what 
times not so good.

Cheers
Marc

On Wednesday, April 26, 2017 at 10:30:35 AM UTC+2, Thanet Knack 
Praneenararat (AdWords API Team) wrote:
>
> Hi Marc,
>
> I totally understand what you said but, unfortunately, it's not supported 
> by the current version of SHOPPING_PERFORMANCE_REPORT.
> I'll give your feedback as a feature request to engineering.
>
> Best,
> Thanet, AdWords API Team
>
> On Tuesday, April 25, 2017 at 11:07:45 PM UTC+9, Firma Lemundo wrote:
>>
>> Hi Thanet,
>>
>> CategoryL5 is just one example, this seems to be happening for almost all 
>> product related attributes.
>>
>> I guess the intended functionality is to show that a product changed at 
>> some point in time, but this is very misguiding as I would not expect to 
>> get the same product twice (it has the same OfferId...) without the 
>> information at what point it was changed or what time range we are talking 
>> about.
>>
>> This might be a case where it would be useful to have a parameter to set, 
>> something like "showProductChanges = true/false".
>>
>> At the very least, there should be a possibility to distinguish at what 
>> point in time the product changed, so for example:
>>
>> OfferId CategoryL2  DateRange
>> 123  Clothing/Pants 03/14 - 03/18
>> 123  Clothing/Shorts03/18 - 03/29
>>
>> In that case, I could at least detect which entry is the most recent one 
>> (Clothing/Shorts) and use that one, but getting the results as is the case 
>> now is like this:
>>
>> OfferId CategoryL2    
>> 123  Clothing/Pants
>> 123  Clothing/Shorts  
>>
>> and I do not know whether the product with OfferId 123 is in CategoryL2 
>> Clothing/Pants or Clothing/Shorts RIGHT NOW.
>>
>> Thanks
>> Marc
>>
>> Am Montag, 24. April 2017 19:07:03 UTC+2 schrieb Thanet Knack 
>> Praneenararat (AdWords API Team):
>>>
>>> Hello Marc,
>>>
>>> Sorry for the delay. It looks like this works as intended--all data of 
>>> CategoryL5 is returned in SHOPPING_PERFORMANCE_REPORT.
>>> I'm still asking if there are other workarounds for this.
>>>
>>> Best,
>>> Thanet, AdWords API Team
>>>
>>> On Monday, April 24, 2017 at 4:01:49 PM UTC+9, Marc P wrote:
>>>>
>>>> Hi Thanet,
>>>>
>>>> any update on this topic?
>>>>
>>>> Thanks
>>>> Marc
>>>>
>>>> On Wednesday, April 5, 2017 at 9:27:17 AM UTC+2, Thanet Knack 
>>>> Praneenararat (AdWords API Team) wrote:
>>>>>
>>>>> Hi Marc,
>>>>>
>>>>> Thanks very much for reporting.
>>>>> Your previous example then shows that *CategoryL5* really behaves 
>>>>> like a segment.
>>>>> If it's a key column, even if you don't request for it, there should 
>>>>> be two rows returned.
>>>>> I'll talk with engineering to see how we fix this.
>>>>>
>>>>> As for your other questions:
>>>>>
>>>>>> 1) How do I know what are the "key fields" in a report?
>>>>>
>>>>> Unfortunately, it's not quite obvious from the field itself. But we 
>>>>> try to document it in the summary description in the beginning of each 
>>>>> report type page.
>>>>>
>>>>> 2) You wrote "Have a look at OfferId and CategoryL5, you can tell that 
>>>>>> those two rows are different" - you mean combined, correct? Because the 
>>>>>> OfferId here is the same
>>>>>
>>>>> Yes, combined. It's like you have a composite key in relational 
>>>>> databases. Only one key can't tell uniqueness of a row. We have to use 
>>>>> them 
>>>>> together to tell uniqueness.
>>>>>
>>>>> I find this confusing and would expect to get just one row with the 
>>>>>> product and with CategoryL5 set to the most recent value for that 
>>>>>> product...
>>>>>
>>>>> I've passed this feedback to engineering too.
>>>>> For now, would using date range help you? Or does it always return two

Re: Shopping Performance Report returns same product twice

2017-04-24 Thread Marc P
Hi Thanet,

any update on this topic?

Thanks
Marc

On Wednesday, April 5, 2017 at 9:27:17 AM UTC+2, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hi Marc,
>
> Thanks very much for reporting.
> Your previous example then shows that *CategoryL5* really behaves like a 
> segment.
> If it's a key column, even if you don't request for it, there should be 
> two rows returned.
> I'll talk with engineering to see how we fix this.
>
> As for your other questions:
>
>> 1) How do I know what are the "key fields" in a report?
>
> Unfortunately, it's not quite obvious from the field itself. But we try to 
> document it in the summary description in the beginning of each report type 
> page.
>
> 2) You wrote "Have a look at OfferId and CategoryL5, you can tell that 
>> those two rows are different" - you mean combined, correct? Because the 
>> OfferId here is the same
>
> Yes, combined. It's like you have a composite key in relational databases. 
> Only one key can't tell uniqueness of a row. We have to use them together 
> to tell uniqueness.
>
> I find this confusing and would expect to get just one row with the 
>> product and with CategoryL5 set to the most recent value for that product...
>
> I've passed this feedback to engineering too.
> For now, would using date range help you? Or does it always return two 
> rows for any kinds of date ranges? 
>
> Best,
> Thanet, AdWords API Team
>
> On Wednesday, April 5, 2017 at 4:16:32 PM UTC+9, Marc P wrote:
>>
>> Hi Thanet,
>>
>> thank you for your help. Two more questions to clarify:
>>
>> 1) How do I know what are the "key fields" in a report?
>> 2) You wrote "Have a look at OfferId and CategoryL5, you can tell that 
>> those two rows are different" - you mean combined, correct? Because the 
>> OfferId here is the same
>>
>> My point is this: I want to get the current information of the product, 
>> however I get two rows for the same OfferId and it is different only on 
>> CategoryL5 - thus I do not know which value of CategoryL5 is current and 
>> which one is old / legacy.
>>
>> This only happens when the product was changed on CategoryL5 - it is the 
>> same product (same OfferId). It appears twice only because it was changed 
>> at some point in time.
>>
>> I find this confusing and would expect to get just one row with the 
>> product and with CategoryL5 set to the most recent value for that product...
>>
>> Thank you again
>> Marc
>>
>> On Thursday, March 30, 2017 at 6:06:33 PM UTC+2, Thanet Knack 
>> Praneenararat (AdWords API Team) wrote:
>>>
>>> Hi Marc,
>>>
>>> It's true that they're not the segment field, but it's a *key* column 
>>> in this report type.
>>> The key columns are what you need to include in order to tell the 
>>> uniqueness of the report row.
>>> For instance, if you look at either only *AdGroupName*, *CampaignName* 
>>> in this report type, you can't distinguish two rows from each other.
>>> But if you have a look at *OfferId* and *CategoryL5*, you can tell that 
>>> those two rows are different.
>>>
>>> Put it in another way, they're an attribute field *that even when 
>>> you've not requested them, they're still requested implicitly.*
>>> You can't combine those rows that have at least one *key field* 
>>> different from each other.
>>> Not requesting them in AWQL / report definition just makes the reporting 
>>> service not return them with the results.
>>>
>>> This is different from segment fields. If you don't request them, 
>>> they're not requested implicitly.
>>> Once you request them, you're likely to get more report rows than usual.
>>>
>>> Hope this help.
>>>
>>> Thanet, AdWords API Team
>>>
>>> On Thursday, March 30, 2017 at 10:40:27 PM UTC+9, Marc P wrote:
>>>>
>>>> Hi Thanet,
>>>>
>>>> yes, in this case it is CategoryL5 - for another customer id it is 
>>>> ProductTypeL3.
>>>>
>>>> My point is: both ProductTypeL3 and CategoryL5 are attributes as 
>>>> specified in 
>>>> https://developers.google.com/adwords/api/docs/appendix/reports/shopping-performance-report
>>>>
>>>> They are not Segments.
>>>>
>>>> So my understanding is that they should not split the data. Rather I 
>>>> would assume to get 

Re: Shopping Performance Report returns same product twice

2017-04-05 Thread Marc P
Hi Thanet,

thank you for your reply.

The date range solves it if you get the date range right, i.e. you request 
a range where the product was not changed in that date range.

However, I do not know when and if products were changed and thus my fix 
right now is to always filter out all duplicates which is bad as I thus 
cannot act on the information and have to skip the duplicate products 
completely.

Ideally, the report would only return the product once (as OfferId is 
unique for the product and I would not expect to get the same product 
twice) and have all the properties like CategoryL5 with the most recent 
information, i.e. CategoryL5 is as it is RIGHT NOW for the product even if 
it was different in the past.

Cheers
Marc

On Wednesday, April 5, 2017 at 9:27:17 AM UTC+2, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hi Marc,
>
> Thanks very much for reporting.
> Your previous example then shows that *CategoryL5* really behaves like a 
> segment.
> If it's a key column, even if you don't request for it, there should be 
> two rows returned.
> I'll talk with engineering to see how we fix this.
>
> As for your other questions:
>
>> 1) How do I know what are the "key fields" in a report?
>
> Unfortunately, it's not quite obvious from the field itself. But we try to 
> document it in the summary description in the beginning of each report type 
> page.
>
> 2) You wrote "Have a look at OfferId and CategoryL5, you can tell that 
>> those two rows are different" - you mean combined, correct? Because the 
>> OfferId here is the same
>
> Yes, combined. It's like you have a composite key in relational databases. 
> Only one key can't tell uniqueness of a row. We have to use them together 
> to tell uniqueness.
>
> I find this confusing and would expect to get just one row with the 
>> product and with CategoryL5 set to the most recent value for that product...
>
> I've passed this feedback to engineering too.
> For now, would using date range help you? Or does it always return two 
> rows for any kinds of date ranges? 
>
> Best,
> Thanet, AdWords API Team
>
> On Wednesday, April 5, 2017 at 4:16:32 PM UTC+9, Marc P wrote:
>>
>> Hi Thanet,
>>
>> thank you for your help. Two more questions to clarify:
>>
>> 1) How do I know what are the "key fields" in a report?
>> 2) You wrote "Have a look at OfferId and CategoryL5, you can tell that 
>> those two rows are different" - you mean combined, correct? Because the 
>> OfferId here is the same
>>
>> My point is this: I want to get the current information of the product, 
>> however I get two rows for the same OfferId and it is different only on 
>> CategoryL5 - thus I do not know which value of CategoryL5 is current and 
>> which one is old / legacy.
>>
>> This only happens when the product was changed on CategoryL5 - it is the 
>> same product (same OfferId). It appears twice only because it was changed 
>> at some point in time.
>>
>> I find this confusing and would expect to get just one row with the 
>> product and with CategoryL5 set to the most recent value for that product...
>>
>> Thank you again
>> Marc
>>
>> On Thursday, March 30, 2017 at 6:06:33 PM UTC+2, Thanet Knack 
>> Praneenararat (AdWords API Team) wrote:
>>>
>>> Hi Marc,
>>>
>>> It's true that they're not the segment field, but it's a *key* column 
>>> in this report type.
>>> The key columns are what you need to include in order to tell the 
>>> uniqueness of the report row.
>>> For instance, if you look at either only *AdGroupName*, *CampaignName* 
>>> in this report type, you can't distinguish two rows from each other.
>>> But if you have a look at *OfferId* and *CategoryL5*, you can tell that 
>>> those two rows are different.
>>>
>>> Put it in another way, they're an attribute field *that even when 
>>> you've not requested them, they're still requested implicitly.*
>>> You can't combine those rows that have at least one *key field* 
>>> different from each other.
>>> Not requesting them in AWQL / report definition just makes the reporting 
>>> service not return them with the results.
>>>
>>> This is different from segment fields. If you don't request them, 
>>> they're not requested implicitly.
>>> Once you request them, you're likely to get more report rows than usual.
>>>
>>> Hope this help.
>>>
>>> Thanet, AdWords API Team
>>>

Re: Shopping Performance Report returns same product twice

2017-04-05 Thread Marc P
Hi Thanet,

thank you for your help. Two more questions to clarify:

1) How do I know what are the "key fields" in a report?
2) You wrote "Have a look at OfferId and CategoryL5, you can tell that 
those two rows are different" - you mean combined, correct? Because the 
OfferId here is the same

My point is this: I want to get the current information of the product, 
however I get two rows for the same OfferId and it is different only on 
CategoryL5 - thus I do not know which value of CategoryL5 is current and 
which one is old / legacy.

This only happens when the product was changed on CategoryL5 - it is the 
same product (same OfferId). It appears twice only because it was changed 
at some point in time.

I find this confusing and would expect to get just one row with the product 
and with CategoryL5 set to the most recent value for that product...

Thank you again
Marc

On Thursday, March 30, 2017 at 6:06:33 PM UTC+2, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hi Marc,
>
> It's true that they're not the segment field, but it's a *key* column in 
> this report type.
> The key columns are what you need to include in order to tell the 
> uniqueness of the report row.
> For instance, if you look at either only *AdGroupName*, *CampaignName* in 
> this report type, you can't distinguish two rows from each other.
> But if you have a look at *OfferId* and *CategoryL5*, you can tell that 
> those two rows are different.
>
> Put it in another way, they're an attribute field *that even when you've 
> not requested them, they're still requested implicitly.*
> You can't combine those rows that have at least one *key field* different 
> from each other.
> Not requesting them in AWQL / report definition just makes the reporting 
> service not return them with the results.
>
> This is different from segment fields. If you don't request them, they're 
> not requested implicitly.
> Once you request them, you're likely to get more report rows than usual.
>
> Hope this help.
>
> Thanet, AdWords API Team
>
> On Thursday, March 30, 2017 at 10:40:27 PM UTC+9, Marc P wrote:
>>
>> Hi Thanet,
>>
>> yes, in this case it is CategoryL5 - for another customer id it is 
>> ProductTypeL3.
>>
>> My point is: both ProductTypeL3 and CategoryL5 are attributes as 
>> specified in 
>> https://developers.google.com/adwords/api/docs/appendix/reports/shopping-performance-report
>>
>> They are not Segments.
>>
>> So my understanding is that they should not split the data. Rather I 
>> would assume to get just one result with ProductTypeL3 and CategoryL5 
>> having the most recent attribute value ?
>>
>> Thank you for your help
>> Marc
>>
>> On Thursday, March 30, 2017 at 8:56:22 AM UTC+2, Thanet Knack 
>> Praneenararat (AdWords API Team) wrote:
>>>
>>> Hello,
>>>
>>> It seems what makes your returned rows look duplicate is not 
>>> *ProductTypeL3*, but the *CategoryL5*.
>>> As *CategoryL5 *is also the main key of SHOPPING_PERFORMANCE_REPORT, 
>>> this works as intended.
>>> In other words, to tell the uniqueness of a row in this report type, 
>>> *CategoryL5* should be taken into account as well.
>>>
>>> Cheers,
>>> Thanet, AdWords API Team
>>>
>>> On Tuesday, March 14, 2017 at 10:04:37 PM UTC+9, Firma Lemundo wrote:
>>>>
>>>> Hi everyone,
>>>>
>>>> I am facing the following issue:
>>>>
>>>> I am using the SHOPPING_PERFORMANCE_REPORT to find the performance by 
>>>> the products (OfferId).
>>>> I am not using Date or other segments and the product is only in a 
>>>> single adgroup.
>>>>
>>>> However, I still get two entries, because the product's ProductTypeL3 
>>>> <https://developers.google.com/adwords/api/docs/appendix/reports/shopping-performance-report#producttypel3>
>>>>  changed 
>>>> in the time frame.
>>>>
>>>> So I get different data for the same product (which is in different 
>>>> time frames) which is very annoying for my purpose.
>>>>
>>>> Moreover, ProductTypeL3 is not a segment field, so I wonder if this is 
>>>> a bug, or expected behavior?
>>>>
>>>> Comments and help much appreciated :)
>>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=

Re: Shopping Performance Report returns same product twice

2017-04-05 Thread Marc P
Hi Thanet,

another request confirmed my confusion and my assumption that CategoryL5 
behaves as a segment in this case.
When I do the same request without requestion the CategoryLX fields, I get 
just one result with the OfferId.

SELECT OfferId,   AdGroupId,   AdGroupStatus,   AdGroupName,   
CampaignName,   Brand,   ProductCondition,   ProductTypeL1, 
  ProductTypeL2,   ProductTypeL3,   ProductTypeL4,   
ProductTypeL5,   CustomAttribute0,   CustomAttribute1,   
CustomAttribute2,   CustomAttribute3,   CustomAttribute4, 
 Channel,   ChannelExclusivity,   SearchClickShare,   
SearchImpressionShare,   Ctr,   Clicks,   Impressions,   
Cost,   ConversionValue,   ConversionRate,   Conversions,   
AverageCpc FROM SHOPPING_PERFORMANCE_REPORT WHERE CampaignStatus IN 
[ENABLED] AND AdGroupStatus IN [ENABLED] AND ConversionValue > 0 AND Cost > 
0 AND OfferId = 12044542 

-> 1 Result with OfferId 12044542

SELECT OfferId,   AdGroupId,   AdGroupStatus,   AdGroupName,   
CampaignName,   Brand,   ProductCondition,   ProductTypeL1, 
  ProductTypeL2,   ProductTypeL3,   ProductTypeL4,   
ProductTypeL5,   CustomAttribute0,   CustomAttribute1,   
CustomAttribute2,   CustomAttribute3,   CustomAttribute4,   
CategoryL1,   CategoryL2,   CategoryL3,   CategoryL4,   
CategoryL5,   Channel,   ChannelExclusivity,   
SearchClickShare,   SearchImpressionShare,   Ctr,   Clicks, 
  Impressions,   Cost,   ConversionValue,   ConversionRate, 
  Conversions,   AverageCpc FROM SHOPPING_PERFORMANCE_REPORT WHERE 
CampaignStatus IN [ENABLED] AND AdGroupStatus IN [ENABLED] AND 
ConversionValue > 0 AND Cost > 0 AND OfferId = 12044542 

-> 2 Results with OfferId 12044542 TWICE -> differing only on CategoryL5

Cheers
Marc

On Thursday, March 30, 2017 at 6:06:33 PM UTC+2, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hi Marc,
>
> It's true that they're not the segment field, but it's a *key* column in 
> this report type.
> The key columns are what you need to include in order to tell the 
> uniqueness of the report row.
> For instance, if you look at either only *AdGroupName*, *CampaignName* in 
> this report type, you can't distinguish two rows from each other.
> But if you have a look at *OfferId* and *CategoryL5*, you can tell that 
> those two rows are different.
>
> Put it in another way, they're an attribute field *that even when you've 
> not requested them, they're still requested implicitly.*
> You can't combine those rows that have at least one *key field* different 
> from each other.
> Not requesting them in AWQL / report definition just makes the reporting 
> service not return them with the results.
>
> This is different from segment fields. If you don't request them, they're 
> not requested implicitly.
> Once you request them, you're likely to get more report rows than usual.
>
> Hope this help.
>
> Thanet, AdWords API Team
>
> On Thursday, March 30, 2017 at 10:40:27 PM UTC+9, Marc P wrote:
>>
>> Hi Thanet,
>>
>> yes, in this case it is CategoryL5 - for another customer id it is 
>> ProductTypeL3.
>>
>> My point is: both ProductTypeL3 and CategoryL5 are attributes as 
>> specified in 
>> https://developers.google.com/adwords/api/docs/appendix/reports/shopping-performance-report
>>
>> They are not Segments.
>>
>> So my understanding is that they should not split the data. Rather I 
>> would assume to get just one result with ProductTypeL3 and CategoryL5 
>> having the most recent attribute value ?
>>
>> Thank you for your help
>> Marc
>>
>> On Thursday, March 30, 2017 at 8:56:22 AM UTC+2, Thanet Knack 
>> Praneenararat (AdWords API Team) wrote:
>>>
>>> Hello,
>>>
>>> It seems what makes your returned rows look duplicate is not 
>>> *ProductTypeL3*, but the *CategoryL5*.
>>> As *CategoryL5 *is also the main key of SHOPPING_PERFORMANCE_REPORT, 
>>> this works as intended.
>>> In other words, to tell the uniqueness of a row in this report type, 
>>> *CategoryL5* should be taken into account as well.
>>>
>>> Cheers,
>>> Thanet, AdWords API Team
>>>
>>> On Tuesday, March 14, 2017 at 10:04:37 PM UTC+9, Firma Lemundo wrote:
>>>>
>>>> Hi everyone,
>>>>
>>>> I am facing the following issue:
>>>>
>>>> I am using the SHOPPING_PERFORMANCE_REPORT to find the performance by 
>>>> the produ

Re: Shopping Performance Report returns same product twice

2017-03-30 Thread Marc P
Hi Thanet,

yes, in this case it is CategoryL5 - for another customer id it is 
ProductTypeL3.

My point is: both ProductTypeL3 and CategoryL5 are attributes as specified 
in 
https://developers.google.com/adwords/api/docs/appendix/reports/shopping-performance-report

They are not Segments.

So my understanding is that they should not split the data. Rather I would 
assume to get just one result with ProductTypeL3 and CategoryL5 having the 
most recent attribute value ?

Thank you for your help
Marc

On Thursday, March 30, 2017 at 8:56:22 AM UTC+2, Thanet Knack Praneenararat 
(AdWords API Team) wrote:
>
> Hello,
>
> It seems what makes your returned rows look duplicate is not 
> *ProductTypeL3*, but the *CategoryL5*.
> As *CategoryL5 *is also the main key of SHOPPING_PERFORMANCE_REPORT, this 
> works as intended.
> In other words, to tell the uniqueness of a row in this report type, 
> *CategoryL5* should be taken into account as well.
>
> Cheers,
> Thanet, AdWords API Team
>
> On Tuesday, March 14, 2017 at 10:04:37 PM UTC+9, Firma Lemundo wrote:
>>
>> Hi everyone,
>>
>> I am facing the following issue:
>>
>> I am using the SHOPPING_PERFORMANCE_REPORT to find the performance by the 
>> products (OfferId).
>> I am not using Date or other segments and the product is only in a single 
>> adgroup.
>>
>> However, I still get two entries, because the product's ProductTypeL3 
>> <https://developers.google.com/adwords/api/docs/appendix/reports/shopping-performance-report#producttypel3>
>>  changed 
>> in the time frame.
>>
>> So I get different data for the same product (which is in different time 
>> frames) which is very annoying for my purpose.
>>
>> Moreover, ProductTypeL3 is not a segment field, so I wonder if this is a 
>> bug, or expected behavior?
>>
>> Comments and help much appreciated :)
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/192136c2-bd3e-4a1a-add2-cfc0c89d79f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: MaxCPC change history through api?

2016-09-12 Thread marc . tanahoe
Any advances on the topic? 
Just asking since two years have passed again. Looking desperatly for a 
solution to access the historic max.cpc and if possible the associated 
metrics..

Best,
Marc

Am Freitag, 9. Mai 2014 21:45:06 UTC+2 schrieb Ray Tsang (AdWords API Team):
>
> Thibault,
>
> Unfortunately I won't be able to comment on any roadmap or schedule.
>
> Cheers,
>
> Ray
>
> On Thursday, May 8, 2014 1:22:24 PM UTC-4, Thibault Quillard wrote:
>>
>> Thanks Ray for the fast answer! 
>> Is it something the team is thinking about working on ? 
>>
>>
>> Le jeudi 8 mai 2014 12:27:00 UTC-3, Ray Tsang (AdWords API Team) a écrit :
>>>
>>> Thibault,
>>>
>>> This is not available at the moment.
>>>
>>> Thanks,
>>>
>>> On Thursday, May 8, 2014 11:13:14 AM UTC-4, Thibault Quillard wrote:
>>>>
>>>> Hi ! 
>>>> Was planning to ask the same question than Giovanni, 5 years later ! 
>>>> Is there now a way to retrieve the history of max CPC ? 
>>>>
>>>> Thank you ! 
>>>> Thibault
>>>>
>>>> Le mercredi 12 août 2009 13:55:32 UTC-3, AdWords API Advisor a écrit :
>>>>>
>>>>> Hi Giovanni, 
>>>>>
>>>>> Unfortunately it is not possible to access the change history via the 
>>>>> API.  You are also correct that it is not possible via the 
>>>>> ReportService to obtain the Max CPC on a given day.  I think your two 
>>>>> best options would be to either: 
>>>>>
>>>>> a) Make an API call each day and record the Max CPC.  You can use 
>>>>> these values later for analysis. 
>>>>> b) Use the ReportService to determine the Average CPC on a given day. 
>>>>> This won't match the Max CPC exactly, but it should correlate. 
>>>>>
>>>>> Best, 
>>>>> - Eric Koleda, AdWords API Team 
>>>>>
>>>>> On Aug 12, 6:25 am, Giovanni  wrote: 
>>>>> > Hi, 
>>>>> > 
>>>>> > Marketing wish analyze how is related the revenue and the change to 
>>>>> > MaxCPC. 
>>>>> > 
>>>>> > Through my AdWord account, I can access to the change history of 
>>>>> > MaxCPC. Into the tab Tools I can request a report on maxcpc change 
>>>>> > history following the link "My Change History". It is possible to 
>>>>> have 
>>>>> > the same information though api? 
>>>>> > 
>>>>> > I am not able to find this functionality on the documentation. The 
>>>>> > ReportService permits to retrieve the CurrentMaxCPC but not the 
>>>>> MaxCPC 
>>>>> > to a given day. I hope I don't overlook something. 
>>>>> > 
>>>>> > Thank you.
>>>>
>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/c55a4be5-3419-45a4-ad2c-880e8a1ba975%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: MaxCPC change history through api?

2016-09-12 Thread marc . tanahoe
Any advances here?
Looking desperatly for a solution to retrieve the max.cpc history with 
according metrics..

Best,
Marc

Am Freitag, 9. Mai 2014 21:45:06 UTC+2 schrieb Ray Tsang (AdWords API Team):
>
> Thibault,
>
> Unfortunately I won't be able to comment on any roadmap or schedule.
>
> Cheers,
>
> Ray
>
> On Thursday, May 8, 2014 1:22:24 PM UTC-4, Thibault Quillard wrote:
>>
>> Thanks Ray for the fast answer! 
>> Is it something the team is thinking about working on ? 
>>
>>
>> Le jeudi 8 mai 2014 12:27:00 UTC-3, Ray Tsang (AdWords API Team) a écrit :
>>>
>>> Thibault,
>>>
>>> This is not available at the moment.
>>>
>>> Thanks,
>>>
>>> On Thursday, May 8, 2014 11:13:14 AM UTC-4, Thibault Quillard wrote:
>>>>
>>>> Hi ! 
>>>> Was planning to ask the same question than Giovanni, 5 years later ! 
>>>> Is there now a way to retrieve the history of max CPC ? 
>>>>
>>>> Thank you ! 
>>>> Thibault
>>>>
>>>> Le mercredi 12 août 2009 13:55:32 UTC-3, AdWords API Advisor a écrit :
>>>>>
>>>>> Hi Giovanni, 
>>>>>
>>>>> Unfortunately it is not possible to access the change history via the 
>>>>> API.  You are also correct that it is not possible via the 
>>>>> ReportService to obtain the Max CPC on a given day.  I think your two 
>>>>> best options would be to either: 
>>>>>
>>>>> a) Make an API call each day and record the Max CPC.  You can use 
>>>>> these values later for analysis. 
>>>>> b) Use the ReportService to determine the Average CPC on a given day. 
>>>>> This won't match the Max CPC exactly, but it should correlate. 
>>>>>
>>>>> Best, 
>>>>> - Eric Koleda, AdWords API Team 
>>>>>
>>>>> On Aug 12, 6:25 am, Giovanni  wrote: 
>>>>> > Hi, 
>>>>> > 
>>>>> > Marketing wish analyze how is related the revenue and the change to 
>>>>> > MaxCPC. 
>>>>> > 
>>>>> > Through my AdWord account, I can access to the change history of 
>>>>> > MaxCPC. Into the tab Tools I can request a report on maxcpc change 
>>>>> > history following the link "My Change History". It is possible to 
>>>>> have 
>>>>> > the same information though api? 
>>>>> > 
>>>>> > I am not able to find this functionality on the documentation. The 
>>>>> > ReportService permits to retrieve the CurrentMaxCPC but not the 
>>>>> MaxCPC 
>>>>> > to a given day. I hope I don't overlook something. 
>>>>> > 
>>>>> > Thank you.
>>>>
>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/57f76bc9-ae37-493f-8287-9839a07715f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


error: invalid_client after after GetRefreshToken.php

2016-01-15 Thread Marc
Hello

I'm hoping someone can help with an issue we're having with AdWords API 
(PHP).

We already have AdWords API setup and running on our system for quite 
sometime, however we have decided to change the account it was associated 
with.

I have created a new project in API Manager on Google Cloud for the account 
we want to use, and added OAuth2 client credentials. 

The client_id and client_secret credentials were then added to auth.ini.

GetRefreshToken.php was then run which gave a URL. After going to the URL 
and granting permission it gave an access code. This was then put in to the 
Refresh CLI as requested.

However, it returns with the following error:

Your OAuth2 Credentials are incorrect.
Please see the GetRefreshToken.php example.
{
  "error" : "invalid_client"
}


The account has been added as Admin to our MCC.
The developerToken is from our MCC account, and userAgent matches the 
oAuthClient Name.

I've tried multiple times with different variations of settings but it 
hasn't worked.

Any help would be appreciated.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/c4fe0f1f-f1d1-46c5-916b-82412adf7fb3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


adgroup mobile bid modifier opt back in

2014-12-22 Thread marc
When running a script to set mobile bid adjust values I'll set the value to 
0 for some cases during one execution to "opt out" of mobile. Later when I 
run the mutate script again and an attempt is made to change a 0 value to a 
positive value I get the following error:

CriterionError.CANNOT_BID_MODIFY_CRITERION_CAMPAIGN_OPTED_OUT @ 
operations[101].operand.bidModifier; 
Error description: "Cannot bid modify criterion, since it is opted out of 
the campaign."


//
Code I'm using to set the bid modifier.
// 
$operations = array();

for loop {
$agBidModifier = new AdGroupBidModifier();
$agBidModifier->adGroupId = $adGroupId;
$agBidModifier->criterion = new Platform();
$agBidModifier->criterion->id = $criterionId;
$agBidModifier->bidModifier = $bidModifier;
$operation = new AdGroupBidModifierOperation();
$operation->operator = 'SET';
$operation->operand = $agBidModifier;
$operations[] = $operation;
}

// run mutate
try {
$response = $adGroupService->mutate($operations);
} 
catch (Exception $e) {
print($e->getMessage());
}
//



Is there a way to opt back in by using the AdGroupBidModifierOperation? Or 
should I be using the REMOVE operator instead of setting the value to 0?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4e274c6b-5855-45f3-8dcf-2a99fb5dd1bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to set max content cpc

2014-12-17 Thread marc

How can I set the max content cpc? I am using the PHP library and have been 
unable to find anything that will perform this update.

I'd like to set this on an adgroup, but if this isn't possible then setting 
it on a keyword will work too.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/915f30e1-ae3b-4a41-9797-1807d4b602c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Geo performance report CityCriteriaId misguides developers

2014-07-22 Thread Marc Lladó
Hello Ray, 

There is any new update on this issue, we would also like to have numeric 
Location id's on the GEO PERFORMANCE REPORTS.

BR, 

Marc.

Chirag,
>
> My apologies - we don't yet have an update to this.   Thank you for your 
> patience.
>
> Thanks,
>
> Ray
>
> On Tuesday, February 25, 2014 12:26:23 AM UTC-5, Chirag wrote:
>>
>> Hello Paul,
>>
>> Any update regarding this?
>>
>>
>>
>> On Thursday, December 19, 2013 11:00:59 PM UTC+5:30, Paul Matthews 
>> (AdWords API Team) wrote:
>>>
>>> Hi Chirag,
>>>
>>> We're still looking at this issue, but no new information as yet.
>>>
>>> Regards,
>>>
>>> - Paul, AdWords API Team.
>>>
>>> On Tuesday, 3 December 2013 17:27:11 UTC, Chirag wrote:
>>>>
>>>> Hello Paul,
>>>>
>>>> Any information ragrding this?
>>>>
>>>>
>>>> On Monday, October 28, 2013 4:18:25 PM UTC+5:30, Chirag wrote:
>>>>>
>>>>> Hello Paul,
>>>>>
>>>>> Thanks for reply.
>>>>>
>>>>> When i can expect this to be update?
>>>>>
>>>>> On Friday, October 25, 2013 9:23:04 PM UTC+5:30, Paul Matthews 
>>>>> (AdWords API Team) wrote:
>>>>>>
>>>>>> Hi Chirag,
>>>>>>
>>>>>> You're correct, though it's listed off as a Integer, it's actually 
>>>>>> returned as a String. I'll see if we can get this (or a similar) column 
>>>>>> to 
>>>>>> be an integer to provide the level of granularity required. I'll update 
>>>>>> this thread as soon as I have new information.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> - Paul, Adwords Api Team.
>>>>>>
>>>>>> On Tuesday, 22 October 2013 11:35:34 UTC+1, Chirag wrote:
>>>>>>>
>>>>>>> Hello Team,
>>>>>>>
>>>>>>> Under Geo performance report CityCriteriaId gives us string for city 
>>>>>>> and not the original criteria id for which city is targeted.
>>>>>>>
>>>>>>> Lets see if i am going to fetch report for city = Mexico for Indiana 
>>>>>>> targeted.
>>>>>>> But unfortunately i am getting report for city targeted 
>>>>>>> Mexico,Missouri that wrong.
>>>>>>>
>>>>>>> So how i can identify for city i wants to target is correct.
>>>>>>>
>>>>>>> In geography list am getting  
>>>>>>> 31017200  Mexico  Mexico,Indiana,United States 21148  US City   
>>>>>>> Active41018941   
>>>>>>> Mexico  Mexico,Maine,United States  
>>>>>>> 21154US City   Active51020483Mexico  Mexico,Missouri,United 
>>>>>>> States  21157   
>>>>>>> US   City   
>>>>>>>   Active61023144Mexico 
>>>>>>> Mexico,New York,United States  21167 
>>>>>>> USCity
>>>>>>> Active
>>>>>>>
>>>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Setting the Target CPA value with v201306

2013-11-07 Thread Marc

How do I set the values for the Target CPA?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


Looking for an AdWords API programmer

2013-04-19 Thread Marc Damon
I have had a few programmers start API projects for me that they can't 
finish and I need someone who knows what they are doing to get these done 
as soon as possible.

The first project is a budget program that will adjust campaign budgets 
daily to maintain a set monthly budget across many different accounts.

The second program is a database driven program that will dynamically 
create ads from inventory in the database.

Please let me know if you are interested.

Thanks
Marc

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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




Competition score

2013-03-14 Thread Marc Witteveen
Hi,

Last time I used the AdWords API was 1.5 years a go... I recall they had a 
"competition 
score" with a scale of 1 to 5. Did Google removed this from their API?

Thanks a lot.

Marc

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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




Re: Question about adParam GET/SET best practices

2012-07-31 Thread marc
Thanks for the great answers. They were very helpful. Exactly what I was 
looking for.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


Re: API returning UNEXPECTED_INTERNAL_API_ERROR all the time today

2012-07-31 Thread Marc Sanders
Same here

Op dinsdag 31 juli 2012 15:11:59 UTC+2 schreef Tal Ater het volgende:
>
> All the queries I am running against the Sandbox 
> return InternalApiError.UNEXPECTED_INTERNAL_API_ERROR... These are queries 
> that all worked great until a couple of hours ago... Is there some kind of 
> error or downtime?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


Question about adParam GET/SET best practices

2012-07-30 Thread marc
AdParam Get/Set best practices 
I am running a script that updates the AdParams for a campaign once a day. 
There are potentially 90,000 adgroups that could be updated daily. 

This takes forever, when it works without some sort of error occurring. 

I was wondering if anyone had some tips on best practices to use when 
running adparam updates.

Here's how I perform the updates.


$adGroupId = ;
$keywordIds = ;
$param1 = ;

try { 
   $operations = array();
   foreach($keywordIds as $keywordId) {
  $adParam1 = new AdParam($adGroupId, $keywordId, $param1, 1);
  
  // Create operations for the first adparam
  $adParamOperation = new AdParamOperation();
  $adParamOperation->operand = $param1;   
  $adParamOperation->operator = 'SET';
  $operations[] = $adParamOperation;
   }
   
   if(!empty($operations)) {
  $adParams = $this->adParamService->mutate($operations);
   } 
} 
catch (Exception $e) {
 .
 .
 . 
}


Thanks
 

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


Re: AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED error

2012-05-22 Thread marc
Hi David. 

I just ran the request. 

request id: 0004c0a1d8f7ae880aedec07291b



On Monday, May 21, 2012 10:04:22 AM UTC-7, David Torres wrote:
>
> Hi Marc,
>
> Can you post a request id to AdGroupCriterion service that pulls all 
> criteria from Ad Group id 3616898215?. I'll be glad to help you having this 
> info.
>
> Best,
>
> -David Torres - AdWords API Team
>
> On Wednesday, May 16, 2012 2:42:26 PM UTC-4, marc wrote:
>>
>> I am running an adparam set on some new adgroups and am getting the 
>>  AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED error. In one case, the 
>> error is thrown for three criterion ids. We have 6 targeted keywords for 
>> this adgroup, and they are all enabled. Also, I updated to current criteria 
>> id values for this adgroup before running the set script so everything 
>> should be correct.
>>
>> Is there something I'm missing that might explain why this is failing?
>>
>> Here are ids for two cases where I'm seeing the same failure.
>>
>> 0004c02b6c61ad300a969c17138f
>>
>> 0004c02b6c5228880a964829571d
>>
>> thanks
>>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


Re: AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED error

2012-05-17 Thread marc
Additional information

(request id: 0004c03e32aa8d100a422c6e761b)

Here's an example of a case where I am able to GET the criteria ids for an 
adgroup, but when trying to SET the adparam values, the errors at the 
bottom resulted
And I did successfully set a number of adparams for older adgroups. It's 
only with these newer adgroups that I'm having problems:


-
GET
-
Array
(
[0] => Array
(
[criterion_id] => 10474777272
[adgroup_id] => 3616898215
[criterion_type] => Keyword
)

[1] => Array
(
[criterion_id] => 10600936381
[adgroup_id] => 3616898215
[criterion_type] => Keyword
)

[2] => Array
(
[criterion_id] => 11795462013
[adgroup_id] => 3616898215
[criterion_type] => Keyword
)

[3] => Array
(
[criterion_id] => 11795561553
[adgroup_id] => 3616898215
[criterion_type] => Keyword
)

[4] => Array
(
[criterion_id] => 12590495154
[adgroup_id] => 3616898215
[criterion_type] => Keyword
)

[5] => Array
(
[criterion_id] => 12899226063
[adgroup_id] => 3616898215
[criterion_type] => Keyword
)

[6] => Array
(
[criterion_id] => 12910609854
[adgroup_id] => 3616898215
[criterion_type] => Keyword
)

[7] => Array
(
[criterion_id] => 13051470027
[adgroup_id] => 3616898215
[criterion_type] => Keyword
)

)

-
SET
-
AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[0].operand; 
trigger:'AdGroupId = 3616898215, CriterionId = 10474777272', 
AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[1].operand; 
trigger:'AdGroupId = 3616898215, CriterionId = 10474777272', 
AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[2].operand; 
trigger:'AdGroupId = 3616898215, CriterionId = 10600936381', 
AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[3].operand; 
trigger:'AdGroupId = 3616898215, CriterionId = 10600936381', 
AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[4].operand; 
trigger:'AdGroupId = 3616898215, CriterionId = 13144213747', 
AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED @ operations[5].operand; 
trigger:'AdGroupId = 3616898215, CriterionId = 13144213747'

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED error

2012-05-16 Thread marc
I am running an adparam set on some new adgroups and am getting the 
 AdParamError.INVALID_ADGROUP_CRITERION_SPECIFIED error. In one case, the 
error is thrown for three criterion ids. We have 6 targeted keywords for 
this adgroup, and they are all enabled. Also, I updated to current criteria 
id values for this adgroup before running the set script so everything 
should be correct.

Is there something I'm missing that might explain why this is failing?

Here are ids for two cases where I'm seeing the same failure.

0004c02b6c61ad300a969c17138f

0004c02b6c5228880a964829571d

thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


Re: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR in sandbox

2012-05-04 Thread Marc Sanders
Has this issues been resolved?

On Sunday, March 4, 2012 11:41:53 AM UTC+1, Bruce Wu wrote:
>
> Hi,
>
> I'm facing the same problem (using PHP with and without client library). 
>
> To replicate, try the CreateAccount.php example with PHP 5.3.2
>
> For me, it ended up with: "An error has occurred: 
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @ 
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro".
>
> Best regards,
> Bruce Wu
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


Looking to hire for API reporting project

2012-04-18 Thread Marc Damon
Hello all,

I have an API reporting program that was built last year and it is in 
desperate need of maintenance and upgrades. I run a paid search agency with 
about 60 customers and don't have time to work on this program, so I need 
some help.

If you are able to work on this, please let me know and we can go over 
details and talk pricing.

Thanks
Marc Damon
630-204-0213
mcd0...@yahoo.com

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


Re: adhoc Report

2012-04-16 Thread marc
I know both are similar, but go one can go to Izenda.com, an ad hoc 
reporting site, and know the difference.
On Monday, April 2, 2012 6:35:57 AM UTC-4, ja wrote:
>
> How exactly is adhoc reporting different from Report Definition Service
>
>

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


How to add filters to GetTargetingIdeaService('v201008') ?

2011-02-24 Thread Marc Waesche
Hello!

To get keyword suggestions for a given website address
GetTargetingIdeaService returns me a very large list in "standard"
order. I am only interested in the top 10 suggestions containing not
more than 2 words with the highest cost per click value. How can I set
such filters? I don't want to pay for hundreds of cpc reports each
although I only need 10 of them.

Best regards
Marc

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


Set AdParams

2010-05-21 Thread Marc Quamediagroup
Hello,
I would like to use Adparams services in order to update the ads
dynamically.
I have done a test on l’adgroupID [1397558686] and on
criterion[(6638144635],[6638144725],[6638202055],[6638203405]) but
this doesn’t seem to work properly.

I have finally configured the match as follow: "Séjour tout compris en
Thalasso en Belgique dès {param1:140€} !"

Then I started my script (SetAdparams) by using the examples given by
php. This last one returns no error and showes me that adgroup has
been updated properly.
$adParam1 = new AdParam($adGroupId, $keywordId, 100€, 1);

I have also started  a script with “GetAllAdPrams” function to check
if I had a return and I do have one : adgroupID,  criterionId,
l'insertionText and the paramIndex ” .

But, when I enter the request on Google with the matching keywords,
it’s only showing the value by default (140€) on the ad.

I just would like to know if I forgot something, or if there is a
special configuration, or if I am wrong somewhere.

Thank you for your help.

Regards,

Marc

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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


AdWords API Re: TrafficEstimatorService estimateCampaignList: Must specify a client in order to do traffic estimates.

2009-12-10 Thread marc...@productengine.com
Thanks for quick answer. I'm still having trouble with that thing.
Here is my soap request log (with my private data replaced by
capitalized placeholders):

http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://
www.w3.org/2001/XMLSchema-instance">

http://schemas.xmlsoap.org/
soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns1="https://
adwords.google.com/api/adwords/v13">
MY_EMAIL_HERE

https://adwords.google.com/api/adwords/v13";>
MY_PASSWORD_HERE

https://adwords.google.com/api/adwords/v13";>
MY_DEV_TOKEN_HERE

https://adwords.google.com/api/adwords/v13";>
MY_APP_TOKEN_HERE

https://adwords.google.com/api/adwords/v13";>
AdWords API Java Client Library - v6.2.0 - Marchex

https://adwords.google.com/api/adwords/v13";>
995-326-1374


https://adwords.google.com/
api/adwords/v13"> ...

And here is my response:

http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance">https://adwords.google.com/api/adwords/v13";>320http://schemas.xmlsoap.org/
soap/actor/next" soapenv:mustUnderstand="0" xmlns="https://
adwords.google.com/api/adwords/v13">1http://schemas.xmlsoap.org/soap/actor/next";
soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v13">20https://adwords.google.com/api/adwords/
v13">ac19500d9a81f387b2f6960b01f2d624
 soapenv:Server.userException

 Must specify a client in order to do traffic
estimates.

 
  https://adwords.google.com/api/adwords/
v13">
   94

   Must specify a client in order to do traffic
estimates.



   

  

As you can see - clientCustomerId  - is specified (and it's correct
for my adwords account). Please help. I'm already spent f couple of
dollars for failed requests. Thanks!

--

You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-...@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.




AdWords API TrafficEstimatorService estimateCampaignList: Must specify a client in order to do traffic estimates.

2009-12-09 Thread marc...@productengine.com
Unable to request campaign estimates. API returns error:

"Must specify a client in order to do traffic estimates."

Code listing (java):

AdWordsUser user = new AdWordsUser(email, password, clientId,
userAgent, developerToken, applicationToken, useSandbox);
user.getService
(AdWordsService.V13.TRAFFIC_ESTIMATOR_SERVICE).estimateCampaignList
(campaignRequests);

Where all request related data is valid (email, password, clientId,
userAgent, developerToken, applicationToken, useSandbox). I've tried
with and without clientId specified, with clientEmail specified -
still having same error.

Note: sandbox enabled test request properties are works fine, but
production properties doesn't work.

What I do wrong?

--

You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To post to this group, send email to adwords-...@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.