Get gender field from GENDER_PERFORMANCE_REPORT

2017-08-06 Thread Michael Mastroianni
I'm new to the ruby api and am trying to get the gender report to work for 
me

if I do this

  def get_report_definition_request(report_name, min_date, max_date)
 selector = {
:fields => ['CampaignName', 'Clicks', 'Cost', 'Impressions'],
:date_range => {
:min => min_date.strftime('%Y%m%d'),
:max => max_date.strftime('%Y%m%d')
}
}

return {
:selector => selector,
:report_name => report_name,
:report_type => "GENDER_PERFORMANCE_REPORT",
:download_format => "XML",
:date_range_type => "CUSTOM_DATE"
}
  end

I get no gender info in the xml that comes back. If I try to put 'Gender' 
in the fields list I get an error that there is no Gender field for this 
report. What am I doing wrong here?


Thanks for any 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/4bfc3646-5c85-46c7-b054-60c6b088b532%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Filter BID_GOAL_PERFORMANCE_REPORT at campaign level or adgroup level

2017-08-06 Thread cvit sandeep
Hi Team,

I want to know campaign level(campaignId) or adgroupL level( adGroupId) 
filtering option is available in BID_GOAL_PERFORMANCE_REPORT?  This feature 
is not available in the v201705 report. May i know which version onward 
 this feature is removed?

Thanks and Regards 

Sandeep cv

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2304722c-61d0-484e-8200-14ebc86cec62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How can I gather authorized user's accounts?

2017-08-06 Thread 'Peter Oliquino' via AdWords API Forum
Hi Felipe,

If you wish to retrieve your clientCustomerId, you will need to login to 
your AdWords account and you should then be able to view the account ID on 
the upper left corner beside the Google AdWords icon as seen here 
.
 
Let me know if this helps.

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/2da38999-fffc-4315-8080-70d2ca435a90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to exclude placements with PHP APIs ?

2017-08-06 Thread 'Peter Oliquino' via AdWords API Forum
Hi Garik,

Thank you for your suggestion as it is also a correct example of how to 
exclude a placement criterion at the campaign level. 

Hi Maferyt,

As for your example, it appears that you are trying to exclude the 
placement at the ad group level. This said, you may refer to the AddKeywords 

 example 
in PHP and *just replace the Keyword Criterion with the Placement criterion* 
when 
you set it as a negativeAdGroupCriterion as seen in the sample below :

// Create negative ad group criterion. 
$negativeAdGroupCriterion = new NegativeAdGroupCriterion(); 
$negativeAdGroupCriterion->setAdGroupId($adGroupId); 
$negativeAdGroupCriterion->setCriterion($placement);


Let me know if this helps.

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/1fe8167a-154e-4854-a403-156f984da62c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.