conversion action not being returned

2024-04-10 Thread Adam Muszalik
Hi,

I am using GoogleAdsApi v14
In Google Ads UI there is a conversion action of type AD_CALL,
when querying the conversion action resource I am not getting any results.
I attach the log below. What can be the cause?

Thanks a lot,
Adam

---BEGIN API CALL---

Request
---

Method Name: /google.ads.googleads.v14.services.GoogleAdsService/Search
Host: 
Headers: {
  "x-goog-api-client": "gl-dotnet/4.0.30319 gapic/17.1.0 
gax/4.2.0+a8085e4f36ad24e2747b5e550f11079d4a891e78 grpc/2.46.3 gccl/3.1.0 
pb/3.21.5+638779f353731a0a04496bde20d14164684c3d93",
  "developer-token": "REDACTED",
  "login-customer-id": "8784093880",
  "x-goog-request-params": "customer_id=2939607200"
}

{ "customerId": "2939607200", "query": "SELECT 
conversion_action.id,conversion_action.name,conversion_action.status,conversion_action.type,conversion_action.tag_snippets,conversion_action.app_id,conversion_action.attribution_model_settings.attribution_model,conversion_action.attribution_model_settings.data_driven_model_status,conversion_action.category,conversion_action.click_through_lookback_window_days,conversion_action.counting_type,conversion_action.firebase_settings.event_name,conversion_action.firebase_settings.project_id,conversion_action.include_in_conversions_metric,conversion_action.mobile_app_vendor,conversion_action.owner_customer,conversion_action.phone_call_duration_seconds,conversion_action.resource_name,conversion_action.third_party_app_analytics_settings.event_name,conversion_action.third_party_app_analytics_settings.provider_name,conversion_action.value_settings.always_use_default_value,conversion_action.value_settings.default_currency_code,conversion_action.value_settings.default_value,conversion_action.view_through_lookback_window_days
 
FROM conversion_action", "pageSize": 1 }

Response

Headers: {
  "content-disposition": "attachment",
  "request-id": "Mg1-9nJd_EtG4u4NcnoYCA",
  "date": "Wed, 10 Apr 2024 09:54:59 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}

{ "fieldMask": 
"conversionAction.id,conversionAction.name,conversionAction.status,conversionAction.type,conversionAction.tagSnippets,conversionAction.appId,conversionAction.attributionModelSettings.attributionModel,conversionAction.attributionModelSettings.dataDrivenModelStatus,conversionAction.category,conversionAction.clickThroughLookbackWindowDays,conversionAction.countingType,conversionAction.firebaseSettings.eventName,conversionAction.firebaseSettings.projectId,conversionAction.includeInConversionsMetric,conversionAction.mobileAppVendor,conversionAction.ownerCustomer,conversionAction.phoneCallDurationSeconds,conversionAction.resourceName,conversionAction.thirdPartyAppAnalyticsSettings.eventName,conversionAction.thirdPartyAppAnalyticsSettings.providerName,conversionAction.valueSettings.alwaysUseDefaultValue,conversionAction.valueSettings.defaultCurrencyCode,conversionAction.valueSettings.defaultValue,conversionAction.viewThroughLookbackWindowDays"
 
}
END API CALL

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aef03941-2261-4f02-a424-00b345d547a4n%40googlegroups.com.


Connection between ad assets and media files

2024-04-09 Thread Adam Bocco
I am running HTML5_UPLOAD_ADs and want to create a preview of the ad. I am 
able to retrieve the ad's data and the media bundle containing the ad 
assets. The data on ad_group_ad.ad.display_upload_ad.media_bundle gives an 
asset resource like 'customers//assets/.

It doesn't seem like the assets resource has a field that provides a URL to 
retrieve these assets. Instead I have to pull all the media files for the 
customer through the media_files resource. The problem with this is that I 
lose the connection to the ad the media files are for because there is no 
asset connection to media files.

Is there a way to link these two?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f10b045d-14a2-47d9-a46a-370641038e95n%40googlegroups.com.


Re: no response from google ads api token application

2024-04-08 Thread Adam Gray
Compliance team still didn’t respond

On Wednesday, April 3, 2024 at 3:00:13 PM UTC-7 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for reaching out to the Google Ads API support team.
>
> After reviewing your concern, I understand that you have applied 
> for API basic access and you haven't received any updates on your 
> application status.
>
> Since the access requests are handled by 
> the Google Ads API Compliance team, we are transferring the case to 
> the Ads API Compliance team. Can you kindly provide the following 
> information for the compliance team to further assist you with your 
> concern: 
>
>- Case ID generated from the compliance team in the format 
>0-0###0 (if there is any generated). 
>
> @Compliance team, please confirm if you are able to assist in 
> the below access request.
>
> Summary: The user has applied for API access with the below details. 
>
>- Google Ads Manager Account (MCC) ID: 141-505-6547 
>- Case ID: requested 
>
> Do reach out to the Google Ads API support team 
> , for any queries 
> related to 
> the API.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tOqbE:ref" (ADR-00229844)
>
> 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/4e4a7776-0e51-433f-897d-602c371f0478n%40googlegroups.com.


Google Local Service Ads - Expected Credits

2024-04-07 Thread Adam Bocco
I am using the Google Ads API to get campaign and lead data for our GLSA 
campaigns.

The cost of a GLSA campaign is often offset by the credits received from 
disputed leads that were approved (see attached). I can fetch cost from the 
campaign resource but cannot find any way to pull in these expected credits.

The local service leads resource 
<https://developers.google.com/google-ads/api/fields/v16/local_services_lead> 
does not provide any per-lead cost info so I am not able to compute 
expected credits from this data either.

Thanks in advance,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f6647c0e-e4bd-40ac-8df7-f6046f50a943n%40googlegroups.com.


Google Local Service Ads - Expected Credits

2024-04-07 Thread Adam Bocco
I am using the Google Ads API to pull in campaign and lead info for our 
GLSA campaigns. I am able to pull in cost via the campaign resource but in 
reality, this is typically offset by the 'expected credits' from approved 
disputed leads the previous month.

Is there any way to pull credits from the campaign resource?

I also pull in per-lead data via the local services lead resource  
<https://developers.google.com/google-ads/api/fields/v16/local_services_lead>, 
but there's no cost metric there so I can't compute the credits based on 
this data either.

Attached is an image from the GLSA console indicating the cost and expected 
credits.

I have also tried using the GLSA API 
<https://services.google.com/fh/files/helpcenter/lsa_api_dev_guide.pdf> but 
the data returned is similarly restricted.

Thanks in advance,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/971c206f-c683-43dc-bf23-747782620e8cn%40googlegroups.com.


Basic Token Application

2024-04-04 Thread Adam Gray
Hi Team, we applied for Basic Token access. 

Our MCC is 141-505-6547 and I don't have a case ID because we never 
received an email from the compliance team.

We are eager to get building with the API and look forward to 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/0db7f877-4b1a-4222-bf54-affa7d6ce710n%40googlegroups.com.


No response from Google Ads API Token Application

2024-04-03 Thread Adam Gray
Hello,

We didn't receive any updates over a month. Could we provide the status of
our request?

141-505-6547
No Case ID

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

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


No response from Google Ads API Token Application

2024-04-03 Thread Adam Gray
We are waiting more then 3 weeks for getting basic account, no response, no 
updates. How can we expedite the approval process?
141-505-6547 Service Hub LLC

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/94cfb994-b13c-4fe0-9adc-e668b8c645d3n%40googlegroups.com.


Re: google ads basic api token application - no response

2024-04-03 Thread Adam Gray
Hello,
We have the same issue, no response for a month
141-505-6547
No case ID

On Wednesday, April 3, 2024 at 9:28:49 AM UTC-7 Google Ads API Forum 
Advisor wrote:

> Hi Wei,
>
>
> Thank you for reaching out to the Google Ads API support team. 
>
> After reviewing your concern, I understand that you have applied for basic 
> access and haven’t received any response. Since the access requests are 
> handled by the Google Ads API Compliance team, we are transferring the case 
> to the Ads API Compliance team.
>
>
> @Compliance team, please confirm if you are able to assist in the below 
> access request.
>
> Summary:
>
> The user has applied for basic access with the below details. 
>
>
>
>- Google Ads Manager Account (MCC) ID: 565-031-0047 
>
>
>- Case ID: The user has not received any case ID.  
>
> Do reach out to the *Google Ads API* 
>  support team 
> for any queries related to the API.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02tOphQ:ref" (ADR-00229790)
>
>
> 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/4d4255d7-5bd7-45ed-9126-e3871672f927n%40googlegroups.com.


Re: navigating the insane authentication

2024-04-01 Thread Adam Milton-Barker
Going to use  a 3rd party API yours is atrocious. 

On Monday, March 25, 2024 at 2:05:15 PM UTC Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for contacting the Google Ads API support team.
>
> I understand that you are facing some issues while making an API call. To 
> make an API call to a Google Ads customer, you need access to that customer 
> either directly or through a linked manager account. You also need the 
> proper permissions depending on the particular API call. I would suggest 
> you to Prepare the customer account 
> 
>  before 
> making an API call. You need below details to make an API call.
>
> Developer token: A developer token from Google lets your app connect to 
> the Google Ads API. This is a 22-character long alphanumeric string, and is 
> listed under the "API Center" page of your Google Ads manager account. 
> After Sign in  then 
> navigate to TOOLS & SETTINGS > SETUP > API Center. The API Center option 
> appears only for Google Ads manager account.
>
> Client ID and client secret: You can find the client ID and client secret 
> in the *Google API Console* 
>  under credentials, you 
> may refer to this guide 
> 
>  for 
> more information.  
>
> Refresh token: The Google Ads API uses OAuth 2.0 as the authorization 
> mechanism. By default, OAuth 2.0 authentication issues an access token that 
> expires after a limited time. To renew the access token automatically, you 
> should issue a refresh token instead.
> Customer ID: The 10-digit customer ID of the customer account to which you 
> plan to make API calls against. This is sometimes referred to as the 
> operating customer.
>
> Log-in-customer ID: The 10-digit login customer ID of the customer account 
> you're signed in to. If you're signed in to the operating customer, the 
> login customer ID is the same as the customer ID.
>
> I would suggest you to go through 'Make an API call 
> '
>  
> guide for more information about making API call in PHP. Let us know if you 
> have any further queries.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02s0CGR:ref" (ADR-00228522)
>
> 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/64a90015-7cfe-4273-aecc-173509e3b11cn%40googlegroups.com.


Re: navigating the insane authentication

2024-04-01 Thread Adam Milton-Barker
Fully aware of how refresh tokens are used, no where in your docs does it 
tell you how to handle it with your SDK, you have literally just 
regurgitated the information we have already seen and not given any further 
understanding or example. 
On Monday, March 25, 2024 at 2:05:15 PM UTC Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for contacting the Google Ads API support team.
>
> I understand that you are facing some issues while making an API call. To 
> make an API call to a Google Ads customer, you need access to that customer 
> either directly or through a linked manager account. You also need the 
> proper permissions depending on the particular API call. I would suggest 
> you to Prepare the customer account 
> 
>  before 
> making an API call. You need below details to make an API call.
>
> Developer token: A developer token from Google lets your app connect to 
> the Google Ads API. This is a 22-character long alphanumeric string, and is 
> listed under the "API Center" page of your Google Ads manager account. 
> After Sign in  then 
> navigate to TOOLS & SETTINGS > SETUP > API Center. The API Center option 
> appears only for Google Ads manager account.
>
> Client ID and client secret: You can find the client ID and client secret 
> in the *Google API Console* 
>  under credentials, you 
> may refer to this guide 
> 
>  for 
> more information.  
>
> Refresh token: The Google Ads API uses OAuth 2.0 as the authorization 
> mechanism. By default, OAuth 2.0 authentication issues an access token that 
> expires after a limited time. To renew the access token automatically, you 
> should issue a refresh token instead.
> Customer ID: The 10-digit customer ID of the customer account to which you 
> plan to make API calls against. This is sometimes referred to as the 
> operating customer.
>
> Log-in-customer ID: The 10-digit login customer ID of the customer account 
> you're signed in to. If you're signed in to the operating customer, the 
> login customer ID is the same as the customer ID.
>
> I would suggest you to go through 'Make an API call 
> '
>  
> guide for more information about making API call in PHP. Let us know if you 
> have any further queries.
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02s0CGR:ref" (ADR-00228522)
>
> 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/d6a336c8-6021-4827-bc42-ae77a8939e14n%40googlegroups.com.


Re: How to refresh the client refresh_token?

2024-03-25 Thread Adam Milton-Barker
What an absolute joke this whole API is, and support never directly answer 
a question.

On Thursday, December 9, 2021 at 5:49:49 AM UTC Google Ads API Forum 
Advisor wrote:

> Hi Steve,
>
> I am also a member of the Google Ads API team and let me provide support 
> to your concern.
>
> To answer your latest question, I am afraid that when the user encountered 
> the error because the refresh token has been expired, then they need to 
> manually allowing the OAuth2 credentials in the browser to access the 
> Google Ads account on their behalf.
>
> The workaround here is to transform your test app into a fully published 
> app and you can reach out to GCP support 
>  to know the steps.
>
> Let me know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2ScPDp: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/82a0b343-a1cc-474c-9330-b6a3716218dan%40googlegroups.com.


Navigating the insane authentication

2024-03-25 Thread Adam Milton-Barker
We have worked with APIs for years, but have never seen anything as crazy 
as the process to make requests. We have spent 2 days going round in 
circles through the various documentation and have still not been able to 
make a simple API call. 

We are using the PHP library. We do not use a configuration file as our app 
will provide core functionality powered by our company tokens, and also the 
ability for customers to login to action requests on their accounts. 

We have set the oauth process, great usually by this point you can make 
requests, but no, we then have to go round in circles trying to find a way 
to make a request without the config file, We find that way, and then, we 
now have to find a way of getting the customer ids which are not returned 
when a customer authenticates our app. 

Which customer ID do we use? Who knows, because the documentation says you 
need them but does not tell you where they are. Great. 

login-customer-id -  is this related to our account as the application 
owners making requests to both our account and customers? Who knows. 

linked-customer-id - well we are really pushing the boat out here aren't 
we! So its not enough that we have generated an Oath Token,
its not enough that we have provided the developer token, its not enough 
that we are providing 
some unknown customer ID, we also have to provide a linked customer account 
ID. 

Can someone please explain in simple process how we make an API call? At 
this moment we are simply 
trying to make a call to our own account to generate some keyword ideas, we 
are absolutely dreading integrating this API for our customers features.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b30c51a0-9276-4255-aabe-95405600d352n%40googlegroups.com.


image ad extension creation not possible

2023-12-04 Thread Adam Muszalik
Hello Api Team!

In the past we used the feed services to create image ad extensions at 
campaign level.
Some time ago it stopped working and the info was that this is depricated 
and read-only.

I checked the documentation and found following sample from V15 (we are 
using V13 right now):
https://developers.google.com/google-ads/api/samples/add-image-extension?hl=en

I implemented the ExtensionFeedItemService and made a test call

Method Name: 
/google.ads.googleads.v13.services.ExtensionFeedItemService/MutateExtensionFeedItems

{ "customerId": "", "operations": [ { "create": { "imageFeedItem": { 
"imageAsset": "customers//assets/" } } } ], "partialFailure": true, 
"responseContentType": "MUTABLE_RESOURCE" }

But get an error:

Response

Headers: {
  "content-disposition": "attachment",
  "request-id": "eaZ7I2hgVssiA-iMhZ0mPA",
  "date": "Mon, 04 Dec 2023 09:26:10 GMT",
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000"
}

{ "results": [ { } ], "partialFailureError": { "code": 3, "message": 
"Feed-based extension is read-only for this extension type., at 
operations[0].create.resource_name", "details": [ { "@type": 
"type.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure", 
"@value": 
"CnYKA4AFGBI6RmVlZC1iYXNlZCBleHRlbnNpb24gaXMgcmVhZC1vbmx5IGZvciB0aGlzIGV4dGVuc2lvbiB0eXBlLhoGKgRbNDhdIisSDgoKb3BlcmF0aW9ucxgAEggKBmNyZWF0ZRIPCg1yZXNvdXJjZV9uYW1lEhZlYVo3STJoZ1Zzc2lBLWlNaFowbVBB"
 
} ] } }

I think it is the same as if I used the old feed/feeditem service.
Are there any other steps needed so that I can start using this service?
I took a customer where we had a feed related image extensions before - 
could this be a reason for the error?

thanks a lot!
Adam



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/03b0c575-05ba-4677-b693-9567203ef951n%40googlegroups.com.


Re: Negative tiny conversion value for all_conversions_value_by_conversion_date

2023-11-14 Thread 'Adam Nagy' via Google Ads API and AdWords API Forum
Hello,

Any updates to this question?

Thanks,
Adam

On Friday, November 3, 2023 at 5:46:32 PM UTC+1 Adam Nagy wrote:

Greetings Google dev team,

To the following query I can get negative conversion values, namely numbers 
like "-2e-9" or "-7e-9", so very small negative number seemingly:
SELECT campaign.advertising_channel_type, campaign.resource_name, 
ad_group.resource_name, ad_group_ad.resource_name, segments.date, 
segments.conversion_action, segments.conversion_action_category, 
segments.conversion_action_name, 
metrics.all_conversions_value_by_conversion_date FROM ad_group_ad WHERE 
segments.date >= '2023-09-01' AND segments.date <= '2023-11-15' AND 
*metrics.all_conversions_value_by_conversion_date 
< 0* ORDER BY segments.date DESC
And for this I get a result something like (customer information redacted)
  {
campaign: {
  advertising_channel_type: 2,
  resource_name: 'customers/customerId/campaigns/campaignId'
},
ad_group: { resource_name: 'customers/customerId/adGroups/adGroupId' },
ad_group_ad: {
  resource_name: 'customers/customerId/adGroupAds/adgroupId~adId',
  ad: resource_name: 'customers/customerId/ads/adId'
},
segments: {
  date: '2023-09-30',
  conversion_action: 
'customers/customerId/conversionActions/conversionActionId',
  conversion_action_category: 4,
  conversion_action_name: 'conversionActionName'
},
metrics: { *all_conversions_value_by_conversion_date: -7e-9* }
  }

I am happy to share request id-s and the concrete query as well, but as a 
preliminary question: is this a known and expected behaviour? Does the 
all_conversions_value_by_conversion_date: 
-7e-9 part hold actual information or is it effectively 0?
Thanks in advance,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2ac13891-9f0f-4916-bdd0-b93cb55f1530n%40googlegroups.com.


Negative tiny conversion value for all_conversions_value_by_conversion_date

2023-11-03 Thread 'Adam Nagy' via Google Ads API and AdWords API Forum
Greetings Google dev team,

To the following query I can get negative conversion values, namely numbers 
like "-2e-9" or "-7e-9", so very small negative number seemingly:
SELECT campaign.advertising_channel_type, campaign.resource_name, 
ad_group.resource_name, ad_group_ad.resource_name, segments.date, 
segments.conversion_action, segments.conversion_action_category, 
segments.conversion_action_name, 
metrics.all_conversions_value_by_conversion_date FROM ad_group_ad WHERE 
segments.date >= '2023-09-01' AND segments.date <= '2023-11-15' AND 
*metrics.all_conversions_value_by_conversion_date 
< 0* ORDER BY segments.date DESC
And for this I get a result something like (customer information redacted)
  {
campaign: {
  advertising_channel_type: 2,
  resource_name: 'customers/customerId/campaigns/campaignId'
},
ad_group: { resource_name: 'customers/customerId/adGroups/adGroupId' },
ad_group_ad: {
  resource_name: 'customers/customerId/adGroupAds/adgroupId~adId',
  ad: resource_name: 'customers/customerId/ads/adId'
},
segments: {
  date: '2023-09-30',
  conversion_action: 
'customers/customerId/conversionActions/conversionActionId',
  conversion_action_category: 4,
  conversion_action_name: 'conversionActionName'
},
metrics: { *all_conversions_value_by_conversion_date: -7e-9* }
  }

I am happy to share request id-s and the concrete query as well, but as a 
preliminary question: is this a known and expected behaviour? Does the 
all_conversions_value_by_conversion_date: 
-7e-9 part hold actual information or is it effectively 0?
Thanks in advance,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d7a20145-24ea-4c12-a510-bb9b8e1bbd10n%40googlegroups.com.


Re: Trying to add Audiences to Display Campaign/ Adgroup

2023-09-26 Thread Adam Walters
Was there a solution to this? I am having the same problem.

On Monday, August 8, 2022 at 9:55:39 AM UTC-4 Google Ads API Forum Advisor 
wrote:

> Hi,
>
> Thank you for reaching out to us.
>
> For our team to further check this, could you provide the complete API 
> logs (request 
> 
>  
> and response 
> 
>  with 
> request-id 
> )
>  
> generated on your end?
>
> You may then send the requested information via the Reply privately to 
> author option. If this option is not available, you may send the details 
> directly to our googleadsa...@google.com alias instead
>
> Best regards,
> [image: Google Logo] 
> Heidi 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2dIQpG: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/83eb1a41-6aff-443f-8ea9-bf0bd7364edan%40googlegroups.com.


Re: Cannot set use_audience_grouped to True in ad group level

2023-09-26 Thread Adam Walters
Was a solution found for this? I have the same problem when creating 
standard display ad groups with the use_audience_grouped set to True.



On Monday, May 2, 2022 at 11:36:36 PM UTC-4 Google Ads API Forum Advisor 
wrote:

> Hi Elias,
>
> Thank you for raising your concern to my team.
>
> Could you confirm if the issue encountered when setting the 
> *use_audience_grouped* to true? If yes, then according to this document 
> ,
>  
> Discovery campaigns only support adding audience ad group criterion with 
> this process.
>
> Let me know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2YrVWT: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/49508840-ad49-40ca-bc29-9a2fdb36d51en%40googlegroups.com.


Re: use_audience_grouped set to false not working

2023-09-26 Thread Adam Walters
Hello,

Are you able to set the value to True for standard display ad groups? Is 
documentation anywhere on what ad group types have the availability?

Thanks

On Wednesday, January 25, 2023 at 5:54:56 PM UTC-5 Google Ads API Forum 
Advisor wrote:

> Hi all,
>
> Upon further investigation, I've found that for *Discovery* campaigns, 
> the only supported value for this field is *true*. Currently, the API 
> ignores the value you sent in, but even if it did not ignore it, you still 
> wouldn't be able to set the field to *false* on a Discovery campaign. At 
> most, the API would throw an error in a future API release for that 
> scenario.
>
> That still leaves non-Discovery campaigns. Has anyone on this thread found 
> this value is being ignored for non-Discovery campaigns?
>
>
> Thanks,
> [image: Google Logo] 
> Josh Radcliff 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2hMlkn: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/6409456c-2ac5-4b68-859b-e88dd53d25a5n%40googlegroups.com.


Set audience_setting.use_audience_grouped to True for Display Ad Group

2023-09-26 Thread Adam Walters
Hello,

I am getting errors when trying to create standard display ad groups with 
the use_audience_grouped set to true.

Error received:
errors {
  error_code {
context_error: OPERATION_NOT_PERMITTED_FOR_CONTEXT
  }
  message: "The operation is not allowed for the given context."
  trigger {
string_value: "DISPLAY"
  }
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "audience_setting"
}
field_path_elements {
  field_name: "use_audience_grouped"
}
  }
}
request_id: "wjHf_3IbrXCu_S445rzHww"
, 'wjHf_3IbrXCu_S445rzHww')

Are you able to set the value to True for Display Ad Groups?

Thank you,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6fa21b8d-dbc0-45ac-95aa-86876c016ac9n%40googlegroups.com.


Re: extremely slow api calls caused by {method 'next_event' of 'grpc._cython.cygrpc.segregatedcall' objects}

2023-05-17 Thread Adam Walters
Hello,

Yes, I am using the Python client library. It had been working as expected
and then all of a sudden seemed to fall off. It appears that the client
library is installed and configured correctly.

<https://www.facebook.com/digibleinc/>
<https://www.instagram.com/digibleinc/>
<https://www.linkedin.com/company/digibleinc/>
<https://www.tiktok.com/@digibleinc>



Adam Walters

 Marketing Operations Engineer

 AUTHENTICITY | FOCUS | CURIOSITY | HUMILITY | HAPPINESS

Phone: (317) 840-1645

Email:   a...@digible.com


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If the reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited.



On Wed, May 17, 2023 at 4:58 AM Google Ads API Forum Advisor
 wrote:

> Hi,
>
> Thank you for reaching out to Google Ads API Support.
>
> Can you confirm if you are using the Python client library? If yes, it
> seems like your concern is more on the implementation / integration of our
> client libraries rather than anything specific to *Google Ads API* itself.
> That said, I would recommend reaching out to the developer who maintains
> our *client libraries Python (Github Issues)* in the link below.
>
> Additionally, you may also check and confirm if you have followed the 
> *installation
> guide* and *configuration guide* of the Python client library.
>
> Reference links included in this email:
>
>- Google Ads API:
>*https://developers.google.com/google-ads/api/docs/start*
><https://developers.google.com/google-ads/api/docs/start>
>- Client libraries Python (Github Issues):
>*https://github.com/googleads/google-ads-python/issues*
><https://github.com/googleads/google-ads-python/issues>
>- Python Client Library Installation Guide:
>
> *https://developers.google.com/google-ads/api/docs/client-libs/python/installation*
>
> <https://developers.google.com/google-ads/api/docs/client-libs/python/installation>
>- Python Client Library Configuration Guide:
>
> *https://developers.google.com/google-ads/api/docs/client-libs/python/configuration*
>
> <https://developers.google.com/google-ads/api/docs/client-libs/python/configuration>
>
> Regards,
> [image: Google Logo] Google Ads API Team
>
> ref:_00D1U1174p._5004Q2lIX16: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/CAFNyvFf%3Djpq2nVKoTknifC%2B5okqwHoH7prcGPX7nakvLAXJyDg%40mail.gmail.com.


Extremely slow api calls caused by {method 'next_event' of 'grpc._cython.cygrpc.SegregatedCall' objects}

2023-05-16 Thread Adam Walters
Hello,

Recently my program started running extremely slow and upon further 
investigation found that this '{method 'next_event' of 
'grpc._cython.cygrpc.SegregatedCall' objects}' was taking over 5 seconds 
per call.

I am using all of the latest versions grpc and google-ads packages.

Below is an example of the code that is running and the results from a 
cProfile run:
from google.ads.googleads.client import GoogleAdsClient
from google.ads.googleads.v13.services.services.google_ads_service import 
pagers
import logging

logging.basicConfig(level=logging.INFO, format='[%(asctime)s - 
%(levelname)s] %(message).5000s')
logging.getLogger('google.ads.googleads.client').setLevel(logging.INFO)

client = GoogleAdsClient.load_from_storage("google-ads.yaml")
google_ads_service = client.get_service("GoogleAdsService", version='v13')

class GoogleQuery:
"""A class to query Google Ads API

Attributes:
client: An initialized GoogleAdsClient instance.
mcc_id: The Google Ads MCC ID
search_accounts_query: A query to return all search accounts
display_accounts_query: A query to return all display accounts

Methods:
get_existing_search_accounts: Returns a dictionary of existing search 
accounts
get_existing_display_accounts: Returns a dictionary of existing display 
accounts
run_gaql_query: Runs a GAQL query and returns a Pager object
"""

def __init__(self):
self.client = client
self.mcc_id = "XX"
self.search_accounts_query = """SELECT
customer_client.id,
customer_client.resource_name,
customer_client.descriptive_name,
customer_client.manager,
customer_client.applied_labels
FROM 
customer_client
WHERE
customer_client.manager = false 
AND customer_client.id IS NOT NULL 
AND customer_client.descriptive_name LIKE '%Search%'
AND customer.status = 'ENABLED'"""

@staticmethod
def run_gaql_query(query: str, customer_id) -> pagers.SearchPager:
"""runs GAQL query through Google Ads API
Args:
customer_id: customer ID being queried
query: the actual GAQL query being ran
Returns:
Returns a pagers.SearchPager response of the raw data
"""
return google_ads_service.search(
customer_id=customer_id,
query=query
)

def get_existing_search_accounts(self) -> dict:
"""runs GAQL query through Google Ads API

Returns:
Returns a dict of {internal_id, account_name}
"""
response = self.run_gaql_query(self.search_accounts_query, self.mcc_id)
return {row.customer_client.descriptive_name[-8:]: 
row.customer_client.descriptive_name for row in response}

gaql = GoogleQuery()
gaql.get_existing_search_accounts()

# cProfile Results from above code Tue May 16 13:31:28 2023   
 output_test.pstats

 991213 function calls (973122 primitive calls) in 10.099 seconds

   Ordered by: internal time
   List reduced from 6168 to 20 due to restriction <20>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
17.3987.3987.4017.401 {method 'next_event' of 
'grpc._cython.cygrpc.SegregatedCall' objects} 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5d932590-ce73-41dd-85b9-e5364d051125n%40googlegroups.com.


Extremely slow, {method 'next_event' of 'grpc._cython.cygrpc.SegregatedCall' objects}

2023-05-16 Thread Adam Walters
Hello,

Recently my program started running extremely slow and upon investigation I 
found that the '{method 'next_event' of 
'grpc._cython.cygrpc.SegregatedCall' objects} was take over 5 seconds per 
call.

I am using the latest versions of grpc and google-ads packages.

Here is an example of my code that is running and below is the output from 
a cProfile run that shows the issue:
from google.ads.googleads.client import GoogleAdsClient
from google.ads.googleads.v13.services.services.google_ads_service import 
pagers
import logging

logging.basicConfig(level=logging.INFO, format='[%(asctime)s - 
%(levelname)s] %(message).5000s')
logging.getLogger('google.ads.googleads.client').setLevel(logging.INFO)

client = GoogleAdsClient.load_from_storage("google-ads.yaml")
google_ads_service = client.get_service("GoogleAdsService", version='v13')

class GoogleQuery:
"""A class to query Google Ads API

Attributes:
client: An initialized GoogleAdsClient instance.
mcc_id: The Google Ads MCC ID
search_accounts_query: A query to return all search accounts
display_accounts_query: A query to return all display accounts

Methods:
get_existing_search_accounts: Returns a dictionary of existing search 
accounts
get_existing_display_accounts: Returns a dictionary of existing display 
accounts
run_gaql_query: Runs a GAQL query and returns a Pager object
"""

def __init__(self):
self.client = client
self.mcc_id = "XX"
self.search_accounts_query = """SELECT
customer_client.id,
customer_client.resource_name,
customer_client.descriptive_name,
customer_client.manager,
customer_client.applied_labels
FROM 
customer_client
WHERE
customer_client.manager = false 
AND customer_client.id IS NOT NULL 
AND customer_client.descriptive_name LIKE '%Search%'
AND customer.status = 'ENABLED'"""

@staticmethod
def run_gaql_query(query: str, customer_id) -> pagers.SearchPager:
"""runs GAQL query through Google Ads API
Args:
customer_id: customer ID being queried, default is Digible MCC
query: the actual GAQL query being ran
Returns:
Returns a pagers.SearchPager response of the raw data
"""
return google_ads_service.search(
customer_id=customer_id,
query=query
)

def get_existing_search_accounts(self) -> dict:
"""runs GAQL query through Google Ads API
Args:
customer_id: customer ID being queried, default is Digible MCC

Returns:
Returns a dict of {digible_id, account_name}
"""
response = self.run_gaql_query(self.search_accounts_query, self.mcc_id)
return {row.customer_client.descriptive_name[-8:]: 
row.customer_client.descriptive_name for row in response}

gaql = GoogleQuery()
gaql.get_existing_search_accounts()

#cProfile results Tue May 16 13:31:28 2023output_test.pstats

 991213 function calls (973122 primitive calls) in 10.099 seconds

   Ordered by: internal time
   List reduced from 6168 to 20 due to restriction <20>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
17.3987.3987.4017.401 {method 'next_event' of 
'grpc._cython.cygrpc.SegregatedCall' objects}
 11180.4410.0000.4410.000 {method 'read' of 
'_io.BufferedReader' objects} 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/04c4250c-84a3-461d-8add-cd0786a8f71en%40googlegroups.com.


Re: How to set Bidding Strategy to Conversion value or Viewable impressions for Display campaign ?

2023-03-16 Thread Adam Walters
Hello Google Ads API Team,

How are you handling this with the Google Ads API now that ManualCpm has no 
viewable_cpm_enabled field?

On Wednesday, April 8, 2020 at 12:25:51 PM UTC-4 Google Ads API Forum 
Advisor Prod wrote:

> Hi Vicky,
>
> Thank you for reaching out. Please see here 
> 
>  
> for the available bidding strategy types. For the Viewable CPM strategy, 
> you have to set the bidding strategy as ManualCpm 
> 
>  
> and set viewableCpmEnabled 
> 
>  
> to true. The screenshot you provided is for a TargetRoas 
> 
>  
> bid strategy. Maximize conversion value strategy is only for search 
> campaigns.
>
> Regards,
> Mitchell
> Google Ads API Team
>
> ref:_00D1U1174p._5001UZWqLg: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/d322f73c-31be-4ab1-8ef9-5fb99a27d0a4n%40googlegroups.com.


Create Campaign with ManualCPM bidding strategy

2023-03-16 Thread Adam Walters
Hello,

I'm receiving the below errors/message when trying to create a campaign 
with:
campaign.bidding_strategy_type = 
(client.enums.BiddingStrategyTypeEnum.MANUAL_CPM)



Request with ID "HS6OcJJAmzZKyr9-SjsrLQ" failed with status 
"INVALID_ARGUMENT" and includes the following errors:
Error with message "The required field was not present.".
On field: operations
On field: create
On field: campaign_bidding_strategy
[2023-03-16 15:26:59,703 - INFO] Request
---
Method: /google.ads.googleads.v13.services.CampaignService/MutateCampaigns
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "2151671644",
  "x-goog-api-client": "gl-python/3.9.4 grpc/1.51.3 gax/2.11.0 gccl/20.0.0 
pb/4.21.11",
  "x-goog-request-params": "customer_id=3727734182"
}
Request: customer_id: "3727734182"
operations {
  create {
name: "Bidding Test"
status: PAUSED
advertising_channel_type: DISPLAY
network_settings {
  target_content_network: true
}
campaign_budget: "customers/3727734182/campaignBudgets/12441729808"
bidding_strategy_type: MANUAL_CPM
  }
}


Response
---
Headers: {
  "google.ads.googleads.v13.errors.googleadsfailure-bin": 
"\nc\n\u0003\u0003\u0002\u0012#The required field was not 
present.\"7\u0012\u000e\n\noperations\u0018\u\u0012\b\n\u0006create\u0012\u001b\n\u0019campaign_bidding_strategy\u0012\u0016HS6OcJJAmzZKyr9-SjsrLQ",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
argument.\u001a\u0001\nDtype.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure\u0012}\nc\n\u0003\u0003\u0002\u0012#The
 
required field was not 
present.\"7\u0012\u000e\n\noperations\u0018\u\u0012\b\n\u0006create\u0012\u001b\n\u0019campaign_bidding_strategy\u0012\u0016HS6OcJJAmzZKyr9-SjsrLQ",
  "request-id": "HS6OcJJAmzZKyr9-SjsrLQ"
}
Fault: errors {
  error_code {
field_error: REQUIRED
  }
  message: "The required field was not present."
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "campaign_bidding_strategy"
}
  }
}
request_id: "HS6OcJJAmzZKyr9-SjsrLQ"


[2023-03-16 15:26:59,703 - WARNING] Request made: ClientCustomerId: 
3727734182, Host: googleads.googleapis.com, Method: 
/google.ads.googleads.v13.services.CampaignService/MutateCampaigns, 
RequestId: HS6OcJJAmzZKyr9-SjsrLQ, IsFault: True, FaultMessage: The 
required field was not present. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b5f5888e-f982-405c-aaf5-67f6e462dfcbn%40googlegroups.com.


Re: Creating an ad_group_ad.image_ad using a media_file

2023-03-13 Thread Adam Walters
Here is the image link for additional 
context: 
https://lh5.googleusercontent.com/4X8gH8BTbLZAKLHtuThtEgv6kSAHDQnjFbbqEotyPSX9rGMQM-SDTWfMy48Qyg4Ju1yQ-fdIFz96KNI=s220

On Monday, March 13, 2023 at 1:35:28 PM UTC-4 Adam Walters wrote:

> Yes. Please see below:
> Method: 
> /google.ads.googleads.v13.services.AdGroupAdService/MutateAdGroupAds
> Host: googleads.googleapis.com
> Headers: {
>   "developer-token": "REDACTED",
>   "login-customer-id": "2151671644",
>   "x-goog-api-client": "gl-python/3.9.4 grpc/1.51.3 gax/2.11.0 gccl/20.0.0 
> pb/4.21.11",
>   "x-goog-request-params": "customer_id=3727734182"
> }
> Request: customer_id: "3727734182"
> operations {
>   create {
> status: ENABLED
> ad_group: "customers/3727734182/adGroups/145390685654"
> ad {
>   final_urls: "https://www.digible.com;
>   display_url: "digible.com"
>   name: "Ad Name"
>   image_ad {
> media_file: "customers/3727734182/mediaFiles/156598151473"
>   }
> }
>   }
> }
>
>
> Response
> ---
> Headers: {
>   "google.ads.googleads.v13.errors.googleadsfailure-bin": 
> "\nh\n\u0003\u0002\u0005\u0012%The image is not of legal 
> dimensions.\":\u0012\u000e\n\noperations\u0018\u\u0012\b\n\u0006create\u0012\u0004\n\u0002ad\u0012\n\n\bimage_ad\u0012\f\n\nmedia_file\u0012\u0016nwA_KBVxSEh-dPH6OP-L0g",
>   "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
> argument.\u001a\u0001\
> nDtype.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure\u0012\u0001\nh\n\u0003\u0002\u0005\u0012%The
>  
> image is not of legal 
> dimensions.\":\u0012\u000e\n\noperations\u0018\u\u0012\b\n\u0006create\u0012\u0004\n\u0002ad\u0012\n\n\bimage_ad\u0012\f\n\nmedia_file\u0012\u0016nwA_KBVxSEh-dPH6OP-L0g",
>   "request-id": "nwA_KBVxSEh-dPH6OP-L0g"
> }
> Fault: errors {
>   error_code {
> image_error: UNEXPECTED_SIZE
>   }
>   message: "The image is not of legal dimensions."
>   location {
> field_path_elements {
>   field_name: "operations"
>   index: 0
> }
> field_path_elements {
>   field_name: "create"
> }
> field_path_elements {
>   field_name: "ad"
> }
> field_path_elements {
>   field_name: "image_ad"
> }
> field_path_elements {
>   field_name: "media_file"
> }
>   }
> }
> request_id: "nwA_KBVxSEh-dPH6OP-L0g"
>
> On Monday, March 13, 2023 at 3:56:00 AM UTC-4 Google Ads API Forum Advisor 
> wrote:
>
>> Hi Adam,
>>
>>
>> Thanks for reaching out to the Google Ads API team. I hope you are doing 
>> well today.
>>
>>
>> With regards to your concern, to further check this issue, could 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* request ID* 
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>>  and* request header* 
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
>>  generated 
>> on your end?  If you haven't yet, logging can be enabled 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>, 
>> so that we can further check and provide precise guidance accordingly.
>>
>>
>> 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.
>>  
>>
>> Regards,
>> [image: Google Logo] Google Ads API Team 
>>
>>
>> ref:_00D1U1174p._5004Q2jYIhK: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/86ee32ab-8180-4ab9-94cb-938b98b771aan%40googlegroups.com.


Re: Creating an ad_group_ad.image_ad using a media_file

2023-03-13 Thread Adam Walters
Yes. Please see below:
Method: /google.ads.googleads.v13.services.AdGroupAdService/MutateAdGroupAds
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "2151671644",
  "x-goog-api-client": "gl-python/3.9.4 grpc/1.51.3 gax/2.11.0 gccl/20.0.0 
pb/4.21.11",
  "x-goog-request-params": "customer_id=3727734182"
}
Request: customer_id: "3727734182"
operations {
  create {
status: ENABLED
ad_group: "customers/3727734182/adGroups/145390685654"
ad {
  final_urls: "https://www.digible.com;
  display_url: "digible.com"
  name: "Ad Name"
  image_ad {
media_file: "customers/3727734182/mediaFiles/156598151473"
  }
}
  }
}


Response
---
Headers: {
  "google.ads.googleads.v13.errors.googleadsfailure-bin": 
"\nh\n\u0003\u0002\u0005\u0012%The image is not of legal 
dimensions.\":\u0012\u000e\n\noperations\u0018\u\u0012\b\n\u0006create\u0012\u0004\n\u0002ad\u0012\n\n\bimage_ad\u0012\f\n\nmedia_file\u0012\u0016nwA_KBVxSEh-dPH6OP-L0g",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
argument.\u001a\u0001\nDtype.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure\u0012\u0001\nh\n\u0003\u0002\u0005\u0012%The
 
image is not of legal 
dimensions.\":\u0012\u000e\n\noperations\u0018\u\u0012\b\n\u0006create\u0012\u0004\n\u0002ad\u0012\n\n\bimage_ad\u0012\f\n\nmedia_file\u0012\u0016nwA_KBVxSEh-dPH6OP-L0g",
  "request-id": "nwA_KBVxSEh-dPH6OP-L0g"
}
Fault: errors {
  error_code {
image_error: UNEXPECTED_SIZE
  }
  message: "The image is not of legal dimensions."
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "ad"
}
field_path_elements {
  field_name: "image_ad"
}
field_path_elements {
  field_name: "media_file"
}
  }
}
request_id: "nwA_KBVxSEh-dPH6OP-L0g"

On Monday, March 13, 2023 at 3:56:00 AM UTC-4 Google Ads API Forum Advisor 
wrote:

> Hi Adam,
>
>
> Thanks for reaching out to the Google Ads API team. I hope you are doing 
> well today.
>
>
> With regards to your concern, to further check this issue, could 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* request ID* 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  and* request header* 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
>  generated 
> on your end?  If you haven't yet, logging can be enabled 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>, so 
> that we can further check and provide precise guidance accordingly.
>
>
> 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.
>  
>
> Regards,
> [image: Google Logo] Google Ads API Team 
>
>
> ref:_00D1U1174p._5004Q2jYIhK: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/24628125-93b0-4979-aa75-4e1a67360b31n%40googlegroups.com.


Creating an ad_group_ad.image_ad using a media_file

2023-03-10 Thread Adam Walters
I have successfully created a MediaFile within the account and am trying to 
use that to create a Display ad (non-HTML5), but when running this function 
I receive the below error:

def create_display_upload_ad_group_ads(self, ad_group_id, customer_id):

ad_group_ad_operation = client.get_type("AdGroupAdOperation")
ad_group_ad_service = client.get_service("AdGroupAdService")
# Configure the ad group ad fields.
ad_group_ad = ad_group_ad_operation.create
ad_group_ad.status = client.enums.AdGroupAdStatusEnum.ENABLED
ad_group_ad.ad_group = 
client.get_service("AdGroupService").ad_group_path(
self.customer_id, self.ad_group_id
)

# Configured the ad as a display ad.
display_ad = ad_group_ad.ad
display_ad.name = 'Ad Name'
display_ad.final_urls.append(self.landing_page)
display_ad.display_url = 'digible.com'
display_ad.image_ad.media_file = 
"customers/3727734182/mediaFiles/156598151473"

ad_group_ad_service.mutate_ad_group_ads(
customer_id=customer_id, operations=[ad_group_ad_operation]
)

ERROR Recieved:
Request with ID "5baQ0V9cGCiQ5jFaPaRfyg" failed with status 
"INVALID_ARGUMENT" and includes the following errors:
Error with message "The image is not of legal dimensions.".
On field: operations
On field: create
On field: ad
On field: image_ad
On field: media_file

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/67524a4b-5e48-4e71-90ce-65e93be81c4fn%40googlegroups.com.


User Defined Conversion at Asset Level

2023-02-10 Thread Christian Adam
Hi!

In 
https://developers.google.com/google-ads/api/fields/v11/ad_group_ad_asset_view 
we have conversions metrics like `metrics.all_conversions`.

Is there a way to tell if a specific asset was involved in a specific 
conversion?
Let's say I define a conversion called "SignUpSuccess". Is there a way to 
tell how many "sign up success conversions" an asset is related to? (In 
either this view, or other view, or any other Ads API way?)

Thanks!

Christian -

-- 


Taxfix AG

Köpenicker Str. 122 
10179 Berlin, Germany

Taxfix.de 
 
Taxfix in Play Store 
 
Taxfix in App Store 
Vorstand:
 
Martin Ott (Vorstandsvorsitzender) | Lino Teuteberg | Dr. Daniel Kreter
Aufsichtsratsvorsitzender: Mathis Büchi Ginzbourg
Sitz: Berlin, Amtsgericht 
Charlottenburg HRB 248584 B


Please consider the impact on the environment 
before printing this email.

Diese E-Mail einschließlich evtl. angehängter 
Dateien enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind und Sie diese E-Mail irrtümlich 
erhalten haben, dürfen Sie weder den Inhalt dieser E-Mails nutzen noch 
dürfen Sie die evtl. angehängten Dateien öffnen und auch nichts kopieren 
oder weitergeben/verbreiten. Bitte verständigen Sie den Absender und 
löschen Sie diese E-Mail und evtl. angehängte Dateien umgehend.

The 
information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of, or taking of any 
action in reliance upon, this information by persons or entities other than 
the intended recipient is prohibited. If you receive this in error, please 
contact the sender and delete the material from any computer.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e9eaf03b-88ae-48f6-84dc-cd75f3977167n%40googlegroups.com.


Re: ERROR: BillingSetup start_time

2022-12-09 Thread Adam Walters
lib/python3.9/site-packages/grpc/_interceptor.py",
line 274, in continuation
response, call = self._thunk(new_method).with_call(
  File
"/Users/adamwalters/digible_repos/Paid_Social_Optimizations/venv/lib/python3.9/site-packages/grpc/_interceptor.py",
line 301, in with_call
return self._with_call(request,
  File
"/Users/adamwalters/digible_repos/Paid_Social_Optimizations/venv/lib/python3.9/site-packages/grpc/_interceptor.py",
line 287, in _with_call
call = self._interceptor.intercept_unary_unary(continuation,
  File
"/Users/adamwalters/digible_repos/Paid_Social_Optimizations/venv/lib/python3.9/site-packages/google/ads/googleads/interceptors/exception_interceptor.py",
line 99, in intercept_unary_unary
self._handle_grpc_failure(response)
  File
"/Users/adamwalters/digible_repos/Paid_Social_Optimizations/venv/lib/python3.9/site-packages/google/ads/googleads/interceptors/exception_interceptor.py",
line 71, in _handle_grpc_failure
raise self._get_error_from_response(response)
google.ads.googleads.errors.GoogleAdsException: (<_InactiveRpcError of RPC
that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string = "UNKNOWN:Error received from peer
ipv6:%5B2607:f8b0:4009:81a::200a%5D:443
{created_time:"2022-12-09T13:46:51.151023-05:00", grpc_status:3,
grpc_message:"Request contains an invalid argument."}"
>, <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string = "UNKNOWN:Error received from peer
ipv6:%5B2607:f8b0:4009:81a::200a%5D:443
{created_time:"2022-12-09T13:46:51.151023-05:00", grpc_status:3,
grpc_message:"Request contains an invalid argument."}"
>, errors {
  error_code {
billing_setup_error: FUTURE_START_TIME_PROHIBITED
  }
  message: "A start time in the future cannot be used because there is
currently no active billing setup for this customer."
  location {
field_path_elements {
  field_name: "operation"
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "start_time"
}
  }
}
request_id: "icqFfFFdZ9gH91FEK7AWcA"
, 'icqFfFFdZ9gH91FEK7AWcA')

<https://www.facebook.com/digibleinc/>
<https://www.instagram.com/digibleinc/>
<https://www.linkedin.com/company/digibleinc/>
<https://www.tiktok.com/@digibleinc>



Adam Walters

 Director of Paid Media

 AUTHENTICITY | FOCUS | CURIOSITY | HUMILITY | HAPPINESS

Phone: (317) 840-1645

Email:   a...@digible.com


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If the reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited.



On Fri, Dec 9, 2022 at 12:18 PM Adam Walters  wrote:

> Hello,
>
> Confirming the start date is set to datetime.now() and that it is being
> made at the same time as the API request. I have re-run the code several
> times and got the same error message. Would you be able to assist me in
> where to pull those request and response logs from? Below is the full error
> message. Also, just to re-iterate the oddity I was experiencing where I
> would receive this error, but if, in the Google Ads UI, I clicked into
> billing then selected Link to Existing Setup, and then exited WITHOUT
> setting up billing, the next time I ran the code it would work as expected.
>
> [2022-12-09 12:11:41,703 - WARNING] Request made: ClientCustomerId:
> 5265225717, Host: googleads.googleapis.com, Method:
> /google.ads.googleads.v11.services.BillingSetupService/MutateBillingSetup,
> RequestId: pz-QrJn0RfhHZnWTn3ygag, IsFault: True, FaultMessage: A start
> time in the future cannot be used because there is currently no active
> billing setup for this customer.
> Traceback (most recent call last):
>   File
> "/Users/adamwalters/digible_repos/Paid_Social_Optimizations/greystar_account_creation/billing_test.py",
> line 87, in 
> billing.setup_billing()
>   File
> "/Users/adamwalters/digible_repos/Paid_Social_Optimizations/greystar_account_creation/billing_test.py",
> line 41, in setup_billing
> response = billing_setup_service.mutate_billing_setup(
>   File
> "/Users/adamwalters/digible_repos/Paid_Social_Optimizations/venv/lib/python3.9/site-packages/google/ads/googleads/v11/services/services/billing_setup_service/client.py",
> line 495, in mutate_billing_setup
> response = rpc(
>   File
> "/

Re: ERROR: BillingSetup start_time

2022-12-09 Thread Adam Walters
rminated with:
status = StatusCode.INVALID_ARGUMENT
details = "Request contains an invalid argument."
debug_error_string = "UNKNOWN:Error received from peer
ipv6:%5B2607:f8b0:4009:803::200a%5D:443
{created_time:"2022-12-09T12:11:41.579003-05:00", grpc_status:3,
grpc_message:"Request contains an invalid argument."}"
>, errors {
  error_code {
billing_setup_error: FUTURE_START_TIME_PROHIBITED
  }
  message: "A start time in the future cannot be used because there is
currently no active billing setup for this customer."
  location {
field_path_elements {
  field_name: "operation"
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "start_time"
}
  }
}
request_id: "pz-QrJn0RfhHZnWTn3ygag"
, 'pz-QrJn0RfhHZnWTn3ygag')



<https://www.facebook.com/digibleinc/>
<https://www.instagram.com/digibleinc/>
<https://www.linkedin.com/company/digibleinc/>
<https://www.tiktok.com/@digibleinc>



Adam Walters

 Director of Paid Media

 AUTHENTICITY | FOCUS | CURIOSITY | HUMILITY | HAPPINESS

Phone: (317) 840-1645

Email:   a...@digible.com


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If the reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited.



On Fri, Dec 9, 2022 at 2:45 AM Google Ads API Forum Advisor
 wrote:

> Hi Adam,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> I can see that you’ve received
> BillingSetupError.FUTURE_START_TIME_PROHIBITED errors. Upon checking the
> details closely that you’ve shared with us, I found that the API request
> contains the start date as datetime.now(). Could you confirm this?
>
>
>
> start_date = datetime.now()
>
> billing_setup.start_date_time = start_date.strftime("%Y-%m-%d %H:%M:%S")
>
> return billing_setup
>
>
>
> Kindly double check your request if you are not setting the future date as
> compared to when the API call was made. To avoid this error, you would need
> to avoid setting a start date in future with respect to API call request
> time.
>
> Also, as a side note, you may double check the latest billing setup ID in
> your request that has a valid start date and end date that doesn’t extend
> beyond its billing setup. Once you confirm it, you may retry your API
> request. Let us know how it goes further. If the error still persists, you
> may provide us with the complete logs in the format of the 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 along with request-id as seen in their respective links. In addition,
> we recommend you to enable logging to capture complete details if any error
> occurs by navigating to the Client libraries > Your client library (ex
> Python) > Logging documentation, which you can access from this *link*
> <https://developers.google.com/google-ads/api/docs/client-libs>.
>
> Kindly provide the logs to our team via reply privately to the author
> option.
>
> Regards,
> [image: Google Logo]
> Yasar
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2h16Va: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/CAFNyvFeqKuDO1z6vvz5rjyeZHZ%3DuDvVCDkGyggh-fFpzjjYGCw%40mail.gmail.com.


ERROR: BillingSetup start_time

2022-12-08 Thread Adam Walters
I have consolidated billing set up and am linking brand new accounts to 
those payments_account_id & payments_profile_id

I am using almost exactly the same code that is provided in the examples 
but receive the below error: Also, when running the code I will always get 
the error. However, if I go into the GoogleAds UI and click into Billing > 
Settings and DO NOT setup any billing. After I exist GoogleAds and rerun 
the code it runs perfectly fine. Below are the error and code used.

I am receiving this ERROR:
errors {
  error_code {
billing_setup_error: FUTURE_START_TIME_PROHIBITED
  }
  message: "A start time in the future cannot be used because there is 
currently no active billing setup for this customer."
  location {
field_path_elements {
  field_name: "operation"
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "start_time"
}
  }
}
request_id: "v8fEru_pUG1egwSLFDOTZA"
, 'v8fEru_pUG1egwSLFDOTZA')

Below are the methods used:
def setup_billing(self):
billing_setup = self._create_billing_setup()
billing_setup_operation = client.get_type("BillingSetupOperation")
client.copy_from(billing_setup_operation.create, billing_setup)
billing_setup_service = client.get_service("BillingSetupService")
response = billing_setup_service.mutate_billing_setup(
customer_id=self.customer_id, operation=billing_setup_operation
)
self.billing_setup_id = billing_setup.id
logger.info(
f"Added new billing setup with resource name 
{response.result.resource_name} for cid:{self.customer_id}")


def _create_billing_setup(self):
"""Creates and returns a new billing setup instance.
The new billing setup will have its payment details populated. One of the
payments_account_id or payments_profile_id must be provided.

Returns:
A newly created BillingSetup instance.
"""
billing_setup = self.client.get_type("BillingSetup")

# Sets the appropriate payments account field.
if self.payments_account_id != None:
# If a payments account ID has been provided, set the payments_account
# field to the full resource name of the given payments account ID.
# You can list available payments accounts via the
# PaymentsAccountService's ListPaymentsAccounts method.
billing_setup.payments_account = client.get_service(
"BillingSetupService"
).payments_account_path(self.customer_id, self.payments_account_id)
elif self.payments_profile_id != None:
# Otherwise, create a new payments account by setting the
# payments_account_info field
# See https://support.google.com/google-ads/answer/7268503
# for more information about payments profiles.
billing_setup.payments_account_info.payments_account_name = (
f"Payments Account #{uuid4()}"
)
billing_setup.payments_account_info.payments_profile_id = (
self.payments_profile_id
)
start_date = datetime.now()
billing_setup.start_date_time = start_date.strftime("%Y-%m-%d %H:%M:%S")
return billing_setup

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/367a690d-b2e9-48f1-9490-a94a75aea8e4n%40googlegroups.com.


structured_snippet_feed_item.values ERROR

2022-11-23 Thread Adam Walters
Hello, 

When creating a structured snippet extension via the v11 Google Ads API, 
python. I seem to be running into an issue and cannot find any examples for 
a workaround.

Here is the part of my code where I receive an error and the error:
extension_feed_item8 = extension_feed_item_operation8.create
extension_feed_item8.extension_type = extension_type_enum.STRUCTURED_SNIPPET
extension_feed_item8.structured_snippet_feed_item.header = "Amenities"
extension_feed_item8.structured_snippet_feed_item.values = ["foo", "bar", 
"boo", "far"]

ERROR:
in create_extension_feed_items
extension_feed_item8.structured_snippet_feed_item.values = {"foo", 
"bar", "boo", "far"}
AttributeError: Assignment not allowed to repeated field "values" in 
protocol message object.

Thank you,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d6958d7b-447f-43b3-aa60-a9f3bc80799en%40googlegroups.com.


In-Market & Affinity Campaign Targeting

2022-11-18 Thread Adam Walters
Hello, 

I have been trying to find examples, but have been unable to find any. What 
is the proper way to add an In-Market audience to a campaign via API v11, 
python?

I have tried reworking other targeting criteria examples but have been 
unsuccessful.

Thank you,
Ada,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5c509956-c8ee-4a98-88f0-81a6bae3a0e4n%40googlegroups.com.


Re: Google Ads API (googleAds:searchStream) weird results

2022-11-15 Thread Christian Adam
Hi there!

I did reply with "Reply to Author" only with the full request/response. 
Just checking in to know if you got it.

Thanks!

Christian -

On Friday, November 11, 2022 at 5:21:43 PM UTC-3 adsapi wrote:

> Hi Christina,
>
> Thank you for reaching out to the Google Ads API support team.
>
> To investigate the issue further, could you please provide the complete 
> request 
> 
>  and response 
> 
>  logs, 
> with the request-id 
> ?
>  
> If you haven't yet, logging can be enabled by navigating to the Client 
> libraries > Your client library (ex. Java) > Logging documentation, which 
> you can access from this link 
> .
> Could you please provide full screen screenshot of the UI which data you 
> want to pull?
>
> You can provide it via Reply privately to author option. If this option is 
> not available, you may send the details directly to our 
> googleadsa...@google.com 
> 
>  alias 
> instead. Let me know if you have any questions.
>
> Thanks, 
> [image: Google Logo] 
> Nirmita 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2g2wUC:ref
>

-- 


Taxfix GmbH

Köpenicker Str. 122 
10179 Berlin, Germany

Taxfix.de 
 
Taxfix in Play Store 
 
Taxfix in App Store 
Geschäftsführung:
 
Martin Ott | Lino Teuteberg | Dr. Daniel Kreter
Sitz: Berlin, Amtsgericht 
Charlottenburg HRB 178817B


Please consider the impact on the environment 
before printing this email.

Diese E-Mail einschließlich evtl. angehängter 
Dateien enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind und Sie diese E-Mail irrtümlich 
erhalten haben, dürfen Sie weder den Inhalt dieser E-Mails nutzen noch 
dürfen Sie die evtl. angehängten Dateien öffnen und auch nichts kopieren 
oder weitergeben/verbreiten. Bitte verständigen Sie den Absender und 
löschen Sie diese E-Mail und evtl. angehängte Dateien umgehend.

The 
information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of, or taking of any 
action in reliance upon, this information by persons or entities other than 
the intended recipient is prohibited. If you receive this in error, please 
contact the sender and delete the material from any computer.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a112f7f3-deaf-42f8-a8da-818b2e6fe63bn%40googlegroups.com.


Google Ads API (googleAds:searchStream) weird results

2022-11-11 Thread Christian Adam
Hi Google Team,

I'm making use of the Google Ads API, and more precisely the Google Ads 
Service and I'm getting weird results.

I'm executing a POST request like this:

URL:
 
{{GOOGLE_API_ENDPOINT}}/v{{API_VERSION}}/customers/{{CUSTOMER_ID}}/googleAds:searchStream

BODY:
{
"query": "SELECT metrics.impressions, asset.id, ad_group.resource_name, 
ad_group.type, asset.type, ad_group_ad_asset_view.field_type FROM 
ad_group_ad_asset_view WHERE segments.date = '2022-11-09' AND 
ad_group_ad_asset_view.field_type = 'HEADLINE' AND ad_group_ad.ad.id = 
"
}

And I can see 15 headlines being shown!

Now if I select `segments.date` to be part of the result:

BODY:
{
"query": "SELECT metrics.impressions, asset.id, ad_group.resource_name, 
ad_group.type, asset.type, ad_group_ad_asset_view.field_type, segments.date 
FROM ad_group_ad_asset_view WHERE segments.date = '2022-11-09' AND 
ad_group_ad_asset_view.field_type = 'HEADLINE' AND ad_group_ad.ad.id = 
"
}

I get only 13 results!.

This is weird, as the headlines returned for the same ad varies depending 
on the fields I select? 
Shouldn't I always get 15 headlines in this case? Could this be a bug in 
the API?

Thanks!!

Christian -

-- 


Taxfix GmbH

Köpenicker Str. 122 
10179 Berlin, Germany

Taxfix.de 
 
Taxfix in Play Store 
 
Taxfix in App Store 
Geschäftsführung:
 
Martin Ott | Lino Teuteberg | Dr. Daniel Kreter
Sitz: Berlin, Amtsgericht 
Charlottenburg HRB 178817B


Please consider the impact on the environment 
before printing this email.

Diese E-Mail einschließlich evtl. angehängter 
Dateien enthält vertrauliche und/oder rechtlich geschützte Informationen. 
Wenn Sie nicht der richtige Adressat sind und Sie diese E-Mail irrtümlich 
erhalten haben, dürfen Sie weder den Inhalt dieser E-Mails nutzen noch 
dürfen Sie die evtl. angehängten Dateien öffnen und auch nichts kopieren 
oder weitergeben/verbreiten. Bitte verständigen Sie den Absender und 
löschen Sie diese E-Mail und evtl. angehängte Dateien umgehend.

The 
information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of, or taking of any 
action in reliance upon, this information by persons or entities other than 
the intended recipient is prohibited. If you receive this in error, please 
contact the sender and delete the material from any computer.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/721fbafe-4473-47a8-857e-7c2678d40bfcn%40googlegroups.com.


Re: Help wanted, collection_size_error TOO_FEW when creating adGroupAds

2022-07-10 Thread Adam Genshaft
Confirmed! Removing the resource_name and adding an ad_group instead 
worked. However, I had more similar errors downstream that I had to tinker 
through.

On Monday, July 4, 2022 at 4:06:15 PM UTC+3 adsapi wrote:

> Hi Adam,
>
> Thanks for your patience.
>
> Our team sees that you’re using AdGroupAdService to create ads, and 
> specified a resource name with -1 in the path as resource name. 
>
> Note that specifying *-1* in the resource name is intended only for Batch 
> Job and *GoogleAdsService.Mutate* 
> <https://developers.google.com/google-ads/api/reference/rpc/v11/GoogleAdsService#mutate>
>  
> as they support temporary resource names that can be referenced later on in 
> the same request. If you have set using AdGroupAdService without using 
> batch job or Mutate, then you may need to avoid using temporary resource 
> names to avoid any error.
>
> Could you please confirm this? If you’re indeed using Batch Job or 
> *GoogleAdsService.Mutate* 
> <https://developers.google.com/google-ads/api/reference/rpc/v11/GoogleAdsService#mutate>,
>  
> then you may provide us privately with the complete logs in the format of 
> the request 
> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>  as 
> seen in their respective links.
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2cFofy: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/f2c420a8-aca2-4503-a73d-1f2b6c2cf09bn%40googlegroups.com.


Ad group ad and assets relationship

2022-07-08 Thread 'Adam Nagy' via Google Ads API and AdWords API Forum
Dear Google Ads API developers,

What is the relationship between ad group ads and assets?
E.g. if there is an ad in a discovery campaign, which has multiple assets - 
could these assets belong to another ads as well?

Thanks,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/98eb10f6-c42b-411c-b96d-327d82ee9052n%40googlegroups.com.


Discovery campaigns feature parity with UI

2022-07-06 Thread 'Adam Nagy' via Google Ads API and AdWords API Forum
Dear Google Ads API developers,

I was wondering if there is anything that the gRPC/REST API cannot do but 
the UI can do?
In other words: can the gRPC / REST API clients do the same as the Google 
Ads UI can for discovery campaigns?

Thank you,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/afc927d8-7ba3-41fd-ba95-973358a66184n%40googlegroups.com.


Help wanted, collection_size_error TOO_FEW when creating adGroupAds

2022-07-03 Thread Adam Genshaft
I'm sending this object:

{
"status": "ENABLED",
"resource_name": "customers/1310914546/adGroupAds/138411489117~-1",
"ad": {
"name": "Image ad1656865946261",
"final_urls": [

"https://www.sobelifestylegroup.com/?retarget=1_source=retarget_medium=GG_campaign=;
],
"responsive_display_ad": {
"business_name": "Sobe Lifestyle Group",
"headline": "So Be It",
"long_headline": {
"text": "So Be It"
},
"descriptions": [
{
"text": "Reserve your next Miami vacation with the most 
trusted concierge service in Miami."
}
],
"marketing_images": [
{
"asset": "customers/1310914546/assets/43047554250"
}
],
"square_marketing_images": [
{
"asset": "customers/1310914546/assets/43017270794"
}
]
}
}
}

And I recieve this response:

{
  "errors": [
{
  "error_code": {
"collection_size_error": "TOO_FEW"
  },
  "message": "Too few.",
  "location": {
"field_path_elements": [
  {
"field_name": "operations",
"index": 0
  },
  {
"field_name": "create"
  },
  {
"field_name": "ad"
  },
  {
"field_name": "responsive_display_ad"
  }
]
  }
}
  ],
  "request_id": "mgwfdaAiCjDqvtX71qFfSQ"
}

Any idea why?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a0e968cc-7419-47cd-8bc5-2256db790d6dn%40googlegroups.com.


Re: Missing shopping gclids in click_performance_report / ClickStats_[...]

2022-07-01 Thread Adam

Hi Jinky,

As mentioned, this is coming through managed processes - both by Fivetran 
the native Google Ads Data Transfer -- as such, I don't have a request 
details to share with you.

Should this be the only method to debug, I can run it and come back to you, 
but would prefer not to if you can investigate from another avenue?

Best,

A
On Friday, 1 July 2022 at 13:05:32 UTC+1 adsapi wrote:

> Hi Adam,
>
> Thank you for raising this concern to the Google Ads API Forum. 
>
> To check this in our end, could you please provide the complete API 
> 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 request-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  and login-customer-id 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#cid>
>  that 
> generated on your end also the screen where we can see the "lost visibility 
> of gclids" that you mentioned? This information will help our team to 
> further investigate.
>
> If you haven't yet, logging can be enabled 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>. 
> You can provide it via the Reply* privately to author* option. If this 
> option is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> Best regards,
> [image: Google Logo] 
> Jinky 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2cFKQV: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/57953d0c-feef-41ff-a5a1-c7e42b6b827bn%40googlegroups.com.


Missing shopping gclids in click_performance_report / ClickStats_[...]

2022-07-01 Thread Adam
Hi there,

During June, I have lost visibility of gclids generated by Shopping 
campaigns in gclid-based reports available from Google Ads. I have 
confirmed this finding across two sources - a Fivetran import and the 
BigQuery native Google Ads Data Transfer.

For a specific account, I have lost visibility beyond the 9/10th of June 
and this is then lost across all of our accounts by the 17th of June. 

Is this expected behaviour? 

Any help on this issue would be greatly appreciated.

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

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


Re: Adgroup level data seems broken?

2022-06-16 Thread Adam Plimley
I have emailed. However, I am not sure where to get this information from
exactly.

On Thu, Jun 16, 2022 at 11:08 AM Google Ads API Forum Advisor
 wrote:

> Hi Adam,
>
> Thank you for reaching us out. I am Sherwin from Google Ads API support
> team. I hope that you are doing well today.
>
> To further investigate this issue, could 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 request ID
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
> and request header
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
> generated on your end? You can provide it via Reply privately to author
> option. If this option is not available, then send it instead on this email
> address googleadsapi-supp...@google.com.
>
> Warm regards,
> [image: Google Logo]
> Sherwin Vincent
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2bwwNK: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/CAPMYT5FJMbeHx5%3DhWtwzc4N-GK4o0m5qmHzts-S2MZw73Agmhw%40mail.gmail.com.


Adgroup level data seems broken?

2022-06-16 Thread Adam Plimley
I am using the new Google Ads API, and I am pulling the ad_group report. 
This was working fine, and historically pulls good data. However, since May 
26th the impression data started to differ from the norm. In particular the 
search_impression_share metric started to come through with more and more 
zeros. 

In line with this, I also use Core reporting API to pull data from 
analytics with the field adwords adgroup id, and since a similar time more 
and more adgroup ids are coming back blank. I wonder if the two are 
related. 

Is anyone else experiencing similar issues with adgroup level data? 

Is it a google data problem or my own problem? 

Help please! 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/90e3e967-4c23-4cd1-9c6c-573b31878176n%40googlegroups.com.


Re: Discovery Carousel Ad creation via REST API fails

2022-05-12 Thread 'Adam Nagy' via Google Ads API and AdWords API Forum
ps one more thing, if I try to create the ad via the UI, it works perfectly 
fine

On Thursday, May 12, 2022 at 2:58:33 PM UTC+2 Adam Nagy wrote:

> Greetings Google Ads API Technical Support Team,
>
> I'm trying to create Discovery Carousel Ads via the REST API.
>
> I have created multiple image assets via the API already. The images I'm 
> trying to use are all 1200 px * 1200 px.
>
> There are 2 questions from my side:
>
>- does the extension of the image matter at all? It's uploaded with a 
>base64 string, I'm using both pang and jpg as extensions
>- Why does the API call fail? Please check below the request and the 
>response.
>   - In short basically it says that the asset's type is not 
>   compatible with the field's type. "The given asset's type and the 
> specified 
>   field type are incompatible."
>
> Thanks!
> Adam
>
>
> API Request
> {
> "mutateOperations": [
> {
> "adGroupAdOperation": {
> "create": {
> "adGroup": 
> "customers/5810957480/adGroups/137501321958",
> "status": "PAUSED",
> "ad": {
> "discoveryCarouselAd": {
> "businessName": "Smartly.io API",
> "headline": {
> "text": "headline API"
> },
> "description": {
> "text": "description API"
> },
> "logoImage": {
> "asset": 
> "customers/5810957480/assets/39292148799"
> },
> "carouselCards": [
> {
> "asset": 
> "customers/5810957480/assets/39292888195"
> },
> {
> "asset": 
> "customers/5810957480/assets/39292148799"
> }
> ]
> },
> "finalUrls": [
> "https://www.smartly.io/api;
> ]
> }
> }
> }
> }
> ]
> }
> API RESPONSE
> {
> "error": {
> "code": 400,
> "message": "Request contains an invalid argument.",
> "status": "INVALID_ARGUMENT",
> "details": [
> {
> "@type": "
> type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure",
> "errors": [
> {
> "errorCode": {
> "assetLinkError": 
> "FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE"
> },
> "message": "The given asset's type and the 
> specified field type are incompatible.",
> "trigger": {
> "int64Value": "39292888195"
> },
> "location": {
> "fieldPathElements": [
> {
> "fieldName": "mutate_operations",
> "index": 0
> },
> {
> "fieldName": "ad_group_ad_operation"
> },
> {
> "fieldName": "create"
> },
> {
> "fieldName": "ad"
> },
> {
> "fieldName": "discovery_carousel_ad"
> },
> {
> "fieldName": "carousel_cards",
>  

Discovery Carousel Ad creation via REST API fails

2022-05-12 Thread 'Adam Nagy' via Google Ads API and AdWords API Forum
Greetings Google Ads API Technical Support Team,

I'm trying to create Discovery Carousel Ads via the REST API.

I have created multiple image assets via the API already. The images I'm 
trying to use are all 1200 px * 1200 px.

There are 2 questions from my side:

   - does the extension of the image matter at all? It's uploaded with a 
   base64 string, I'm using both pang and jpg as extensions
   - Why does the API call fail? Please check below the request and the 
   response.
  - In short basically it says that the asset's type is not compatible 
  with the field's type. "The given asset's type and the specified field 
type 
  are incompatible."
   
Thanks!
Adam


API Request
{
"mutateOperations": [
{
"adGroupAdOperation": {
"create": {
"adGroup": "customers/5810957480/adGroups/137501321958",
"status": "PAUSED",
"ad": {
"discoveryCarouselAd": {
"businessName": "Smartly.io API",
"headline": {
"text": "headline API"
},
"description": {
"text": "description API"
},
"logoImage": {
"asset": 
"customers/5810957480/assets/39292148799"
},
"carouselCards": [
{
"asset": 
"customers/5810957480/assets/39292888195"
},
{
"asset": 
"customers/5810957480/assets/39292148799"
}
]
},
"finalUrls": [
"https://www.smartly.io/api;
]
}
}
}
}
]
}
API RESPONSE
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": 
"type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"assetLinkError": 
"FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE"
},
"message": "The given asset's type and the 
specified field type are incompatible.",
"trigger": {
"int64Value": "39292888195"
},
"location": {
"fieldPathElements": [
{
"fieldName": "mutate_operations",
"index": 0
},
{
"fieldName": "ad_group_ad_operation"
},
{
"fieldName": "create"
},
{
"fieldName": "ad"
},
{
"fieldName": "discovery_carousel_ad"
},
{
"fieldName": "carousel_cards",
"index": 0
},
{
"fieldName": "asset"
}
]
}
},
{
"errorCode": {
"assetLinkError": 
"FIELD_TYPE_INCOMPATIBLE_WITH_ASSET_TYPE"
},
"message": "The given asset's ty

Different cost when including segments.keyword.ad_group_criterion

2022-05-05 Thread Adam Bocco
I am getting different cost micros returned when including 
segments.keyword.ad_group_criterion in my query.

This query without that metric returns a much higher cost micros:
*SELECT metrics.cost_micros FROM ad_group_ad WHERE segments.date >= 
"2022-05-01" AND segments.date <= "2022-05-04"*

Than this query:

*SELECT metrics.cost_micros, segments.keyword.ad_group_criterion FROM 
ad_group_ad WHERE segments.date >= "2022-05-01" AND segments.date <= 
"2022-05-04"*
The documentation states for `segments.keyword.ad_group_criterion` that 
both `segments.date` and  `metrics.cost_micros` are fields that can be 
selected with this segment. Why then would the sum of my cost micros for 
these two queries be different?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/79c8ecbb-ee56-4bfc-a29a-1bfc8b3c52c4n%40googlegroups.com.


No data from performance max campaigns in table shopping_performance_view

2022-03-14 Thread Adam Czarnecki
HI, i need data about product performance is pmax campaigns, but there is 
no data in query like:

SELECT segments.product_item_id, segments.product_custom_attribute4, 
metrics.clicks, metrics.impressions
 FROM shopping_performance_view

Where can i find data on product level?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0c929440-7603-4020-9e75-c2b053906cd8n%40googlegroups.com.


Re: Performance Max Campaigns - Media Cost

2022-03-14 Thread Adam Czarnecki
same questions. There are no data about performance max campaigns in this 
api query:

  SELECT segments.product_item_id, segments.product_custom_attribute4, 
metrics.clicks, metrics.impressions
  FROM shopping_performance_view

piątek, 11 marca 2022 o 18:36:14 UTC+1 ath...@gmail.com napisał(a):

> Additional product level data:
> [image: image.png]
>
> On Fri, Mar 11, 2022 at 9:34 AM Christopher Taylor  
> wrote:
>
>> My mistake, we are seeing the cost data through the campaign report - 
>> However, we cannot see detailed criterion level data like we see in 
>> Adwords. What report can we run to see this detailed data?
>>
>> Examples:
>> [image: image.png]
>>
>> [image: image.png]
>>
>> On Thu, Mar 10, 2022 at 7:33 PM Google Ads API Forum Advisor 
>>  wrote:
>>
>>> Hi Christopher,
>>>
>>> Thank you for reaching out to us.
>>>
>>> To investigate the issue further the issue with the campaign report, 
>>> could you please provide the complete API logs (request 
>>> 
>>>  
>>> and response 
>>> 
>>>  
>>> with request-id 
>>> 
>>>  
>>> )?
>>>
>>> You may then send the requested logs via the Reply privately to author 
>>> option. If this option is not available, you may send the details directly 
>>> to our googleadsa...@google.com alias instead.
>>>
>>> As for ad group report or ad group details, this currently cannot be 
>>> retrieved for performance max campaigns as mention in this guide 
>>> 
>>> .
>>>
>>> Best regards,
>>> [image: Google Logo] 
>>> Heidi 
>>> Google Ads API Team 
>>>   
>>>
>>> ref:_00D1U1174p._5004Q2XnNFE: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/cc3120b6-cdce-468a-a112-c63fbf2e028en%40googlegroups.com.


CANNOT_MODIFY_ASSET_NAME being thrown on every image creation request

2022-02-10 Thread Adam Clapinski
Hi!
I'm not sure if anything has changed yesterday (11/2/2022) bout our Google 
ads creation app was working fine when it all of a sudden started throwing 
the CANNOT_MODIFY_ASSET_NAME error (below) whenever we create an Image 
asset.
We are currently using V8 of the ads-api.
Any help on this would be greatly appreciated!

cheers Adam

{
"status": "google-ads-exception",
"message": "Exception thrown calling GoogleAds API.",
"errors": [
{
"errorCode": {
"assetError": "CANNOT_MODIFY_ASSET_NAME"
},
"message": "The asset has a name which is different from an existing 
duplicate that represents the same content.",
"trigger": {
"stringValue": "Square Image 1#fPEO"
},
"location": {
"fieldPathElements": [
{
"fieldName": "operations",
"index": 0
},
{
"fieldName": "create"
},
{
"fieldName": "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/20f91d3a-3445-4500-91e0-53a38a2882abn%40googlegroups.com.


Get MediaBundle details of the html5 upload ad

2021-12-28 Thread Adam Muszalik
Hey,

I have successfully created a new ad of type HTML5_UPLOAD_AD

When querying the ad details I get a displayUploadAd object with the 
mediaBundle resourceName:

{{ "adGroupAd": { "resourceName": "customers/XXX/adGroupAds/YYY~ZZZ", 
"status": "ENABLED", 
"ad": { "type": "HTML5_UPLOAD_AD", "displayUploadAd": { 
"displayUploadProductType": "HTML5_UPLOAD_AD", "mediaBundle": { "asset": 
"customers/XXX/assets/YYY" } }

I would like to get the zip file that I have previously uploaded:
I do not see how it could be done, in the asset resource there seem to be 
no possibility to query the media_bundle_asset property (I queried the 
asset resource and I get some general details regarding the media bundle 
but there is no detail about the uploaded file)

I made my tests with the latest v9 version.

Can you pls help me?
Thanks and br,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8f524961-0411-4118-b0fb-f33ce17636dcn%40googlegroups.com.


Re: asset_field_type_view report respond no data

2021-12-10 Thread Adam Lin
I've reply to you with logs, thanks.

adsapi 在 2021年12月10日 星期五下午5:13:09 [UTC+8] 的信中寫道:

> Hi Adam,
>
> Thank you for posting your concern.
>
> To investigate the issue, could 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 request ID 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>  and request header 
> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request_headers>
>  generated 
> on your end? You can provide it via *Reply privately to author* option. 
> If this option is not available, then send it instead on this email address 
> googleadsa...@google.com.
>
> If you haven't enabled the logging of the API transactions for the 
> specific client library that you are using, then please refer to the 
> specific guide below: 
>
>- Java - 
>https://developers.google.com/google-ads/api/docs/client-libs/java/logging 
>- .Net - 
>
> https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging 
>- PHP - 
>https://developers.google.com/google-ads/api/docs/client-libs/php/logging 
>- Python - 
>
> https://developers.google.com/google-ads/api/docs/client-libs/python/logging 
>- Ruby - 
>https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging 
>- Perl - 
>https://developers.google.com/google-ads/api/docs/client-libs/perl/logging 
>
>
> Regards,
> [image: Google Logo] 
> Ernie John Blanca Tacata 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2SdUOr: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/bf5a4b1d-dfb3-44d4-b9e1-22fe48ca1753n%40googlegroups.com.


asset_field_type_view report respond no data

2021-12-09 Thread Adam Lin
Hi team,
Our team has migrate some extensions from feed-item to asset as your 
suggestion in document, and being able to see those asset-based-extensions 
on google ads UI by selecting ALL(updated) as filter.

But here's a problem, since I had moved those extension, it has been over 
24 hours, I still can't get any performance data using asset_field_type_view 
 
as suggested in documents.
(Api has response without complain, but nothing is in it (iterator with no 
content))
here's my query:
"""
SELECT
asset_field_type_view.field_type,
asset_field_type_view.resource_name,
metrics.average_cpc,
metrics.clicks,
metrics.conversions_from_interactions_rate,
metrics.conversions,
metrics.cost_micros,
metrics.ctr,
metrics.impressions,

customer.id,
customer.descriptive_name,
campaign.id,
campaign.name
FROM asset_field_type_view
WHERE asset_field_type_view.field_type IN ('CALL', 'CALLOUT', 'SITELINK', 
'STRUCTURED_SNIPPET')
"""

Those asset-based extensions are attached to customer level, but aren't 
actually used for any running ads,
but still I expected I can get metrics thought they should be all zero.
Do I misunderstand anything? Or just the report is delayed?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4e7d22b1-2a73-421b-8bf1-1c100fefc9edn%40googlegroups.com.


Create new combined audience - HOW?

2021-07-23 Thread Adam Lin
Hi,
I'm currently using Google Ads API - python library in a project that need 
to reproduce the functionality of adding/creating audiences for ad_group. 
But I can't find a way to create a combined audience via API.
I can create custom audience by using CustomAudienceService and 
CustomAudienceOperation as sample code described, and I was expecting 
something similar for creating combined audience, which seems not exist.
How am i suppose to create a combined audience? Can't find similar question 
here, hence ask for your help.

Thanks,
Adam 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e133c321-315c-422a-8837-1169401ce02en%40googlegroups.com.


MCC Link Checker - returning disconnected account?

2021-07-04 Thread Adam Sugihto
Hi there,

Our agency has been using the excellent Link Checker script (MCC version) 
for a long time.

We have a strange condition happening at the moment where a client has 
moved on and we have disconnected their Google Ads account from our MCC, 
yet our MCC Link Checker script is still returning a '404' result daily 
from that disconnected Google Ads account?

How can I get rid of this?

Thanks in advance!

Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/33484b2d-da1a-4be8-8049-62d509b3805fn%40googlegroups.com.


RE: login_customer_id, cannot access resources further down the hierarchy

2021-02-14 Thread Albin Adam Kristiansson
Hi Xiaoming,

Thanks for getting back to me, I am currently working with python, would this 
be a way of stating the customer_id for the header?

credentials = {
'developer_token': ‘’,
'refresh_token': '',
'client_id': ‘’,
'client_secret': ‘',
'customer_id' : }

client = GoogleAdsClient.load_from_dict(credentials)

What I am actually trying to do is that I want to update all bid modifiers for 
Gender and Location across an account. I have been struggling quiet a bit, so 
would appreciate if you could point me into a direction for that. First off, I 
am trying to get the example for mobile devices to work, which so far has been 
unsuccessful. I have been banging my head against the wall with this – so would 
appreciate some input if you have any! 

Please see my attached code below

credentials = {
'developer_token': ‘’,
'refresh_token': ' ',
'client_id': ‘',
'client_secret': ‘',
'customer_id' : }

client = GoogleAdsClient.load_from_dict(credentials)

customer_id = ""
campaign_id = ""
ad_group_id = ""

ad_group_service = client.get_service("AdGroupService", version="v6")

ad_group_bm_service = client.get_service(
"AdGroupBidModifierService", version="v6"
)

# Create ad group bid modifier for mobile devices with the specified ad
# group ID and bid modifier value.
ad_group_bid_modifier_operation = client.get_type(
"AdGroupBidModifierOperation"
)

ad_group_bid_modifier = ad_group_bid_modifier_operation.create

# Set the ad group.
ad_group_bid_modifier.ad_group = ad_group_service.ad_group_path(
customer_id, ad_group_id
)

# Set the bid modifier.
ad_group_bid_modifier.bid_modifier = 1.1

# Sets the device.
ad_group_bid_modifier.device.type = client.get_type(
"DeviceEnum", version="v6"
).MOBILE

# Add the ad group bid modifier.
ad_group_bm_response = 
ad_group_bm_service.mutate_ad_group_bid_modifiers(customer_id, 
[ad_group_bid_modifier_operation])


Best regards,

Albin



From: Google Ads API Forum Advisor Prod 
Sent: 12. februar 2021 21:30
To: Albin Adam Kristiansson 
Cc: adwords-api@googlegroups.com
Subject: RE: login_customer_id, cannot access resources further down the 
hierarchy


Hi Albin,

Thank you for reaching out. I think you have misunderstood the two concepts 
here. The login_customer_id has to be set in the configuration file and it 
eventually will be used in the request header.  For the resource, you have to 
use the client customer id in the format of 
customers/{customer_id}/adGroups/{ad_group_id} to trace down to the lowest 
level entity. The client customer id could be set in a way such as in this 
example<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_googleads_google-2Dads-2Djava_blob_master_google-2Dads-2Dexamples_src_main_java_com_google_ads_googleads_examples_basicoperations_GetAdGroups.java-23L109=DwMCaQ=N-xPqDyeLJg5V3gLll2thA=Tpl5Ld2zi1fCrxHu-AwtAVsiaqBwYN8vD5NBeqyq7hE=i8jLeItTW3kd_HzLi_ArSWwfCC6XgduIVYiGaxXbj5c=-DPumwq6o33lFFaSP7LonLC4W7rcDTARxxWbSW9wqcA=>.

Thanks and regards,
Xiaoming, Google Ads API Team

[Google Logo]
Xiaoming
Google Ads API Team



ref:_00D1U1174p._5004Q2CQKJZ:ref

Privileged/Confidential Information may be contained in this message. If you 
are 
not the addressee indicated in this message (or responsible for delivery of the 
message to such person), you may not copy or deliver this message to anyone. In 
such case, you should destroy this message and kindly notify the sender by 
reply 
email. Please advise immediately if you or your employer does not consent to 
email 
for messages of this kind. Opinions, conclusions and other information in this 
message that do not relate to the official business of Group M Worldwide LLC 
and/or 
other members of the GroupM group of companies shall be understood as neither 
given 
nor endorsed by it. GroupM is the global media investment management arm of WPP.
For more information on our business ethical standards and Corporate 
Responsibility 
policies please refer to WPP's website at http://www.wpp.com/WPP/About/

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

NOT_ADS_USER Error when accessing Google Ads API from service account

2020-10-05 Thread Adam Ghoumrassi
Hello,

I am trying to access data on Ads campaigns from my Google Ads Manager 
account. 

So far I have:

- Linked my Ad Manager account with the AdWords account I need access to
- Gained approval for the application and access to the developer token
- Set up a service account 
- Created a google-ads.yaml file containing my private key, delegate 
account and developer token

However, when I attempt to access the data from the Python SDK I still get 
the following error:

*google.ads.google_ads.errors.GoogleAdsException: (<_InactiveRpcError of 
RPC that terminated with:*
* status = StatusCode.UNAUTHENTICATED*
* details = "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."*
* debug_error_string = 
"{"created":"@1601896655.92000","description":"Error received from peer 
ipv4:xx.xx.xx.xx:xxx","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"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.","grpc_status":16}"*
*>, <_InactiveRpcError of RPC that terminated with:*
* status = StatusCode.UNAUTHENTICATED*
* details = "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."*
* debug_error_string = 
"{"created":"@1601896655.92000","description":"Error received from peer 
ipv4: 
xx.xx.xx.xx:xxx","file":"src/core/lib/surface/call.cc","file_line":1062,"grpc_message":"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.","grpc_status":16}"*
*>, errors {*
*  error_code {*
*authentication_error: NOT_ADS_USER*
*  }*
*  message: "User in the cookie is not a valid Ads user."*
*}*
*, '')*


Any idea what's going on?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b64cf9d9-9c89-40a2-9618-67b16258abd3n%40googlegroups.com.


Re: Unknown Billing Error when enabling Google Ads API

2020-10-05 Thread Adam Ghoumrassi
Worked a charm! 

Thank you for your help Xiaoming.

Best,
Adam
On Friday, October 2, 2020 at 8:20:42 PM UTC+1 adsapiforumadvisor wrote:

> Hi Adam,
>
> Thank you for reaching out. Please try to disable all Google Chrome 
> extensions and ad-blockers and then sign into Google Cloud Console and add 
> the Google Ads API.
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
> [image: Google Logo] 
> Xiaoming 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q25Ye7U: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/34dc1ee6-dc45-4394-ac38-206774c78f8cn%40googlegroups.com.


Unknown Billing Error when enabling Google Ads API

2020-10-02 Thread Adam Ghoumrassi


Hello,

 

I am attempting to access the Google Ads API but every time I do, I 
encounter the following error:

“Unknown Billing Error. Tracking number: c8524429390098731"

Would you be able to assist me in figuring out how to fix this error? I 
notice that others in the Adwords have also encountered this issue.

 Best,

Adam

[image: google-ads-api-error.PNG]

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/567b208e-5611-4135-ac92-ac08712823c6n%40googlegroups.com.


Re: XML SOAP Error Invalid byte 1 of 1-byte UTF-8 sequence

2020-06-17 Thread Adam Jay
The request contains "UTF-8" encoding declaration. 
The problem might be withe the 
  żarowka
but this is also in the UTF-8.




W dniu wtorek, 16 czerwca 2020 15:26:45 UTC+2 użytkownik Adam Jay napisał:
>
> Hi. 
> I have some issue withe encoding the XML request to the Ads API 
> ("TargetingIdeaService") 
> The request is: 
> 
> http://www.w3.org/2001/XMLSchema; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance; xmlns:wsdl="
> https://adwords.google.com/api/adwords/o/v201809; xmlns:env="
> http://schemas.xmlsoap.org/soap/envelope/; xmlns:cm="
> https://adwords.google.com/api/adwords/cm/v201809; xmlns:o="
> https://adwords.google.com/api/adwords/o/v201809;>
>   
> https://adwords.google.com/api/adwords/cm/v201809;>
>   xxx
>   xx
>   
> 
>   
>   
> https://adwords.google.com/api/adwords/o/v201809;>
>   
> 
>   https://adwords.google.com/api/adwords/cm/v201809; xsi:type="cm:Language">
> 1000
>   
> 
> 
>   https://adwords.google.com/api/adwords/cm/v201809; xsi:type="cm:Location">
> 2616
>   
> 
> 
>   żarowka
> 
> KEYWORD
> STATS
> KEYWORD_TEXT
> SEARCH_VOLUME
> COMPETITION
> AVERAGE_CPC
> 
> TARGETED_MONTHLY_SEARCHES
> 
> CATEGORY_PRODUCTS_AND_SERVICES
> https://adwords.google.com/api/adwords/cm/v201809; xsi:type="cm:Paging">
>   0
>   100
> 
>   
> 
>   
> 
>
> In response i get: 
> 
> http://schemas.xmlsoap.org/soap/envelope/;>
>   
> 
>   soap:Client
>   Unmarshalling Error: ParseError at [row,col]:[22,100]
> Message: Invalid byte 1 of 1-byte UTF-8 sequence. 
> 
>   
> 
>
> I'm am working in R. 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3542c3fe-53f5-4a74-94d2-a02530ee3f6do%40googlegroups.com.


XML SOAP Error Invalid byte 1 of 1-byte UTF-8 sequence

2020-06-16 Thread Adam Jay
Hi. 
I have some issue withe encoding the XML request to the Ads API 
("TargetingIdeaService") 
The request is: 

http://www.w3.org/2001/XMLSchema; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance; xmlns:wsdl="
https://adwords.google.com/api/adwords/o/v201809; xmlns:env="
http://schemas.xmlsoap.org/soap/envelope/; xmlns:cm="
https://adwords.google.com/api/adwords/cm/v201809; xmlns:o="
https://adwords.google.com/api/adwords/o/v201809;>
  
https://adwords.google.com/api/adwords/cm/v201809;>
  xxx
  xx
  

  
  
https://adwords.google.com/api/adwords/o/v201809;>
  

  https://adwords.google.com/api/adwords/cm/v201809; xsi:type="cm:Language">
1000
  


  https://adwords.google.com/api/adwords/cm/v201809; xsi:type="cm:Location">
2616
  


  żarowka

KEYWORD
STATS
KEYWORD_TEXT
SEARCH_VOLUME
COMPETITION
AVERAGE_CPC

TARGETED_MONTHLY_SEARCHES

CATEGORY_PRODUCTS_AND_SERVICES
https://adwords.google.com/api/adwords/cm/v201809; 
xsi:type="cm:Paging">
  0
  100

  

  


In response i get: 

http://schemas.xmlsoap.org/soap/envelope/;>
  

  soap:Client
  Unmarshalling Error: ParseError at [row,col]:[22,100]
Message: Invalid byte 1 of 1-byte UTF-8 sequence. 

  


I'm am working in R. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/450a50ef-f042-484a-a59b-85a6df1f0511o%40googlegroups.com.


XML response Error Invalid byte 1 of 1-byte UTF-8 sequence.

2020-06-16 Thread Adam Jay
Hi. 
I have some issue withe encoding the XML request to the Ads API 
("TargetingIdeaService") 
The request is: 

http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xmlns:wsdl="https://adwords.google.com/api/adwords/o/v201809; 
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/; 
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201809; 
xmlns:o="https://adwords.google.com/api/adwords/o/v201809;>
  
https://adwords.google.com/api/adwords/cm/v201809;>
  969-196-2633
  AdamJay
  QctK4qcy90DF4Ndm4SuAxw

  
  
https://adwords.google.com/api/adwords/o/v201809;>
  

  https://adwords.google.com/api/adwords/cm/v201809; 
xsi:type="cm:Language">
1000
  


  https://adwords.google.com/api/adwords/cm/v201809; 
xsi:type="cm:Location">
2616
  


  żarowka

KEYWORD
STATS
KEYWORD_TEXT
SEARCH_VOLUME
COMPETITION
AVERAGE_CPC

TARGETED_MONTHLY_SEARCHES

CATEGORY_PRODUCTS_AND_SERVICES
https://adwords.google.com/api/adwords/cm/v201809; 
xsi:type="cm:Paging">
  0
  100

  

  


In response i get: 

http://schemas.xmlsoap.org/soap/envelope/;>
  

  soap:Client
  Unmarshalling Error: ParseError at [row,col]:[22,100]
Message: Invalid byte 1 of 1-byte UTF-8 sequence. 

  


I'm am working in R. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5fe99c68-53b2-4d7c-a9ab-3c7c8b768094o%40googlegroups.com.


Re: YouTube URL Placements

2020-03-23 Thread Adam Frieberg
Is there any other alternative like channel ID or channel name?

On Friday, March 20, 2020 at 9:01:02 PM UTC+1, adsapiforumadvisor wrote:
>
> Hi Adam,
>
> The reason you aren't seeing data from November until now is because there 
> were changes in our data retention policy. You can see this blog post 
> <https://ads-developers.googleblog.com/2019/10/video-and-channel-ids-change-in-adwords.html>
>  
> for more details.
>
> Regards,
> Anthony
> Google Ads API Team
>
> ref:_00D1U1174p._5001UXVjda: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/0a7a746a-9b1d-4161-9091-306a534723cb%40googlegroups.com.


YouTube URL Placements

2020-03-20 Thread Adam Frieberg
Hey Guys, 

We´re trying to export YouTube URL placement report through the API, 
however, we can´t access any data from November 2019 to todays date. We´ve 
been told that URL placements is not included in the latest API. 

Does anyone know if it´s possible to export YouTube URL placements in the 
latest API? 

Thanks :)

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d6f861b4-d646-4d0a-bab6-04e280617a8d%40googlegroups.com.


Re: Not working? CONNECTED_TV in Device Enum / Google Ads API

2019-06-13 Thread Adam Smith
Seconded, using the Python client library (latest version 2.2.0, using Ads 
API v1.3). 

Counts that in the Adwords API are attributed to "Devices streaming content 
to TV screens" are now rolled up under "Desktop" in the Google Ads API.

Please advise.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/18fe69f1-f558-472f-91ed-339da7057190%40googlegroups.com.


Re: Demographical report (AgeRanges + Gender)

2019-05-16 Thread Adam Smith

Bharani,

Any update on when this might be included in the new Google Ads API? 

This issue has been up for almost 4 years, surely there's an API method you 
could release that mimics the UI demographic report (Age x Gender x 
Parental Status)

Thanks,

Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c073e4fb-4b81-426c-b152-f08d4fb15e2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads Go Client Library

2019-03-06 Thread 'Adam Wonak' via AdWords API and Google Ads API Forum
Greetings, 

My team uses Go and would benefit from a Google Ads API client library in 
Go. I understand there is not a first party client library available yet, 
but is there a proper way we can help voice our demand for this?

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/7a9b2575-2f2c-4969-82da-8c468b8c5478%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to check conversion which are imported from GA

2018-11-15 Thread Adam Haining
A workaround that I've put into place (just to see what the conversions 
are) is by pulling the ACCOUNT_PERFORMANCE_REPORT with the conversions and 
conversion types.  It will tell when it comes from Analytics.  The only 
issue is that it only shows up if there's data for it in the time period, 
and it doesn't include the conversion settings.  But it's better than 
nothing.

On Thursday, November 15, 2018 at 11:07:33 AM UTC-7, Stijn van Lieshout 
wrote:
>
> Has this issue been addressed in v201809?
>
> The documentation now states:
>
> *Note:* Analytics goals and transactions created in Google Analytics 
> profiles linked to this Google Ads account are returned with no 
> trackingCodeType. They have a status of HIDDEN 
> <https://developers.google.com/adwords/api/docs/reference/latest/ConversionTrackerService.ConversionTracker.Status>
>  if 
> they haven't been imported into Google Ads. The status of conversion 
> trackers cannot be changed via the API; they can only be imported using the 
> Google Ads UI.
>
> The way how this is phrased is quite confusing to me. How I read this is 
> that it is now possible to retrieve goals linked to GA accounts, but that 
> these will be returned with no trackingCodeType. 
>
> But how do I retrieve conversions with no trackingCodeType? They don't 
> seem to be returned by default.
>
> On Wednesday, 9 May 2018 17:04:50 UTC+1, Sreelakshmi Sasidharan (AdWords 
> API Team) wrote:
>>
>> Hi Adam, 
>>
>> The Google Analytics conversion trackers are not being returned by 
>> ConversionTrackerService 
>> <https://developers.google.com/adwords/api/docs/reference/latest/ConversionTrackerService>
>>  at 
>> the moment. Our team is looking into updating the API documentation to 
>> reflect the expected behavior of the API. 
>>
>> Thanks,
>> Sreelakshmi, 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/0816a24f-4a7b-4b48-9818-cb3bed012b72%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: FeedItemTargetService (v201806) - strange behaviour

2018-07-12 Thread Adam Orczyk
In given Feed Item there are 10 Feed Item Targets, in each request we would 
like to get all of them.

W dniu czwartek, 12 lipca 2018 09:53:13 UTC+2 użytkownik Adam Orczyk 
napisał:
>
> Hi,
> We found two strange behaviours in FeedItemTargetService.
>
> 1. Select fields ex.: "Status","Id","CriteriaType"
>
> Request:
> http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0" xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201806;> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0">7631750729 soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0">Hurra 
> Communicationshttp://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0"/>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806
> ">StatusIdCriteriaTypeFeedIdIN45551970FeedItemIdIN25939292902
>
> Response:
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/;>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806;>000570b8f91c3cc10a37854760082ebaFeedItemTargetServiceget1254  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806
> ">10FeedItemTargetPage
>
> Selecting only "Status" and "Id" works fine.
>
> 2. Use "IN" operator ex.:
> operator => "IN",
> field => "CriteriaType",
> values => ['AD_SCHEDULE']
>
> Request:
> http://schemas.xmlsoap.org/soap/envelope/; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance;> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0" xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201806;> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0">7631750729 soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0">Hurra 
> Communicationshttp://schemas.xmlsoap.org/soap/actor/next; 
> soapenv:mustUnderstand="0"/>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806
> ">StatusIdFeedIdIN45551970FeedItemIdIN25939292902CriteriaTypeINAD_SCHEDULE
>
> Response:
>  xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/;>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806;>000570b9063f5db00a374846270138c2FeedItemTargetServiceget1260  
> xmlns="https://adwords.google.com/api/adwords/cm/v201806
> ">0FeedItemTargetPage
>
> When you use operator "NOT_IN" instead, you get proper response contains 
> 'AD_SCHEDULE' objects only.
>
> Regards,
> Adam
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b57959ea-7bb7-4b38-b849-925baa3517d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


FeedItemTargetService (v201806) - strange behaviour

2018-07-12 Thread Adam Orczyk
Hi,
We found two strange behaviours in FeedItemTargetService.

1. Select fields ex.: "Status","Id","CriteriaType"

Request:
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/cm/v201806;>http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0">7631750729http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0">Hurra 
Communicationshttp://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0"/>https://adwords.google.com/api/adwords/cm/v201806;>StatusIdCriteriaTypeFeedIdIN45551970FeedItemIdIN25939292902

Response:
http://schemas.xmlsoap.org/soap/envelope/;>https://adwords.google.com/api/adwords/cm/v201806;>000570b8f91c3cc10a37854760082ebaFeedItemTargetServiceget1254https://adwords.google.com/api/adwords/cm/v201806;>10FeedItemTargetPage

Selecting only "Status" and "Id" works fine.

2. Use "IN" operator ex.:
operator => "IN",
field => "CriteriaType",
values => ['AD_SCHEDULE']

Request:
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/cm/v201806;>http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0">7631750729http://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0">Hurra 
Communicationshttp://schemas.xmlsoap.org/soap/actor/next; 
soapenv:mustUnderstand="0"/>https://adwords.google.com/api/adwords/cm/v201806;>StatusIdFeedIdIN45551970FeedItemIdIN25939292902CriteriaTypeINAD_SCHEDULE

Response:
http://schemas.xmlsoap.org/soap/envelope/;>https://adwords.google.com/api/adwords/cm/v201806;>000570b9063f5db00a374846270138c2FeedItemTargetServiceget1260https://adwords.google.com/api/adwords/cm/v201806;>0FeedItemTargetPage

When you use operator "NOT_IN" instead, you get proper response contains 
'AD_SCHEDULE' objects only.

Regards,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/64f1c4c9-f355-49f6-8df2-2b9ffd45de42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to check conversion which are imported from GA

2018-05-08 Thread Adam Haining
Checking in on this one.  I've just run into this same problem.  Analytics 
conversions are not returning with the ConversionTrackerService.  Is this a 
bug or is it designed this way?

On Thursday, November 9, 2017 at 9:07:23 AM UTC-7, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi Greg, 
>
> Thanks for providing these details. I'll forward this feedback to the team 
> and update you once I have more details. You can also keep an eye on our 
> blog  where 
> we announce upcoming API changes.
>
> Regards,
> Shwetha, AdWords API Team.
>

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c7a710b9-5e68-4f49-bef1-542a7f839b3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ad Performance Report not including all CreativeFinalUrls

2018-02-21 Thread Adam Moore
I'm requesting an AD_PERFORMANCE_REPORT with the following selector:

$selector->fields = [
'AdGroupId',
'AdGroupName', 
'CreativeFinalUrls',
'AdGroupStatus',
];
$selector->dateRange = new DateRange(
Carbon::now()->subYears(10)->toDateString(),
Carbon::now()->toDateString()
);


I have Ad Groups which contain multiple Ads, with different URL's. I would 
expect the report to either contain a row for each AdGroup Ad URL, or for 
all distinct Ad URL's inside the AdGroup to be contain in 
the CreativeFinalUrls JSON.

I definitely do not want to report on the level of the Adverts as this 
would mean I'm processing millions of records rather than thousands (of 
AdGroups). However we do also need to know all distinct AdGroup URL's for 
our reporting.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/97513098-7d18-4d79-8449-ee39cb69585f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Inaccurate Data Returned - PHP Library

2018-02-21 Thread Adam Bullock

Hey, 

I'm using a test manager account with prod token. When using the official 
php library and get drastically different results from keyword plannner.

When using the exact sample from 
here: 
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201710/Optimization/EstimateKeywordTraffic.php

Only changing the keyword from cruise to dentist and the location to ID to 
Miami, FL leaving the default $1 Max CPC 

Results for the keyword with text 'dentist' and match type 'BROAD':
 Estimated average CPC: 714104.00 ($0.7)
 Estimated ad position: 2.33
 Estimated daily clicks: 107.53
 Estimated daily cost: 26402672.00 ($26)

I calculated those by dividing by 100 and those number are no where 
near Keyword planner or even realistic.

Trying even more example of location and keyword the result get even more 
unrealistic.

So what am I doing wrong in the API?

Adam B

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5ca6744b-220a-4731-9db7-ad0781520e27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting very high value for Estimated average CPC

2018-02-21 Thread Adam Bullock
Figure this out? I get similar issue

On Wednesday, August 30, 2017 at 5:07:36 PM UTC-4, saurav kumar wrote:
>
> Hello, I have just started using adwords api. I am able to successfully 
> run the api's but I am getting very high value for estimated average cpc in 
> EstimateKeywordTraffic.php
>
> Any guidance is appreciated. Thanks.
>
> One sample result for query="world"
> Estimated average CPC: 332028.00 Estimated ad position: 5.68 Estimated 
> daily clicks: 410.27 Estimated daily cost: 25615524.00 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0d9e7c3e-09c9-41e8-b11f-7c3cd7ea4e9c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting different estimated traffic values.

2018-02-21 Thread Adam Bullock
Hey, did you figure this out? I get similar issues.

On Friday, January 19, 2018 at 5:36:48 AM UTC-5, anke...@gmail.com wrote:
>
> Hi,
> I am getting totally different values from the API and UI. I passed 
> keyword "Supply Chain Management" and the Estimated Traffic Values from the 
> API are-
>  
>  Estimated average CPC: 123007.00
>  Estimated ad position: 5.91
>  Estimated daily clicks: 583.34
>  Estimated daily Impression: 238575552.00
>  Estimated daily cost: 44567500.00
>
> Average CPC value of this particular keyword on the UI is $4.07 but using 
> API the result is 123007.00.
> Can any body help me out to understand the API data
> Thanks
> Ankit
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ce12f3d6-dcf4-4041-9e3a-5a65cf286a52%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can I create an Image Ad without pushing the image binary at the same time?

2017-11-06 Thread Adam McKee
Hi folks,

I want to provision a new Image Ad without pushing its image binary over 
the wire when calling AdGroupAdService.mutate(operations).

Is there a way to replace the *highlighted* portion below with a reference 
to a public URL that hosts the image binary and achieve the same results?  
Or, is there some way to upload image binaries to Google ahead of time, and 
pass some kind of identifier to tell this Image instance to reference that 
identifier?

// Create image.
Image image = new Image();
*image.setData(imageData);*
image.setFileSize(imageSize);
image.setMimeType(mimeType);

// assign the image to the imageAd.
imageAd.setImage(image);

Thanks in advance!

Best,
Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/798ea6a5-ee5b-419f-ace7-88e48a01e8c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Allowing API access to a user account

2017-09-29 Thread Adam Marples
Thanks very much, just what I need

On Friday, September 29, 2017 at 4:37:12 AM UTC+1, Peter Oliquino wrote:
>
> Hi Adam,
>
> What I can recommend is for you to use the ManagedCustomerService 
> <https://developers.google.com/adwords/api/docs/reference/v201708/ManagedCustomerService>
>  and link all the other client accounts to an MCC 
> <https://developers.google.com/adwords/api/docs/guides/accounts-overview#linking_accounts>
>  that 
> you own. Then, you can generate once again the OAuth2 credentials by 
> carefully following this guide 
> <https://developers.google.com/adwords/api/docs/guides/authentication>. 
> This should allow you to manage information on the clients belonging to 
> your hierarchy. Let me know if this works for you.
>
> Best regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6603986a-530a-4cf7-8672-370025f64725%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Allowing API access to a user account

2017-09-28 Thread Adam Marples
Hi Peter and thanks for the advice. I have absolutely already implemented 
all of that! My aim was to simplify the process so that I don't need to ask 
anybody for their account login information to make a credential object for 
their account, but transfer authority from their account to a previously 
authorized account I own.

Does the API have some way of sending a request like this to the account 
owner?

Thanks,

Adam

Is there any way that some kind of read-only access can be granted to a 
master account which I have pre-authorized? 

On Thursday, September 28, 2017 at 7:15:26 AM UTC+1, Peter Oliquino wrote:
>
> Hi Adam,
>
> The email invite system is for users to be able to have access and manage 
> other accounts via the AdWords UI. In the AdWords API, in order to access 
> an account, the user will need to have the OAuth2 credentials of the 
> specific account they wish to access or manage.
>
> This means, for your scenario, you will need to acquire or generate the 
> OAuth2 credentials 
> <https://developers.google.com/adwords/api/docs/guides/authentication> using 
> an email that has access to the client account. In your code, you will then 
> need to implement a feature that will dynamically switch the credentials 
> depending on which clientCustomerId they are associated to. You can do this 
> by using the Credential object in the client library to set the values for 
> each account. Let me know if this helps.
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d383c58b-548f-4768-adc4-d265eaf706c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Allowing API access to a user account

2017-09-27 Thread Adam Marples
Hi, I am hitting the API to download a SEARCH_QUERY_PERFORMANCE_REPORT for 
several CIDs. I need to easily allow people to add their CID or MCC CID to 
my project and have consequently created a u...@gmail.com account which has 
OAuth privileges to which I am encouraging people to grant access to their 
CIDs.

Unfortunately, using the invite system, I have hit the limit of 5 invited 
accounts. Is there a better way to do this? I simply want to be able to 
either

a) give people my u...@gmail.com address and simple instructions on how to 
allow access to their CID, or,
b) use the API to send an request for access to the CID i need, which they 
can grant

Any advice?

Many thanks,

Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/10ef5a18-3427-4c05-99ca-1396ab6d9e59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Unable to create Ad with TemplateID 247 for Display Campaign

2017-07-03 Thread adam . amri . hidayat
Hi,

I was trying to create an Ad for a Display Campaign using TemplateAd with 
an ID 247. I was able to create an ad with template id: 49.

Below is the error message that i retrieved:

The user does not have permissions to create a template ad for the given 
template.. (Error: AdError.USER_DOES_NOT_HAVE_ACCESS_TO_TEMPLATE, 
FieldPath: operations[0].operand.ad.templateId, Trigger: 247)
Missing required template fields. (Error: 
AdError.MISSING_REQUIRED_TEMPLATE_FIELDS, FieldPath: 
operations[0].operand.ad.templateElements[0].variationSpecificFieldOverrides, 
Trigger: poster)

Below is the code that I use to create the template ad:
 
   TemplateElementField video = new TemplateElementField();
video.name = "video";
video.fieldMedia = firstVideo;
video.type = TemplateElementFieldType.VIDEO;


var playImage = new Image()
{
data = 
MediaUtilities.GetAssetDataFromUrl("https://upload.wikimedia.org/wikipedia/commons/5/5b/Goldfish_icon.jpg;,
 
_user.Config),
type = MediaMediaType.IMAGE
};

var newPlayImage = (Image) _mediaService.upload(new Media[] 
{playImage})[0];


var image = new Image()
{
data = 
MediaUtilities.GetAssetDataFromUrl("https://goo.gl/3b9Wfh;, _user.Config),
type = MediaMediaType.IMAGE
};

var newImage = (Image) _mediaService.upload(new Media[] 
{image})[0];

TemplateElementField poster = new TemplateElementField();
poster.name = "poster";
poster.fieldMedia = newImage;
poster.type = TemplateElementFieldType.BACKGROUND_IMAGE;
//
TemplateElement adData = new TemplateElement();
adData.uniqueName = "adData";
adData.fields = new[] {poster, video};

var videoAd = new TemplateAd() {
name = "Ad for Video",
templateId = 247,
templateElements = new TemplateElement[] {adData},
finalUrls = new string[] { "http://example.com/html5; },
displayUrl = "www.example.com/html5",
dimensions = new Dimensions()
{
width = 300,
height = 250
}
};

Regards,

Amri

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c2131ea9-6dbe-4345-9ee6-8844c82ffa1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Negative values in Shopping Performance Report

2017-03-31 Thread Adam Orczyk
Hi,
I've send you data, you asked for about an hour ago.

Regards,
Adam

W dniu czwartek, 30 marca 2017 16:32:45 UTC+2 użytkownik Shwetha Vastrad 
(AdWords API Team) napisał:
>
> Hi Adam, 
>
> Could you provide the complete report definition along with your 
> clientCustomerId so I can take a look? 
>
> MG, thank you for providing the report definition. Could you provide your 
> clientCustomerId as well? 
>
> Thanks,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f57086d0-0788-4bc9-9322-96d81824c33d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2017-03-02 Thread Adam Marshall
I have now downloaded the .Net adwords_dotnet_lib_src_v19.1.0 solution and 
ran the AddHtml5ad.cs, and this example also crashes.



So it is reproducible in the examples.

Can someone help me please?

Thanks,

Adam



On Friday, 3 March 2017 11:26:11 UTC+13, Adam Marshall wrote:

> Hello, I have been receiving the following error when attempting to create 
> an html5 template for the last 36 hours:
>
> This is the only error information received:
> (Error: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR, FieldPath: , 
> Trigger: )
>
>
> This has been working unchanged for over 8 months, yesterday it started 
> throwing these errors.
>
> I am using v201609 ( I also tested on 201702, but same issue)
>
> The campaign and adgroup are created successfully, just uploading the 
> html5 ads is failing.
>
> Here is my c# code:
>
>  AdWordsApiVersion.AdGroupAdService adGroupAdService = 
> (AdWordsApiVersion.AdGroupAdService)User.GetService(AdWordsServiceVersion.AdGroupAdService);
> AdWordsApiVersion.TemplateAd html5Ad = new 
> AdWordsApiVersion.TemplateAd()
> {
> name = adName,
> templateId = 419,
> finalUrls = new string[] { finalUrl },
> displayUrl = displayUrl,
> dimensions = new AdWordsApiVersion.Dimensions()
> {
> width = width,
> height = height
> }
> };
> AdWordsApiVersion.MediaBundle mediaBundle = new 
> AdWordsApiVersion.MediaBundle()
> {
> data = html5ZipBytes,
> entryPoint = GaTemplateManager.GoogleAdEntryPointHtml,
> type = AdWordsApiVersion.MediaMediaType.MEDIA_BUNDLE
> };
> html5Ad.templateElements = new 
> AdWordsApiVersion.TemplateElement[] {
> new AdWordsApiVersion.TemplateElement() {
> uniqueName = "adData",
> fields = new AdWordsApiVersion.TemplateElementField[] {
> new AdWordsApiVersion.TemplateElementField() {
> name = "Custom_layout",
> fieldMedia = mediaBundle,
> type = 
> AdWordsApiVersion.TemplateElementFieldType.MEDIA_BUNDLE
> },
> new AdWordsApiVersion.TemplateElementField() {
> name = "layout",
> fieldText = "Custom",
> type = 
> AdWordsApiVersion.TemplateElementFieldType.ENUM
> },
> },
> }
> };
> // Create the AdGroupAd.
> AdWordsApiVersion.AdGroupAd html5AdGroupAd = new 
> AdWordsApiVersion.AdGroupAd()
> {
> adGroupId = adGroupId,
> ad = html5Ad,
> // Additional properties (non-required).
> status = AdWordsApiVersion.AdGroupAdStatus.ENABLED
> };
> AdWordsApiVersion.AdGroupAdOperation adGroupAdOperation = new 
> AdWordsApiVersion.AdGroupAdOperation()
> {
> @operator = AdWordsApiVersion.Operator.ADD,
> operand = html5AdGroupAd
> };
>
> // Error is thrown on this line:
>
> AdWordsApiVersion.AdGroupAdReturnValue result = 
> adGroupAdService.mutate(new AdWordsApiVersion.AdGroupAdOperation[] { 
> adGroupAdOperation });
> if (result != null && result.value != null)
> {
> return result.value[0];
> }
> else
> {
> throw new Exception("HTML5 ad " + adName + " could not be 
> added.");
> }
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4d5bb065-ad1d-46f0-ac8f-2ab6c1fee6f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


UNEXPECTED_INTERNAL_API_ERROR when creating html5 template ad

2017-03-02 Thread Adam Marshall
Hello, I have been receiving the following error when attempting to create 
an html5 template for the last 36 hours:

This is the only error information received:
(Error: InternalApiError.UNEXPECTED_INTERNAL_API_ERROR, FieldPath: , 
Trigger: )


This has been working unchanged for over 8 months, yesterday it started 
throwing these errors.

I am using v201609 ( I also tested on 201702, but same issue)

The campaign and adgroup are created successfully, just uploading the html5 
ads is failing.

Here is my c# code:

 AdWordsApiVersion.AdGroupAdService adGroupAdService = 
(AdWordsApiVersion.AdGroupAdService)User.GetService(AdWordsServiceVersion.AdGroupAdService);
AdWordsApiVersion.TemplateAd html5Ad = new 
AdWordsApiVersion.TemplateAd()
{
name = adName,
templateId = 419,
finalUrls = new string[] { finalUrl },
displayUrl = displayUrl,
dimensions = new AdWordsApiVersion.Dimensions()
{
width = width,
height = height
}
};
AdWordsApiVersion.MediaBundle mediaBundle = new 
AdWordsApiVersion.MediaBundle()
{
data = html5ZipBytes,
entryPoint = GaTemplateManager.GoogleAdEntryPointHtml,
type = AdWordsApiVersion.MediaMediaType.MEDIA_BUNDLE
};
html5Ad.templateElements = new 
AdWordsApiVersion.TemplateElement[] {
new AdWordsApiVersion.TemplateElement() {
uniqueName = "adData",
fields = new AdWordsApiVersion.TemplateElementField[] {
new AdWordsApiVersion.TemplateElementField() {
name = "Custom_layout",
fieldMedia = mediaBundle,
type = 
AdWordsApiVersion.TemplateElementFieldType.MEDIA_BUNDLE
},
new AdWordsApiVersion.TemplateElementField() {
name = "layout",
fieldText = "Custom",
type = 
AdWordsApiVersion.TemplateElementFieldType.ENUM
},
},
}
};
// Create the AdGroupAd.
AdWordsApiVersion.AdGroupAd html5AdGroupAd = new 
AdWordsApiVersion.AdGroupAd()
{
adGroupId = adGroupId,
ad = html5Ad,
// Additional properties (non-required).
status = AdWordsApiVersion.AdGroupAdStatus.ENABLED
};
AdWordsApiVersion.AdGroupAdOperation adGroupAdOperation = new 
AdWordsApiVersion.AdGroupAdOperation()
{
@operator = AdWordsApiVersion.Operator.ADD,
operand = html5AdGroupAd
};

// Error is thrown on this line:

AdWordsApiVersion.AdGroupAdReturnValue result = 
adGroupAdService.mutate(new AdWordsApiVersion.AdGroupAdOperation[] { 
adGroupAdOperation });
if (result != null && result.value != null)
{
return result.value[0];
}
else
{
throw new Exception("HTML5 ad " + adName + " could not be 
added.");
}


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0700aecd-4a79-4ae7-9e07-23af0d1a173b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Auction Insights Report

2017-02-27 Thread Adam Haining
Thanks.  We already use those fields.  We're interested in comparing 
against the competitor domain, which we cannot do with the API.

On Monday, February 27, 2017 at 3:29:35 PM UTC-7, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hi Adam, 
>
> Thanks for your feedback. Unfortunately, we don't have a definite time 
> line on when it will be available. I will let the team know about your 
> request. 
>
> In the meantime, you could consider using the fields that were mentioned 
> in an earlier response if those are the specific metrics that you are 
> looking for : 
> https://groups.google.com/d/msg/adwords-api/ohWn5N-rhDg/f0mtVWoHBQAJ
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5b090496-3666-4a4b-b7c6-facf6627fcfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Auction Insights Report

2017-02-27 Thread Adam Haining
Adding another tally to the list.  There's a lot of requests for it, but 
all I see from Google are that it's not available and to check the blog. 
 Hopefully this is something that can be added as it is extremely valuable 
to allow us to track this automatically over time and see positive or 
negative gains.

On Sunday, May 27, 2012 at 3:46:55 PM UTC-6, Allen wrote:
>
> Can we reproduce the Auction Insights report via the API? 
>
> If not is there any timeline as to when it might be available?
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b47fe72d-f848-4d60-b868-8e39da6f587c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: geo performance by ZIP_CODE?

2017-02-15 Thread Adam Haining
Got it, thanks.  I never noticed the Postal Code target types, very
helpful.  I appreciate the quick response!

#end
Best Regards,
<http://www.disruptiveadvertising.com/?utm_source=email_sig_medium=email_campaign=adam_content=logo>

Adam Haining

CTO

P: (801) 473-9220 <8014739220>
<https://twitter.com/disruptiveads>
<https://www.facebook.com/disruptiveads>
<https://www.linkedin.com/company/3324274>
<http://www.disruptiveadvertising.com/blog/?utm_source=email_sig_medium=email_campaign=adam_content=blog>

On Wed, Feb 15, 2017 at 1:32 PM, 'Vishal Vinayak (Adwords API Team)' via
AdWords API Forum <adwords-api@googlegroups.com> wrote:

> Hi Adam,
>
> There are various types of location targets available via AdWords API
> including but not limited to Borough, Canton, City, Region, State, Postal
> Code, Country etc. With AdWords API, for consistency purposes, you can
> target any location using the same logic as long as you know the criteria
> ID of that location. In short, criteria ID is a way to individually
> identify various location types.
>
> MostSpecificCriteriaId
> <https://developers.google.com/adwords/api/docs/appendix/reports/geo-performance-report#mostspecificcriteriaid>
>  field in the Geo Performance Report would contain breakdown by the
> location criteria ID (and not zipcode) of the place where the impression
> occurred. Using LocationCriterionService
> <https://developers.google.com/adwords/api/docs/reference/v201609/LocationCriterionService>,
>  you can fetch the same information about a location criterion ID as is
> available in this table
> <https://developers.google.com/adwords/api/docs/appendix/geotargeting>.
> In other words, if the criteria ID of the most specific location points to
> that of a zipcode, the *LocationName
> <https://developers.google.com/adwords/api/docs/reference/v201609/LocationCriterionService.Location#locationname>*
> field retrieved from the LocationCriterionService would contain that
> information. This example
> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201609/targeting/LookupLocation.java>
>  in
> java explains how to go about retrieving details of a location. Same
> example is available in other client libraries
> <https://developers.google.com/adwords/api/docs/clientlibraries> as well.
>
> Hope this helps. Please revert in case you have other questions.
>
> Regards,
> Vishal, AdWords API Team
>
> --
> --
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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 a topic in the
> Google Groups "AdWords API Forum" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/adwords-api/igAdnBIeuoY/unsubscribe.
> To unsubscribe from this group and all its topics, 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/bd1b3a84-4912-4c25-b5d4-e730c732deae%40googlegroups.com
> <https://groups.google.com/d/msgid/adwords-api/bd1b3a84-4912-4c25-b5d4-e730c732deae%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAMKYROKPcEAndKsSqDKc%3DfkfRom786yWvvxOxXgh-aUYiSHwjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: geo performance by ZIP_CODE?

2017-02-15 Thread Adam Haining
Can you provide some more details on this?  I also want to be able to pull 
the zip code details, but I do not see how this will all work.  I don't 
necessarily use zip codes as a targeting criterion, I just want to know the 
performance data at the zip code level.

On Monday, February 6, 2017 at 2:05:43 PM UTC-7, Vishal Vinayak (Adwords 
API Team) wrote:
>
> Hi Jay,
>
> You can use the field MostSpecificCriteriaId 
> 
>  in 
> the Geo Performance Report to fetch the location criterion associated with 
> the impression. If you use zip codes as a targeting criterion for 
> geographical 
> targeting 
> , 
> you can use the Criteria Performance Report and filter on the CriteriaType 
> 
>  as LOCATION.
>
> Regards,
> Vishal Vinayak, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cfbbce18-14ac-4a7c-910f-f4c789c94a97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP API v201609 - How to refresh token?

2017-02-10 Thread Adam Haining
https://github.com/googleads/googleads-php-lib/issues/218

Thanks!

On Friday, February 10, 2017 at 6:52:22 AM UTC-7, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Adam,
>
> Could you file an issue for this problem on the PHP library issues page 
> <https://github.com/googleads/googleads-php-lib/issues>? The engineers 
> working on the library are actively monitoring that page and should be able 
> to answer your questions.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, February 10, 2017 at 12:42:09 AM UTC-5, Adam Haining wrote:
>>
>> Thanks.  I'm able to manually get a new token without any problems.  I 
>> haven't been able to get it to refresh or see where it gives me a new 
>> token.  I have a few questions:
>>
>>1. Can I refresh the token after it expires?  I've tried everything I 
>>can think of, including using the OAuth2TokenRefresher class to try and 
>> get 
>>a new token both before and after the token expires.
>>2. If I cannot, how close to expiration does the token have to be to 
>>expiration to receive a new token?  Can I force it at any time?  Do I 
>>essentially need to have a cron job that checks any current tokens?
>>
>> Do you have any specific code examples?  This is the one thing I feel is 
>> lacking greatly in the documentation and the one thing I need to migrate 
>> our codebase to production.  Thanks!
>>
>> On Thursday, February 9, 2017 at 8:58:39 PM UTC-7, Peter Oliquino wrote:
>>>
>>> Hi Adam,
>>>
>>> Refreshing of expired access tokens happens when the Credential object 
>>> is instantiated in the client libraries. To better give you an idea of the 
>>> process, first you will need to have a refresh token that is generated 
>>> manually. Please note that due to a number of reasons, the refresh token 
>>> may also expire or become invalid and you'll need to reauthorize the 
>>> application and generate a new refresh token as stated here 
>>> <https://github.com/googleads/googleads-php-lib/wiki/API-access-using-own-credentials-(installed-application-flow)>
>>> .
>>>
>>> Once your refresh token details have been provided in your configuration 
>>> file, the client library will then automatically refresh any expired access 
>>> tokens when Credential object is created. I hope this has been helpful.
>>>
>>> Thanks and regards,
>>> Peter
>>> AdWords API Team
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6beb3085-fe77-4403-b354-2d591a2c671d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PHP API v201609 - How to refresh token?

2017-02-09 Thread Adam Haining
Thanks.  I'm able to manually get a new token without any problems.  I 
haven't been able to get it to refresh or see where it gives me a new 
token.  I have a few questions:

   1. Can I refresh the token after it expires?  I've tried everything I 
   can think of, including using the OAuth2TokenRefresher class to try and get 
   a new token both before and after the token expires.
   2. If I cannot, how close to expiration does the token have to be to 
   expiration to receive a new token?  Can I force it at any time?  Do I 
   essentially need to have a cron job that checks any current tokens?

Do you have any specific code examples?  This is the one thing I feel is 
lacking greatly in the documentation and the one thing I need to migrate 
our codebase to production.  Thanks!

On Thursday, February 9, 2017 at 8:58:39 PM UTC-7, Peter Oliquino wrote:
>
> Hi Adam,
>
> Refreshing of expired access tokens happens when the Credential object is 
> instantiated in the client libraries. To better give you an idea of the 
> process, first you will need to have a refresh token that is generated 
> manually. Please note that due to a number of reasons, the refresh token 
> may also expire or become invalid and you'll need to reauthorize the 
> application and generate a new refresh token as stated here 
> <https://github.com/googleads/googleads-php-lib/wiki/API-access-using-own-credentials-(installed-application-flow)>
> .
>
> Once your refresh token details have been provided in your configuration 
> file, the client library will then automatically refresh any expired access 
> tokens when Credential object is created. I hope this has been helpful.
>
> Thanks and regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/25df12b9-e52e-4c33-a29f-86cc47f24ef5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Keeping the access token valid during API calls

2017-02-09 Thread Adam Haining
I've tried all of this as well, and if I try to force renewing the token 
before it expires, it just gives me the current token.  Then after it 
expires, I just always get the message:
invalid_grant
Token has been expired or revoked.

Specific examples on how to do this would be greatly appreciated.  I've 
attempted using OAuth2TokenRefresher.php as well, no luck.  Thanks!

On Thursday, February 9, 2017 at 2:16:37 PM UTC-7, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi Danny,
>
> You can check if the access token is about to expire and then refresh this 
> token as needed. The OAuth2TokenRefresher.php 
> 
>  provides 
> functionality to retrieve OAuth2 access tokens and handling refreshing the 
> token if it is going to expire. By default, the client libraries 
> automatically refresh expired access tokens.
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a7272ef4-95d1-4a3f-910e-1498cca787e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


PHP API v201609 - How to refresh token?

2017-02-09 Thread Adam Haining
I'm using the PHP API v201609.  It is working great, except that the 
documentation states it will refresh the token for you automatically. 
 There are no code examples for how to implement this.  I've tried 
everything under the sun with no luck.  Can someone give me some tips and 
pointers for getting this to work?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9a9a2acc-cd3c-4121-b99f-a3db993b6c09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Criteria Performance Report Only Returns Keywords

2017-02-08 Thread Adam Quint
Hey Guys,

We pulled the Criteria Performance Report for our accounts and although we 
have active bid adjustments/targeting on criteria such as Age Range, 
Gender, User List, Ad Schedule, etc - we're only seeing CriteriaType = 
Keyword returned whenever we run the report:

$ cat criteriaperformance-2016-11-08-2017-02-07-199-627-2483.csv | cut -f8 -d , 
| sort | uniq -c
 1 Criteria Type
848443 Keyword

Thoughts on this?  Our query is:

{'dateRangeType': 'CUSTOM_DATE',
 'downloadFormat': 'CSV',
 'reportName': 'criteria',
 'reportType': 'CRITERIA_PERFORMANCE_REPORT',
 'selector': {'dateRange': {'max': '20170131', 'min': '20170101'},
  'fields': ['Id',
   'AdGroupId',
   'BaseAdGroupId',
   'CampaignId',
   'BaseCampaignId',
   'BidModifier',
   'Criteria',
   'CriteriaType',
   'Date',
   'Device',
   'Impressions',
   'Clicks',
   'Cost',
   'AveragePosition',
   'Conversions',
   'CpcBid',
   'CpcBidSource',
   'QualityScore',
   'SearchPredictedCtr',
   'CreativeQualityScore',
   'PostClickQualityScore']}}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8aa54bc4-e483-4621-af7d-7647f12a3377%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Get new refresh token after expiration

2017-02-07 Thread Adam Haining
I'm using the newest version of the PHP Adwords API (v201609) and I'm 
having trouble getting a new refresh_token/access_code after my initial 
refresh_token expires.  The problem might be that I am attempting to get a 
new refresh token after it has already expired.  Do I need to do this 
before it expires?  In my experience, once it expires, I can still use the 
refresh token to get a new one without any problems after it has expired. 
 I've been scouring everything I can.  The documentation claims that the 
library will automatically get a new token for you, but I have not been 
able to figure out where or how.  Please provide some tips, or if possible, 
some example code.  This is the one thing that is preventing me from 
upgrading my codebase to the new API right now.  Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d5f61e49-2243-4aa9-b707-d3e39e10c8a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Creating campaign location targeting

2017-01-24 Thread adam
Hi !

I'd like to add a location targeting to my campaign using the API. I've 
spent some time looking on the forum and the documentation but I can't find 
a way to do it in python.
I've tried something like that but obviously that did not work.

{'xsi_type': 'Proximity', 'address': tup[0], 'radiusMeters':'1000',}
The error I had: Server raised fault: 'Unmarshalling Error: 
cvc-complex-type.2.3: Element 'ns0:criterion' cannot have character 
[children]

I read that it is possible to use the address, so is there a specific 
format ?  And can I specify more than one radius or should I create a new 
targeting ?

Thank you in advance.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/992af7f3-33fc-481d-810e-3a4fd430e345%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adding labels to campaign

2017-01-20 Thread adam
Hi everyone.

I am currently working on a python script to create campaigns, adgroups and 
ads and I need to create labels and assign those to campaigns.
I have created text labels but I can't find a way to attach a label to a 
campaign. I've tried the following code: 

{'name':tup[0], 'status':'PAUSED', 'advertisingChannelType':'SEARCH', 
'biddingStrategyConfiguration':
{'biddingStrategyType':'MANUAL_CPC',},
'budget':{'budgetId':tup[1]},
'labels':{'labelId':tup[2],},
'networkSetting':{'targetGoogleSearch':'true', 
'targetSearchNetwork':'true', 'targetContentNetwork':'false', 
'targetPartnerSearchNetwork':'false'},}

Of course I got an error: suds.TypeNotFound: Type not found: 'labelId'
I can't find any example where a campaign is created with a label id so is 
it even possible or do I have to create a campaign then assign it a label ?
And if you have the solution, a code example would be nice.

Thank you for your help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d2981077-2e8f-4f94-a99c-865c078be01c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can't add specific Site Category Options via API

2016-07-06 Thread Adam Marshall
Hello, I am wondering if you have any update on whether/when the "GMob 
mobile app non-interstitial" exclusion will be available via the API?

Thanks,

Adam

On Tuesday, 1 March 2016 02:53:28 UTC+13, Josh Radcliff (AdWords API Team) 
wrote:
>
> Hi,
>
> You can now add the various *VIDEO_RATING_xyz* content label types -- see 
> the latest ContentLabelType list from v201601 
> <https://developers.google.com/adwords/api/docs/reference/v201601/CampaignCriterionService.ContentLabel#contentlabeltype>.
>  
> However, non-interstitial is still not on the list. I'll follow up to see 
> why that's the case, but since adding a new type would require a WSDL 
> change, the earliest this will be available is the next release of the 
> AdWords API.
>
> Thanks,
> Josh, AdWords API Team
>
> On Friday, February 26, 2016 at 6:58:02 PM UTC-5, Mark Rogoyski wrote:
>>
>> Hi,
>>
>> Is there any update to being able to set the non-interstitial exclusion?
>>
>> Thanks.
>> Mark
>>
>> On Tuesday, January 13, 2015 at 10:36:10 AM UTC-8, Josh Radcliff (AdWords 
>> API Team) wrote:
>>>
>>> Hi,
>>>
>>> That site category is labeled *Experimental*, so it's not currently 
>>> available for exclusion via the API.
>>>
>>> Unfortunately, I'm not aware of any other options to exclude 
>>> non-interstitial traffic besides making the change through the UI.
>>>
>>> Thanks,
>>> Josh, AdWords API Team
>>>
>>> On Tuesday, January 13, 2015 at 9:56:48 AM UTC-5, Sam wrote:
>>>>
>>>> Hi Josh,
>>>>
>>>> In the link you posted above, I see everything except for "GMob mobile 
>>>> app non-interstitial"
>>>>
>>>> Any word on if we can add this criterion via API? If not, any 
>>>> alternative suggestions to exclude non-int traffic from a campaign (so as 
>>>> to only include interstitial traffic in a campaign?)
>>>>
>>>> I'm only dealing with mobile app install campaigns on display network
>>>>
>>>> Thanks
>>>>
>>>> On Wednesday, October 15, 2014 at 7:00:59 PM UTC-4, Josh Radcliff 
>>>> (AdWords API Team) wrote:
>>>>>
>>>>> Hi Ro,
>>>>>
>>>>> Those categories were added in v201409. Please see the updated docs 
>>>>> page here:
>>>>>
>>>>>
>>>>> https://developers.google.com/adwords/api/docs/reference/v201409/CampaignCriterionService.ContentLabelType
>>>>>
>>>>> Cheers,
>>>>> Josh, AdWords API Team
>>>>>
>>>>> On Thursday, June 5, 2014 12:54:01 PM UTC-4, Josh Radcliff (AdWords 
>>>>> API Team) wrote:
>>>>>>
>>>>>> Hi Ro,
>>>>>>
>>>>>> You are correct - those categories are not available at this time in 
>>>>>> the API. I'll update this thread if and when they are added to the WSDLs.
>>>>>>
>>>>>> Thanks,
>>>>>> Josh, AdWords API Team
>>>>>>
>>>>>> On Thursday, June 5, 2014 10:37:20 AM UTC-4, Ro wrote:
>>>>>>>
>>>>>>> Hey,
>>>>>>>
>>>>>>> We upgraded to the latest API version V201402 (C# client library), 
>>>>>>>  and it seems like we can't add specific items via the API:
>>>>>>>
>>>>>>> Video rated G
>>>>>>> Video rated PG
>>>>>>> Video rated T
>>>>>>> Video rated MA
>>>>>>> Video not yet rated
>>>>>>> Live streaming video
>>>>>>> GMob mobile app non-interstitial
>>>>>>>
>>>>>>> All the rest works fine, the only difference I saw was that those 
>>>>>>> items had ContentLabelType value as unknown when the other items had 
>>>>>>> value 
>>>>>>> (and of course those can added).
>>>>>>>
>>>>>>> If I attempt to add it via the UI it works fine, but from the API it 
>>>>>>> failes. 
>>>>>>>
>>>>>>> Any ideas what could have done that?
>>>>>>>
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Ro
>>>>>>>
>>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/13c2b3ad-d8ca-497b-9eeb-5c4cc47d34e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Placement Performance Report is returning an empty array.

2016-05-05 Thread adam
Hello, 

We're running the following AWQL query and getting an empty array as the 
result. No error messages, it seems like a successful response. There is 
managed placement data in the report, and this is using the adwords API for 
a video campaign. 

SELECT Criteria, CampaignName, AdGroupName, Status, Impressions, 
VideoViews, VideoViewRate, AverageCpv, Cost FROM 
PLACEMENT_PERFORMANCE_REPORT

Does anyone know why this isn't returning the data?

Thanks, 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/01bd9dfa-43f3-4092-9d8f-d7981a8286a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Getting UNEXPECTED_INTERNAL_API_ERROR for TargetingIdeaService

2016-01-14 Thread Adam Tomecek
Hello,

for the last three days I've been getting

AdwordsApi::V201506::TargetingIdeaService::ApiException - 
[InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
+com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro]

for every API request. Is there anything I can do about this or just wait 
for a miracle? As it's internal API error, I assume I can't do anything 
about it or am I?

Thanks for every suggestion.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/90efe813-f221-421b-929c-99ce749db717%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Fetch sitelinks associated to adgroup

2015-09-30 Thread Adam Svadlena
Hi Umesh,

Thanks, that's what I needed: to at least be pointed in the right direction.
Cheers
- Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9074c4b7-fc54-48b2-ba8c-34079e192fe8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Fetch sitelinks associated to adgroup

2015-09-30 Thread Adam Svadlena
Hi Umesh,

Thanks, that's what I needed: to at least be pointed in the right direction.
Cheers
- Adam

On Tuesday, 29 September 2015 23:24:16 UTC+2, Umesh Dengale wrote:
>
> Hi Adam,
>
> You could use the mutate 
> <https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService#mutate>
>  operation 
> of the AdGroupExtensionSettingService 
> <https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService>
>  with REMOVE 
> <https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService.AdGroupExtensionSettingOperation#operator>
>  operator 
> to remove all sitelinks for the given adgroup. In the 
> AdGroupExtensionSetting 
> <https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService.AdGroupExtensionSetting>,
>  
> you could set the extensionType 
> <https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService.AdGroupExtensionSetting#extensionType>
>  to SITELINK 
> and for ExtensionSetting 
> <https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService.ExtensionSetting>
>  if 
> you pass the empty array of SitelinkFeedItem as extensions 
> <https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupExtensionSettingService.ExtensionSetting#extensions>
>  and 
> null platformRestrictions then extensions are disabled for 
> the sitelinks for that adgroup.  Currently, AdWords API doesn't have 
> example code (PHP) for the deleting the sitelinks using 
> the AdGroupExtensionSettingService.
>
> Regards,
> Umesh, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6188e45d-c0aa-4bd2-bb07-b14a5fd466f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   >