Re: What is the minimum duration between uploading an offline conversion and subsequently uploading an adjustment for the conversion?

2021-05-05 Thread 'Bhavin Radadiya' via AdWords API and Google Ads API Forum
Hey there,

I'm facing the same issue. 
I've created an offline conversion yesterday (Conversion create date: 
2021-05-05 07:15:36+00:00) and trying to send an adjustment now (Adjustment 
date: 2021-05-06 02:43:34+00:00). But it still responds with a validation 
error

 {"partialFailureError":{"code":3,"message":"The conversion was created too 
recently., at 
conversion_adjustments[0]","details":[{"@type":"type.googleapis.com/google.ads.googleads.v6.errors.GoogleAdsFailure","errors":[{"errorCode":{"conversionAdjustmentUploadError":"TOO_RECENT_CONVERSION"},"message":"The
 
conversion was created too 
recently.","location":{"fieldPathElements":[{"fieldName":"conversion_adjustments","index":0}]}}]}]},"results":[{}]}


I'm using these APIs for creating and adjustment conversion respectively.

https://developers.google.cn/google-ads/api/rest/reference/rest/v7/customers/uploadClickConversions
https://developers.google.cn/google-ads/api/rest/reference/rest/v7/customers/uploadConversionAdjustments#ConversionAdjustment

Can someone please help me with this?

Thanks

On Thursday, October 11, 2018 at 8:37:07 AM UTC+5:30 Dannison Yao (AdWords 
API Team) wrote:

> Hi Ryan,
>
> The error TOO_RECENT_CONVERSION 
> 
>  means 
> that the conversion adjustment was created too early. According to this 
> guide 
> ,
>  
> the conversion has to be already reported before it can be adjusted. Could 
> you confirm if you have already reported the conversion before adjusting 
> it? If yes, could you please provide the complete SOAP request and response 
> logs via *reply privately to author* so I could further check?
>
> Regards,
> Dannison
> AdWords API Team
>
> On Thursday, October 11, 2018 at 7:29:45 AM UTC+8, ry...@snaptravel.com 
> wrote:
>>
>> Hello,
>>
>> I have recently started using the Adwords 
>> API OfflineConversionFeedService to upload conversion data derived from 
>> clicks. Uploading conversions is working as expected, but when I 
>> subsequently attempt to adjust a conversion (ex. due to a purchase 
>> cancellation) using the OfflineConversionAdjustmentFeedService I am being 
>> returned OfflineConversionAdjustmentError.TOO_RECENT_CONVERSION. I am still 
>> seeing this ~12 hours after uploading the conversion I am attempting to 
>> adjust. This leads me to ask what is the minimum duration between uploading 
>> a conversion and subsequently uploading an adjustment for the conversion?
>>
>> Thanks!
>>
>> Ryan
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d3d643c7-77bc-44cc-80d9-a82c45384774n%40googlegroups.com.


"criterionError": "FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING"

2021-05-05 Thread Francisco Quintero
Good Evening,

Working with the rest apis, specifically with creating a campaign criteria. 
I'm calling the endpoint /campaignCriteria:mutate

https://googleads.googleapis.com/${process.env.GOOGLE_API_VERSION}/customers/${customer_Id}/campaignCriteria:mutate

Im passing in the body: 
{
operations: [
 {
 create: {
 status: 2,
 negative: false,
 displayName: 'GOOGLE 88 - GOOGLE - TEXT-SEARCH-AD',
 campaign: 'customers/4138294141/campaigns/12985791779',
 keyword: { matchType: 4, text: 'drones' }
 }
}
],
responseContentType: 1
}

I get the following error  :

 {
"errorCode": {
  "criterionError": "FIELD_INCOMPATIBLE_WITH_NEGATIVE_TARGETING"
},
"message": "The field is not allowed to be set when the 
negative field is set to true, e.g. we don't allow bids in negative ad 
group or campaign criteria.",
"location": {
  "fieldPathElements": [
{
  "fieldName": "operations",
  "index": 0
},
{
  "fieldName": "create"
},
{
  "fieldName": "keyword"
}
  ]
}
  }

The curious part is that if I change the above payload's negative property 
to true, the call works and it creatives a negative keyword.

Am I missing something? It feels that the error message is saying that i 
cant create negative keywords but that actual works.

In any case I'm unable to create a keyword campaign criteria for a campaign 
for the above call payload with negative false. Any help would be greatly 
appreciated.

Thanks in advance,
Francisco


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c0bf1fe7-81d6-47cd-a1a8-39afcc0bd387n%40googlegroups.com.


RE: AttributeError: 'META'

2021-05-05 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for posting your concern.

Our team can only provide support to concerns / issues related to Google Ads 
API / AdWords API. Since your issue / concern is specific to implementation of 
Python code, then I would suggest reaching out to the author of the Python 
client library via this link. The author of the Python client library is more 
equipped to provide support with the issues / concerns related to the said 
client library.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2GKKsO: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/t4pRZ0QSO27800SN7RdVmcS8anSgRLAbmkBg%40sfdc.net.


Re: Campaign data discrepancy in Google Ads API and AdWords Report API

2021-05-05 Thread Caihua Du
Thanks Peter for reaching out.

Would like to clarify that the discrepancy is between AdWords API (*not *the
AdWords report API) and Google Ads API. Sorry for the confusion.

Here is the request that we send over to Google Ads. We were expecting 14
campaigns to be returned back, but only 4 returned instead. Please note,
due to log volumes we only have summary log instead of verbose log, so
request id somehow didn't show up in the log. I guess the query and
customer id should be sufficient for the investigation.

Can you please help to check further here?

[2021-05-05 12:01:45Z] - Request made: Host:
https://googleads.googleapis.com, Method:
/google.ads.googleads.v6.services.GoogleAdsService/SearchStream,
ClientCustomerID: 8610439045,  RequestID: , IsFault: False, FaultMessage:

SELECT bidding_strategy.id, campaign_budget.amount_micros,
campaign_budget.explicitly_shared, campaign_budget.delivery_method,
campaign_budget.id, campaign.advertising_channel_type,
campaign.advertising_channel_sub_type,
campaign.ad_serving_optimization_status, campaign.bidding_strategy_type,
campaign.dynamic_search_ads_setting.domain_name,
campaign.dynamic_search_ads_setting.feeds,
campaign.dynamic_search_ads_setting.language_code,
campaign.dynamic_search_ads_setting.use_supplied_urls_only,
campaign.end_date,
campaign.geo_target_type_setting.positive_geo_target_type,
campaign.geo_target_type_setting.negative_geo_target_type, campaign.id,
campaign.manual_cpc.enhanced_cpc_enabled,
campaign.real_time_bidding_setting.opt_in, campaign.name,
campaign.network_settings.target_google_search,
campaign.network_settings.target_partner_search_network,
campaign.network_settings.target_search_network,
campaign.network_settings.target_content_network, campaign.serving_status,
campaign.shopping_setting.campaign_priority,
campaign.shopping_setting.enable_local,
campaign.shopping_setting.merchant_id,
campaign.shopping_setting.sales_country, campaign.start_date,
campaign.status, campaign.target_spend.cpc_bid_ceiling_micros,
campaign.target_cpa.cpc_bid_ceiling_micros,
campaign.target_cpa.target_cpa_micros,
campaign.tracking_setting.tracking_url, campaign.tracking_url_template,
campaign.url_custom_parameters,
campaign.target_impression_share.cpc_bid_ceiling_micros,
campaign.target_impression_share.location,
campaign.target_impression_share.location_fraction_micros,
campaign.final_url_suffix, campaign.target_roas.cpc_bid_ceiling_micros,
campaign.target_roas.target_roas,
campaign.maximize_conversion_value.target_roas, metrics.average_cpc,
metrics.clicks, campaign.targeting_setting.target_restrictions
FROM campaign
*WHERE campaign.id  IN (10938201086, 10934699959,
10934938758, 10934600082, 10934911626, 10938575714, 10934350021,
10938357335, 10934656975, 10937963960, 10938215276, 10934447922,
10934087659, 10938063806)*
AND campaign.status IN ('ENABLED', 'PAUSED', 'REMOVED')
AND campaign.advertising_channel_type IN ('SEARCH', 'DISPLAY', 'SHOPPING')
ORDER BY campaign.id ASC


On Sun, May 2, 2021 at 8:43 PM Google Ads API Forum Advisor Prod <
adsapiforumadvi...@gmail.com> wrote:

> Hi,
>
> Thank you for reaching out.
>
> So our team can investigate, could you provide your customer ID and the
> following details :
>
> For the AdWords API report  :
>
>- complete report definition in XML
>
> or AWQL
> 
> format
>including any date filters
>
> 
> used
>
> For the Google Ads API report, you may provide the following
>
>- raw GAQL
> with
>the date filters
>- complete request
>
> 
> and response
>
> 
>  logs,
>with the request-id
>
> 
>
> You may then send the requested information via the *Reply privately to
> author* option.
>
> Best regards,
>
> [image: Google Logo]
> Peter Laurence Napa Oliquino
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2GJ6CU: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 

RE: user_location_view.country_criterion_id unable to translate to geo_target_constant

2021-05-05 Thread Google Ads API Forum Advisor Prod
Hi Todd,

Thank you for reaching out to our API support team.

The location IDs you specified appear to be belonging to restricted countries 
as discussed here. Since our API team currently does not have visibility to 
which exact countries these codes are associated to, you may reach out instead 
to the Google Ads Product support team, via this link, for further insight and 
guidance.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2GKCO4: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/zlNRj0QSNZSU00qPnL1lrSQ3SoiLKu_O2g0w%40sfdc.net.


RE: Query assets

2021-05-05 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out.

The Google Ads API currently does not have an ad_text_asset report. Could you 
confirm if what you are referring to instead is the asset or the 
ad_group_ad_asset_view reports?

In addition, I would recommend that you try out our Query Builder as well to 
help in constructing your API report queries and determine which fields would 
be compatible when querying a specific resource.

Best regards,

Peter Laurence Napa Oliquino
Google Ads API Team
ref:_00D1U1174p._5004Q2GKDh7: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/EYk340QSNZFW003raZg36MRt6QX3nz8F4lqg%40sfdc.net.


RE: ValueError: Specified type 'DismissRecommendationOperation' does not exist in Google Ads API v7

2021-05-05 Thread Google Ads API Forum Advisor Prod
Hi Sean,

Thank you for posting your concern.

Based on this document, the code structure is similar to applying a 
recommendation, but instead you use DismissRecommendationOperation and 
RecommendationService.DismissRecommendation. I can see that the implementation 
of your code is correct based on the said guide. However, since you are 
experiencing error with Python code, I would suggest reaching out to the author 
of the Python client library via this link. The author of the Python client 
library is more equipped to provide support with the issues / concerns related 
to the said client library. With this, they can also assist you on the correct 
implementation of the code for dismissing proposal.

Regards,

Ernie John Blanca Tacata
Google Ads API Team
ref:_00D1U1174p._5004Q2GKKBY: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/jWIl20QSNWUY008XPGHIwvSMa6fv_Mm5S6LA%40sfdc.net.


AttributeError: 'META'

2021-05-05 Thread Анатолий Копыток
Good afternoon. I am a beginner Django Python super master. I face big 
problems every day, but there is one big problem that I can't solve for 
more than 2 days. I'm trying to make a project using the google ads api. I 
have completed all the necessary procedures and can connect to test 
accounts to receive information and make changes to test accounts. But when 
trying to port this to django-I ran into problems. My last solution works 
at 50%. I get the necessary information and immediately get an additional 
ERROR.

the essence:
in views.py I call a function that connects to a test account to collect 
statistics for a given keyword. I get statistics, and an error.
I will be glad of any help or hint) thank you!
-
AttributeError at /faq
'META'
Request Method: GET
Request URL: http://localhost:8000/faq
Django Version: 3.2
Exception Type: AttributeError
Exception Value: 
'META'
Exception Location: 
F:\python\apiserv_website\myvenv\lib\site-packages\proto\message.py, 
line 605, in __getattr__
Python Executable: F:\python\apiserv_website\myvenv\Scripts\python.exe
Python Version: 3.9.3
Python Path: 
['F:\\python\\apiserv_website\\apiserv',
 'C:\\Users\\romar\\AppData\\Local\\Programs\\Python\\Python39\\python39.zip',
 'C:\\Users\\romar\\AppData\\Local\\Programs\\Python\\Python39\\DLLs',
 'C:\\Users\\romar\\AppData\\Local\\Programs\\Python\\Python39\\lib',
 'C:\\Users\\romar\\AppData\\Local\\Programs\\Python\\Python39',
 'F:\\python\\apiserv_website\\myvenv',
 'F:\\python\\apiserv_website\\myvenv\\lib\\site-packages']
Server time: Wed, 05 May 2021 23:13:14 +
---


*views.py  the code inside the function I'm calling:*
---
credentials = {
"developer_token": "hide",
"refresh_token": "hide",
"client_id": "hide",
"client_secret":  "hide" }

client = GoogleAdsClient.load_from_dict(credentials)

keyword_texts = ['slippers']
language_id = "1000"
location_ids = "1023191"
customer_id = "4677556196"


def _map_locations_ids_to_resource_names(client, location_ids):
"""Converts a list of location IDs to resource names.

Args:
client: an initialized GoogleAdsClient instance.
location_ids: a list of location ID strings.

Returns:
a list of resource name strings using the given location IDs.
"""
build_resource_name = client.get_service(
"GeoTargetConstantService"
).geo_target_constant_path
return [build_resource_name(location_id) for location_id in 
location_ids]


keyword_plan_idea_service = client.get_service("KeywordPlanIdeaService")
keyword_competition_level_enum = client.get_type(
"KeywordPlanCompetitionLevelEnum"
).KeywordPlanCompetitionLevel
keyword_plan_network = client.get_type(
"KeywordPlanNetworkEnum"
).KeywordPlanNetwork.GOOGLE_SEARCH_AND_PARTNERS
language_rn = client.get_service(
"LanguageConstantService"
).language_constant_path(language_id)




request = client.get_type("GenerateKeywordIdeasRequest")
request.customer_id = customer_id
request.language = language_rn
request.include_adult_keywords = False
request.keyword_plan_network = keyword_plan_network


request.keyword_seed.keywords.extend(keyword_texts)


keyword_ideas = keyword_plan_idea_service.generate_keyword_ideas(
request=request
)
limit = 20
index = 0
goog_key_tool = []
for idea in keyword_ideas:
competition_value = idea.keyword_idea_metrics.competition.name
goog_key_tool.append(idea.keyword_idea_metrics.avg_monthly_searches)
index += 1
if index == limit:
break
print(goog_key_tool)
--

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/126200c1-5832-42b6-895c-d610d09af847n%40googlegroups.com.


ValueError: Specified type 'DismissRecommendationOperation' does not exist in Google Ads API v7

2021-05-05 Thread Sean Driscoll
Hi, 

I'm trying to dismiss some recommendations via the Google Ads API, 
following the example on this page 
https://developers.google.com/google-ads/api/docs/recommendations but I'm 
getting a value error saying the specified type doesn't exist. Any help 
would be appreciated. Code is below

def main(client, customer_id, recommendation_id):
recommendation_service = client.get_service("RecommendationService")

 dismiss_recommendation_operation=
client.get_type("DismissRecommendationOperation")

dismiss_recommendation_operation.resource_name = (
recommendation_service.recommendation_path(
customer_id, recommendation_id)
)

recommendation_response = recommendation_service.dismiss_recommendation(
customer_id=customer_id, operations=[dismiss_recommendation_operation]
)

print(
"Dismissed recommendation with resource name: "
f"'{recommendation_response.results[0].resource_name}'"
)

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

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


Re: search_terms

2021-05-05 Thread Nurullah SERT
I am trying to pull the data in this menu.
[image: ads_search_terms.jpg]

5 Mayıs 2021 Çarşamba tarihinde saat 21:48:54 UTC+3 itibarıyla Nurullah 
SERT şunları yazdı:

> I want to get the search terms in the ad group with Python.
>
>
>
>
>
>
>
>
>
>
>
>
> *report_downloader = 
> client.GetReportDownloader(version='v201809')report_query = 
> (adwords.ReportQueryBuilder() .Select('AdGroupId','CampaignId') 
> .From('SEARCH_QUERY_PERFORMANCE_REPORT') .During('YESTERDAY') 
> .Build())print(report_downloader.DownloadReportWithAwql( report_query, 
> 'CSV', sys.stdout, skip_report_header=False, skip_column_header=False, 
> skip_report_summary=False, include_zero_impressions=True))*
>
> But I am getting the following error.
>
> *SelectorError.INVALID_PREDICATE_FIELD_NAMEInvalid
>  
> predicate name: 
> metrics.impressionsmetrics.impressions'}*
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/52258d0e-829b-4b8a-86e9-8f517ed74527n%40googlegroups.com.


search_terms

2021-05-05 Thread Nurullah SERT
I want to get the search terms in the ad group with Python.












*report_downloader = 
client.GetReportDownloader(version='v201809')report_query = 
(adwords.ReportQueryBuilder() .Select('AdGroupId','CampaignId') 
.From('SEARCH_QUERY_PERFORMANCE_REPORT') .During('YESTERDAY') 
.Build())print(report_downloader.DownloadReportWithAwql( report_query, 
'CSV', sys.stdout, skip_report_header=False, skip_column_header=False, 
skip_report_summary=False, include_zero_impressions=True))*

But I am getting the following error.

*SelectorError.INVALID_PREDICATE_FIELD_NAMEInvalid
 
predicate name: 
metrics.impressionsmetrics.impressions'}*


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0be3c950-4798-40db-8866-490b9d688bb7n%40googlegroups.com.


Re: ManagedCustomerServiceError.INVALID_ACCOUNT_SETTING_TYPE_DS

2021-05-05 Thread Matic Tribušon
The whole soap response pasted below.

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

https://adwords.google.com/api/adwords/cm/v201809\; 
xmlns=\"https://adwords.google.com/api/adwords/mcm/v201809\;>
0005c1971e301e380aa10a82f2079dbd
ManagedCustomerService
mutateLink
1
133




soap:Server

[ManagedCustomerServiceError.INVALID_ACCOUNT_SETTING_TYPE_DS @ 
operations[0]]

https://adwords.google.com/api/adwords/mcm/v201809\; 
xmlns:ns2=\"https://adwords.google.com/api/adwords/cm/v201809\;>

[ManagedCustomerServiceError.INVALID_ACCOUNT_SETTING_TYPE_DS @ 
operations[0]]

ApiException
http://www.w3.org/2001/XMLSchema-instance\; 
xsi:type=\"ManagedCustomerServiceError\">
operations[0]

operations
0



ManagedCustomerServiceError.INVALID_ACCOUNT_SETTING_TYPE_DS

ManagedCustomerServiceError
UNKNOWN








On Wednesday, May 5, 2021 at 8:09:00 PM UTC+2 Matic Tribušon wrote:

> Hi!
>
> We're requesting access to one of our client's accounts through the API. 
> We're using the GoogleAds PHP SDK v38.0.0. To request access we do the 
> following:
>
>- create an instance of ManagedCustomerService
>- create an instance of ManagedCustomerLink
>   - set the appropriate manager & client customer ids and set the 
>   link status to pending on the ManagedCustomerLink
>- create an instance of LinkOperation
>- set ManagedCustomerLink as operand
>   - set ADD as operator
>- call `mutateLink`
>
> When we call the `mutateLink` function we get an error in form of 
> `ManagedCustomerServiceError.INVALID_ACCOUNT_SETTING_TYPE_DS`.
> What does the reason `INVALID_ACCOUNT_SETTING_TYPE_DS` mean? I could not 
> find any mentions of this on you support page or in the codebase of the 
> SDK. It's also not listed in ManagedCustomerServiceErrorReason class.
>
> Any details on what exactly is the issue here would be very helpful!
> 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/87c21545-9465-40dd-bb27-434dbf87aaebn%40googlegroups.com.


ManagedCustomerServiceError.INVALID_ACCOUNT_SETTING_TYPE_DS

2021-05-05 Thread Matic Tribušon
Hi!

We're requesting access to one of our client's accounts through the API. 
We're using the GoogleAds PHP SDK v38.0.0. To request access we do the 
following:

   - create an instance of ManagedCustomerService
   - create an instance of ManagedCustomerLink
  - set the appropriate manager & client customer ids and set the link 
  status to pending on the ManagedCustomerLink
   - create an instance of LinkOperation
   - set ManagedCustomerLink as operand
  - set ADD as operator
   - call `mutateLink`

When we call the `mutateLink` function we get an error in form of 
`ManagedCustomerServiceError.INVALID_ACCOUNT_SETTING_TYPE_DS`.
What does the reason `INVALID_ACCOUNT_SETTING_TYPE_DS` mean? I could not 
find any mentions of this on you support page or in the codebase of the 
SDK. It's also not listed in ManagedCustomerServiceErrorReason class.

Any details on what exactly is the issue here would be very helpful!
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/5a1412bf-112c-4b4d-a45a-90a9e935e23dn%40googlegroups.com.


Query assets

2021-05-05 Thread dhmitc...@gmail.com
Just checking, the Google Ads Query Language 
(https://developers.google.com/google-ads/api/docs/query/overview) says it 
cannot handle repeated fields. ResponsiveSearchAdInfo says headlines[] is a 
field. I assume altho it doesn't use the word "repeated", being an array 
means it is repeated.

Can one use the query language to get it from AdTextAsset directly such as
```
  SELECT ad_text_asset.pinned_field, ad_text_asset.asset_performance_label, 
asset_performance_label.text, ad.id
  FROM at_text_asset
  WHERE ad.id IN (...)
```

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f9b17293-2db8-45f5-92ca-231eaf9143e4n%40googlegroups.com.


user_location_view.country_criterion_id unable to translate to geo_target_constant

2021-05-05 Thread Todd Evans
We are running a gaql that has a resource of *user_location_view*.  We are 
trying to translate the *user_location_view.country_criterion_id* value to 
a *geo_target_constant.name.*

All the values translate fine except for the following 
user_location_view.country_criterion_id's

   - 2192
   - 2364
   - 2736
   - 2760

I am comparing *user_location_view.country_criterion_id* to 
*googleAdsRow.GeoTargetConstant.Id* 

Are these countries restricted? or is there another reason why they are not 
in geo_target_constant list.

Thank you in advance,
Todd

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/38c4fb47-c715-4e1d-973c-f007f7517dbcn%40googlegroups.com.


Dynamic HTML5 Ads using Adwords API OR Ads API

2021-05-05 Thread 'Ionut Mihai' via AdWords API and Google Ads API Forum

Hello,

using Adwords Api our app creates HTML5 ads for our clients.
The system generates and uploads the HTML5 zip archive using MediaBundle 
and creats a TemplateAd (with template id 419).
But this creates a "standard" HTML5 Ad - not a Dynamic HTML5 Ad.

Manually creating a Dynamic HTML5 ad and uploading the generated zip works 
as it should - the ads are linked to the product catalog. Creating the ads 
through the Adwords Api the products are not displayed - the ad is not 
dynamic - as in not linked to the catalog.
Is there any way to create a Dynamic HTML5 ad through the Adwords API?


We also tried using the new Ads API - but using this api we can't upload 
the zip archive (media bundle) - the error is 
MEDIA_BUNDLE_NOT_COMPATIBLE_TO_PRODUCT_TYPE - "The media bundle is not 
compatible with the asset spec product type. (E.g. Gmail, dynamic 
remarketing, etc.)".

We are willing to use any API (PHP) as long as it works as it should - to 
create Dynamic HTML5 Ads.
Is there any way to achieve this?

Thank you

Ionuț Mihai
Retargeting.biz 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/30fb4ef0-017f-47f8-bfea-559e8435cc3bn%40googlegroups.com.


how I can assign a goal for my compaign using an api call

2021-05-05 Thread Nayrouz Boussoffara
Is there a way to put a goal for the campaign created using an api ??.
Because I have not found how to do that, on the other hand if I navigate to 
the graphical interface of google ads, I find that my campaign does not 
have a goal, then I can select a goal from the list displayed (prospects , 
sales, etc ...)
my question is: how I can assign a goal for my compaign using an 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 
"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/59fc3317-3535-4b1c-a479-f84027a589a7n%40googlegroups.com.


Re: There is a report with a list of websites where a Display ad appeared?

2021-05-05 Thread Victor P
Ok Matt,

Prefect! thanks for the contribution, it is a great help!
I hope I don't have any problems with the implementation.

Regards,
El martes, 4 de mayo de 2021 a las 14:11:42 UTC+2, adsapiforumadvisor 
escribió:

> Hi Victor,
>
> Thanks for reaching out. There are two performance reports that you can 
> use for reporting on where your display ads have shown: 
>
>- Automatic placements performance report 
>
> 
>  
>   - This report provides data for automatic placements 
>    
>- Placement Performance Report 
>
> 
>  
>   - This report provides data for automatic, managed and excluded 
>   placements 
>
> For creating negative placement lists, please see this targeting guide 
> 
> .
>
> Regards,
> Matt
> Google Ads API Team
>
> [image: Google Logo] 
> Matt 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2GJkCT: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/490a6005-d6f0-44c1-a8c5-4cf40b2bc53fn%40googlegroups.com.