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

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


Hi Oksana,

Thanks for this information, and apologies for the back-and-forth over this
issue! Can I ask if you're using one of the client libraries to make your
requests? If so, which one?

I just attempted this same request and am also seeing that for Third party
ads data is simply not returned. I'm coordinating with my team to see if
this is intended behavior or a bug in our system. If intended I'll try to
figure out if there's another way to access data for Third party ads
through the API, if it's a bug I expect we'll publish a change that fixes
it.

I'll keep you posted on the information I'm able to retrieve.

Thank you,
Ben Karl, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/18/19 01:57:29 oks...@tapclicks.com wrote:

Thanks Sai Teja! I've sent you my call details privately because I still
get empty result while I expected to see some data..

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2825b6bd-a77a-409a-864c-57abb32caf2a%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/19has081gf1v9k002mpmoax68mjgc1h6go30c1g68qjac1o%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[GOOGLE ADS API] Get Conversion Action List

2019-04-17 Thread Miguel Graciá
I'm trying to get a list of the conversion actions of a customer client, 
but it always returns empty. 

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

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

$query = 'SELECT customer.id, customer.descriptive_name,
   conversion_action.app_id,
   conversion_action.attribution_model_settings.attribution_model,
  
 conversion_action.attribution_model_settings.data_driven_model_status,
   conversion_action.category,
   conversion_action.click_through_lookback_window_days,
   conversion_action.counting_type,
   conversion_action.id,
   conversion_action.include_in_conversions_metric,
   conversion_action.name,
   conversion_action.owner_customer,
   conversion_action.phone_call_duration_seconds,
   conversion_action.resource_name,
   conversion_action.status,
   conversion_action.tag_snippets,
   conversion_action.type,
   conversion_action.value_settings.always_use_default_value,
   conversion_action.value_settings.default_currency_code,
   conversion_action.value_settings.default_value,
   conversion_action.view_through_lookback_window_days
   FROM conversion_action';

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



Is there something that is not correct?

Thanks for your help.

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

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


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

2019-04-17 Thread Darshan Pradhan
Hi I am already pulling the names what I need is to be able to pull metrics 
for criterion of INCOME_RANGE type. Please advise.

On Tuesday, April 16, 2019 at 4:40:59 PM UTC-4, googleadsapi-forumadvisor 
wrote:
>
> Hi Darshan, 
>
> You may use the campaign_criterion.resource_name 
> 
>  and 
> the ad_group_criterion.resource_name 
> 
>  to 
> pull the criteria resource names. I have raised a feature request to have 
> the separate views for these criteria too. Please keep an eye on our blog 
>  for 
> more updates.
>
> Thanks,
> Bharani, Google Ads API Team
>

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

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


RE: gzip compression in the new Google Ads API?

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


Hello Alexander,

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

Regards,
Sai Teja, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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


RE: How to add keyword as search term with status "Added"

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


Hi Juliana,

I'm Hiro's colleague addressing your concern as he is out of office. This
field is not available through the API. As an alternative, you may use the
new Google Ads API, search_term_view.status
  
which

will return this data.

Let me know if you have any other questions.

Regards,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0h7lg1gmpjfe000lvcmez70mj8chp6co30c1g68qjcdhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Responsive Search Ads Migration Issues

2019-04-17 Thread Kevin
Hi Dannison,

Thanks for letting me know about the limitations on the Asset object. I can 
probably work around the issue.
As for the UrlCustomParameters, I reviewed the traffic and now see I had an 
error in my previous request set.
I am getting the field - I just wasn't comparing the behavior on the same 
ad.

Thank you for your help,
Kevin

On Tuesday, April 16, 2019 at 11:52:41 PM UTC-7, googleadsapi-forumadvisor 
wrote:
>
> Hi Kevin,
>
> It appears that the Asset 
> 
>  object 
> does not support the assetPerformanceLabel and assetApprovalStatus 
> fields. Unfortunately, there are no workaround solutions to get these 
> fields. However, you could still get the assetText, assetId and other 
> fields of the asset through the Asset object.
>
> To further investigate the issue about UrlCustomParameters, could you 
> provide your clientCustomerId and a sample report that you downloaded that 
> shows there is no value returned? Please use the *reply privately to 
> author* option.
>
> Regards,
> Dannison
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/17/19 02:18:46 lopsid...@gmail.com  wrote:
>
> Hi,
>
> I'm working on migrating some code dealing with the Ad Performance Report 
> from using the AdWords API to using the GoogleAds API.
>
> I've taken a look at your resource here 
> 
>  and 
> believe I've requested fields appropriately.
> However, it looks like there are some differences between the information 
> I receive back.
>
>- The AdTextAsset 
>
> 
>  
>class has been stripped down to just the "text' and "pinned_field".
>Before it had the following fields: "assetText", "assetId", 
>"assetPerformanceLabel", "assetApprovalStatus"
>
>
>- There seems to be a bug with UrlCustomParameters.
>I am requesting the "ad_group_ad.ad.url_custom_parameters" as the 
>chart suggest, and the "tracking url template" works fine,
>but no "url_custom_parameters" are returned.
>
> Could you provide some information about how I can get these details? It 
> would help my migration efforts
>
> Best,
> Kevin
>
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/9759fe35-86b0-410d-8678-a2abe572ee81%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

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

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


Re: Unmarshalling Error while trying to create unit product partitions

2019-04-17 Thread fraser
Hi peter,
Total idiot moment for me here as I pass micros everywhere else. Fixed! 
Thanks a bunch.



On Wednesday, April 17, 2019 at 5:09:14 AM UTC-7, Peter Bowen wrote:
>
> You might try passing the max cpc in micros instead of as a string.
>
> On Tuesday, 16 April 2019 11:01:02 UTC+1, fra...@shocksurplus.com wrote:
>>
>> I'm trying to create a number of products but am getting:
>>
>> zeep.exceptions.Fault: Unmarshalling Error: For input string: "0.60291" 
>> [ While handling...]
>> googleads.errors.GoogleAdsServerFault: Unmarshalling Error: For input 
>> string: "0.60291"
>>
>> Every time I call mutate on the helper, I get the error on whatever the 
>> first value passed was.
>> I can run it where the value is 0, or nothing is passed there at all and 
>> it will successfully generate the partition tree and push it to the 
>> adgroups (But of course they are excluded because they were given no max 
>> CPC)
>>
>> I am working in Python3, api version v201809.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7848c0f6-e0b4-4229-b436-cf364c4b4407%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: THIRD_PARTY_REDIRECT_AD Image Preview - how to get from API?

2019-04-17 Thread Oksana Sulyma
Thanks Sai Teja! I've sent you my call details privately because I still 
get empty result while I expected to see some data.. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2825b6bd-a77a-409a-864c-57abb32caf2a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: How to get created location/ affiliate location extensions?

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


Hello,

I'm afraid, it is not possible to query the Chain IDs through the API. Let
me know if you have any other questions.

Thanks,
Bharani, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0p52o18731hq0036m4ciy6kmjgc9n74o30c1g68qj8dpm%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Demographical report (AgeRanges + Gender)

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


Hello Pablo and Louis,

That's right. It is not possible to get the combined data for multiple
reports through the API. I have shared your feedback with the team. Please
keep an eye on our blog
 for more
updates.

Thanks,
Bharani, Google Ads API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1a0p52o18j7p4k0036ljkmw68mjgc1h6co30c1g60rjic1i%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

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


Hello Karam,

Thank you for the details. Universal App campaigns does not support
geograhic_view report type. Please check this guide
  
for

the supported report types for Universal App Campaigns. If you're still
noticing the discrepancy for other campaign types, please share the report
query along with the CID using the reply privately to author option.

Regards,
Bharani, Google Ads API Team

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/186v0h008llrgk002o9c1mx6omjae9k64o30c1g68qjie1p%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unmarshalling Error while trying to create unit product partitions

2019-04-17 Thread Peter Bowen
You might try passing the max cpc in micros instead of as a string.

On Tuesday, 16 April 2019 11:01:02 UTC+1, fra...@shocksurplus.com wrote:
>
> I'm trying to create a number of products but am getting:
>
> zeep.exceptions.Fault: Unmarshalling Error: For input string: "0.60291" 
> [ While handling...]
> googleads.errors.GoogleAdsServerFault: Unmarshalling Error: For input 
> string: "0.60291"
>
> Every time I call mutate on the helper, I get the error on whatever the 
> first value passed was.
> I can run it where the value is 0, or nothing is passed there at all and 
> it will successfully generate the partition tree and push it to the 
> adgroups (But of course they are excluded because they were given no max 
> CPC)
>
> I am working in Python3, api version v201809.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/41be90ad-949e-4037-a0a3-e0ab8adb6ef1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


gzip compression in the new Google Ads API?

2019-04-17 Thread Alexander
Is it possible to compress the data which is coming from the API?
Something like it was possible to download GZIPPED_CSV files in the old 
Adwords API?
I know that a binary format is used which should reduce the data-size, but 
true compression may be more effective.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/682f2f53-4ac7-4fb6-9c21-fa0b6d8555d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Campaign_bid_modifier resource contains only bid_modifiers for criterion_id 8000

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


Hi,

Thank you for reaching out. Could you provide the campaign IDs so I could
further investigate this? Please use *reply privately to author* option.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/17/19 16:26:50 a.tis...@pa.ag wrote:

The criterion_id is always 8000.


SELECT  campaign_bid_modifier.criterion_id,
campaign_bid_modifier.interaction_type.type,
campaign_bid_modifier.bid_modifier, campaign_bid_modifier.campaign,
campaign_bid_modifier.resource_name  FROM campaign_bid_modifier  LIMIT 1000


I checked on multiple accounts.

Doesn't campaign_bid_modifier resource contain other criterions (like
Devices or Geo or ..) ?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/284e60dd-5c65-473d-bf33-de02febd688d%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ijlio2nr6o0003ka8m002mjrtiw6gmj8cpi60o30c1g68qjicpo%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Pause campigns by Label ID

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


Hi,

Thank you for reaching out.

To filter LabelId in your request, you would need to include a predicate
for your LabelId. You may refer to this guide

on how to set the LabelIds as a predicate. For the Python code
implementation, you could use this sample code
  
(for

updating a campaign) as a reference. You could also open your concern to
the client library owners in the Python GitHub via this link
 as the client
library owners will be able to assist you better.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/17/19 16:13:28 baraent...@gmail.com wrote:

Im new to using AdWords API with Python, and Im trying to make some simple
tasks such as pausing a campign vased on the label id, but its not working.
Hoping for some help please;

#!/usr/bin/env python
#
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""This example updates a campaign by setting its status to PAUSED.

To get campaigns, run get_campaigns.py.

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

"""

from googleads import adwords


LABEL_ID = 'X'


def main(client, label_id):
  # Initialize appropriate service.
  campaign_service = client.GetService('CampaignService', version='v201809')

  # Construct operations and update campaign.
  operations = [{
  'operator': 'SET',
  'operand': {
  'labelids': label_id,
  'status': 'PAUSED'
  }
  }]
  campaigns = campaign_service.mutate(operations)

  # Display results.
  for campaign in campaigns['value']:
print ('Campaign with name "%s" and id "%s" was updated.'
   % (campaign['name'], campaign['labelids']))


if __name__ == '__main__':
  # Initialize client object.
  adwords_client = adwords.AdWordsClient.LoadFromStorage()

  main(adwords_client, LABEL_ID)


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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/9376884c-7fd0-42b3-87ca-e7df5f3d0247%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit t

Re: get all campaigns

2019-04-17 Thread kyungjun . yim


2019년 4월 17일 수요일 오후 3시 36분 51초 UTC+9, googleadsapi-forumadvisor 님의 말:
>
> Hi,
>
> Thank you for reaching out.
>
> To better assist you, can you provide the clientCustomerId of the 2 
> accounts you used? You may use the* reply privately to author* option.
>
> If you wish to get all campaigns in your account regardless of campaign 
> status, you would have to specify all of the status listed here 
> 
>  when 
> you add your filter for Campaign.status 
> 
> .
>
>
> Regards,
> Dannison
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 04/17/19 11:50:18 kyung...@quantumpirates.com  wrote:
>
> I use GetCampaigns.java in adwords api(basic operation).
>
> When I get all campaigns using account A, the result came out. But account 
> B can't get campaigns(no campaigns were found) even that account have 
> campaigns.
>
> Also, How can I get all campaigns using account A regardless of campaign's 
> status ?
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/1756bd18-a6af-4caa-a30c-145bda493469%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

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

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


Campaign_bid_modifier resource contains only bid_modifiers for criterion_id 8000

2019-04-17 Thread Alexander
The criterion_id is always 8000.
 

> SELECT  campaign_bid_modifier.criterion_id, 
> campaign_bid_modifier.interaction_type.type, 
> campaign_bid_modifier.bid_modifier, campaign_bid_modifier.campaign, 
> campaign_bid_modifier.resource_name  FROM campaign_bid_modifier  LIMIT 1000
>

I checked on multiple accounts.

Doesn't campaign_bid_modifier resource contain other criterions (like 
Devices or Geo or ..) ?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/284e60dd-5c65-473d-bf33-de02febd688d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: How to add keyword as search term with status "Added"

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


Hi Juliana,

You may utilize AdGroupCriterionService.BiddableAdGroupCriterion()
  
service,

then you would need to add an object of Type Keyword
  
where

you will specify the text and matchtype. You may also refer to this sample
  
on

how to add keywords to an ad group.

Since the status userStatus

, systemServingStatus

 and approvalStatus
  
are

the only possible status for BiddableAdGroupCriterion, could you confirm
what you meant by *status "Added"*?

Regards,
Hiroyuki
Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/16/19 23:07:38 contato.automatizamarket...@gmail.com wrote:

What service to use to add a keyword in the ad group and search terms so
that it has the status "Added"?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/701b0401-f429-40b2-a391-71463f290e04%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12hfaho000tg2lk001t217ky70mj8chp6co30c1g68qjcdhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Pause campigns by Label ID

2019-04-17 Thread Firas
Im new to using AdWords API with Python, and Im trying to make some simple 
tasks such as pausing a campign vased on the label id, but its not working. 
Hoping for some help please;

#!/usr/bin/env python
#
# Copyright 2016 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#  http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""This example updates a campaign by setting its status to PAUSED.

To get campaigns, run get_campaigns.py.

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

"""

from googleads import adwords


LABEL_ID = 'X'


def main(client, label_id):
  # Initialize appropriate service.
  campaign_service = client.GetService('CampaignService', version='v201809')

  # Construct operations and update campaign.
  operations = [{
  'operator': 'SET',
  'operand': {
  'labelids': label_id,
  'status': 'PAUSED'
  }
  }]
  campaigns = campaign_service.mutate(operations)

  # Display results.
  for campaign in campaigns['value']:
print ('Campaign with name "%s" and id "%s" was updated.'
   % (campaign['name'], campaign['labelids']))


if __name__ == '__main__':
  # Initialize client object.
  adwords_client = adwords.AdWordsClient.LoadFromStorage()

  main(adwords_client, LABEL_ID)


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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9376884c-7fd0-42b3-87ca-e7df5f3d0247%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Suffix Url Empty

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


Hi Asaad,

Could you confirm if the url you are referring to is the finalUrlSuffix
  
field?

If yes, could you change your selector and use the
*AdField.CreativeFinalUrlSuffix* instead of *AdField.Url*? Let me know if
this helps.

Thanks and regards,
Peter
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/17/19 14:28:51 asaad.awe...@datorama.com wrote:

Hi ,
i'm using the google ads library v201806 ,
i'm trying to change the suffix url for creative the problem that when i'm
getting the creatives i got empty url for ads ,
even with that they really have values .

i'm using this code to get the creatives  :

 AdWordsSession adWordsSession =
googleAuthenticator.initSession(token,customerId,dsJsonConfig);
AdWordsServicesInterface adWordsServices =
AdWordsServices.getInstance();

AdServiceInterface adService =
adWordsServices.get(adWordsSession,
AdServiceInterface.class);

int offset = 0;


String s = "";
// Create selector.
SelectorBuilder builder = new SelectorBuilder();
Selector selector = builder
.fields(AdField.Id,AdField.Url)
//.in(AdField.Id,s)
.offset(offset)
.limit(500)
.build();

AdPage page;
do {
// Get all campaigns.
page = adService.get(selector);

// Display campaigns.
if (page.getEntries() != null) {
for (Ad ads : page.getEntries()) {
System.out.printf("Campaign with name '%s' and ID %d
was found.%n", ads.getDisplayUrl(),
ads.getId());
}
} else {
System.out.println("No campaigns were found.");
}

offset += 500;
selector = builder.increaseOffsetBy(500).build();
} while (offset < page.getTotalNumEntries());




thanks in advance ,
Asaad.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e8a29868-e979-4234-9d45-c785b02a4402%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

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

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/18i43900gcngko002kg4n2z6gmj0cpn68o30c1g68r3ccpn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.